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
The kind of data this API exposes, based on its documentation. We could not call the endpoint to confirm the exact field names.
Example Response
Illustrative shape only — we were not able to call this endpoint (it requires credentials or exposes no public sample URL), so the fields below show the kind of data this API returns rather than a recorded 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
Calls a real endpoint of this API. Replace any placeholder credentials with your own key.
const url = "https://judge0-ce.p.rapidapi.com/submissions?base64_encoded=false&wait=true";
// 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
Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.
Metadata Score Breakdown
Estimated from metadata — endpoint not independently tested
Metadata estimate · endpoint not independently tested
Technical Specifications
Related Tags
Explore More
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.