← Back to directory

Run Python code in a secure sandbox environment using E2B. Supports Jupyter Note...

https://staging.toolkit.dev/api/tool/e2b/run-code

Overview

Run Python code in a secure sandbox environment using E2B. Supports Jupyter Notebook syntax and returns execution results and logs.

Protocol x402
Price $0.05
Payment Asset USD Coin
Payment Network Base
Category uncategorized
Provider staging
Source bazaar
Indexed 2026-03-02 01:01:31

Health

Status healthy
Latency (p50) 976ms
Uptime (30d) 100.0%
Reliability Score 90/100
Last Checked 2026-09-29 08:32:00
Last Healthy 2026-09-29 08:32:00
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Invalid
Asset Verified —
Facilitator —

Input Schema

{ "bodyFields": { "code": { "description": "The Python code to execute in the sandbox", "required": true, "type": "string" } }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "properties": { "logs": { "description": "Execution logs", "required": true, "type": "any" }, "results": { "description": "The execution results from running the code", "required": true, "type": "array" } }, "required": [ "results", "logs" ], "type": "object" }

Recent Health Checks

Time Status HTTP Latency Error
2026-09-29 08:32:00 healthy 402 1006ms
2026-09-29 02:01:24 healthy 402 860ms
2026-09-28 16:37:14 healthy 402 1011ms
2026-09-28 10:28:08 healthy 402 1213ms
2026-09-28 00:26:17 healthy 402 204ms
2026-09-27 18:44:05 healthy 402 976ms
2026-09-27 06:24:17 healthy 402 963ms
2026-09-27 01:32:46 healthy 402 874ms
2026-09-26 14:40:20 healthy 402 894ms
2026-09-26 12:20:34 healthy 402 1071ms