# Coordinates

Coordinates targeting allows to select IPs in a specific location based on provided latitude/longitude and radius parameters.

For using this feature, you have to specify a proxy header:

`X-Oxylabs-Geolocation` with value `Latitude:Longitude;Accuracy radius in miles`.

**For example**, if you need an IP from the Canadian pool within 10 miles of the coordinates of latitude 49.9235, longitude -97.081, your request will look like this:

```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" %}
If no IP is found within the provided coordinates and radius, you will receive `502` response code. See full list of response codes [**here**](https://developers.oxylabs.io/proxies/mobile-proxies/response-codes).&#x20;
{% endhint %}

Please note that the `Accuracy radius in miles` value cannot be lower than 10 miles.

In order to widen your search zone, you should increase the radius value.


---

# 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/proxies/mobile-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.
