The playground

Try any of 1465 endpoints — live.

Pick an endpoint, load a working example, tweak the params, and send — no signup to try. Results render the way the data deserves; raw JSON, headers & code are one tab away.

Playground demo key · api.reefapi.com
post/flights/v1/airport_info1 credit

Look up airports and cities by name or IATA code. Returns full reference data: IATA + ICAO codes, GPS coordinates, timezone, country, and — for a city — the list of all its airports. Useful to validate a code, geolocate an airport, or map a city to its airports.

Working example
Parameters
request preview
curl -X POST https://api.reefapi.com/flights/v1/airport_info \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"query":"Heathrow"}'

Hit Send to run this endpoint live.

Playground · ReefAPI