Flights

Resolve city/airport name to IATA codes

Convert city names or airport names to IATA codes. Use before search to resolve ambiguous locations.

get/api/v1/flights/resolve-location

Request

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

Query parameters

querystring required

City or airport name (e.g. 'London', 'JFK')

Response

Matching locations

iata_codestring
namestring
type'airport' | 'city'
citystring
countrystring

Changes

No recorded changes to this operation across all 25 revisions of this API.