capabilities.work

Geocode Hotels and Offers

A 3-step recipe with Amadeus. We can help you get access.

Recipe · 3 steps

Geocode Hotels and Offers

with Amadeus

Resolve city coordinates, find nearby hotels, and get offers for the nearest.

  1. Resolve the city keyword to coordinates via the locations reference data, matching on CITY subtype.
  2. List hotels around the resolved coordinates, ordered by distance, to get property codes.
  3. Fetch live priced offers for the nearest hotel for the requested stay dates and occupancy.
What you'll need to have ready
  • cityKeyword: Free-text keyword for the city (e.g. Nice).
  • checkInDate: Check-in date in YYYY-MM-DD format.
  • checkOutDate: Check-out date in YYYY-MM-DD format.
  • adults: Number of adult guests per room (1-9).
For your developer

Arazzo workflow amadeus:geocode-hotels-and-offers, 3 operations: getAirportCitySearch → get-shopping-hotels-geocodes → getMultiHotelOffers. Specs on APIs.io.