> ## Documentation Index
> Fetch the complete documentation index at: https://docs.selfbook.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Search by Geo Coordinates

## Use Case Overview

This [search](/api-reference/endpoint/post-hotel-search) is designed to find hotels within a specific distance from a precise geographic location, given as latitude and longitude. This feature is particularly valuable for users who have specific coordinates in mind, such as a popular landmark, event venue, or scenic area, and want to explore nearby accommodation options.

### Parameters

* **Latitude**: The latitude coordinate of the desired location.
* **Longitude**: The longitude coordinate of the desired location.
* **Radius**: The search radius in miles from the specified coordinates.

<Tip>For more accurate results, use a nearby coordinates with narrower radius.</Tip>

### Example

A user could input coordinates for a popular attraction, such as `40.748817, -73.985428` (Empire State Building), with a 5-mile radius to find hotels within 5 miles of the landmark.

```json theme={null}

{
  "stay_info": {
    "check_in_date": "2025-01-01",
    "check_out_date": "2025-01-02",
    "guests": {
      "adults": 1
    }
  },
  "filter": {
    "location": {
      "type": "coordinates",
      "details": {
        "latitude": 40.748817,
        "longitude": -73.985428
      },
      "radius": {
        "value": 5,
        "type": "mi"
      }
    },
    "hotel": {
      "name": "Arlo"
    }
  }
}
```

<Tip>Hotel name or chain name can also be used as an additional attribute for more accurate results</Tip>
