Programming — entry 002 of 4

Hackerearth

Verified Jul 2026

HackerEarth's v4 Code Evaluation API lets registered client applications submit source code in dozens of languages for asynchronous sandboxed compilation and execution, returning results via a callback URL rather than a blocking response. Every call must carry a client-secret issued after registering a web application, confirmed live by a real request that failed with "client_secret is needed!" rather than any generic error. HackerEarth's own docs describe a cap on both the number of registered clients and the number of free requests per account, with no public self-serve pricing page — consistent with a freemium model gated behind manual registration rather than an open paid tier.

code-executioncompetitive-programmingcompilerssandboxed-execution
AuthenticationAPI KeySign up with the provider to obtain credentials.
HTTPSSupportedTraffic is encrypted in transit.
CORSEnabledCallable directly from browser JavaScript.
PricingFreemiumA usable free tier exists, with paid plans for more volume.
FormatsJSONResponses can be requested as JSON.

GreatAPIs Score

Score61out of 100
Authentication15/25API key required
Pricing17/20Freemium tier available
Docs0/20No docs or spec available
Formats9/15Single response format
Freshness20/20Verified within 6 months

Embed this badge

Scored 61 on greatapis.com
<a href="https://greatapis.com/api/hackerearth/"><img src="https://greatapis.com/badge/hackerearth.svg" alt="Scored 61 on greatapis.com"></a>

Auth quickstart

  1. Sign up with the provider to get an API key.
  2. Send it on every request as a headerAuthorization: <key>
  3. The exact header isn't documented — Authorization is a common default; confirm in the provider's docs.
Stored keyNo key stored

Your key is stored only in this browser (localStorage) and sent directly to the API — never to greatapis.