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
14In this collection
Providers
1Unique providers
Requests
—Loading...
Success rate
—Loading...
Response P50
—Loading...
Loading statistics... API browsing remains available.

Available APIs

LeetCode user contest history API

Use the LeetCode user contest history API to retrieve rating scores and programming reference entries as structured JSON from LeetCode. Supply public username in the query. 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. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.

1 provider · 1 implementation$0.002 / billing credit

LeetCode topic tags API

Use the LeetCode topic tags API to retrieve topic tags, record identities and titles and source-page links as structured JSON from LeetCode. The operation can be requested without a mandatory query selector. Use these results to choose programming exercises by difficulty or topic and connect study plans with problem references. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.

1 provider · 1 implementation$0.002 / billing credit

LeetCode global contest ranking API

Use the LeetCode global contest ranking API to retrieve programming reference entries, record identities and titles and geographic references as structured JSON from LeetCode. The operation can be requested without a mandatory query selector. Use these results to review public coding-competition records and compare contest participation or rating progress. Continue with the returned next_page as page; a null value marks the last page. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.

1 provider · 1 implementation$0.002 / billing credit

LeetCode study plans API

Use the LeetCode study plans API to retrieve problem metadata, grouped result tables, record identities and titles and source-page links as structured JSON from LeetCode. Choose record slug as optional query conditions to select the source records or view required for your request. Use these results to choose programming exercises by difficulty or topic and connect study plans with problem references. The documented source-page link form identifies the requested entry directly and lets you reuse an existing source-page reference. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.

1 provider · 1 implementation$0.002 / billing credit

LeetCode user profile API

Use the LeetCode user profile API to retrieve trip options, learning outcomes and skills, submission counts, source-page links, geographic references and record identities and titles as structured JSON from LeetCode. Supply public username in the query; optionally select year to set the requested scope. 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. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.

1 provider · 1 implementation$0.002 / billing credit

LeetCode daily challenge API

Use the LeetCode daily challenge API to retrieve problem metadata and source-page links as structured JSON from LeetCode. The operation can be requested without a mandatory query selector. Use these results to choose programming exercises by difficulty or topic and connect study plans with problem references. The linked problem is represented by metadata, without its full statement. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.

1 provider · 1 implementation$0.002 / billing credit

LeetCode problem list API

Use the LeetCode problem list API to retrieve programming reference entries, topic tags, difficulty levels, submission acceptance rate, record identities and titles and source-page links as structured JSON from LeetCode. Choose search words, category and sort option as optional query conditions to select the source records or view required for your request. Use these results to choose programming exercises by difficulty or topic and connect study plans with problem references. For sort option, choose asc / desc. Continue with the returned next_page as page; a null value marks the last page. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.

1 provider · 1 implementation$0.002 / billing credit

LeetCode Problem Metadata API

Use the LeetCode Problem Metadata API to retrieve topic tags, related problems, difficulty levels, submission acceptance rate, submission counts and record identities and titles as structured JSON from LeetCode. Supply record slug in the query. Use these results to choose programming exercises by difficulty or topic and connect study plans with problem references. The documented source-page link form identifies the requested entry directly and lets you reuse an existing source-page reference. It returns metadata rather than the full problem statement. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.

1 provider · 1 implementation$0.002 / billing credit

LeetCode solution post API

Use the LeetCode solution post API to retrieve problem metadata, published summaries, author information, comment counts, topic tags and record identities and titles as structured JSON from LeetCode. Supply record identifier in the query. Use these results to find community explanations and connect problem references with relevant solution discussions. The documented source-page link form identifies the requested entry directly and lets you reuse an existing source-page reference. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.

1 provider · 1 implementation$0.002 / billing credit

LeetCode problem solutions and discussion posts API

Use the LeetCode problem solutions and discussion posts API to retrieve programming reference entries, topic tags, published summaries, author information, comment counts and record identities and titles as structured JSON from LeetCode. Supply record slug in the query; optionally select sort option and search words to set the requested scope. Use these results to find community explanations and connect problem references with relevant solution discussions. The documented source-page link form identifies the requested entry directly and lets you reuse an existing source-page reference. Continue with the returned next_page as page; a null value marks the last page. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.

1 provider · 1 implementation$0.002 / billing credit

LeetCode contest ranking API

Use the LeetCode contest ranking API to retrieve programming reference entries, contest scores, problem metadata, contest problems, scoring or ranking points and source-page links as structured JSON from LeetCode. Supply record slug in the query. 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. Continue with the returned next_page as page; a null value marks the last page. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.

1 provider · 1 implementation$0.002 / billing credit

LeetCode contests API

Use the LeetCode contests API to retrieve programming reference entries, upcoming event records, record identities and titles and source-page links as structured JSON from LeetCode. The operation can be requested without a mandatory query selector. Use these results to review public coding-competition records and compare contest participation or rating progress. Continue with the returned next_page as page; a null value marks the last page. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.

1 provider · 1 implementation$0.002 / billing credit

LeetCode contest API

Use the LeetCode contest API to retrieve problem metadata, scoring or ranking points, record identities and titles and source-page links as structured JSON from LeetCode. Supply record slug in the query. 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. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.

1 provider · 1 implementation$0.002 / billing credit

LeetCode user recent accepted submissions API

Use the LeetCode user recent accepted submissions API to retrieve programming reference entries, record identities and titles and source-page links as structured JSON from LeetCode. Supply public username in the query. 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. Public-profile coverage contains up to 20 recent accepted submissions. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.

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.