Hackerearth
For compiling and running code in several languages
- Authentication
- API Key
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Programming
- Data source
- public-apis + marcelscruz
- Documentation / URL
- https://www.hackerearth.com/docs/wiki/developers/v4/
Overview
HackerEarth Code Check API compiles and runs code — key-based (missing client_secret returns 400, verified).
Quick Start
Submit (replace YOUR_SECRET):
curl "https://api.hackerearth.com/v4/partner/code-evaluation/submissions/" \
-H "Content-Type: application/json" \
-d '{"client_secret": "YOUR_SECRET", "source": "print(42)", "lang": "PYTHON"}'
{ "message": "ArgumentMissingError: client_secret is needed!", "errors": {} }
Authentication
- Register at hackerearth.com → client_secret.
- Send it in the JSON body (missing → 400, verified).
Rate Limits & Notes
- Free tier with limits (check the docs); paid plans scale.
- 40+ languages.
FAQ
Is Hackerearth free? Free tier with limits; more is paid.
Why 400? Missing client_secret returns 400 (verified).
What’s the auth style?
client_secret in the JSON body.
More in Programming
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| Codeforces Get access to Codeforces data | API Key | Yes | Unknown | ↗ |
| JMESPath Run JMESPath queries on JSON data for filtering, transforming, and extracting results | No auth | Yes | Unknown | ↗ |
| Judge0 CE Online code execution system | API Key | Yes | Unknown | ↗ |
| KONTESTS For upcoming and ongoing competitive coding contests | No auth | Yes | Unknown | ↗ |
| Mintlify For programmatically generating documentation for code | API Key | Yes | Yes | ↗ |