# ASN Targeting

Source: https://docs.evomi.com/proxy-instructions/residential-proxies/expert-settings/asn/

**Note:** Expert settings are only available for **Core Residential Proxies**.

Evomi Residential Proxies offer ASN (Autonomous System Number) targeting for advanced network-level control. This enterprise feature enables connections through specific network infrastructures identified by their unique ASN.

## Implementation
Append `_asn-<ASN>` to your proxy password using the numeric ASN format:

<!--email_off-->
```bash
http://testuser:testpassword_asn-AS23525@rp.evomi.com:1000
```
<!--email_on-->

## Examples

#### CURL

  ```bash
curl -x http://rp.evomi.com:1000 -U testuser:testpassword_asn-AS15169 https://ip.evomi.com/s

curl -x http://rp.evomi.com:1000 -U testuser:testpassword_country-DE_asn-AS3320 https://ip.evomi.com/s
```

#### Python

  ```Python
import requests

proxy_pass = "testpassword_asn-AS36561"
proxy_url = f"http://testuser:{proxy_pass}@rp.evomi.com:1000"

proxies = {
  "http": proxy_url,
}
response = requests.get("https://ip.evomi.com/s", proxies=proxies)
print(response.text)
```

#### JavaScript

```JavaScript
const fetch = require('node-fetch');

const proxyPass = 'testpassword_asn-AS23525';
const proxyUrl = `http://testuser:${proxyPass}@rp.evomi.com:1000`;
const url = 'https://ip.evomi.com/s';

fetch(url, { proxy: proxyUrl })
  .then(res => res.text())
  .then(body => console.log(body));
```

## Common Use Cases
- Network infrastructure analysis
- ISP backbone testing
- Corporate network simulations
- DDoS mitigation testing
- Content delivery network validation

**Note:** The asn parameter is an extra feature. Using it will incur additional bandwidth consumption. You can see the exact extra usage history in the dashboard and in the Generator.

**Advanced Configuration**  
Combine with ISP targeting for hyper-specific routing:  
`_asn-AS1234_isp-comcast`  
`_country-CA_asn-AS5678`  
`_region-CA_QC_asn-AS9012`
