# ASN Targeting

{% hint style="warning" %}
Our ASN targeting parameter is available only after completing the KYC process. Please contact Customer Support or your Account Manager to request access.
{% endhint %}

Our Residential Proxies support targeting by ASN number which means that you can choose proxies from specific carriers. You have to enter the required ASN number in your request. Below is the example for T-Mobile, its ASN number in the US being 21928:

`customer-username-ASN-21928-sessid-abcde12345:password`

You can find ASN numbers [**here**](https://asnlookup.com/)**.**

Residential Proxies pool is dynamic in its nature so if there are no IPs under that specific ASN at that moment, you will receive a `502 Bad Gateway` response code. In such case, you should try another ASN number.

{% hint style="info" %}
You can use either Country or ASN parameter per each request. If both location parameters are used, only Country parameter will be applied.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.oxylabs.io/proxies/residential-proxies/location-settings/asn-targeting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
