GET /proxies/countries
Lists the locations the proxy pool currently has at least one working proxy in: countries as 2-letter ISO codes, sorted, and the cities known in each.
This list can change at any time, without notice. Read it when you need it rather than hard-coding it.
curl "$SCRAPE_ENGINE_URL/proxies/countries" -H "Authorization: Bearer $SCRAPE_ENGINE_KEY"{
"countries": ["DE", "ES", "GB", "PL", "US"],
"locations": [
{ "country": "DE", "cities": ["Frankfurt"] },
{ "country": "GB", "cities": ["London"] }
]
}Use these values in options.proxy.country and options.proxy.city. An empty list means proxies aren't configured on this server.
| Status | error.code | Cause |
|---|---|---|
503 | PROXY_UNAVAILABLE | The proxy provider couldn't be reached. Try again later |