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.
{
"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
}
}Sample data
What one call returns
A recorded run of airports: the fields and shapes you will get, shortened to 2 items.
| # | idstring | namestring | airport_namestring | iata_codestring | typestring | citystring | regionstring | countrystring | country_codestring | latitudenumber | longitudenumber | timezonestring | entity_keystring | kayak_idstring |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | SFO | San Francisco, San Francisco, California, United States, (SFO) | San Francisco | SFO | ap | San Francisco, California, United States | CA | United States | US | 37.62153937267211 | -122.37820325927737 | America/Los_Angeles | place:San_Francisco_International_Airport | SFO |
| 2 | UIO | Mariscal Sucr, Quito, Ecuador, (UIO) | Mariscal Sucr | UIO | ap | Quito, Ecuador | PI | Ecuador | EC | -0.11956 | -78.35518 | America/Guayaquil | place:Mariscal_Sucre_International_Airport | UIO |
[
{
"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"
}
]id,name,airport_name,iata_code,type,city,region,country,country_code,latitude,longitude,timezone,entity_key,kayak_id SFO,"San Francisco, San Francisco, California, United States, (SFO)",San Francisco,SFO,ap,"San Francisco, California, United States",CA,United States,US,37.62153937267211,-122.37820325927737,America/Los_Angeles,place:San_Francisco_International_Airport,SFO UIO,"Mariscal Sucr, Quito, Ecuador, (UIO)",Mariscal Sucr,UIO,ap,"Quito, Ecuador",PI,Ecuador,EC,-0.11956,-78.35518,America/Guayaquil,place:Mariscal_Sucre_International_Airport,UIO
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
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.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
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-waytakes anorigin,destinationanddeparture_date. - Round trip:
round-triptakes the same, plus areturn_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_predictionandinclude_display_metadata. - Airports:
airportstakes aquery, withlocale.
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.
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 bestCompare 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 countsRe-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 timeFAQ
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.