Judge0 Submit Code (Async) is a paid API for AI agents from Judge0 at judge0.mpp.paywithlocus.com, paid per call via MPP, $0.006/call, status unknown (last checked 2026-10-10, last successful call 2026-06-10).
Asynchronously submits source code for sandboxed execution in 60+ programming languages and returns a token to retrieve the result
Submit code for asynchronous execution. Returns a token immediately — use get-submission to poll for results. Use this instead of execute-code for long-running programs that may time out.
Returns a JSON object with a submission token (UUID string) that can be used with the Get Submission endpoint to poll for execution results including stdout, stderr, status, and timing/memory metrics.
POSThttps://judge0.mpp.paywithlocus.com/judge0/submit-code?utm_source=zero.xyzUse this endpoint when you need asynchronous code execution and will poll for the result separately using the returned token — ideal for longer-running programs, batch workflows, or when you want to decouple submission from result retrieval. Prefer the synchronous Execute Code endpoint when you need an immediate response in a single call.
{
"stdin": "5 3",
"language_id": "71",
"source_code": "print(sum(map(int, input().split())))",
"expected_output": "8"
}| Field | Type | Description |
|---|---|---|
| stdin | string | Standard input for the program |
| language_idrequired | integer | Language ID (e.g., 71 for Python 3, 63 for JavaScript, 54 for C++, 62 for Java). Use list-languages to find IDs. |
| source_coderequired | string | Program source code to execute |
| stack_limit | number | Stack size limit in kilobytes |
| memory_limit | number | Memory limit in kilobytes |
| cpu_time_limit | number | CPU time limit in seconds (default: instance-dependent) |
| enable_network | boolean | Allow network access inside the sandbox |
| expected_output | string | Expected output — if provided, status will indicate whether output matches |
| wall_time_limit | number | Wall clock time limit in seconds |
| compiler_options | string | Compiler flags (max 512 chars, e.g., "-O2 -Wall") |
| command_line_arguments | string | Command-line arguments passed to the program (max 512 chars) |
| redirect_stderr_to_stdout | boolean | Redirect stderr to stdout in the output |
{
"data": {
"token": "914f7b3b-b6e8-4aba-bc1a-3038470c6e7d"
},
"success": true
}Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"