Airports
Airport fees, pickup rules and exclusions apply on the airport grounds, not in the city around them. Search JFK or EGLL, get the outline of the airport, and check any pickup, drop-off or vehicle position against it.
Search by name in any language, or by IATA or ICAO code, free and without a key. A code such as JFK or EGLL returns the airport first, with kind airport.
Fetch the outline of the airport grounds as GeoJSON, KML, WKT, GML or SVG, simplified for maps or at full detail, and store it.
Send up to 10,000 pickups, drop-offs or vehicle positions per call and learn which are on the grounds. Or describe a zone that leaves the airport out and get one polygon.
Copy-paste examples. Search is free; the rest needs a free API key.
curl "https://geocodeai.dev/v1/boundaries/search?q=JFK"curl "https://geocodeai.dev/v1/boundaries/reverse?lat=40.6413&lon=-73.7781" \
-H "Authorization: Bearer $GEOCODE_API_KEY"curl -X POST "https://geocodeai.dev/v1/areas" \
-H "Authorization: Bearer $GEOCODE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"text":"Queens, excluding John F. Kennedy International Airport and LaGuardia Airport","country":"US"}'Each page has the map, the facts and the code to fetch it.