LMArena Code Leaderboard
https://api.sandbase.ai/v1/api/lmarena/code-leaderboardFetch the Code Arena leaderboard showing model rankings for code generation tasks. Returns entries and available model list.
- Price
- $0.01USD / callFirst 100 calls per day free (shared per organization)
- Method
- POST
- Response
- Async JSON
- Parameters
- 0 required · 0 optional
Try the model
Playground
Your output will appear here
Complete the inputs, then click Run.
Model card
Specifications
Pricing
- Base price
- $0.01 / run
- Daily free calls
- First 100 calls per day free (shared per organization)
Request & response
- Method
- POST
- Request body
- application/json
- Response
- application/json
- Execution
- async
Parameters
- Parameters
- None
Access
- Provider
- LMArena
- API
- Platform API
- Base URL
- https://api.sandbase.ai
- Endpoint
- /v1/api/lmarena/code-leaderboard
- Authentication
- Bearer API key
API README
LMArena Code Leaderboard
Fetch the Code Arena leaderboard showing model rankings for code generation tasks. Returns entries and available model list.
Start building
Send your first request
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/lmarena/code-leaderboard" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{}
SANDBASE_JSON
)
printf '%s\n' "$result"Explore more
Related APIs
| API | Price | Response | Released |
|---|---|---|---|
LMArena Code LeaderboardThis API LMArena | $0.01 per call | Async JSON | Oct 30, 2026 |
Questions
FAQ
How do I use the LMArena Code Leaderboard API?
Send a POST request to https://api.sandbase.ai/v1/api/lmarena/code-leaderboard with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
How much does the LMArena Code Leaderboard API cost?
$0.01 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.
What parameters does the LMArena Code Leaderboard API accept?
LMArena Code Leaderboard takes no input parameters; send an empty JSON body.
What does the LMArena Code Leaderboard API return?
A JSON result. This endpoint runs asynchronously, so the response tells you how to fetch the finished result.
Do I need a LMArena developer account or API key?
No. LMArena Code Leaderboard runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for LMArena API access separately.
