cURL
curl --request POST \ --url https://api.anchorbrowser.io/api/sessions \ --header 'Content-Type: application/json' \ --header 'anchor-api-key: <api-key>' \ --data '{ "adblock_config": { "active": false, "popup_blocking_active": false }, "captcha_config": { "active": false }, "headless": false, "proxy_config": { "type": "anchor_residential", "country_code": "uk", "active": false }, "recording": { "active": false }, "profile": { "name": "my-profile", "persist": true }, "viewport": { "width": 1440, "height": 900 }, "timeout": 10, "idle_timeout": 3, "view_only": true }'
{ "page_id": "<string>", "id": "<string>", "session_url": "<string>", "live_view_url": "<string>" }
Allocates a new browser session for the user, with optional configurations for ad-blocking, captcha solving, proxy usage, and idle timeout.
API key passed in the header
Successfully returned a browser object
The response is of type object.
object