Choose between 100% Judge0 drop-in compatibility (Apex routing) or our high-performance Native Eschaton API.
Dispatches standard Judge0 single submissions directly to Eschaton's Apex parallel worker grid.
/v1/execute route.Migrating from Judge0? Keep your exact existing JSON payload, headers, and language IDs. Simply redirect your client endpoint to Eschaton for an instant 5x speedup.
import requests
# ⚡ Drop-In Judge0 Endpoint (Strictly routed to Apex Parallel Fan-Out Engine)
url = "https://api.eschaton.io/v1/submissions?wait=true"
headers = {
"X-API-Key": "esk_live_demo_testkey_12345", # Supports X-API-Key, Authorization: Bearer, or X-RapidAPI-Key
"Content-Type": "application/json"
}
payload = {
"language_id": 54, # 54: C++ (GCC 9) | 71: Python 3 | 62: Java 21 | 63: JS
"source_code": "#include <iostream>
int main() { int a, b; if (std::cin >> a >> b) std::cout << a+b; return 0; }",
"stdin": "15 27
",
"expected_output": "42
",
"cpu_time_limit": 2.0,
"memory_limit": 128000 # In KB (Standard Judge0 spec)
}
response = requests.post(url, headers=headers, json=payload)
data = response.json()
# Returns 100% Judge0-compliant schema:
# {
# "stdout": "42
",
# "time": "0.002",
# "memory": 2048,
# "status": { "id": 3, "description": "Accepted" },
# "token": "3f9a7c2b-4e12-49e0-81f9-08d74b88e1a2"
# }
print("Status:", data.get("status"))
print("Stdout:", data.get("stdout"))
print("Token:", data.get("token"))Complete reference directory mapping standard Judge0 IDs to Eschaton native engine IDs and supported suites.
| Judge0 ID | Eschaton ID | Language & Standard | Compiler / Runtime Version | Supported Suites | Compiler Flags | Credit Cost |
|---|---|---|---|---|---|---|
| 54 / 76 | 202 | C++ 20 ISO/IEC 14882:2020 | GCC 14.1.0 / Clang 18.1 | Apex (Judge0)VoidOmniValgrindComplexity | -O3 -std=c++20 -march=armv8-a | 1.0x Base |
| 73 | 208 | Rust Rust 2021 Edition | rustc 1.79.0 (LLVM 18.1) | Apex (Judge0)VoidOmniValgrind | cargo --release --target aarch64 | 1.0x Base |
| 50 / 75 | 201 | C 17 ISO/IEC 9899:2018 | GCC 14.1.0 / Clang 18.1 | Apex (Judge0)VoidOmniValgrindComplexity | -O3 -std=c17 | 1.0x Base |
| 60 | 203 | Go Go 1.22 Spec | Go 1.22.4 Linux ARM64 | Apex (Judge0)VoidOmni | go build -ldflags="-s -w" | 1.0x Base |
| — | 224 | Zig Zig 0.13 Master | Zig 0.13.0 Native | Apex (Judge0)VoidOmni | zig build-exe -O ReleaseFast | 1.0x Base |
| 71 | 204 | Python 3 Python 3.11 / 3.12 PEP | CPython 3.11.9 (NumPy, SciPy, Pandas) | Apex (Judge0)OmniDataScienceComplexity | python3 -u -O | 1.0x Base |
| 63 | 207 | JavaScript ECMAScript 2023 | Node.js 20.14.0 LTS | Apex (Judge0)Omni | node --max-old-space-size=256 | 1.0x Base |
| 74 | 209 | TypeScript TypeScript 5.4 Spec | tsc 5.4.5 / Node.js 20 LTS | Apex (Judge0)Omni | tsx execution runner | 1.2x Base |
| 62 | 205 | Java 21 Java SE 21 LTS | OpenJDK 21.0.3 (HotSpot 64-Bit) | Apex (Judge0)Omni | javac --release 21 -Xlint:none | 1.5x Base |
| 78 | 206 | Kotlin Kotlin 2.0 Spec | Kotlin 2.0.0 (JRE 21) | Apex (Judge0)Omni | kotlinc -include-runtime | 1.5x Base |
| 82 (SQL) | 204 | PostgreSQL 16 Server SQL:2023 / Relational ACID | PostgreSQL 16.3 Dedicated Server | DBMS | psycopg2 DDL/DML Multi-Tenant Seed | 3.0x Credits |
| 82 (SQL) | 204 | MySQL 8.4 LTS Server SQL:2016 / InnoDB Engine | MySQL 8.4.1 LTS Enterprise Server | DBMS | pymysql DDL/DML Multi-Tenant Seed | 3.0x Credits |
| 82 (SQL) | 204 | SQLite 3 Embedded SQLite 3.45 ACID Engine | SQLite 3.45.1 (Tmpfs In-Memory) | DBMS | sqlite3 Python driver with app.db | 1.0x Base |