Tool detail
execbox
Executes source code in one of 40+ supported languages (via Judge0) in a 5s CPU / 128MB RAM sandbox and returns the run result.
Categories: Code tools
Use when
- run untrusted Python/JS/C/Java/Go/Rust code and get stdout
- check whether a code snippet compiles and executes correctly
- execute a short script as one step in an agent workflow
Not for
- not for code needing network access — sockets and HTTP calls fail
- not for long-running jobs — 5s CPU / 128MB RAM cap on the standard tier
Inputs
POST JSON body: { language_id: number Judge0 id, source_code: string (required) }; command_line_arguments, compiler_options, stdin (optional)
Admitted input schema
{
"type": "object",
"properties": {
"command_line_arguments": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Arguments passed to the compiled binary at runtime (e.g. \"--input file.txt\"). Leave empty or omit for most use cases. Do NOT put natural language here."
},
"compiler_options": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Compiler flags passed to the compiler (e.g. \"-O2 -Wall\", \"-std=c17\"). Must start with \"-\". Leave empty or omit if unsure. Do NOT put natural language here."
},
"language_id": {
"type": "number",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Judge0 language ID. GET /languages for valid IDs (e.g. 71=Python 3, 63=JavaScript, 50=C, 62=Java)"
},
"source_code": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Source code to execute (max 100,000 characters). Network access is disabled — code that opens sockets or makes HTTP requests will fail."
},
"stdin": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Standard input passed to the program (optional)"
}
},
"required": [
"language_id",
"source_code"
],
"additionalProperties": false
}Endpoint
- Method
POST- URL
https://execbox.xyz/execute
Payment
- Protocol
- x402
- Listed price
- 0.002 USDC per call on Base
- Payment method
- exact
- Network
- eip155:8453
- Asset
- 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.
Source
- Directory
- Coinbase x402 Bazaar
- Record
- POST https://execbox.xyz/execute
- Retrieved
- 2026-09-30T20:37:07.382Z
- Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524- Catalog built
- 2026-09-30T22:31:58.034Z