freeapis

Hackerearth

For compiling and running code in several languages

Authentication
API Key
HTTPS
Yes
CORS
Unknown
Category
Programming
Data source
public-apis + marcelscruz

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

APIAuthHTTPSCORS
Codeforces

Get access to Codeforces data

API KeyYesUnknown↗
JMESPath

Run JMESPath queries on JSON data for filtering, transforming, and extracting results

No authYesUnknown↗
Judge0 CE

Online code execution system

API KeyYesUnknown↗
KONTESTS

For upcoming and ongoing competitive coding contests

No authYesUnknown↗
Mintlify

For programmatically generating documentation for code

API KeyYesYes↗