proxy_locations
Discover valid geo-targeting values before generating proxies: countries, states, cities, ASNs, or the full tree, ensuring generate_proxies calls use supported locations.
Instructions
Discover valid geo-targeting values for a proxy plan type before calling generate_proxies: countries, states, cities, ASNs, or the full location tree (countries → regions → cities → ISPs). Use level 'tree' for Residential Premium / Mobile V2 slugs and ISP codes, or for the static datacenter gateway list; note the tree can be large.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | countries (default) | states (needs country) | cities (needs country) | asns | tree (full location tree: residentialpremium, mobile/mobile_v2, datacenter) | |
| state | No | Cities only: filter by state | |
| country | No | Country code, required for states/cities, optional filter for asns | |
| planType | Yes | The plan type to look up (same value as list_proxies planType) |