DocsSign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
  • Generate
agents10
flights12
  • post/flights/parse-queryParse a natural language flight query into structured search params
  • post/flights/discoverQuick price discovery for up to 100 destinations — counts as 1 search
  • post/flights/search/asyncStart a flight search in the background — returns search_id immediately
  • get/flights/results/{search_id}Poll results of an async search
  • post/flights/bookBook a flight offer on the connected Revolut method
  • get/flights/bookings/{booking_id}Poll a booking
  • post/flights/bookings/{booking_id}/answerAnswer an open booking question
  • post/flights/bookings/{booking_id}/stopStop a booking
  • post/flights/multi-searchFull search for N destinations in parallel — 1 search counted per destination with offers
  • post/flights/searchSearch flights — full connector fleet, counts as 1 search
  • get/flights/locations/{query}Resolve a location to IATA codes
  • get/flights/providersList flight providers visible to the public API
hotels5
sandbox9
    flights

    Resolve a location to IATA codes

    get/flights/locations/{query}

    Request

    • Base URL: https://letsfg.co/developers/api/v1
    • URL: https://letsfg.co/developers/api/v1/flights/locations/{query}
    • Auth: API key in header X-API-Key

    Path parameters

    querystring required

    City, airport, or IATA query string.

    Response

    Matching cities and airports.

    object[] required

    Changes

    No recorded changes to this operation across all 1 revision of this API.