← 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) 1015ms
Uptime (30d) 100.0%
Reliability Score 85/100
Last Checked 2026-08-13 12:42:21
Last Healthy 2026-08-13 12:42:21
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-08-13 12:42:21 healthy 402 116ms
2026-08-13 06:01:15 healthy 402 1133ms
2026-08-12 20:34:29 healthy 402 1265ms
2026-08-12 16:00:14 healthy 402 98ms
2026-08-12 12:53:29 healthy 402 1028ms
2026-08-12 08:13:22 healthy 402 1004ms
2026-08-12 02:36:22 healthy 402 956ms
2026-08-11 21:26:16 healthy 402 1018ms
2026-08-11 13:35:28 healthy 402 1033ms
2026-08-11 09:53:21 healthy 402 1015ms
2026-08-11 03:30:53 healthy 402 997ms
2026-08-11 01:20:59 healthy 402 1079ms
2026-08-10 19:00:15 healthy 402 985ms
2026-08-10 15:39:05 healthy 402 1010ms