← 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) 1001ms
Uptime (30d) 100.0%
Reliability Score 85/100
Last Checked 2026-06-21 09:57:23
Last Healthy 2026-06-21 09:57:23
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-06-21 09:57:23 healthy 402 125ms
2026-06-21 02:09:17 healthy 402 1091ms
2026-06-20 20:20:17 healthy 402 95ms
2026-06-20 07:17:46 healthy 402 961ms
2026-06-19 11:48:16 healthy 402 1111ms
2026-06-19 06:57:12 healthy 402 989ms
2026-06-19 02:13:27 healthy 402 1076ms
2026-06-18 23:32:15 healthy 402 1030ms
2026-06-18 17:54:56 healthy 402 1001ms