APIs / Travel / Kayak Flights

1 credit per call3 endpoints14 datapointsChecked working 6 Dec 2026

Kayak Flights API

Kayak Flights API for one-way and round-trip flight searches and airport lookup as JSON. Three endpoints, 1 credit per successful call.

Kayak Flights
GET/v1/kayak-flights/airports?query=San+Francisco&locale=en-US
{
  "success": true,
  "query": "San Francisco",
  "locations": [
    {
      "id": "SFO",
      "name": "San Francisco, San Francisco, California, United States, (SFO)",
      "airport_name": "San Francisco",
      "iata_code": "SFO",
      "type": "ap",
      "city": "San Francisco, California, United States",
      "region": "CA",
      "country": "United States",
      "country_code": "US",
      "latitude": 37.62153937267211,
      "longitude": -122.37820325927737,
      "timezone": "America/Los_Angeles",
      "entity_key": "place:San_Francisco_International_Airport",
      "kayak_id": "SFO"
    },
    {
      "id": "UIO",
      "name": "Mariscal Sucr, Quito, Ecuador, (UIO)",
      "airport_name": "Mariscal Sucr",
      "iata_code": "UIO",
      "type": "ap",
      "city": "Quito, Ecuador",
      "region": "PI",
      "country": "Ecuador",
      "country_code": "EC",
      "latitude": -0.11956,
      "longitude": -78.35518,
      "timezone": "America/Guayaquil",
      "entity_key": "place:Mariscal_Sucre_International_Airport",
      "kayak_id": "UIO"
    }
  ],
  "meta": {
    "count": 2,
    "duration_ms": 419,
    "attempts": 1
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Sample data

What one call returns

A recorded run of airports: the fields and shapes you will get, shortened to 2 items.

#idstringnamestringairport_namestringiata_codestringtypestringcitystringregionstringcountrystringcountry_codestringlatitudenumberlongitudenumbertimezonestringentity_keystringkayak_idstring
1SFOSan Francisco, San Francisco, California, United States, (SFO)San FranciscoSFOapSan Francisco, California, United StatesCAUnited StatesUS37.62153937267211-122.37820325927737America/Los_Angelesplace:San_Francisco_International_AirportSFO
2UIOMariscal Sucr, Quito, Ecuador, (UIO)Mariscal SucrUIOapQuito, EcuadorPIEcuadorEC-0.11956-78.35518America/Guayaquilplace:Mariscal_Sucre_International_AirportUIO

Recorded 12 Nov 2026 · 2 items shown · 14 datapoints per itemGET /v1/kayak-flights/airports?query=San+Francisco&locale=en-US

14 datapoints

Identity

  • idstring
  • namestring
  • airport_namestring
  • typestring
  • kayak_idstring

Location

  • citystring
  • regionstring
  • countrystring
  • country_codestring
  • latitudenumber
  • longitudenumber
  • timezonestring

Other

  • iata_codestring
  • entity_keystring

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/kayak-flights/airports?query=San+Francisco&locale=en-US" \
  -H "X-API-Key: $API_KEY"

Kayak Flights · 3 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

EndpointRequired parametersReturnsCost
GET/v1/kayak-flights/airports
query+1 optional
idnameairport_nameiata_codetypecity+8 more
1 credit
GET/v1/kayak-flights/one-way
origindestinationdeparture_date+11 optional
flightsprovidersairlinesairportslegssegments+5 more
1 credit
GET/v1/kayak-flights/round-trip
origindestinationdeparture_datereturn_date+11 optional
flightsprovidersairlinesairportslegssegments+5 more
1 credit

Overview

About the Kayak Flights API

What you can get

The Kayak Flights API returns KAYAK flight search data as JSON through 3 endpoints. It covers searching flights for set dates; hotels, cars, packages, cruises and price predictions by route are on the separate Kayak API page.

  • One-way: one-way takes an origin, destination and departure_date.
  • Round trip: round-trip takes the same, plus a return_date.
  • Shared options: both take adults, children, infants_in_seat, infants_on_lap, cabin (economy, premium_economy, business or first), sort (best, price or duration), page, currency (up to three characters), locale, include_price_prediction and include_display_metadata.
  • Airports: airports takes a query, with locale.

How a call works

Search a round trip: GET /v1/kayak-flights/round-trip?origin=SFO&destination=NYC&departure_date=2027-01-07&return_date=2027-01-14&adults=1 with your key in the X-API-Key header. Page with page. For a one-way search, drop return_date and call one-way, as in origin=JFK&destination=LAX&departure_date=2027-01-05. Every successful call costs 1 credit; failed calls cost nothing.

TravelJSONRESTMCP

More travel APIs

Use cases

Check flight options on a route for fixed dates, sorted by price, duration or best

Use the Kayak Flights API to check flight options on a route for fixed dates, sorted by price, duration or best

Compare cabins on the same route and dates with `cabin`

Use the Kayak Flights API to compare cabins on the same route and dates with `cabin`

Price a trip for a family with `adults`, `children` and the two infant counts

Use the Kayak Flights API to price a trip for a family with `adults`, `children` and the two infant counts

Re-run the same search on a schedule to follow a route over time

Use the Kayak Flights API to re-run the same search on a schedule to follow a route over time

FAQ

Questions

Do I need a Kayak Flights API key?

No. You call this Kayak Flights API with your Perceptlayer key in the `X-API-Key` header, with no KAYAK partner account to set up.

How much does the Kayak Flights API cost?

Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.

What format are responses in?

Every endpoint returns JSON, with no HTML parsing on your side.

How is this different from the Kayak API page?

This page covers flight searches for set dates (`one-way`, `round-trip`) and `airports`. The [Kayak API](/apis/kayak-platform) page covers stays, car rentals, packages, cruises, guides, reference data and flight price predictions by route.

Is this the official Kayak Flights API?

No. Perceptlayer is an independent service and is not affiliated with Kayak Flights. It returns Kayak Flights data as JSON with a Perceptlayer key, so there is no Kayak Flights developer account, app review or partner approval to get first. It only reads data: if Kayak Flights has an official API and you need to act on your own Kayak Flights account, such as posting, managing orders or reading private data, use that one.

Should I build a Kayak Flights scraper instead?

You can, but a Kayak Flights scraper is code you maintain: page changes break it, requests get blocked, and Kayak Flights's terms govern how you collect data. The Kayak Flights API gives you 3 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the Kayak Flights API with 100 free credits

No credit card. Failed calls are never billed.