Browser
Create a remote browser session
Creates a remote tf-browser session and returns CDP connection details. Connect to the browser via CDP WebSocket at cdp_url.
By default the session egresses through the TinyFish residential proxy in the US, pinned to one exit IP for the life of the session. Use proxy_config to pick another country (country_code, any ISO 3166-1 alpha-2), bring your own proxy (type: "custom"), or disable the proxy (enabled: false).
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).
post/browser
Request
- Base URL: https://api.browser.tinyfish.ai
- URL: https://api.browser.tinyfish.ai/browser
- Auth: API key in header X-API-Key
Request body
Example request
{
"url": "https://www.tinyfish.ai",
"timeout_seconds": 300,
"proxy_config": {
"enabled": true,
"type": "tinyfish",
"country_code": "US",
"url": "http://proxy.example.com:8080"
}
}Response
Browser session created successfully.
Example response
{
"session_id": "br-a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"cdp_url": "wss://browser.example.tinyfish.io/session/cdp",
"base_url": "https://browser.example.tinyfish.io/session"
}Changes
No recorded changes to this operation across all 1 revision of this API.