# 如何定位特定的城市？

1、您可以在[**端点生成器**](broken://pages/l7tGsoJiyJkCYi3KNLvM)中，选择城市列表并在列表中选择您需要指定使用的城市即可。

{% hint style="info" %}
[**点击此处**](broken://pages/l7tGsoJiyJkCYi3KNLvM)了解更对关于端点产生器的使用教程
{% endhint %}

2、您还可以通过添加`city`参数并在参数后添加城市名称，指定使用某个城市的IP

例如：使用来自美国华盛顿的随机IP地址对`ipinfo.thordata.com`执行查询

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

{% hint style="info" %}
[**点击此处**](/doc/zh/proxies/residential-proxies/location-settings.md)了解更多关于地理位置的使用教程
{% 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/zh/chang-jian-wen-ti/chan-pin-wen-ti/ru-he-ding-wei-te-ding-de-cheng-shi.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.
