Skip to main content
ASN-targeting sends your requests through residential IPs that belong to one network, usually a single ISP or mobile carrier. This helps when a site treats traffic differently depending on the provider, for example mobile carriers versus home broadband.
An ASN (Autonomous System Number) identifies a network on the internet. Every large ISP, mobile carrier and hosting company has one or more.

Format

Add the asn parameter to your username:
Username
string
required
The ASN as a number, without the AS prefix.

Combining With Geo-Targeting

Add country to get IPs from one ISP in one country:
Username
You can add state and city too, but the number of available IPs drops quickly. Start broad and narrow down only if you need to.

Example Request

Python

Finding an ASN

You can look up the ASN of any IP or ISP with these tools:
  • bgp.he.net: search by ISP name or IP
  • ipinfo.io: shows the ASN for any IP
  • whois <ip> on the command line
Common ASNs:

Troubleshooting

  • PX1002 (502, no exit node available): the ASN has no available IPs right now, or none that match your country or state. Add fallback-true to accept another network in the same country, remove the location filters, or try another ASN from the same provider.
  • PX1004 (400, unsupported targeting option): use the number only, for example asn-7922, not asn-AS7922.
  • See Error Handling for all proxy errors.
Last modified on October 15, 2026