Skip to main content

Proxies

Browserless offers a built-in residential proxy. To use it, add the proxy parameters to your REST API request query strings.

REST APIs

All of our REST-APIs function the same for proxying: simply add the proxy parameters you care about to the requests' query-string parameters, and you're all done. No need for credentials or otherwise.

Here's an examples of collecting content, pdf and screenshot from a United States Proxy:

Content

curl --request POST \
--url "https://production-sfo.browserless.io/content?token=YOUR_API_TOKEN_HERE&proxyCountry=us&proxy=residential" \
--header "Content-Type: application/json" \
--data "{
\"url\": \"https://ip-api.com\"
}" \
--output "ipinfo.html"

PDF

curl --request POST \
--url "https://production-sfo.browserless.io/pdf?token=YOUR_API_TOKEN_HERE&proxyCountry=us&proxy=residential" \
--header "Content-Type: application/json" \
--data "{
\"url\": \"https://ip-api.com\"
}" \
--output "ipinfo.pdf"

Screenshot

curl --request POST \
--url "https://production-sfo.browserless.io/screenshot?token=YOUR_API_TOKEN_HERE&proxyCountry=us&proxy=residential" \
--header "Content-Type: application/json" \
--data "{
\"url\": \"https://ip-api.com\"
}" \
--output "ipinfo.png"