Hotels

Resolve a place name to a supplier city id

Changed on

Convert a place name into the city_id that hotel search needs. Take Id from the first result as city_id and Name as city_name.

post/api/v1/hotels/destinations

Request

  • Base URL: https://letsfg.co/developers/api/v1
  • URL: https://letsfg.co/developers/api/v1/api/v1/hotels/destinations
  • Auth: API key in header X-API-Key

Request body

textstring required

Example request

{
  "text": "Warsaw"
}

Response

Matching destinations, best first

Changes