Creates a remote tf-browser session and returns CDP connection details. Optionally accepts a target URL to select the best proxy for that domain. Connect to the browser via CDP WebSocket at cdp_url.
Use timeout_seconds to set a custom inactivity timeout (5–86400 seconds). If omitted, null, or greater than your plan maximum, the plan maximum is used (15 min on free tier, 60 min on paid).
API key for authentication. Get your key from the API Keys page.
Browser session parameters
Browser session creation parameters
Target URL the browser session will navigate to on startup. Bare domains (e.g. tinyfish.ai) are automatically prefixed with https://. If omitted, the browser starts at about:blank.
"https://www.tinyfish.ai"
Inactivity timeout in seconds (5–86400). If omitted, null, or greater than your plan maximum, the plan maximum is used.
5 <= x <= 86400300
Browser session created successfully.
Browser session created successfully. Connect to the browser via cdp_url.
Unique identifier for this browser session.
"br-a1b2c3d4-e5f6-7890-abcd-ef1234567890"
WebSocket URL for browser connection. Pass this to Playwright's connect_over_cdp or any WebSocket-based CDP client.
"wss://browser.example.tinyfish.io/session/cdp"
HTTPS base URL for the session. Use to access session endpoints such as /pages.
"https://browser.example.tinyfish.io/session"