/v1/meta
Service metadata and endpoint catalog
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/leetcode-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/leetcode-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/leetcode-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/leetcode-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"source": "LeetCode GraphQL API (leetcode.com/graphql, live)",
"service": "leetcode-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/user": "A member's coding profile and solved counts (username=votrubac).",
"GET /v1/daily": "Today's LeetCode daily coding challenge.",
"GET /v1/contest": "A member's contest rating and ranking (username=votrubac).",
"GET /v1/calendar": "A member's solving streak and activity (username=votrubac)."
},
"description": "Live data from LeetCode, the largest coding-interview and competitive-programming community, via its public GraphQL API. The user endpoint returns a member's coding profile (global ranking, reputation, country, problems solved split by difficulty, total submissions and badges); the contest endpoint returns a member's competitive standing (contest rating, global ranking, contests attended, top percentage); the calendar endpoint returns a member's current solving streak, total active days and submissions over the past year; the daily endpoint returns LeetCode's daily coding challenge (today's problem, difficulty, acceptance rate and topic tags). Live, no key, nothing stored. Distinct from the GitHub, Codeforces, Codewars and Stack Exchange developer APIs — this is LeetCode's own member profiles, contest ratings and daily challenge.",
"upstream_status": "ok",
"daily_challenge_date": "2026-06-10"
},
"meta": {
"timestamp": "2026-06-10T14:01:41.582Z",
"request_id": "35c53903-5e8e-4f6b-81dc-df1aefed18b7"
},
"status": "ok",
"message": "Meta",
"success": true
}