> For the complete documentation index, see [llms.txt](https://developers.oxylabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.oxylabs.io/products/cn/dai-li/residential-proxies/location-settings/coordinates.md).

# 坐标

坐标定向允许根据提供的纬度/经度和半径参数，选择特定位置的 IP。

使用此功能时，您必须指定代理头：

`X-Oxylabs-Geolocation` 值为 `纬度:经度；以英里为单位的精度半径`.

**例如**，如果您需要来自加拿大池、在纬度 49.9235、经度 -97.081 的坐标 10 英里范围内的 IP，您的请求将如下所示：

```bash
curl -x pr.oxylabs.io:7777 -U "customer-USERNAME:PASSWORD" --proxy-header "X-Oxylabs-Geolocation: 49.9235:-97.0811;10" https://ip.oxylabs.io/location
```

{% hint style="info" %}
如果在提供的坐标和半径内未找到 IP，您将收到 `502` 响应代码。查看完整的响应代码列表 [**此处**](/products/cn/dai-li/residential-proxies/additional-information.md).&#x20;
{% endhint %}

请注意， `以英里为单位的精度半径` 值不能低于 10 英里。

为了扩大搜索范围，您应增加半径值。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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/products/cn/dai-li/residential-proxies/location-settings/coordinates.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.
