← 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) 741ms
Uptime (30d) 100.0%
Reliability Score 90/100
Last Checked 2026-03-22 05:58:23
Last Healthy 2026-03-22 05:58: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-03-22 05:58:23 healthy 402 1069ms
2026-03-22 05:14:36 healthy 402 83ms
2026-03-22 04:23:16 healthy 402 107ms
2026-03-22 03:13:07 healthy 402 81ms
2026-03-22 01:55:53 healthy 402 834ms
2026-03-22 00:57:43 healthy 402 77ms
2026-03-21 23:45:26 healthy 402 741ms
2026-03-21 22:32:48 healthy 402 803ms
2026-03-21 21:48:51 healthy 402 129ms
2026-03-21 20:45:13 healthy 402 77ms
2026-03-21 19:58:12 healthy 402 105ms
2026-03-21 18:56:46 healthy 402 753ms
2026-03-21 18:00:13 healthy 402 762ms
2026-03-21 16:33:26 healthy 402 806ms
2026-03-21 15:46:02 healthy 402 817ms
2026-03-21 15:24:53 healthy 402 129ms
2026-03-21 14:16:37 healthy 402 690ms
2026-03-21 13:04:21 degraded 402 788ms
2026-03-21 12:16:34 degraded 402 796ms
2026-03-21 11:16:46 healthy 402 109ms