API reference

Live OpenAPI spec, rendered by Scalar. Try requests in-page with your own API key, in curl, JS, Python, or Go. Source spec at /api/v1/openapi.

Base URL
https://twin-browser.com/api/v1
Auth
Authorization: Bearer ab_live_… on every call — the tenant is always derived from the key, never from the body. Keys are minted in the dashboard under Keys & Secrets, and Scalar below has a field to paste yours in for try-it-now requests.
Content type
application/json requests; JSON responses except the SSE streams (text/event-stream) and binary video/screenshot bodies.
Metering
Prepaid credits, reserved at start and settled on the terminal result (failures refund). Every response reports credits_charged; rates are live at GET /pricing.