Airports within a radius of a coordinate, sorted by distance.
Airports within a radius of a coordinate, sorted by distance. Query: lat (-90..90), lon (-180..180), radius_km (1-2000, default 200), limit (1-100, default 20), type (optional: large_airport|medium_airport|small_airport|heliport|seaplane_base|balloonport|closed), country (optional 2-letter ISO 3166-1), scheduled_service (optional bool, true = commercial-service airports only). Returns { query, count, airports: [{ id, ident, name, iataCode, icaoCode, type, latitude, longitude, distanceKm, ... }] }.
Request
- Base URL: https://2s.io
- URL: https://2s.io/api/airport/near
- Auth: API key in header PAYMENT-SIGNATURE
Query parameters
Latitude in decimal degrees (-90 to 90).
Longitude in decimal degrees (-180 to 180).
Search radius in kilometers (1-2000). Default 200.
Max airports to return (1-100). Default 20.
Filter by airport type.
Filter by ISO 3166-1 alpha-2 country code (e.g. US).
When true, only commercial-service airports.
Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.
Response
Changes
No recorded changes to this operation across all 1 revision of this API.