# 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**](https://doc.thordata.com/doc/faq/product-problem/broken-reference) 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**](https://doc.thordata.com/doc/proxies/residential-proxies/location-settings) to learn more about geolocation tutorials
{% endhint %}
