Judge0 CE API
Overview
Judge0 CE is an open-source online code execution API that compiles and runs code in over 60 programming languages. You submit source code along with optional input, and within seconds you get back the program output, execution time, and memory usage. It is a popular choice for building coding challenges, interview platforms, and automated grading systems.
Beginner Tip
Use the /submissions endpoint with wait=true to get results in a single synchronous request instead of polling — much simpler when getting started.
Available Data
Example Response
{
"status": "success",
"data": {
"result": "Data from Judge0 CE",
"description": "Online code execution system",
"timestamp": "2025-01-15T10:00:00Z"
}
} Field Reference
status.id Numeric status code: 3 = Accepted, 4 = Wrong Answer, 5 = TLE, 6 = Compilation Error, 11 = Runtime Error. status.description Human-readable status label such as Accepted or Compilation Error. stdout Standard output produced by the program (base64-encoded if base64_encoded=true). stderr Standard error output, useful for debugging runtime errors. time Actual execution time of the program in seconds. memory Memory used by the program in kilobytes. Implementation Example
const url = "https://ce.judge0.com/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"X-API-Key": "YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Partially tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Codeforces
⭐ Beginner's PickCodeforces is a competitive programming platform, and its API lets you retrieve contest data, user statistics, problem sets, and submission results programmatically.
Hackerearth
HackerEarth is a developer assessment platform, and its API lets you compile and execute code in over 30 programming languages programmatically.
Mintlify
Mintlify is a documentation platform API that lets you programmatically generate and manage beautiful docs for your code projects.
KONTESTS
KONTESTS provides programmatic access to for upcoming and ongoing competitive coding contests via REST API.