Use Case Overview
This 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.
For more accurate results, use a nearby coordinates with narrower radius.
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.
{
"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"
}
}
}
Hotel name or chain name can also be used as an additional attribute for more accurate results