# 如何定位特定的城市？

1、您可以在**端點產生器**中，選擇城市列表並在列表中選擇您需要指定使用的城市即可。

{% 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-hk/dai-li/zhu-zhai-dai-li/wei-zhi-she-zhi.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-hk/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.
