# 坐标

坐标定向允许根据提供的纬度/经度和半径参数，选择特定位置的 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: 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.
