API · /leetcode-api

LeetCode API

healthy 4,987 Subscribers

Live data from LeetCode, the largest coding-interview and competitive-programming community: a member's coding profile (global ranking, reputation, country, problems solved split by easy/medium/hard, total submissions and badges), their competitive standing (contest rating, global ranking, contests attended, top percentage), their activity (current solving streak, total active days, submissions over the past year) and LeetCode's daily coding challenge (today's problem, difficulty, acceptance rate and topic tags).

api.oanor.com/leetcode-api
Get an API key Try in playground → Contact provider

Machine-readable spec so AI agents can integrate this API.

/api/leetcode-api/openapi.json
/api/leetcode-api/llms.txt

Discovery: GET /api/index.json lists every API.

API health

healthy
Uptime
100.00%
Server probes · 24h
Avg latency
389 ms
Server probes · 24h
Subscribers
4,987
active
Total calls
10
last 7 days
status Full status page → · 15 probes/24h

Pricing

Pick a tier — billed monthly, cancel anytime.

Free

Free

  • 8,000 calls / month
  • 3 requests / second
  • Hard cap (429 above quota, no overage)
  • 8,000 calls/month
  • 3 req/sec
  • All endpoints
  • No credit card
Sign in to subscribe

Basic

€5.00 /month

  • 120,000 calls / month
  • 8 requests / second
  • Hard cap (429 above quota, no overage)
  • 120k calls/month
  • 8 req/sec
  • Email support
Sign in to subscribe

Pro

€16.00 /month

  • 750,000 calls / month
  • 15 requests / second
  • Hard cap (429 above quota, no overage)
  • 750k calls/month
  • 15 req/sec
  • Priority support
Sign in to subscribe

Scale

€39.00 /month

  • 3,900,000 calls / month
  • 30 requests / second
  • Hard cap (429 above quota, no overage)
  • 3.9M calls/month
  • 30 req/sec
  • Dedicated SLA
Sign in to subscribe

Built by

Related APIs

Other APIs with overlapping tags.

Codewars API

Live profile, ranking and challenge data from Codewars, the competitive-programming community where developers level up by solving "kata". Get a member's whole standing — honor points, overall rank as a Codewars kyu/dan grade with its score, the per-language ranks they hold, their clan, their global leaderboard position and how many kata they have completed and authored. Pull the paginated list of kata a member has solved with the languages they used, the kata a member has created with rank and popularity, or any code challenge in full — its category, difficulty, tags, available languages and community stats (total completed, attempts, stars and vote score). Live, no key, nothing stored. Distinct from Codeforces, GitHub and Stack Exchange APIs — this is the Codewars honor, kyu-rank, clan, leaderboard and kata-challenge graph. Perfect for developer leaderboards, coding-community, gamification, portfolio and recruiting apps.

api.oanor.com/codewars-api

DEV (dev.to) API

The DEV Community (dev.to) as an API, powered by the official open-source Forem platform API. DEV is one of the largest communities of software developers writing and sharing articles, tutorials and discussions. This API gives clean, read-only access to that content. /v1/articles browses and filters published articles — by tag (tag=javascript), by author (username=ben), by most-reacted over a period (top=7 for the best of the last week), or by feed state (fresh, rising) — with pagination; each result carries the title, description, canonical URL, tag list, positive-reaction and comment counts, estimated reading time, cover image and author summary. /v1/article?id=5 returns a single article with its complete Markdown body, canonical URL and author social links — everything needed to render or syndicate the full post. /v1/user?username=ben returns a member's public profile: display name, bio/summary, location, join date, linked Twitter/GitHub/website and avatar. /v1/tags lists the platform's popular tags for discovery. Article ids are numeric and stable, so links don't rot. Ideal for developer-content aggregators and newsletters, reading-list and bookmarking apps, community dashboards, "trending in tech" widgets and Discord/Slack bots. Data from the public DEV Forem API, free to use. Content is authored by the DEV community.

api.oanor.com/devto-api

Stack Exchange API

Search Stack Overflow and the Stack Exchange network — questions by relevance with scores, answer counts and tags, full question details, and user profiles with reputation, badges and location. Ideal for developer tools, tech-trend monitoring, Q&A aggregation and reputation lookups.

api.oanor.com/stackexchange-api

Codeberg API

Live profile and repository data from Codeberg as an API — the community-run, Forgejo-powered git host and a leading open-source alternative to GitHub. Look up any user or organisation for their profile and social reach (followers, following, starred repositories, join date, location and website), open any repository for its stats (stars, forks, watchers, open issues, primary language, size and dates), or search Codeberg's repositories ranked by stars. The git-forge community layer for developer, social and dashboard apps. Live, no key, no cache. Distinct from GitHub and GitLab APIs and from package-registry APIs — this is the Codeberg platform's own community and project data.

api.oanor.com/codeberg-api

Frequently asked questions

Quick answers about pricing, quotas, and integration.

How do I get an API key for LeetCode API?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call LeetCode API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for LeetCode API?
Free tier allows 1 request per second. Paid plans scale up to 50 requests per second on the Mega tier. Hard limits return HTTP 429 above the quota — no surprise overage charges.
How much does LeetCode API cost?
LeetCode API has a free tier with 100 calls / month. Paid plans start at €5.00 / month with higher quotas and faster rate limits.
Can I cancel my subscription anytime?
Yes. Plans are billed monthly and you can cancel anytime from your billing dashboard. No long-term contracts and no cancellation fee.
Is LeetCode API GDPR-compliant?
All requests to LeetCode API go through our EU-based gateway. Your upstream API key never leaves our server and no personal data is shared with the upstream provider beyond the request you send.

Pick an endpoint from the list on the left to see its details and try it.

Code snippets

Sign up to get an API key, then call any path under your slug.

curl https://api.oanor.com/leetcode-api/SOME_PATH \
  -H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/leetcode-api/SOME_PATH", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/leetcode-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
    "https://api.oanor.com/leetcode-api/SOME_PATH",
    headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())

Ratings

Sign in to rate.

No reviews yet.

Discussion

Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.

Sign in to start a thread or reply.

Sign in

New thread

/ 4000

📌 Pinned 🔒 Locked

·

· ·

/ 4000

🔒 This thread is locked — no new replies.

  • No threads yet — start the discussion.

Support

Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.

Sign in to open a support ticket.

Sign in

Open new ticket

Describe what you need help with. The provider team gets an email and replies on the ticket page.

  • No tickets yet for this API.

Subscription active — calls can start immediately.

Send your first request —

Subscription active — copy a snippet and fire off your first call.