---
title: "Resolve a location to IATA codes"
method: GET
path: "/flights/locations/{query}"
tags: ["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

- `query` string, required

## Response `200`

Matching cities and airports.

- object[]

---

[API](https://skmtc.dev/letsfg/apis/letsfg-public-developer-api.md) · [All operations](https://skmtc.dev/letsfg/apis/letsfg-public-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/letsfg/apis/letsfg-public-developer-api/revisions/516ab6ba1d2e?raw)
