# How to target a specific city?

1. You can select the city list in the endpoint generator and select the city you want to specify in the list.

{% hint style="info" %}
[**Click here**](broken://pages/KR3EVpTm4XLwbQWVv7DS) to learn more about endpoint generator usage tutorials
{% endhint %}

2. You can also specify to use the IP of a certain city by adding the `city` parameter and adding the city name after the parameter.

Example: Perform a query on `ipinfo.thordata.com` using a random IP address from Washington, USA

```sh
curl -x kbfvdcxo.pr.acenlabs.com:9999 -U "td-customer-USERNAME-country-US-city-washington:PASSWORD" ipinfo.thordata.com
```

{% hint style="info" %}
[**Click here**](/doc/proxies/residential-proxies/location-settings.md) to learn more about geolocation tutorials
{% 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://doc.thordata.com/doc/faq/product-problem/how-to-target-a-specific-city.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.
