For the full list of available options, view the interactive api documentation
Use Anchor Residential Proxy
curl --request POST \
--url https://api.anchorbrowser.io/v1/sessions \
--header 'Content-Type: application/json' \
--header 'anchor-api-key: <api-key>' \
--data '{
"session": {
"proxy": {
"type": "anchor_residential",
"country_code": "us",
"active": true
}
}
}'
Use Anchor Mobile Proxy
curl --request POST \
--url https://api.anchorbrowser.io/v1/sessions \
--header 'Content-Type: application/json' \
--header 'anchor-api-key: <api-key>' \
--data '{
"session": {
"proxy": {
"type": "anchor_mobile",
"country_code": "us",
"active": true
}
}
}'
Use a Custom Proxy
curl --request POST \
--url https://api.anchorbrowser.io/v1/sessions \
--header 'Content-Type: application/json' \
--header 'anchor-api-key: <api-key>' \
--data '{
"session": {
"proxy": {
"type": "custom",
"server": "proxy.example.com",
"username": "myUser",
"password": "myPassword",
"active": true
}
}
}'
Localization
You can specify a country code for your proxy to route traffic through a specific geographic location. This is useful for accessing region-specific content or testing localized experiences.
The country_code
parameter accepts the following country codes in lowercase: us (United States), uk (United Kingdom), fr (France), it (Italy), jp (Japan), au (Australia), de (Germany), fi (Finland), ca (Canada). This parameter works with both anchor_residential
and anchor_mobile
proxy types.