Docs
Quickstart
From sign-up to a running sandbox in four calls.
Boxport is one API in front of E2B, Daytona, Modal, Vercel, Blaxel and Sprites. You bring your own vendor keys. Each time you create a sandbox, Boxport picks the provider that best fits what you asked for (cost, speed, reliability) and falls back to the next one if it fails.
1. Get a key
Sign up on the home page. The key looks like bk_… and is shown once.
2. Add your vendor keys
curl -X PUT https://boxport.dev/v1/providers/e2b/key \
-H "Authorization: Bearer $BOXPORT_KEY" -d '{"apiKey":"e2b_…"}'
Repeat for daytona, modal, vercel, blaxel or sprites with the keys you have. One is enough to start; routing needs two. See Providers for each key's format.
3. Build a template
curl -X POST https://boxport.dev/v1/templates \
-H "Authorization: Bearer $BOXPORT_KEY" -d '{"name":"default","image":"default"}'
4. Create, run, kill
curl -X POST https://boxport.dev/v1/sandboxes -H "Authorization: Bearer $BOXPORT_KEY" \
-d '{"template":"default","shape":{"minutes":30,"busy":0.15}}'
# → {"id":"e2b_…","provider":"e2b","estimatedCost":0.0828,…}
curl -X POST https://boxport.dev/v1/sandboxes/e2b_…/exec -H "Authorization: Bearer $BOXPORT_KEY" -d '{"cmd":"python3 -V"}'
curl -X DELETE https://boxport.dev/v1/sandboxes/e2b_… -H "Authorization: Bearer $BOXPORT_KEY"
Kill sandboxes when you're done. Your vendors bill you until then.
Using an agent?
Add the MCP server instead and let the agent call the tools. See MCP.