The playground

Try any of 1042 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/search_flights2 credits

Search flights from origin to destination for a given date. Returns ranked itineraries with price, all flight segments (carrier, flight number, departure/arrival times), total journey duration and a direct booking link. Supports one-way and return trips.

Working example
Parameters

Departure: IATA code (LON/JFK), city name, or Kiwi location id.

Arrival: IATA code, city name, or Kiwi location id.

Outbound date, YYYY-MM-DD (must be a future date).

Return date, YYYY-MM-DD. Omit for a one-way search.

End of an outbound date RANGE (YYYY-MM-DD); search any departure between depart_date and this.

End of a return date RANGE (YYYY-MM-DD).

Number of adult passengers. (0–)

Number of child passengers (2-11). (0–)

Number of infant passengers (<2). (0–)

Cabin class (unknown values fall back to economy).

ISO-4217 currency for prices (e.g. USD, EUR, GBP). Default USD.

Max number of stops (0 = direct only). Omit for any. (0–)

Result ordering (unknown values fall back to price).

Max itineraries to return (default 20). (1–)

request preview
curl -X POST https://api.reefapi.com/flights/v1/search_flights \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"origin":"London","destination":"New York","depart_date":"2026-07-13","limit":"5"}'

Hit Send to run this endpoint live.