Skip to content

Hackerearth

For compiling and running code in several languages

Open documentation ↗
API keyHTTPSNo CORSProgramming

Verified 4 days ago: 100% uptime

API key

Required

HTTPS

Supported

Browser calls

No, needs a proxy

Status

Live · 100/100

What our checks found

Health score
100/100
Reliability
100%
Average latency
184ms

Last checked 2026-09-18. Measured independently, not self-reported by the provider.

How to call it

A starting template for Hackerearth. Replace ENDPOINT with the path from the official documentation, which we link above rather than guess at.

# Requires an API key. Check the docs for whether it goes in a header or a query parameter.
curl -s "https://www.hackerearth.com/ENDPOINT" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"

This API does not send CORS headers, so a browser will block a direct call from your front end. Call it from your server, or put a small proxy in front of it.

Where this listing comes from

Aggregated from one public source (public-apis), then normalised and checked by us. If something here is wrong, tell us and we will correct it.

Other Programming APIs

See all 5

Judge0 CE

Programming

Online code execution system

API keyCORSHTTPS

Verified 4 days ago: 100% uptime

View Details

Codeforces

Programming

Get access to Codeforces data

API keyHTTPS

Verified 4 days ago: 100% uptime

View Details

Mintlify

Programming

For programmatically generating documentation for code

API keyHTTPS

Verified 4 days ago: 100% uptime

View Details

KONTESTS

Programming

For upcoming and ongoing competitive coding contests

No keyHTTPS

Checked 4 days ago: not responding

View Details

Hackerearth — common questions

Answered from what our own scheduled checks found, not from the provider's marketing.

Is Hackerearth free to use?

Hackerearth is listed in our free catalogue, but it requires an API key, so you will need to register before your first call. Providers frequently reserve higher limits and commercial use for paid plans.

Does Hackerearth need an API key?

Yes. Hackerearth authenticates with an API key. Keep it server-side rather than in browser code, because anything in your frontend bundle is readable by anyone who opens developer tools.

Can I call Hackerearth from browser JavaScript?

Not directly. Hackerearth did not return CORS headers when we checked, so the browser will block your page from reading the response even though the request itself succeeds. Call it from a server, or put a small proxy in front of it.

Is Hackerearth still working?

Yes, as of 2026-09-18. Our automated check reached Hackerearth and recorded a 100% reliability score with a median response time of 184 ms. We re-check on a schedule, and this page updates with the result.

Is Hackerearth available over HTTPS?

Yes. Hackerearth serves over HTTPS, so you can call it from a secure page without triggering a mixed-content block.