Skip to main content
GET
https://api.flystack.dev
/
v1
/
airports
/
nearby
Nearby
curl --request GET \
  --url https://api.flystack.dev/v1/airports/nearby \
  --header 'x-api-key: <x-api-key>'
This endpoint helps you build “near me” experiences: nearest airports to a user, airport suggestions around a point on a map, or picking the best departure/arrival options within a radius.

Authentication

x-api-key
string
required
Your FlyStack API token. You can create one from the dashboard (see Authentication).

Query parameters

lat
number
required
Latitude (e.g., 48.8566).
lng
number
required
Longitude (e.g., 2.3522).
radius
number
Search radius around the point (in kilometers).
limit
number
Max number of results to return.
For airport metadata fields, the returned objects follow the Airports Dataset shape.

Response

The endpoint returns a list of nearby airports (sorted by distance).

See also