Overview
Use when an agent needs run python. Returns Runs a short Python program in an isolated sandbox and returns its output: exit code, stdout/stderr (64 KB each), duration, up to 3 artifact files in ./out/, and a receipt. Python 3.12 with the standard library plus numpy, pandas and requests; no network; 512 MB; up to 30 s. Input: code (32 KB), optional stdin, args and up to 4 input files. Free syntax check: POST /api/v1/run-python/validate; worked example: GET /api/v1/run-python/example. $0.05.
Protocol
x402 (POST)
Price
$0.05
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
uncategorized
Provider
Oblique Markets
Indexed
2026-09-09 01:08:49
Health
Status
healthy
Latency (p50)
436ms
Uptime (30d)
100.0%
Reliability Score
95/100
Last Checked
2026-10-31 07:13:48
Last Healthy
2026-10-31 07:13:48
Consecutive Failures
0
Input Schema
{
"body": {
"code": "Python 3 program source, at most 32 KB.…"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"artifacts": [
{
"content_base64": "eyJuIjogNCwgIm1lYW4iOiA3LjI1fQ==",
"name": "result.json",
"size_bytes": 22
}
],
"duration_ms": 168,
"exit_code": 0,
"generated_at": "2026-09-09T00:31:12.000Z",
"receipt": {
"amount_atomic": "50000",
"network": "eip155:8453",
"payer": "0x1111111111111111111111111111111111111…",
"payment_nonce": "0x7d1b2c3d4e5f60718293a4b5c6d7e8f90a1b2…",
"payment_tx": "settled after this response; the transa…",
"run_id": "run_5f0c2a9d7b3e1c4d8a6f0b21",
"scheme": "exact"
},
"run_id": "run_5f0c2a9d7b3e1c4d8a6f0b21",
"sandbox": {
"memory_mb": 512,
"network": false,
"python_version": "3.12.10",
"runtime": "isolated",
"timeout_s": 10
},
"stderr": "",
"stderr_truncated": false,
"stdout": "mean 7.25\nargv ['--fast']\nnet blocked: …",
"stdout_truncated": false,
"timed_out": false
},
"type": "json"
}