← 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) 1026ms
Uptime (30d) 100.0%
Reliability Score 85/100
Last Checked 2026-05-06 18:48:35
Last Healthy 2026-05-06 18:48:35
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-05-06 18:48:35 healthy 402 1003ms
2026-05-06 16:54:55 healthy 402 1166ms
2026-05-06 11:07:27 healthy 402 110ms
2026-05-06 08:30:59 healthy 402 1165ms
2026-05-06 06:48:11 healthy 402 1382ms
2026-05-06 01:50:10 healthy 402 1294ms
2026-05-05 23:32:44 healthy 402 969ms
2026-05-05 21:29:59 healthy 402 130ms
2026-05-05 16:47:42 healthy 402 1692ms
2026-05-05 14:04:15 healthy 402 6872ms
2026-05-05 11:28:35 healthy 402 803ms
2026-05-05 09:10:40 healthy 402 92ms
2026-05-05 06:36:34 healthy 402 1097ms
2026-05-05 03:45:56 healthy 402 797ms
2026-05-05 00:03:54 healthy 402 1013ms
2026-05-04 20:18:17 healthy 402 70ms
2026-05-04 17:42:53 healthy 402 1026ms
2026-05-04 15:59:07 healthy 402 1075ms
2026-05-04 14:30:42 healthy 402 1083ms
2026-05-04 10:51:57 healthy 402 981ms