API Reference
Build powerful integrations with CodeArena. Access problems, submit solutions, run code, and retrieve leaderboard data programmatically.
https://api.codearena.com/v1Quick Start
Get Your API Key
Register an account and generate your personal API key from the dashboard settings.
Make Your First Request
Use your key in the Authorization header to authenticate all API calls.
Explore Endpoints
Browse the full reference below to discover all available resources and actions.
Authentication
All API requests require a Bearer token in the Authorization header. Obtain your token by logging in or registering through the Auth endpoints.
curl -X GET https://api.codearena.com/v1/problems \
-H "Authorization: Bearer eyJhbGciOiJI..." \
-H "Content-Type: application/json"Endpoint Reference
Rate Limits
| Tier | Requests | Burst Limit |
|---|---|---|
| Free | 100 / hour | 10 / min |
| Pro | 1,000 / hour | 50 / min |
| Enterprise | Unlimited | Custom |
Error Codes
Invalid parameters or malformed JSON body.
Missing or invalid authentication token.
Insufficient permissions for this action.
The requested resource does not exist.
Too many requests. Slow down and retry.
Something went wrong on our end.
Ready to Build?
Explore our SDKs, join the developer community, or dive straight into the code. We are here to help you ship faster.