• Bifrost Network Core Team
How to Use ASN Targeting to Match Specific Carrier Networks
A practical developer guide on routing residential proxy traffic through exact Autonomous System Numbers like Comcast, AT&T, and Verizon.
When scraping protected endpoints or conducting ad verification, target web servers often validate the carrier network of incoming requests. Standard country-level targeting may route through smaller hosting ISPs that trigger anti-bot security systems.
What is ASN Targeting?
An Autonomous System Number (ASN) is a globally unique identifier assigned to an ISP network backbone (e.g., AS7922 for Comcast, AS7018 for AT&T).
By specifying asn=7922 in your proxy endpoint string, BifrostNetwork automatically filters our 2M+ residential IP pool to route your request strictly through Comcast broadband connections in the target region.
import requests
proxies = {
'http': 'socks5://resi.base_117f8a2e33-country-us-asn-7018:<pass>@gate.bifrostnetwork.cc:9521',
'https': 'socks5://resi.base_117f8a2e33-country-us-asn-7018:<pass>@gate.bifrostnetwork.cc:9521'
}
response = requests.get('https://httpbin.org/ip', proxies=proxies)
print(response.json())