Skip to content

Sandboxes · 3 November 2026

E2B API

Sandboxes now accept E2B's REST API at /compat/e2b, so code that uses E2B's SDKs (e2b, @e2b/code-interpreter) can create and manage Runtime sandboxes after you change only the API URL and the API key: set E2B_API_URL to https://<your API host>/compat/e2b and E2B_API_KEY to a Runtime API key. Creating a sandbox from the base template with timeout, metadata and autoPause, getting and listing sandboxes (paginated by nextToken), setting the timeout, pausing, connecting (which resumes a paused sandbox) and killing are supported. Running commands and reading or writing files inside the sandbox through E2B's SDK are not yet available. A request that sets an unsupported field, such as envVars or another template, returns 400 with a message naming the field.

Same day.

Cut your cloud billby 75%.

No card to start. Billed by the second after.

Start free, no card