Execute Python, JavaScript or Bash in a secure sandbox. No setup, no dependencies. Powered by E2B.
Run arbitrary code in an isolated E2B sandbox. Each execution gets a fresh environment — no state persists between calls. Supports Python, JavaScript (Node.js), and Bash. Max execution time: 30 seconds. Max code size: 10,000 characters.
| Parameter | Type | Description |
|---|---|---|
code |
string (required) | Source code to execute (max 10,000 chars) |
language |
string | python (default), javascript, or bash |
timeout |
number | Timeout in ms (max 30000, default 30000) |
$0.010 per execution via x402 micropayment on Base (USDC).