OpenAny
Get API keyAPI Key
Collection

Leetcode

Use LeetCode data APIs through OpenAny to explore coding-problem metadata, contests, rankings, study plans and public user activity. For user profile, supply public username in the query; optionally select year to set the requested scope. Other available operations include contest, contests, daily challenge, problem solutions and discussion posts, global contest ranking. Use these results to review public coding-competition records and compare contest participation or rating progress. The documented source-page link form identifies the requested entry directly and lets you reuse an existing source-page reference. Each API page provides supported parameters, request and response examples, and usage pricing.

Endpoints / Providers
14 / 1In this collection
Requests
—Loading...
Success rate
—Loading...
Response P50
—Loading...
Loading statistics... API browsing remains available.
USE THIS COLLECTION

Leetcode

Choose an API, then continue with your agent.

Endpoints
14
Providers
1

Each endpoint publishes its own rate and billing unit.

View APIsConnect your agent
On this page

Available APIs

LeetCode Contest History API

Get LeetCode Contest History data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, raw, username, and retrieve structured data including leetCode username, published summary contest rating, contest reference, participation flag, and contest rank to display rating history, and separate participation.

1 provider · 1 implementation$0.002 / billing credit

LeetCode Topic Tags API

Get LeetCode Topic Tags data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, raw, and retrieve structured data including topic display name, topic filter slug, topic source URL, and source problem-list URL to build topic controls, and create source navigation.

1 provider · 1 implementation$0.002 / billing credit

LeetCode Global Contest Rankings API

Get LeetCode Global Contest Rankings data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, page, raw, and retrieve structured data including global contest rank, leetCode username, published contest rating, public profile URL, and returned page-size metadata to display global rating tables, and link public profiles.

1 provider · 1 implementation$0.002 / billing credit

LeetCode Study Plans API

Get LeetCode Study Plans data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, raw, slug, and retrieve structured data including selected plan slug, plan name, reported plan problem count, premium-only flag, and group name to discover practice paths, and build grouped practice views.

1 provider · 1 implementation$0.002 / billing credit

LeetCode User Profile API

Get LeetCode User Profile via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, raw, username, and retrieve structured data including leetCode username, published solved-problem totals, available activity years, returned calendar scope, and activity date to build activity calendars, and compare solving categories.

1 provider · 1 implementation$0.002 / billing credit

LeetCode Daily Challenge API

Get LeetCode Daily Challenge data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, raw, and retrieve structured data including challenge date, challenge source link, and featured problem metadata to populate daily practice cards, and link problem references, ready for production pipelines and AI agent automation.

1 provider · 1 implementation$0.002 / billing credit

LeetCode Problem Search API

Search LeetCode Problem via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as difficulty, limit, output, and retrieve structured data including displayed problem identifier, problem slug, problem title, difficulty label, and reported acceptance rate to build topic practice lists, and resolve metadata, ready for production pipelines and AI agent automation.

1 provider · 1 implementation$0.002 / billing credit

LeetCode Problem Metadata API

Get LeetCode Problem Metadata via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, raw, slug, and retrieve structured data including displayed problem identifier, internal source identifier, difficulty label, function name, and function parameter definitions to build metadata catalogs, and inspect function interfaces.

1 provider · 1 implementation$0.002 / billing credit

LeetCode Solution Post API

Get LeetCode Solution Post data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as id, output, raw, and retrieve structured data including post identifier, post title, published post content, author metadata, and associated problem reference to inspect selected explanations, and connect problem context.

1 provider · 1 implementation$0.002 / billing credit

LeetCode Solution Search API

Search LeetCode Solution via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as limit, output, raw, and retrieve structured data including solution post identifier, post title, post summary, published author metadata, and source official-post flag to compare published approaches, and load selected explanations.

1 provider · 1 implementation$0.002 / billing credit

LeetCode Contest Rankings API

Get LeetCode Contest Rankings data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, raw, slug, and retrieve structured data including contest rank, participant username, contest score, reported finish-time value, and participant problem outcomes to inspect event standings, and compare question outcomes.

1 provider · 1 implementation$0.002 / billing credit

LeetCode Contest Directory API

Get LeetCode Contest Directory data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, raw, and retrieve structured data including past contest slug, contest start time, contest duration in minutes, upcoming contest entries, and continuation page to build schedule views, and discover practice contests.

1 provider · 1 implementation$0.002 / billing credit

LeetCode Contest Details API

Get LeetCode Contest Details via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, raw, slug, and retrieve structured data including contest slug, published start time, contest duration in minutes, completion flag, and problem slug to build contest calendars, and create practice links.

1 provider · 1 implementation$0.002 / billing credit

LeetCode Recent Accepted Submissions API

Get LeetCode Recent Accepted Submissions data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as limit, output, raw, and retrieve structured data including submission identifier, problem slug, problem title, reported submission language, and submission timestamp to update practice timelines, and link solved references.

1 provider · 1 implementation$0.002 / billing credit

Common questions

How are Leetcode APIs priced?

Each endpoint publishes its own rate and billing unit. Compare the selected implementation and request-specific conditions; a collection starting price is not a quote for every request.

How do I authenticate Leetcode requests?

Use your OpenAny API key from a secure environment variable for supported account-based calls. Never paste secrets into prompts, documentation examples or public logs.

Are all implementations interchangeable?

No. Read each endpoint request schema, response examples and limitations before execution. Different suppliers may expose different fields and behavior; approve the budget before a paid call.

Use Leetcode with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.