Allocates a new browser session for the user, with optional configurations for ad-blocking, captcha solving, proxy usage, and idle timeout.
curl --request POST \
--url https://api.anchorbrowser.io/v1/sessions \
--header 'Content-Type: application/json' \
--header 'anchor-api-key: <api-key>' \
--data '{
"session": {
"recording": {
"active": false
},
"proxy": {
"type": "anchor_residential",
"country_code": "uk",
"active": false
},
"timeout": {
"max_duration": 10,
"idle_timeout": 3
},
"live_view": {
"read_only": false
}
},
"browser": {
"profile": {
"name": "my-profile",
"persist": true
},
"adblock": {
"active": false
},
"popup_blocker": {
"active": false
},
"captcha_solver": {
"active": false
},
"headless": {
"active": true
},
"viewport": {
"width": 1440,
"height": 900
},
"p2p_download": {
"active": false
},
"extensions": [
"550e8400-e29b-41d4-a716-446655440000",
"6ba7b810-9dad-11d1-80b4-00c04fd430c8"
]
}
}'
{
"data": {
"id": "<string>",
"cdp_url": "<string>",
"live_view_url": "<string>"
}
}
API key passed in the header
Successfully returned a browser object
The response is of type object
.
curl --request POST \
--url https://api.anchorbrowser.io/v1/sessions \
--header 'Content-Type: application/json' \
--header 'anchor-api-key: <api-key>' \
--data '{
"session": {
"recording": {
"active": false
},
"proxy": {
"type": "anchor_residential",
"country_code": "uk",
"active": false
},
"timeout": {
"max_duration": 10,
"idle_timeout": 3
},
"live_view": {
"read_only": false
}
},
"browser": {
"profile": {
"name": "my-profile",
"persist": true
},
"adblock": {
"active": false
},
"popup_blocker": {
"active": false
},
"captcha_solver": {
"active": false
},
"headless": {
"active": true
},
"viewport": {
"width": 1440,
"height": 900
},
"p2p_download": {
"active": false
},
"extensions": [
"550e8400-e29b-41d4-a716-446655440000",
"6ba7b810-9dad-11d1-80b4-00c04fd430c8"
]
}
}'
{
"data": {
"id": "<string>",
"cdp_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.
curl --request POST \
--url https://api.anchorbrowser.io/v1/sessions \
--header 'Content-Type: application/json' \
--header 'anchor-api-key: <api-key>' \
--data '{
"session": {
"recording": {
"active": false
},
"proxy": {
"type": "anchor_residential",
"country_code": "uk",
"active": false
},
"timeout": {
"max_duration": 10,
"idle_timeout": 3
},
"live_view": {
"read_only": false
}
},
"browser": {
"profile": {
"name": "my-profile",
"persist": true
},
"adblock": {
"active": false
},
"popup_blocker": {
"active": false
},
"captcha_solver": {
"active": false
},
"headless": {
"active": true
},
"viewport": {
"width": 1440,
"height": 900
},
"p2p_download": {
"active": false
},
"extensions": [
"550e8400-e29b-41d4-a716-446655440000",
"6ba7b810-9dad-11d1-80b4-00c04fd430c8"
]
}
}'
{
"data": {
"id": "<string>",
"cdp_url": "<string>",
"live_view_url": "<string>"
}
}
API key passed in the header
Successfully returned a browser object
The response is of type object
.
curl --request POST \
--url https://api.anchorbrowser.io/v1/sessions \
--header 'Content-Type: application/json' \
--header 'anchor-api-key: <api-key>' \
--data '{
"session": {
"recording": {
"active": false
},
"proxy": {
"type": "anchor_residential",
"country_code": "uk",
"active": false
},
"timeout": {
"max_duration": 10,
"idle_timeout": 3
},
"live_view": {
"read_only": false
}
},
"browser": {
"profile": {
"name": "my-profile",
"persist": true
},
"adblock": {
"active": false
},
"popup_blocker": {
"active": false
},
"captcha_solver": {
"active": false
},
"headless": {
"active": true
},
"viewport": {
"width": 1440,
"height": 900
},
"p2p_download": {
"active": false
},
"extensions": [
"550e8400-e29b-41d4-a716-446655440000",
"6ba7b810-9dad-11d1-80b4-00c04fd430c8"
]
}
}'
{
"data": {
"id": "<string>",
"cdp_url": "<string>",
"live_view_url": "<string>"
}
}