Kiwi非官方数据 API

API ID 15314

在 Kiwi.com 上搜索并比较航班:查看含实时价格、航空公司、航线以及出发和到达时间的行程,还可探索地点和航线

API 文档

端点

请求
从某地飞往各目的地城市的最低价航班,类似网站的“任意地点”搜索:每个城市一行,显示价格、机场和时间。可按国家、地区或洲、日期、价格和经停次数筛选;展开可查看完整行程
Endpoint ID: 40905
GET https://zylalabs.com/api/15314/kiwi+unofficial+data+api/40905/explore+destinations
输入参数

探索目的地 — 端点功能

对象 描述
max_stops 可选 Most stops per leg (0 = direct only). Omit for any.
offset 可选 Pagination offset over every destination city.
limit 可选 Destinations per page (max 1000). Every reachable city is returned, see pagination.total.
expand 可选 Also attach the top 3 itineraries (segments, airlines, booking link) for the destinations ranked 1 to N (on whichever page they fall). 0 = none.
currency 可选 Price currency (3-letter ISO code); min_price and max_price use it too.
sort 可选 Which flight represents each city and the order of the cities: PRICE = cheapest first, POPULARITY = the site's popular destinations first (the set differs a little per sort).
infants 可选 Infant passengers (at most one per adult).
children 可选 Child passengers (0-8).
adults 可选 Adult passengers (1-9).
from 必需 Origin. Codes first: a 3-letter code is an airport (else a metro city code such as LON), an upper-case 2-letter code a country (else a continent such as EU). Then a name of any place type (city, airport, subdivision, country, region, continent), case and accent insensitive, or a search id from /places-v2 (e.g. 'Airport:CRL', 'Country:TR'). An unclear or unknown value answers 400 with candidates.
max_price 可选 Highest price per destination, in `currency`.
min_price 可选 Lowest price per destination, in `currency`.
return_to 可选 End of the return date window, YYYY-MM-DD (inclusive). Defaults to return_from.
return_from 可选 Start of the return date window, YYYY-MM-DD. Set it for a round trip; omit for one-way.
date_to 可选 End of the departure date window, YYYY-MM-DD (inclusive). Defaults to date_from (a single day).
date_from 可选 Start of the departure date window, YYYY-MM-DD. Defaults to 30 days from today.
to 可选 Optional broad scope for the destinations: a country, subdivision, region or continent (code, name or search id, same rules as from). Omit or 'anywhere' for every destination.

剩余免费测试请求:3 / 3。


输入参数

max_stops
offset
limit
expand
currency
sort
infants
children
adults
from
max_price
min_price
return_to
return_from
date_to
date_from
to
API 示例响应
JSON
{
    "data": {
        "search": {
            "from": {
                "input": "London",
                "id": "City:london_gb",
                "name": "London",
                "type": "city",
                "code": "LON",
                "country": "GB",
                "matched_by": "name",
                "alternatives": [
                    {
                        "id": "City:london_on_ca",
                        "name": "London",
                        "type": "city",
                        "code": "YXU",
                        "parent": "Canada"
                    }
                ]
            },
            "to": {
                "input": "anywhere",
                "id": null,
                "name": "Anywhere",
                "type": "anywhere",
                "code": null,
                "country": null,
                "matched_by": "anywhere",
                "alternatives": []
            },
            "date_from": "2026-12-23",
            "date_to": "2026-12-23",
            "return_from": null,
            "return_to": null,
            "trip_type": "oneway",
            "min_price": null,
            "max_price": null,
            "max_stops": null,
            "passengers": {
                "adults": 1,
                "children": 0,
                "infants": 0
            },
            "sort": "PRICE",
            "currency": "EUR",
            "expand": 0
        },
        "total": 87,
        "cap": 1000,
        "count": 50,
        "destinations": [
            {
                "rank": 1,
                "city": "Barcelona",
                "city_id": "barcelona_es",
                "search_id": "City:barcelona_es",
                "country": {
                    "code": "ES",
                    "name": "Spain"
                },
                "airport": "Barcelona–El Prat",
                "airport_code": "BCN",
                "price": {
                    "amount": 63,
                    "currency": "EUR"
                },
                "price_eur": 63,
                "origin": {
                    "airport": "Luton",
                    "code": "LTN",
                    "city": "London",
                    "city_id": "london_gb",
                    "country": {
                        "code": "GB",
                        "name": "United Kingdom"
                    }
                },
                "departure": {
                    "local_time": "2026-12-23T06:00:00",
                    "utc_time": "2026-12-23T06:00:00Z"
                },
                "arrival": {
                    "local_time": "2026-12-23T09:05:00",
                    "utc_time": "2026-12-23T08:05:00Z"
                },
                "nights": null,
                "return_departure": null
            },
            {
                "rank": 2,
                "city": "Valencia",
                "city_id": "valencia_es",
                "search_id": "City:valencia_es",
                "country": {
                    "code": "ES",
                    "name": "Spain"
                },
                "airport": "Valencia",
                "airport_code": "VLC",
                "price": {
                    "amount": 63,
                    "currency": "EUR"
                },
                "price_eur": 63,
                "origin": {
                    "airport": "Luton",
                    "code": "LTN",
                    "city": "London",
                    "city_id": "london_gb",
                    "country": {
                        "code": "GB",
                        "name": "United Kingdom"
                    }
                },
                "departure": {
                    "local_time": "2026-12-23T06:00:00",
                    "utc_time": "2026-12-23T06:00:00Z"
                },
                "arrival": {
                    "local_time": "2026-12-23T09:25:00",
                    "utc_time": "2026-12-23T08:25:00Z"
                },
                "nights": null,
                "return_departure": null
            }
        ]
    },
    "cached": false,
    "source": "kiwi:graphql",
    "pagination": {
        "total": 87,
        "limit": 50,
        "offset": 0,
        "count": 50,
        "has_more": true
    }
}
探索目的地 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15314/kiwi+unofficial+data+api/40905/explore+destinations?max_stops=Optionaloffset=Optionallimit=50&expand=Optionalcurrency=eur&sort=PRICE&infants=Optionalchildren=Optionaladults=1&from=London&to=anywhere' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
按名称或 IATA 代码搜索 Kiwi 地点(城市/机场/国家/地区/行政区划)。参数:q、type、limit/offset
Endpoint ID: 40906
GET https://zylalabs.com/api/15314/kiwi+unofficial+data+api/40906/location+search
输入参数

位置搜索 — 端点功能

对象 描述
q 可选 Search term (place name or IATA code).
type 可选 Location type to search.
limit 可选 Max places per page.
offset 可选 Pagination offset.

剩余免费测试请求:3 / 3。


输入参数

q
type
limit
offset
API 示例响应
JSON
{
    "data": {
        "query": null,
        "type": "city",
        "count": 50,
        "places": [
            {
                "id": "atlanta_ga_us",
                "name": "Atlanta",
                "code": "ATL",
                "type": "city",
                "slug": "atlanta-georgia-united-states",
                "city": null,
                "subdivision": "Georgia",
                "country": {
                    "code": "US",
                    "name": "United States"
                },
                "region": "Northern America",
                "continent": "North America",
                "timezone": "America/New_York",
                "population": 420003,
                "airports": 1,
                "coordinates": {
                    "lat": 33.748995,
                    "lon": -84.387982
                }
            },
            {
                "id": "athens_gr",
                "name": "Athens",
                "code": "ATH",
                "type": "city",
                "slug": "athens-greece",
                "city": null,
                "subdivision": null,
                "country": {
                    "code": "GR",
                    "name": "Greece"
                },
                "region": "Southern Europe",
                "continent": "Europe",
                "timezone": "Europe/Athens",
                "population": 664046,
                "airports": 1,
                "coordinates": {
                    "lat": 37.98381,
                    "lon": 23.727539
                }
            }
        ]
    },
    "cached": false,
    "source": "kiwi:locations",
    "pagination": {
        "total": 100,
        "limit": 50,
        "offset": 0,
        "count": 50,
        "has_more": true
    }
}
位置搜索 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15314/kiwi+unofficial+data+api/40906/location+search?q=paris&type=city&limit=10&offset=Optional' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
按名称或代码搜索所有类型的 Kiwi 地点,可选类型筛选。每一行都包含其所属国家(包括机场)以及用于 /search-v2 的 search_id
Endpoint ID: 40907
GET https://zylalabs.com/api/15314/kiwi+unofficial+data+api/40907/places+v2
输入参数

地点 v2 — 端点功能

对象 描述
q 必需 Place name or code (case and accent insensitive).
type 可选 Optional filter: one type or a comma list of city, airport, country, subdivision, region, continent, autonomous_territory, special, tourist_region. Omit to search every type.
limit 可选 Places per page (max 1000).
offset 可选 Pagination offset within the at most 1000 places of a query (see data.cap).

剩余免费测试请求:3 / 3。


输入参数

q
type
limit
offset
API 示例响应
JSON
{
    "data": {
        "query": "CRL",
        "types": "all",
        "total": 190,
        "cap": 1000,
        "capped": false,
        "count": 50,
        "places": [
            {
                "id": "CRL",
                "search_id": "Airport:CRL",
                "name": "Brussels South Charleroi",
                "code": "CRL",
                "type": "airport",
                "slug": "brussels-south-charleroi-city-of-brussels-belgium",
                "city": {
                    "id": "brussels_be",
                    "name": "Brussels"
                },
                "subdivision": null,
                "country": {
                    "code": "BE",
                    "name": "Belgium"
                },
                "region": "Western Europe",
                "continent": "Europe",
                "timezone": "Europe/Brussels",
                "population": null,
                "airports": null,
                "coordinates": {
                    "lat": 50.459167,
                    "lon": 4.453889
                }
            },
            {
                "id": "HR",
                "search_id": "Country:HR",
                "name": "Croatia",
                "code": "HR",
                "type": "country",
                "slug": "croatia",
                "city": null,
                "subdivision": null,
                "country": {
                    "code": "HR",
                    "name": "Croatia"
                },
                "region": "Southern Europe",
                "continent": "Europe",
                "timezone": null,
                "population": null,
                "airports": null,
                "coordinates": {
                    "lat": 45.8,
                    "lon": 16
                }
            }
        ]
    },
    "cached": false,
    "source": "kiwi:locations",
    "pagination": {
        "total": 190,
        "limit": 50,
        "offset": 0,
        "count": 50,
        "has_more": true
    }
}
地点 v2 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15314/kiwi+unofficial+data+api/40907/places+v2?q=CRL&type=city&limit=50&offset=Optional' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
一个 Kiwi 地点,按 id 或代码:名称、类型、代码、城市、国家、地区、大洲、时区、人口和坐标
Endpoint ID: 40908
GET https://zylalabs.com/api/15314/kiwi+unofficial+data+api/40908/place+by+id
输入参数

剩余免费测试请求:3 / 3。

API 示例响应
JSON
{
    "data": {
        "id": "CRL",
        "search_id": "Airport:CRL",
        "name": "Brussels South Charleroi",
        "code": "CRL",
        "type": "airport",
        "slug": "brussels-south-charleroi-city-of-brussels-belgium",
        "city": {
            "id": "brussels_be",
            "name": "Brussels"
        },
        "subdivision": null,
        "country": {
            "code": "BE",
            "name": "Belgium"
        },
        "region": "Western Europe",
        "continent": "Europe",
        "timezone": "Europe/Brussels",
        "population": null,
        "airports": null,
        "coordinates": {
            "lat": 50.459167,
            "lon": 4.453889
        }
    },
    "cached": false,
    "source": "kiwi:locations"
}
按 ID 放置 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15314/kiwi+unofficial+data+api/40908/place+by+id&id=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
列出 Kiwi 航线站点地图中已发布的城市对航线。参数:page、limit/offset】【。
Endpoint ID: 40909
GET https://zylalabs.com/api/15314/kiwi+unofficial+data+api/40909/route+listings
输入参数

路线列表 — 端点功能

对象 描述
page 可选 Which route sub-sitemap to read (0-based). Kiwi splits ~50k routes per file across many files.
limit 可选 Max routes per page.
offset 可选 Pagination offset within the sub-sitemap.

剩余免费测试请求:3 / 3。


输入参数

page
limit
offset
API 示例响应
JSON
{
    "data": {
        "page": 0,
        "sitemap": "https://www.kiwi.com/odcf/routes/sitemap/0.xml",
        "count": 50,
        "routes": [
            {
                "url": "https://www.kiwi.com/en/cheap-flights/london-united-kingdom/istanbul-turkey/",
                "locale": "en",
                "source": {
                    "slug": "london-united-kingdom",
                    "name": "London United Kingdom"
                },
                "destination": {
                    "slug": "istanbul-turkey",
                    "name": "Istanbul Turkey"
                }
            },
            {
                "url": "https://www.kiwi.com/en/cheap-flights/london-united-kingdom/tirana-albania/",
                "locale": "en",
                "source": {
                    "slug": "london-united-kingdom",
                    "name": "London United Kingdom"
                },
                "destination": {
                    "slug": "tirana-albania",
                    "name": "Tirana Albania"
                }
            }
        ]
    },
    "cached": true,
    "source": "kiwi:sitemap",
    "pagination": {
        "total": 49949,
        "limit": 50,
        "offset": 0,
        "count": 50,
        "has_more": true
    }
}
路线列表 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15314/kiwi+unofficial+data+api/40909/route+listings?page=Optionallimit=10&offset=Optional' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
航班搜索:包含价格、航空公司、航线及出发/到达时间的行程。出发地/目的地可接受地点名称、IATA 代码或 Kiwi ID;日期/返程日期、成人/儿童/婴儿人数、舱位、排序方式、货币、数量限制/偏移量
Endpoint ID: 40910
GET https://zylalabs.com/api/15314/kiwi+unofficial+data+api/40910/flight+search
输入参数

航班搜索 — 端点功能

对象 描述
from 必需 Origin: place name, IATA code or Kiwi id (e.g. 'london', 'LHR', 'City:london_gb').
to 必需 Destination: place name, IATA code or Kiwi id.
date 可选 Outbound departure date, YYYY-MM-DD. Defaults to ~30 days out.
return_date 可选 Optional inbound date, YYYY-MM-DD. Set it for a round trip; omit for one-way.
adults 可选 Adult passengers (1-9).
children 可选 Child passengers (0-9).
infants 可选 Infant passengers (0-9).
cabin 可选 Cabin class.
sort 可选 Result ordering.
currency 可选 Price currency (ISO code).
limit 可选 Max itineraries per page.
offset 可选 Pagination offset.

剩余免费测试请求:3 / 3。


输入参数

from
to
date
return_date
adults
children
infants
cabin
sort
currency
limit
offset
API 示例响应
JSON
{
    "data": {
        "search": {
            "from": {
                "input": "london",
                "id": "City:london_gb",
                "name": "London",
                "code": "LON"
            },
            "to": {
                "input": "istanbul",
                "id": "City:istanbul_tr",
                "name": "Istanbul",
                "code": "IST"
            },
            "date": "2026-12-23",
            "return_date": null,
            "trip_type": "oneway",
            "passengers": {
                "adults": 1,
                "children": 0,
                "infants": 0
            },
            "cabin": "ECONOMY",
            "sort": "QUALITY",
            "currency": "EUR"
        },
        "total": 50,
        "count": 50,
        "itineraries": [
            {
                "id": "ItineraryOneWay:eyJwcm92aWRlcnMiOiJLSVdJLUJBU0lDOktJV0kiLCJyb3V0ZV9kYXRhIjoiVkY6MTk4ODpTVE46MTc5ODAyOTAwMDpTQVc6MTc5ODA0MzEwMDplY29ub215OkZhbHNlOjo6VkYiLCJwcmljZSI6IjE3MSJ9",
                "type": "oneway",
                "price": {
                    "amount": 171,
                    "currency": "EUR"
                },
                "price_eur": 171,
                "duration_seconds": 14100,
                "provider": "Kiwi.com",
                "booking_url": "https://www.kiwi.com/en/booking/?direct=true&locale=en&currency=eur&passengers=1-0-0&token=HdPL7yKlfFYxoSsSgf_lHvna497CABb1hwvOaCYTwXaGJjHxxXzPZswIlNOmbh-5bYC0u7iiG0zyneRc2sRsflLjeWv5NUoluwXBbACkrz2bgtLQmYxfnVTrUZ7YgTplDSRaewa6wegmAO-YV25QcSvJQiBhIfUGr00ED7AO_JE-9tdXswOkXi1f0JExd1kq5xy2e5YkPheZ2mH_x…",
                "outbound": {
                    "duration_seconds": 14100,
                    "stops": 0,
                    "segments": [
                        {
                            "flight_number": "1988",
                            "carrier": {
                                "name": "AJet",
                                "code": "VF"
                            },
                            "duration_seconds": 14100,
                            "from": {
                                "airport": "London Stansted",
                                "code": "STN",
                                "city": "London",
                                "country": "United Kingdom",
                                "local_time": "2026-12-23T12:30:00",
                                "utc_time": "2026-12-23T12:30:00"
                            },
                            "to": {
                                "airport": "Sabiha Gökçen International",
                                "code": "SAW",
                                "city": "Istanbul",
                                "country": "Turkey",
                                "local_time": "2026-12-23T19:25:00",
                                "utc_time": "2026-12-23T16:25:00"
                            }
                        }
                    ],
                    "from": {
                        "airport": "London Stansted",
                        "code": "STN",
                        "city": "London",
                        "country": "United Kingdom",
                        "local_time": "2026-12-23T12:30:00",
                        "utc_time": "2026-12-23T12:30:00"
                    },
                    "to": {
                        "airport": "Sabiha Gökçen International",
                        "code": "SAW",
                        "city": "Istanbul",
                        "country": "Turkey",
                        "local_time": "2026-12-23T19:25:00",
                        "utc_time": "2026-12-23T16:25:00"
                    }
                },
                "inbound": null
            },
            {
                "id": "ItineraryOneWay:eyJwcm92aWRlcnMiOiJLSVdJLUJBU0lDOktJV0kiLCJyb3V0ZV9kYXRhIjoiVkY6MTk5MDpTVE46MTc5ODA0MDQwMDpTQVc6MTc5ODA1NDUwMDplY29ub215OkZhbHNlOjo6VkYiLCJwcmljZSI6IjE3MiJ9",
                "type": "oneway",
                "price": {
                    "amount": 172,
                    "currency": "EUR"
                },
                "price_eur": 172,
                "duration_seconds": 14100,
                "provider": "Kiwi.com",
                "booking_url": "https://www.kiwi.com/en/booking/?direct=true&locale=en&currency=eur&passengers=1-0-0&token=HGT9yBxgTypQ_V9Ck65anSlLeA1T7TeiaOmUyCXbVlaif7OwBysGoKphh59SlO2fniroVi8JEXQMJIUK-e9Ptdu2CEcHe26vWfH9bUw72BgyWfukztZrion3m2Jd_0d6h3G8QziraFeJ_ddpHt0JIZG10w7e2BQKE-1TgGBWUelWd7qc5MvG_kUmFffEi0AqG5Cp1QWIDptJLOr2Z…",
                "outbound": {
                    "duration_seconds": 14100,
                    "stops": 0,
                    "segments": [
                        {
                            "flight_number": "1990",
                            "carrier": {
                                "name": "AJet",
                                "code": "VF"
                            },
                            "duration_seconds": 14100,
                            "from": {
                                "airport": "London Stansted",
                                "code": "STN",
                                "city": "London",
                                "country": "United Kingdom",
                                "local_time": "2026-12-23T15:40:00",
                                "utc_time": "2026-12-23T15:40:00"
                            },
                            "to": {
                                "airport": "Sabiha Gökçen International",
                                "code": "SAW",
                                "city": "Istanbul",
                                "country": "Turkey",
                                "local_time": "2026-12-23T22:35:00",
                                "utc_time": "2026-12-23T19:35:00"
                            }
                        }
                    ],
                    "from": {
                        "airport": "London Stansted",
                        "code": "STN",
                        "city": "London",
                        "country": "United Kingdom",
                        "local_time": "2026-12-23T15:40:00",
                        "utc_time": "2026-12-23T15:40:00"
                    },
                    "to": {
                        "airport": "Sabiha Gökçen International",
                        "code": "SAW",
                        "city": "Istanbul",
                        "country": "Turkey",
                        "local_time": "2026-12-23T22:35:00",
                        "utc_time": "2026-12-23T19:35:00"
                    }
                },
                "inbound": null
            }
        ]
    },
    "cached": false,
    "source": "kiwi:graphql",
    "pagination": {
        "total": 50,
        "limit": 50,
        "offset": 0,
        "count": 50,
        "has_more": false
    }
}
航班搜索 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15314/kiwi+unofficial+data+api/40910/flight+search?from=london&to=istanbul&date=2026-09-10&return_date=2026-09-17&adults=1&children=Optionalinfants=Optionalcabin=ECONOMY&sort=QUALITY¤cy=eur&limit=10&offset=Optional' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
航班搜索可设置出发和返程日期范围、价格区间和经停次数上限。出发地和目的地可使用代码、任何地点类型的名称、国家、地区、大洲或目的地=任意地点;值不明确时返回 400 错误并提供候选项。每次搜索最多返回 50 个行程:缩小搜索范围以查看其他行程
Endpoint ID: 40911
GET https://zylalabs.com/api/15314/kiwi+unofficial+data+api/40911/flight+search+v2
输入参数

航班搜索 v2 — 端点功能

对象 描述
max_stops 可选 Most stops per leg (0 = direct only). Omit for any.
offset 可选 Offset within the at most 50 itineraries of this search. Rows past 50 are not reachable by offset: narrow the dates, price or stops instead.
limit 可选 Itineraries per page. A search returns at most 50 itineraries (see data.cap).
currency 可选 Price currency (3-letter ISO code); min_price and max_price use it too.
sort 可选 Which 50 itineraries the search keeps, and their order.
cabin 可选 Cabin class.
infants 可选 Infant passengers (at most one per adult).
children 可选 Child passengers (0-8).
adults 可选 Adult passengers (1-9).
from 必需 Origin. Codes first: a 3-letter code is an airport (else a metro city code such as LON), an upper-case 2-letter code a country (else a continent such as EU). Then a name of any place type (city, airport, subdivision, country, region, continent), case and accent insensitive, or a search id from /places-v2 (e.g. 'Airport:CRL', 'Country:TR'). An unclear or unknown value answers 400 with candidates.
max_price 可选 Highest total price, in `currency`.
min_price 可选 Lowest total price, in `currency`.
return_to 可选 End of the return date window, YYYY-MM-DD (inclusive). Defaults to return_from.
return_from 可选 Start of the return date window, YYYY-MM-DD. Set it for a round trip; omit for one-way.
date_to 可选 End of the departure date window, YYYY-MM-DD (inclusive). Defaults to date_from (a single day).
date_from 可选 Start of the departure date window, YYYY-MM-DD. Defaults to 30 days from today.
to 必需 Destination, same rules as from, plus 'anywhere' for every destination.

剩余免费测试请求:3 / 3。


输入参数

max_stops
offset
limit
currency
sort
cabin
infants
children
adults
from
max_price
min_price
return_to
return_from
date_to
date_from
to
API 示例响应
JSON
{
    "data": {
        "search": {
            "from": {
                "input": "CRL",
                "id": "Airport:CRL",
                "name": "Brussels South Charleroi",
                "type": "airport",
                "code": "CRL",
                "country": "BE",
                "matched_by": "code",
                "alternatives": []
            },
            "to": {
                "input": "Europe",
                "id": "Continent:europe",
                "name": "Europe",
                "type": "continent",
                "code": "EU",
                "country": null,
                "matched_by": "name",
                "alternatives": []
            },
            "date_from": "2026-12-23",
            "date_to": "2026-12-23",
            "return_from": null,
            "return_to": null,
            "trip_type": "oneway",
            "min_price": null,
            "max_price": null,
            "max_stops": null,
            "passengers": {
                "adults": 1,
                "children": 0,
                "infants": 0
            },
            "cabin": "ECONOMY",
            "sort": "QUALITY",
            "currency": "EUR"
        },
        "total": 50,
        "cap": 50,
        "capped": true,
        "count": 50,
        "itineraries": [
            {
                "id": "ItineraryOneWay:eyJwcm92aWRlcnMiOiJLSVdJIiwicm91dGVfZGF0YSI6IkZSOjQ3OkNSTDoxNzk4MDQ4MjAwOkRVQjoxNzk4MDU0NTAwOmVjb25vbXk6RmFsc2U6OjoiLCJwcmljZSI6IjMwIn0=",
                "type": "oneway",
                "price": {
                    "amount": 30,
                    "currency": "EUR"
                },
                "price_eur": 30,
                "duration_seconds": 6300,
                "provider": "Kiwi.com",
                "booking_url": "https://www.kiwi.com/en/booking/?direct=true&locale=en&currency=eur&passengers=1-0-0&token=HudwetDmWDcQpVCGYhInaTe8NaE6ZembqJSrz_zhr2eX5W5KP5IdX3TFki2DlQSOzZL1IEt-Lr5LLUPCyubJi3FLJ2GUgxUfNIvZWVi5rQ5npClFIAx7fKjoodiZA53U1PHApKpWg9vtiOL0_tGUWrMn7lNxH5lk928PP9QYv1GgFkTi7iirAb-Cvrbfs6seJJ_vfboUP_IEb13mE…",
                "outbound": {
                    "duration_seconds": 6300,
                    "stops": 0,
                    "segments": [
                        {
                            "flight_number": "47",
                            "carrier": {
                                "name": "Ryanair",
                                "code": "FR"
                            },
                            "duration_seconds": 6300,
                            "from": {
                                "airport": "Brussels South Charleroi",
                                "code": "CRL",
                                "city": "Brussels",
                                "country": "Belgium",
                                "local_time": "2026-12-23T18:50:00",
                                "utc_time": "2026-12-23T17:50:00"
                            },
                            "to": {
                                "airport": "Dublin",
                                "code": "DUB",
                                "city": "Dublin",
                                "country": "Ireland",
                                "local_time": "2026-12-23T19:35:00",
                                "utc_time": "2026-12-23T19:35:00"
                            }
                        }
                    ],
                    "from": {
                        "airport": "Brussels South Charleroi",
                        "code": "CRL",
                        "city": "Brussels",
                        "country": "Belgium",
                        "local_time": "2026-12-23T18:50:00",
                        "utc_time": "2026-12-23T17:50:00"
                    },
                    "to": {
                        "airport": "Dublin",
                        "code": "DUB",
                        "city": "Dublin",
                        "country": "Ireland",
                        "local_time": "2026-12-23T19:35:00",
                        "utc_time": "2026-12-23T19:35:00"
                    }
                },
                "inbound": null
            },
            {
                "id": "ItineraryOneWay:eyJwcm92aWRlcnMiOiJLSVdJIiwicm91dGVfZGF0YSI6IkZSOjMyMjM6Q1JMOjE3OTgwMDY4MDA6TUFOOjE3OTgwMTE5MDA6ZWNvbm9teTpGYWxzZTo6OiIsInByaWNlIjoiMzQifQ==",
                "type": "oneway",
                "price": {
                    "amount": 34,
                    "currency": "EUR"
                },
                "price_eur": 34,
                "duration_seconds": 5100,
                "provider": "Kiwi.com",
                "booking_url": "https://www.kiwi.com/en/booking/?direct=true&locale=en&currency=eur&passengers=1-0-0&token=HJ9Ub97tM0pFoHRE4Meg-hsuvWJgA7ZLjXcu9YeXe9mVgF_2UOq3ipooPRfY73CfSiHElxF6dqmFS_5XGaPD0TetSbYyxIN29LX9n0SoGmHpUWrpx--HK7Whl4HjS-kFju0mMFTc2buPaUN1YFuNx79jBPju4kuzkI9O-LDl9M3KDLo0mM4ln4CVZcTaBrIbFy9sCI-Fu1Dy4AWAn…",
                "outbound": {
                    "duration_seconds": 5100,
                    "stops": 0,
                    "segments": [
                        {
                            "flight_number": "3223",
                            "carrier": {
                                "name": "Ryanair",
                                "code": "FR"
                            },
                            "duration_seconds": 5100,
                            "from": {
                                "airport": "Brussels South Charleroi",
                                "code": "CRL",
                                "city": "Brussels",
                                "country": "Belgium",
                                "local_time": "2026-12-23T07:20:00",
                                "utc_time": "2026-12-23T06:20:00"
                            },
                            "to": {
                                "airport": "Manchester",
                                "code": "MAN",
                                "city": "Manchester",
                                "country": "United Kingdom",
                                "local_time": "2026-12-23T07:45:00",
                                "utc_time": "2026-12-23T07:45:00"
                            }
                        }
                    ],
                    "from": {
                        "airport": "Brussels South Charleroi",
                        "code": "CRL",
                        "city": "Brussels",
                        "country": "Belgium",
                        "local_time": "2026-12-23T07:20:00",
                        "utc_time": "2026-12-23T06:20:00"
                    },
                    "to": {
                        "airport": "Manchester",
                        "code": "MAN",
                        "city": "Manchester",
                        "country": "United Kingdom",
                        "local_time": "2026-12-23T07:45:00",
                        "utc_time": "2026-12-23T07:45:00"
                    }
                },
                "inbound": null
            }
        ]
    },
    "cached": false,
    "source": "kiwi:graphql",
    "pagination": {
        "total": 50,
        "limit": 50,
        "offset": 0,
        "count": 50,
        "has_more": false
    }
}
航班搜索 v2 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15314/kiwi+unofficial+data+api/40911/flight+search+v2?max_stops=Optionaloffset=Optionallimit=50¤cy=eur&sort=QUALITY&cabin=ECONOMY&infants=Optionalchildren=Optionaladults=1&from=CRL&to=Europe' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 Kiwi非官方数据 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

标头
标头 描述
授权 必需 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

起价
$10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

概览

在 Kiwi.com 上搜索和比较航班:查看包含实时价格、航空公司、航线及出发和到达时间的行程,还可探索地点和航线。

Kiwi非官方数据 API FAQs

不是。这是一个非官方 API,与 Kiwi.com 无关,也未获得 Kiwi.com 的认可或赞助。它返回 Kiwi.com 上公开可见的数据。

每个端点都返回 JSON。无法处理的请求会返回包含错误代码和消息的 JSON 正文。】【。

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]