batch: Create batch submissions

API: judge0.com:judge0-ce
Endpoint: /submissions/batch
Response format: application/json
Auth: unknown
Method: POST
Last Status: 400
Latency: 246ms

Description

Creates batch of submissions to be executed. Returns tokens for all submissions. Use this when you need to run multiple code samples and collect results together.

From spec: Creates multiple code submissions at once. Returns tokens for each submission.

Usage Tips

- Accepts array of submissions in request body - Each submission needs source_code, language_id - Returns array of tokens matching submission order - Poll individual tokens or use GET /submissions/batch

Parameters (2)

X-Auth-Token (string, header, optional)

Optional authentication token for private instances

base64_encoded (boolean, query, optional, default: False)

If true, source_code and stdin in submissions are expected to be base64 encoded

Examples (1)

Create batch code submissions doc_extracted

Submits multiple code snippets for execution in a single batch request.

curl 'https://ce.judge0.com/submissions/batch' \
  -X POST
import requests

resp = requests.post("https://ce.judge0.com/submissions/batch")
data = resp.json()
import zingu_apis

api = zingu_apis.api("judge0")
result = api.get("submissions/batch")

for item in result:
    print(item)
const resp = await fetch("https://ce.judge0.com/submissions/batch", {
  method: "POST",
});
const data = await resp.json();

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-04-16 02:44:00.222146 400 246ms
2026-04-15 00:02:38.796716 400 286ms
2026-04-14 03:14:51.490794 400 258ms
2026-04-12 16:00:02.134505 400 604ms
2026-04-10 03:17:04.091992 400 332ms
2026-04-09 01:10:43.231798 400 252ms