Use when an agent needs run python
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.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.oblique.markets/api/v1/paid/run-python
| Category | Code and developer |
|---|---|
| Provider host | api.oblique.markets |
| Networks | eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 4 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.05 | 20 ms |
Example input (from the provider)
{
"body": {
"code": "Python 3 program source, at most 32 KB.\u2026"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"args": {
"items": {
"type": "string"
},
"type": "array"
},
"code": {
"type": "string"
},
"files": {
"items": {
"properties": {
"content_base64": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"content_base64"
],
"type": "object"
},
"type": "array"
},
"stdin": {
"type": "string"
},
"timeout_s": {
"type": "number"
}
},
"required": [
"code"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"artifacts": {
"items": {
"properties": {
"content_base64": {
"type": "string"
},
"name": {
"type": "string"
},
"size_bytes": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"duration_ms": {
"type": "integer"
},
"exit_code": {
"type": "integer"
},
"generated_at": {
"type": "string"
},
"receipt": {
"properties": {
"amount_atomic": {
"type": "string"
},
"network": {
"type": "string"
},
"payer": {
"type": "string"
},
"payment_nonce": {
"type": "string"
},
"payment_tx": {
"type": "string"
},
"run_id": {
"type": "string"
},
"scheme": {
"type": "string"
}
},
"type": "object"
},
"run_id": {
"type": "string"
},
"sandbox": {
"properties": {
"memory_mb": {
"type": "integer"
},
"network": {
"type": "boolean"
},
"python_version": {
"type": "string"
},
"runtime": {
"type": "string"
},
"timeout_s": {
"type": "integer"
}
},
"type": "object"
},
"stderr": {
"type": "string"
},
"stderr_truncated": {
"type": "boolean"
},
"stdout": {
"type": "string"
},
"stdout_truncated": {
"type": "boolean"
},
"timed_out": {
"type": "boolean"
}
},
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}