Expedia Flights API
Our Expedia Flights API allows you to scrape flights from Expedia search results, with their flights and layovers, prices, and fares, like Basic Economy and Main Cabin.
The API endpoint is https://serpapi.com/search?engine=expedia_flights
Head to the playground for a live and interactive demo.
API parameters
Search query
Localization
expedia_domain
Optional
Parameter defines the Expedia domain to use. The domain sets the language and the currency of the results (e.g., expedia.co.uk for English (United Kingdom) in GBP, or expedia.fr for French (France) in EUR). It defaults to expedia.com. Head to the Expedia domains page for a full list of supported Expedia domains.
Advanced parameters
type
Optional
Parameter defines the type of the flights.
Available options:1 - Round trip (default)2 - One way
When 1 (Round trip) is set, the results are the departing flights, each with a departure_token to get its return flights.
outbound_date
Required
Parameter defines the outbound date. The format is YYYY-MM-DD (e.g., 2027-01-01).
Number of passengers
adults
Optional
Parameter defines the number of adults. It defaults to 1.
Expedia searches flights for up to 9 passengers, children and infants included.
children_ages
Optional
Parameter defines the ages of the children, as a comma-separated list of ages from 2 to 17, one per child (e.g., 5 for a child of 5, or 5,9 for children of 5 and 9). Younger children are infants.
Expedia searches flights for up to 9 passengers, children and infants included.
Advanced filters
stops
Optional
Parameter defines the number of stops of the flights.
Available options:0 - Any number of stops (default)1 - Nonstop only2 - 1 stop or fewer3 - 2 stops or fewer
include_airlines
Optional
Parameter defines the airlines of the flights, as a comma-separated list of up to 40 2-character IATA airline codes (e.g., DL,UA for Delta or United flights).
facet
Optional
Parameter defines Expedia's filters to apply, like departure and arrival times, airports, layover airports, preferred classes, the total travel time, or travel and baggage options. It's a list of filter IDs separated by || (e.g., DEPARTURE_TIME:MORNING||LAYOVER_AIRPORT:ORD), up to 30. Filter IDs are available in filters[].options[].id of the results.
SerpApi parameters
no_cache
Optional
Parameter will force SerpApi to fetch the Expedia Flights results even if a cached version is already present. A cache is served only if the query and all parameters are exactly the same. Cache expires after 1h. Cached searches are free, and are not counted towards your searches per month. It can be set to false (default) to allow results from the cache, or true to disallow results from the cache. no_cache and async parameters should not be used together.
async
Optional
Parameter defines the way you want to submit your search to SerpApi. It can be set to false (default) to open an HTTP connection and keep it open until you got your search results, or true to just submit your search to SerpApi and retrieve them later. In this case, you'll need to use our Searches Archive API to retrieve your results. async and no_cache parameters should not be used together. async should not be used on accounts with Ludicrous Speed enabled.
zero_trace
Optional
Enterprise only. Parameter enables ZeroTrace mode. It can be set to false (default) or true. Enable this mode to skip storing search parameters, search files, and search metadata on our servers. This may make debugging more difficult.
output
Optional
Parameter defines the format of the result. It can be set to json (default) to get a structured JSON of the results, html to get the raw HTML retrieved, or md to get a Markdown-formatted version optimized for LLMs and AI agents.
json_restrictor
Optional
Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
API results
JSON results
JSON output includes structured data for Organic Results.
A search status is accessible through search_metadata.status.
It flows this way: Processing -> Success || Error.
If a search has failed, error will contain an error message.
search_metadata.id is the search ID inside SerpApi.
HTML results
This API does not have a full HTML response, only text.
search_metadata.prettify_html_file contains a link to the prettified version of the result.
It is displayed in the playground.
Markdown results
Markdown output is optimized for LLMs and AI agents. It provides a curated view of the JSON results
in a token-efficient format using tables, markdown links, and YAML frontmatter.
To access, use the output=md parameter, the /search.md endpoint, or request header Accept: text/markdown.
API examples
Result for a one-way flight: departure_id: JFK, arrival_id: LAX, and type: 2
The first page has up to 25 flights, like Expedia's search page before its Show More button: page set to 2 gets all the others. Each result has its flights, its layovers, and its fares with their features. Prices are per traveler, in the currency of the domain: price_details of each fare has its exact price for all travelers. Each one-way flight and fare has a booking_link to book it on Expedia.
{
"search_metadata": {
"id": "6ad2d1bab898dc180a282880",
"status": "Success",
"json_endpoint": "https://serpapi.com/searches/Hq3zN8xKp2VwR5tYb7LmCd/6ad2d1bab898dc180a282880.json",
"markdown_endpoint": "https://serpapi.com/searches/Hq3zN8xKp2VwR5tYb7LmCd/6ad2d1bab898dc180a282880.md",
"created_at": "2026-10-17 01:39:06 UTC",
"processed_at": "2026-10-17 01:39:06 UTC",
"expedia_flights_url": "https://www.expedia.com/Flights-Search?trip=oneway&leg1=from%3AJFK%2Cto%3ALAX%2Cdeparture%3A11%2F16%2F2026TANYT&passengers=adults%3A1&options=cabinclass%3Aeconomy&mode=search&d1=2026-11-16",
"raw_html_file": "https://serpapi.com/searches/Hq3zN8xKp2VwR5tYb7LmCd/6ad2d1bab898dc180a282880.html",
"prettify_html_file": "https://serpapi.com/searches/Hq3zN8xKp2VwR5tYb7LmCd/6ad2d1bab898dc180a282880.prettify",
"total_time_taken": 0.71
},
"search_parameters": {
"engine": "expedia_flights",
"departure_id": "JFK",
"arrival_id": "LAX",
"outbound_date": "2026-11-16",
"type": "2",
"expedia_domain": "expedia.com"
},
"organic_results": [
{
"flights": [
{
"departure_airport": {
"name": "John F. Kennedy Intl.",
"id": "JFK",
"city": "New York",
"terminal": "Terminal 4",
"time": "7:00am",
"date": "Mon, Nov 16"
},
"arrival_airport": {
"name": "Los Angeles Intl.",
"id": "LAX",
"city": "Los Angeles",
"terminal": "Terminal 3",
"time": "10:15am",
"date": "Mon, Nov 16"
},
"duration": "6h 15m",
"airline": "Delta",
"airline_logo": "https://images.trvl-media.com/media/content/expus/graphics/static_content/fusion/v0.1b/images/airlines/vector/s/DL_sq.svg",
"flight_number": "DL742",
"travel_class": "Economy/Coach (E)",
"amenities": [
"WiFi",
"In-seat power outlet",
"In-flight entertainment"
]
}
],
"departure_time": "7:00am",
"arrival_time": "10:15am",
"total_duration": "6h 15m",
"stops": 0,
"airlines": [
"Delta"
],
"airline_logo": "https://images.trvl-media.com/media/content/expus/graphics/static_content/fusion/v0.1b/images/airlines/vector/s/DL_sq.svg",
"price": "$204",
"extracted_price": 204,
"price_qualifier": "One way per traveler",
"fares": [
{
"name": "Delta Main Basic",
"travel_class": "Economy",
"price": "$204",
"extracted_price": 204,
"price_details": "$203.40 one way for 1 traveler",
"features": [
{
"description": "Seat choice not allowed"
},
{
"description": "Personal item included"
},
{
"description": "Carry-on bag included"
},
{
"description": "1st checked bag",
"fee": "$45"
},
...
],
"booking_link": "https://www.expedia.com/Flight-Information?journeyContinuationId=AQqJAgrsAXY1LXNvcy1iZTVlMTFkN2M5N2E0NGU1YjAxODg0NDU5MzViOTIzZS0zNDktMX45LlMuMX5BUW9DQ0FFU0J3alVCQkFCR0FFb0FsZ0JjQUI2QTJKbWM0Z0J2dUdiWnFvQkJ3b0RTa1pMRUFDeUFRY0tBMHhCV0JBQX5BUW8zQ2pVSXhKZ0JFZ00zTkRJWXFWRWdpN2dCS0pDbm5RTXdoNnFkQXpoRlFBQllBV29KVFVGSlRrSkJVMGxEY2doV1FWWlRRVEJDUXhJS0NBRVFBUmdCS2dKRVRCZ0JJZ1FJQVJBQktBSW9BeWdFTUFFEc3MzMzMbGlAKgUSAwoBMXoFQ29hY2iAAQASJwoWCgoyMDI2LTExLTE2EgNKRksaA0xBWBIHEgVDT0FDSBoCEAEgASABMgsI____________AQ%3D%3D&marketingChannel=DIRECT"
},
{
"name": "Delta Main Classic",
"travel_class": "Economy",
"price": "$259",
"extracted_price": 259,
"price_details": "$258.40 one way for 1 traveler",
"features": [
{
"description": "Seat choice included"
},
{
"description": "Personal item included"
},
{
"description": "Carry-on bag included"
},
{
"description": "1st checked bag",
"fee": "$45"
},
...
],
"booking_link": "https://www.expedia.com/Flight-Information?journeyContinuationId=AQqJAgrsAXY1LXNvcy1iZTVlMTFkN2M5N2E0NGU1YjAxODg0NDU5MzViOTIzZS0zNTAtMX45LlMuMX5BUW9DQ0FFU0J3alVCQkFCR0FFb0FsZ0JjQUY2QTJKbWM0Z0J2dUdiWnFvQkJ3b0RTa1pMRUFDeUFRY0tBMHhCV0JBQX5BUW8zQ2pVSXhKZ0JFZ00zTkRJWXFWRWdpN2dCS0pDbm5RTXdoNnFkQXpoV1FBQllBV29KVFVGSlRrTk1RVk5EY2doV1FWWlRRVEJOUlJJS0NBRVFBUmdCS2dKRVRCZ0JJZ1FJQVJBQktBSW9BeWdFTUFFEWZmZmZmJnBAKgUSAwoBMnoFQ29hY2iAAQASJwoWCgoyMDI2LTExLTE2EgNKRksaA0xBWBIHEgVDT0FDSBoCEAEgASABMgsI____________AQ%3D%3D&marketingChannel=DIRECT"
},
...
],
"booking_link": "https://www.expedia.com/Flight-Information?journeyContinuationId=AQqJAgrsAXY1LXNvcy1iZTVlMTFkN2M5N2E0NGU1YjAxODg0NDU5MzViOTIzZS0zNDktMX45LlMuMX5BUW9DQ0FFU0J3alVCQkFCR0FFb0FsZ0JjQUI2QTJKbWM0Z0J2dUdiWnFvQkJ3b0RTa1pMRUFDeUFRY0tBMHhCV0JBQX5BUW8zQ2pVSXhKZ0JFZ00zTkRJWXFWRWdpN2dCS0pDbm5RTXdoNnFkQXpoRlFBQllBV29KVFVGSlRrSkJVMGxEY2doV1FWWlRRVEJDUXhJS0NBRVFBUmdCS2dKRVRCZ0JJZ1FJQVJBQktBSW9BeWdFTUFFEc3MzMzMbGlAKgUSAwoBMXoFQ29hY2iAAQASJwoWCgoyMDI2LTExLTE2EgNKRksaA0xBWBIHEgVDT0FDSBoCEAEgASABMgsI____________AQ%3D%3D&marketingChannel=DIRECT"
},
...,
{
"flights": [
{
"departure_airport": {
"name": "John F. Kennedy Intl.",
"id": "JFK",
"city": "New York",
"terminal": "Terminal 8",
"time": "5:05pm",
"date": "Mon, Nov 16"
},
"arrival_airport": {
"name": "Sky Harbor Intl.",
"id": "PHX",
"city": "Phoenix",
"terminal": "Terminal 4",
"time": "8:53pm",
"date": "Mon, Nov 16"
},
"duration": "5h 48m",
"airline": "American Airlines",
"airline_logo": "https://images.trvl-media.com/media/content/expus/graphics/static_content/fusion/v0.1b/images/airlines/vector/s/AA_sq.svg",
"flight_number": "AA2469",
"airplane": "Airbus A321",
"travel_class": "Economy/Coach (B)",
"amenities": [
"WiFi",
"In-seat power outlet",
"In-flight entertainment"
]
},
{
"departure_airport": {
"name": "Sky Harbor Intl.",
"id": "PHX",
"city": "Phoenix",
"terminal": "Terminal 4",
"time": "9:28pm",
"date": "Mon, Nov 16"
},
"arrival_airport": {
"name": "Los Angeles Intl.",
"id": "LAX",
"city": "Los Angeles",
"time": "9:59pm",
"date": "Mon, Nov 16"
},
"duration": "1h 31m",
"airline": "American Airlines",
"airline_logo": "https://images.trvl-media.com/media/content/expus/graphics/static_content/fusion/v0.1b/images/airlines/vector/s/AA_sq.svg",
"flight_number": "AA1441",
"airplane": "Airbus A321",
"travel_class": "Economy/Coach (B)",
"amenities": [
"WiFi",
"In-seat power outlet",
"In-flight entertainment"
]
}
],
"layovers": [
{
"name": "Sky Harbor Intl.",
"id": "PHX",
"city": "Phoenix",
"description": "35m layover in Phoenix"
}
],
"departure_time": "5:05pm",
"arrival_time": "9:59pm",
"total_duration": "7h 54m",
"stops": 1,
"airlines": [
"American Airlines"
],
"airline_logo": "https://images.trvl-media.com/media/content/expus/graphics/static_content/fusion/v0.1b/images/airlines/vector/s/AA_sq.svg",
"price": "$215",
"extracted_price": 215,
"price_qualifier": "One way per traveler",
"fares": [
{
"name": "Basic Economy",
"travel_class": "Economy",
"price": "$215",
"extracted_price": 215,
"price_details": "$214.20 one way for 1 traveler",
"features": [
{
"description": "Seat choice for a fee"
},
{
"description": "Personal item included"
},
{
"description": "Carry-on bag included"
},
{
"description": "1st checked bag",
"fee": "$55"
},
...
],
"booking_link": "https://www.expedia.com/Flight-Information?journeyContinuationId=AQrdAgquAnY1LXNvcy1iZTVlMTFkN2M5N2E0NGU1YjAxODg0NDU5MzViOTIzZS02Mi0xfjkuUy4xfkFRb0NDQUVTQndqVUJCQUJHQUVvQWxnQmNBQjZBMkptYzRnQnZ1R2JacW9CQndvRFNrWkxFQUN5QVFjS0EweEJXQkFBfkFRcHBDaklJd1lJQkVnUXlORFk1R0tsUklPLTVBU2p0cTUwRE1NbXVuUU00UWtBQVdBRnFCVUpCVTBsRGNnaFBWa0ZJV2s5Q1dBb3pDTUdDQVJJRU1UUTBNUmp2dVFFZ2k3Z0JLT3l1blFNd3g2LWRBemhDUUFGWUFXb0ZRa0ZUU1VOeUNFOVdRVWhhVDBKWUVnb0lBUkFCR0FFcUFrRkJHQUVpQkFnQkVBRW9BaWdES0FRd0N3EWZmZmZmxmpAGhAIARIMCgVQVDM1TRIDUEhYKgUSAwoBMXoFQ29hY2iAAQASJwoWCgoyMDI2LTExLTE2EgNKRksaA0xBWBIHEgVDT0FDSBoCEAEgASABMgsI____________AQ%3D%3D&marketingChannel=DIRECT"
},
{
"name": "Main Cabin",
"travel_class": "Economy",
"price": "$280",
"extracted_price": 280,
"price_details": "$279.20 one way for 1 traveler",
"features": [
{
"description": "Seat choice included"
},
{
"description": "Personal item included"
},
{
"description": "Carry-on bag included"
},
{
"description": "1st checked bag",
"fee": "$50"
},
...
],
"booking_link": "https://www.expedia.com/Flight-Information?journeyContinuationId=AQriAgqrAnY1LXNvcy1iZTVlMTFkN2M5N2E0NGU1YjAxODg0NDU5MzViOTIzZS02My0xfjkuUy4xfkFRb0NDQUVTQndqVUJCQUJHQUVvQWxnQmNBRjZBMkptYzRnQnZ1R2JacW9CQndvRFNrWkxFQUN5QVFjS0EweEJXQkFBfkFRcG5DakVJd1lJQkVnUXlORFk1R0tsUklPLTVBU2p0cTUwRE1NbXVuUU00VDBBQVdBRnFCRTFCU1U1eUNFOVdRVWhhVDAwekNqSUl3WUlCRWdReE5EUXhHTy01QVNDTHVBRW83SzZkQXpESHI1MERPRTlBQVZnQmFnUk5RVWxPY2doUFZrRklXazlOTXhJS0NBRVFBUmdCS2dKQlFSZ0JJZ1FJQVJBQktBSW9BeWdFTUFzETMzMzMzc3FAGhAIARIMCgVQVDM1TRIDUEhYKgUSAwoBMnoNQ29hY2ggKyBDb2FjaIABABInChYKCjIwMjYtMTEtMTYSA0pGSxoDTEFYEgcSBUNPQUNIGgIQASABIAEyCwj___________8B&marketingChannel=DIRECT"
},
...
],
"booking_link": "https://www.expedia.com/Flight-Information?journeyContinuationId=AQrdAgquAnY1LXNvcy1iZTVlMTFkN2M5N2E0NGU1YjAxODg0NDU5MzViOTIzZS02Mi0xfjkuUy4xfkFRb0NDQUVTQndqVUJCQUJHQUVvQWxnQmNBQjZBMkptYzRnQnZ1R2JacW9CQndvRFNrWkxFQUN5QVFjS0EweEJXQkFBfkFRcHBDaklJd1lJQkVnUXlORFk1R0tsUklPLTVBU2p0cTUwRE1NbXVuUU00UWtBQVdBRnFCVUpCVTBsRGNnaFBWa0ZJV2s5Q1dBb3pDTUdDQVJJRU1UUTBNUmp2dVFFZ2k3Z0JLT3l1blFNd3g2LWRBemhDUUFGWUFXb0ZRa0ZUU1VOeUNFOVdRVWhhVDBKWUVnb0lBUkFCR0FFcUFrRkJHQUVpQkFnQkVBRW9BaWdES0FRd0N3EWZmZmZmxmpAGhAIARIMCgVQVDM1TRIDUEhYKgUSAwoBMXoFQ29hY2iAAQASJwoWCgoyMDI2LTExLTE2EgNKRksaA0xBWBIHEgVDT0FDSBoCEAEgASABMgsI____________AQ%3D%3D&marketingChannel=DIRECT"
},
...
]
}
Result with Expedia's price prediction and the prices of nearby dates
Like on Expedia, the search of departing flights has Expedia's prediction of their prices in price_insights, and the prices of the trip on the 3 days before and after the searched date in flexible_dates: each date has the serpapi_link of its search, except the searched one, which is selected, and the cheapest dates have lowest_price, like the green ones on Expedia. The return date of a round trip moves with the departure date.
{
...
"search_parameters": {
"engine": "expedia_flights",
"departure_id": "JFK",
"arrival_id": "LAX",
"outbound_date": "2026-11-26",
"type": "2",
"expedia_domain": "expedia.com"
},
"price_insights": {
"title": "It's a good time to book.",
"description": "$284 is the lowest price we predict between now and takeoff."
},
"flexible_dates": [
{
"date": "Mon, Nov 23",
"outbound_date": "2026-11-23",
"price": "$223",
"extracted_price": 223,
"lowest_price": true,
"serpapi_link": "https://serpapi.com/search.json?arrival_id=LAX&departure_id=JFK&engine=expedia_flights&expedia_domain=expedia.com&outbound_date=2026-11-23&type=2"
},
{
"date": "Tue, Nov 24",
"outbound_date": "2026-11-24",
"price": "$402",
"extracted_price": 402,
"serpapi_link": "https://serpapi.com/search.json?arrival_id=LAX&departure_id=JFK&engine=expedia_flights&expedia_domain=expedia.com&outbound_date=2026-11-24&type=2"
},
{
"date": "Wed, Nov 25",
"outbound_date": "2026-11-25",
"price": "$314",
"extracted_price": 314,
"serpapi_link": "https://serpapi.com/search.json?arrival_id=LAX&departure_id=JFK&engine=expedia_flights&expedia_domain=expedia.com&outbound_date=2026-11-25&type=2"
},
{
"date": "Thu, Nov 26",
"outbound_date": "2026-11-26",
"price": "$284",
"extracted_price": 284,
"selected": true
},
{
"date": "Fri, Nov 27",
"outbound_date": "2026-11-27",
"price": "$322",
"extracted_price": 322,
"serpapi_link": "https://serpapi.com/search.json?arrival_id=LAX&departure_id=JFK&engine=expedia_flights&expedia_domain=expedia.com&outbound_date=2026-11-27&type=2"
},
...
],
"organic_results": [
...
]
}
Result with a bargain fare
Expedia's bargain fares are cheaper fares whose airline and flight times are only revealed after booking. They're in bargain_fares, with what Expedia tells about each way of their trip in journeys, and a booking_link to book them on Expedia. Flights with fares at other prices have Expedia's From in price_prefix, when Expedia shows it.
{
...
"bargain_fares": [
{
"title": "Expedia Bargain Fare",
"description": "Get the flight now and flight details after booking. This is a special fare with restrictions. Airline and flight time revealed after purchase.",
"journeys": [
{
"title": "New York to Los Angeles",
"date": "Wed, Nov 11",
"details": [
"Departs between 8:00am and 3:59pm",
"John F. Kennedy Intl. Airport - Los Angeles Intl.",
"0-1 stops",
"Arrives same day"
]
}
],
"price": "$215",
"extracted_price": 215,
"price_qualifier": "One way per traveler",
"thumbnail": "https://a.travel-assets.com/travel-assets-manager/coupon/price_drop.png",
"booking_link": "https://www.expedia.com/Flight-Information?journeyContinuationId=AQrTAgqkAnY1LXNvcy00NGJhODdlMzQ3MzE0Mzc3YjkxZGM3NTczMzg0NWZjYS00MzAtMTZ-OS5TLjF-QVFvQ0NBRVNCd2pVQkJBQkdBRW9BbGdCY0FCNkEySm1jNGdCb3ZMVFpxb0JCd29EU2taTEVBQ3lBUWNLQTB4QldCQUF3QUVBfkFRcGZDaTBJd2FZQkVnTXlNamNZcVZFZ3NuRW9odkNjQXpDUTg1d0RPRmhBQUZnQmFnSlRWbklJVDBneVQxaEtRazRLTGdqQnBnRVNBelU1TlJpeWNTQ0x1QUVveXZPY0F6Q2s5SndET0ZoQUFWZ0JhZ0pUVm5JSVQwZ3lUMWhLUWs0U0NnZ0pFQUlZQWlvQ1FWTVlBU0lFQ0FFUUFTZ0hLQU13QVERSOF6FK7fakAaEAgBEgwKBVBUNThNEgNTRk8qBRIDCgExegVDb2FjaIABABInChYKCjIwMjYtMTEtMTESA0pGSxoDTEFYEgcSBUNPQUNIGgIQASABMgsI____________AQ%3D%3D&marketingChannel=DIRECT"
}
],
"organic_results": [
{
"flights": [
...
],
"departure_time": "3:20pm",
"arrival_time": "6:33pm",
"total_duration": "6h 13m",
"stops": 0,
"airlines": [
"Delta"
],
"airline_logo": "https://images.trvl-media.com/media/content/expus/graphics/static_content/fusion/v0.1b/images/airlines/vector/s/DL_sq.svg",
"price_prefix": "From",
"price": "$219",
"extracted_price": 219,
"price_qualifier": "One way per traveler",
...
},
...
]
}
Result for a round trip: return_date
Round trips (type: 1, the default) need a return_date. Expedia first returns the departing flights, priced for the cheapest round trip with them. The departure_token of a departing flight, or of one of its fares, gets its return flights.
{
...
"search_parameters": {
"engine": "expedia_flights",
"departure_id": "NYC",
"arrival_id": "LAX",
"outbound_date": "2026-11-16",
"return_date": "2026-11-23",
"expedia_domain": "expedia.com"
},
"organic_results": [
{
"flights": [
{
"departure_airport": {
"name": "John F. Kennedy Intl.",
"id": "JFK",
"city": "New York",
"terminal": "Terminal 8",
"time": "9:00am",
"date": "Mon, Nov 16"
},
"arrival_airport": {
"name": "Los Angeles Intl.",
"id": "LAX",
"city": "Los Angeles",
"time": "12:14pm",
"date": "Mon, Nov 16"
},
"duration": "6h 14m",
"airline": "American Airlines",
"airline_logo": "https://images.trvl-media.com/media/content/expus/graphics/static_content/fusion/v0.1b/images/airlines/vector/s/AA_sq.svg",
"flight_number": "AA1",
"airplane": "Boeing 777-200",
"travel_class": "Economy/Coach (B)",
"amenities": [
"WiFi",
"In-seat power outlet",
"In-flight entertainment"
]
}
],
"departure_time": "9:00am",
"arrival_time": "12:14pm",
"total_duration": "6h 14m",
"stops": 0,
"airlines": [
"American Airlines"
],
"airline_logo": "https://images.trvl-media.com/media/content/expus/graphics/static_content/fusion/v0.1b/images/airlines/vector/s/AA_sq.svg",
"price": "$409",
"extracted_price": 409,
"price_qualifier": "Roundtrip per traveler",
"fares": [
{
"name": "Basic Economy",
"travel_class": "Economy",
"price": "$409",
"extracted_price": 409,
"price_details": "$408.80 roundtrip for 1 traveler",
"features": [
{
"description": "Seat choice for a fee"
},
{
"description": "Personal item included"
},
{
"description": "Carry-on bag included"
},
{
"description": "1st checked bag",
"fee": "$55"
},
...
],
"departure_token": "AQrNAgqtAnY1LXNvcy1kNDU5ZWI1OTliOTg0ZDUyOTgxODdjOTFiM2Y5YTZlOC05MTktMX45LlMuMX5BUW9DQ0FFU0J3alVCQkFCR0FFb0FsZ0NjQUI2QTJKbWM0Z0J3LUdiWnBBQkphb0JCd29EVGxsREVBQ3lBUWNLQTB4QldCQUF-QVFveENpOEl3WUlCRWdFeEdLbFJJSXU0QVNpSXFKMERNUDZxblFNNFFrQUFXQUZxQlVKQlUwbERjZ2hQVmtaSVdrNUNXQW95Q2pBSXdZSUJFZ0l6TUJpTHVBRWdxVkVvZ3YtZEF6REZnWjRET0VKQUFGZ0JhZ1ZDUVZOSlEzSUlUMVpCU0ZwUFFsZ1NDZ2dCRUFFWUFTb0NRVUVZQVNJRUNBRVFBU2dDS0FNb0JEQUwRzczMzMyMeUAiAQEqBRIDCgExegVDb2FjaIABAA=="
},
{
"name": "Main Cabin",
"travel_class": "Economy",
"price": "$539",
"extracted_price": 539,
"price_details": "$538.80 roundtrip for 1 traveler",
"features": [
{
"description": "Seat choice included"
},
{
"description": "Personal item included"
},
{
"description": "Carry-on bag included"
},
{
"description": "1st checked bag",
"fee": "$50"
},
...
],
"departure_token": "AQrTAgqrAnY1LXNvcy1kNDU5ZWI1OTliOTg0ZDUyOTgxODdjOTFiM2Y5YTZlOC05MjAtMX45LlMuMX5BUW9DQ0FFU0J3alVCQkFCR0FFb0FsZ0NjQUY2QTJKbWM0Z0J3LUdiWnBBQkphb0JCd29EVGxsREVBQ3lBUWNLQTB4QldCQUF-QVFvd0NpNEl3WUlCRWdFeEdLbFJJSXU0QVNpSXFKMERNUDZxblFNNFQwQUFXQUZxQkUxQlNVNXlDRTlXUmtoYVRrMHpDakVLTHdqQmdnRVNBak13R0l1NEFTQ3BVU2lDXzUwRE1NV0JuZ000VDBBQVdBRnFCRTFCU1U1eUNFOVdRVWhhVDAwekVnb0lBUkFCR0FFcUFrRkJHQUVpQkFnQkVBRW9BaWdES0FRd0N3EWZmZmZm1oBAIgEBKgUSAwoBMnoNQ29hY2ggKyBDb2FjaIABAA=="
},
...
],
"departure_token": "AQrNAgqtAnY1LXNvcy1kNDU5ZWI1OTliOTg0ZDUyOTgxODdjOTFiM2Y5YTZlOC05MTktMX45LlMuMX5BUW9DQ0FFU0J3alVCQkFCR0FFb0FsZ0NjQUI2QTJKbWM0Z0J3LUdiWnBBQkphb0JCd29EVGxsREVBQ3lBUWNLQTB4QldCQUF-QVFveENpOEl3WUlCRWdFeEdLbFJJSXU0QVNpSXFKMERNUDZxblFNNFFrQUFXQUZxQlVKQlUwbERjZ2hQVmtaSVdrNUNXQW95Q2pBSXdZSUJFZ0l6TUJpTHVBRWdxVkVvZ3YtZEF6REZnWjRET0VKQUFGZ0JhZ1ZDUVZOSlEzSUlUMVpCU0ZwUFFsZ1NDZ2dCRUFFWUFTb0NRVUVZQVNJRUNBRVFBU2dDS0FNb0JEQUwRzczMzMyMeUAiAQEqBRIDCgExegVDb2FjaIABAA=="
},
...
]
}
Result for departure_token
departure_token gets the return flights of a departing flight, with the same search parameters. The price of a return flight is the price of the round trip per traveler, and price_difference its difference with the cheapest round trip, like +$0 on Expedia. Each return flight and fare has a booking_link to book the round trip on Expedia.
{
...
"search_parameters": {
"engine": "expedia_flights",
"departure_id": "NYC",
"arrival_id": "LAX",
"outbound_date": "2026-11-16",
"return_date": "2026-11-23",
"expedia_domain": "expedia.com",
"departure_token": "AQrNAgqtAnY1LXNvcy1kNDU5ZWI1OTliOTg0ZDUyOTgxODdjOTFiM2Y5YTZlOC05MTktMX45LlMuMX5BUW9DQ0FFU0J3alVCQkFCR0FFb0FsZ0NjQUI2QTJKbWM0Z0J3LUdiWnBBQkphb0JCd29EVGxsREVBQ3lBUWNLQTB4QldCQUF-QVFveENpOEl3WUlCRWdFeEdLbFJJSXU0QVNpSXFKMERNUDZxblFNNFFrQUFXQUZxQlVKQlUwbERjZ2hQVmtaSVdrNUNXQW95Q2pBSXdZSUJFZ0l6TUJpTHVBRWdxVkVvZ3YtZEF6REZnWjRET0VKQUFGZ0JhZ1ZDUVZOSlEzSUlUMVpCU0ZwUFFsZ1NDZ2dCRUFFWUFTb0NRVUVZQVNJRUNBRVFBU2dDS0FNb0JEQUwRzczMzMyMeUAiAQEqBRIDCgExegVDb2FjaIABAA=="
},
"organic_results": [
{
"flights": [
{
"departure_airport": {
"name": "Los Angeles Intl.",
"id": "LAX",
"city": "Los Angeles",
"time": "11:30pm",
"date": "Mon, Nov 23"
},
"arrival_airport": {
"name": "John F. Kennedy Intl.",
"id": "JFK",
"city": "New York",
"terminal": "Terminal 8",
"time": "7:53am",
"date": "Arrives Tue, Nov 24"
},
"duration": "5h 23m",
"airline": "American Airlines",
"airline_logo": "https://images.trvl-media.com/media/content/expus/graphics/static_content/fusion/v0.1b/images/airlines/vector/s/AA_sq.svg",
"flight_number": "AA30",
"airplane": "Airbus A321-200neo",
"travel_class": "Economy/Coach (B)",
"amenities": [
"WiFi",
"In-seat power outlet",
"In-flight entertainment"
]
}
],
"departure_time": "11:30pm",
"arrival_time": "7:53am",
"arrival_day_offset": "+1",
"total_duration": "5h 23m",
"stops": 0,
"airlines": [
"American Airlines"
],
"airline_logo": "https://images.trvl-media.com/media/content/expus/graphics/static_content/fusion/v0.1b/images/airlines/vector/s/AA_sq.svg",
"price": "$409",
"extracted_price": 409,
"price_difference": "+$0",
"extracted_price_difference": 0,
"price_qualifier": "Roundtrip per traveler",
"fares": [
{
"name": "Basic Economy",
"travel_class": "Economy",
"price_difference": "+$0",
"extracted_price_difference": 0,
"price_details": "$408.80 roundtrip for 1 traveler",
"features": [
{
"description": "Seat choice for a fee"
},
{
"description": "Personal item included"
},
{
"description": "Carry-on bag included"
},
{
"description": "1st checked bag",
"fee": "$55"
},
...
],
"booking_link": "https://www.expedia.com/Flight-Information?journeyContinuationId=AQrIAgqoAnY1LXNvcy04NmFlN2UwMDkzOWU0YWU1YWU4ZDIwM2IwOTI1ZTM4MS0yNS0xfjkuUy4xfkFRb0NDQUVTQndqVUJCQUJHQUVvQWxnQ2NBQjZBMkptYzRnQjBlR2JacW9CQndvRFRsbERFQUN5QVFjS0EweEJXQkFBfkFRb3hDaThJd1lJQkVnRXhHS2xSSUl1NEFTaUlxSjBETVA2cW5RTTRRa0FBV0FGcUJVSkJVMGxEY2doUFZrWklXazVDV0FveUNqQUl3WUlCRWdJek1CaUx1QUVncVZFb2d2LWRBekRGZ1o0RE9FSkFBRmdCYWdWQ1FWTkpRM0lJVDFaQlNGcFBRbGdTQ2dnQkVBRVlBU29DUVVFWUFTSUVDQUVRQVNnQ0tBTW9CREFMEc3MzMzMjHlAIgEBKgUSAwoBMXoFQ29hY2iAAQASPwoWCgoyMDI2LTExLTE2EgNOWUMaA0xBWAoWCgoyMDI2LTExLTIzEgNMQVgaA05ZQxIHEgVDT0FDSBoCEAEgAiABMgsI____________AQ%3D%3D&marketingChannel=DIRECT"
},
{
"name": "Main Cabin",
"travel_class": "Economy",
"price_difference": "+$130",
"extracted_price_difference": 130,
"price_details": "$538.80 roundtrip for 1 traveler",
"features": [
{
"description": "Seat choice included"
},
{
"description": "Personal item included"
},
{
"description": "Carry-on bag included"
},
{
"description": "1st checked bag",
"fee": "$50"
},
...
],
"booking_link": "https://www.expedia.com/Flight-Information?journeyContinuationId=AQrQAgqmAnY1LXNvcy04NmFlN2UwMDkzOWU0YWU1YWU4ZDIwM2IwOTI1ZTM4MS0yNi0xfjkuUy4xfkFRb0NDQUVTQndqVUJCQUJHQUVvQWxnQ2NBRjZBMkptYzRnQjBlR2JacW9CQndvRFRsbERFQUN5QVFjS0EweEJXQkFBfkFRb3dDaTRJd1lJQkVnRXhHS2xSSUl1NEFTaUlxSjBETVA2cW5RTTRUMEFBV0FGcUJFMUJTVTV5Q0U5V1JraGFUazB6Q2pFS0x3akJnZ0VTQWpNd0dJdTRBU0NwVVNpQ181MERNTVdCbmdNNFQwQUFXQUZxQkUxQlNVNXlDRTlXUVVoYVQwMHpFZ29JQVJBQkdBRXFBa0ZCR0FFaUJBZ0JFQUVvQWlnREtBUXdDdxFmZmZmZtaAQCIBASoFEgMKATFYAXoNQ29hY2ggKyBDb2FjaIABABI_ChYKCjIwMjYtMTEtMTYSA05ZQxoDTEFYChYKCjIwMjYtMTEtMjMSA0xBWBoDTllDEgcSBUNPQUNIGgIQASACIAEyCwj___________8B&marketingChannel=DIRECT"
},
...
],
"booking_link": "https://www.expedia.com/Flight-Information?journeyContinuationId=AQrIAgqoAnY1LXNvcy04NmFlN2UwMDkzOWU0YWU1YWU4ZDIwM2IwOTI1ZTM4MS0yNS0xfjkuUy4xfkFRb0NDQUVTQndqVUJCQUJHQUVvQWxnQ2NBQjZBMkptYzRnQjBlR2JacW9CQndvRFRsbERFQUN5QVFjS0EweEJXQkFBfkFRb3hDaThJd1lJQkVnRXhHS2xSSUl1NEFTaUlxSjBETVA2cW5RTTRRa0FBV0FGcUJVSkJVMGxEY2doUFZrWklXazVDV0FveUNqQUl3WUlCRWdJek1CaUx1QUVncVZFb2d2LWRBekRGZ1o0RE9FSkFBRmdCYWdWQ1FWTkpRM0lJVDFaQlNGcFBRbGdTQ2dnQkVBRVlBU29DUVVFWUFTSUVDQUVRQVNnQ0tBTW9CREFMEc3MzMzMjHlAIgEBKgUSAwoBMXoFQ29hY2iAAQASPwoWCgoyMDI2LTExLTE2EgNOWUMaA0xBWAoWCgoyMDI2LTExLTIzEgNMQVgaA05ZQxIHEgVDT0FDSBoCEAEgAiABMgsI____________AQ%3D%3D&marketingChannel=DIRECT"
},
...
]
}
Result with travelers and filters
travel_class, adults, children_ages, infants_in_seat, and infants_on_lap set the travel class and the travelers: children are set by their ages, from 2 to 17. Flights can be filtered by number of stops, by airlines with include_airlines, and by any other filter of Expedia with facet (head to the Expedia Flights filtering page), and sorted with sort_by. This example shows the cheapest nonstop Delta and United flights from San Francisco to Boston, for 2 adults and a child of 8.
{
...
"search_parameters": {
"engine": "expedia_flights",
"departure_id": "SFO",
"arrival_id": "BOS",
"outbound_date": "2026-11-16",
"type": "2",
"expedia_domain": "expedia.com",
"adults": 2,
"children_ages": "8",
"stops": 1,
"include_airlines": "DL,UA",
"sort_by": "2"
},
"organic_results": [
{
"flights": [
{
"departure_airport": {
"name": "San Francisco Intl.",
"id": "SFO",
"city": "San Francisco",
"terminal": "Terminal 1",
"time": "12:55pm",
"date": "Mon, Nov 16"
},
"arrival_airport": {
"name": "Logan Intl.",
"id": "BOS",
"city": "Boston",
"terminal": "Terminal A",
"time": "9:23pm",
"date": "Mon, Nov 16"
},
"duration": "5h 28m",
"airline": "Delta",
"airline_logo": "https://images.trvl-media.com/media/content/expus/graphics/static_content/fusion/v0.1b/images/airlines/vector/s/DL_sq.svg",
"flight_number": "DL977",
"airplane": "Airbus A321-200neo",
"travel_class": "Economy/Coach (E)",
"amenities": [
"WiFi",
"In-seat power outlet",
"In-flight entertainment"
]
}
],
"departure_time": "12:55pm",
"arrival_time": "9:23pm",
"total_duration": "5h 28m",
"stops": 0,
"airlines": [
"Delta"
],
"airline_logo": "https://images.trvl-media.com/media/content/expus/graphics/static_content/fusion/v0.1b/images/airlines/vector/s/DL_sq.svg",
"price": "$194",
"extracted_price": 194,
"price_qualifier": "One way per traveler",
"fares": [
{
"name": "Delta Main Basic",
"travel_class": "Economy",
"price": "$194",
"extracted_price": 194,
"price_details": "$580.20 one way for 3 travelers",
"features": [
{
"description": "Seat choice not allowed"
},
{
"description": "Personal item included"
},
{
"description": "Carry-on bag included"
},
{
"description": "1st checked bag",
"fee": "$45"
},
...
],
"booking_link": "https://www.expedia.com/Flight-Information?journeyContinuationId=AQqVAgr4AXY1LXNvcy1iNDA4ODU2YWMyNGQ0NTZiYWJlNDllNjRiZDcwNGZjMi01ODAtMX45LlMuMX5BUW9DQ0FFU0J3alVCQkFCR0FFb0FsZ0JjQUI2QTJKbWM0Z0J5dUdiWnBBQkxLb0JCd29EVTBaUEVBQ3lBUWNLQTBKUFV4QUF-QVFvM0NqVUl4SmdCRWdNNU56Y1lzbkVnd1pNQktLZXJuUU13NzYyZEF6aEZRQUJZQVdvSlRVRkpUa0pCVTBsRGNnaFdRVlpUUVRCQ1F4SUtDQUVRQVJnQktnSkVUQmdESWdRSUFSQUNJZ1FJQWhBQktBSW9BeWdFTUFFEZqZmZmZIYJAKgUSAwoBMXoFQ29hY2iAAQASMAoWCgoyMDI2LTExLTE2EgNTRk8aA0JPUxIHEgVDT0FDSBoCEAIaBwgBEAEaAQggARoXCAESExoPOgEAQgQKAkRMQgQKAlVBIgAgATILCP___________wE%3D&marketingChannel=DIRECT"
},
{
"name": "Delta Main Classic",
"travel_class": "Economy",
"price": "$249",
"extracted_price": 249,
"price_details": "$745.20 one way for 3 travelers",
"features": [
{
"description": "Seat choice included"
},
{
"description": "Personal item included"
},
{
"description": "Carry-on bag included"
},
{
"description": "1st checked bag",
"fee": "$45"
},
...
],
"booking_link": "https://www.expedia.com/Flight-Information?journeyContinuationId=AQqVAgr4AXY1LXNvcy1iNDA4ODU2YWMyNGQ0NTZiYWJlNDllNjRiZDcwNGZjMi01ODEtMX45LlMuMX5BUW9DQ0FFU0J3alVCQkFCR0FFb0FsZ0JjQUY2QTJKbWM0Z0J5dUdiWnBBQkxLb0JCd29EVTBaUEVBQ3lBUWNLQTBKUFV4QUF-QVFvM0NqVUl4SmdCRWdNNU56Y1lzbkVnd1pNQktLZXJuUU13NzYyZEF6aFdRQUJZQVdvSlRVRkpUa05NUVZORGNnaFdRVlpUUVRCTlJSSUtDQUVRQVJnQktnSkVUQmdESWdRSUFSQUNJZ1FJQWhBQktBSW9BeWdFTUFFEZqZmZmZSYdAKgUSAwoBMnoFQ29hY2iAAQASMAoWCgoyMDI2LTExLTE2EgNTRk8aA0JPUxIHEgVDT0FDSBoCEAIaBwgBEAEaAQggARoXCAESExoPOgEAQgQKAkRMQgQKAlVBIgAgATILCP___________wE%3D&marketingChannel=DIRECT"
},
...
],
"booking_link": "https://www.expedia.com/Flight-Information?journeyContinuationId=AQqVAgr4AXY1LXNvcy1iNDA4ODU2YWMyNGQ0NTZiYWJlNDllNjRiZDcwNGZjMi01ODAtMX45LlMuMX5BUW9DQ0FFU0J3alVCQkFCR0FFb0FsZ0JjQUI2QTJKbWM0Z0J5dUdiWnBBQkxLb0JCd29EVTBaUEVBQ3lBUWNLQTBKUFV4QUF-QVFvM0NqVUl4SmdCRWdNNU56Y1lzbkVnd1pNQktLZXJuUU13NzYyZEF6aEZRQUJZQVdvSlRVRkpUa0pCVTBsRGNnaFdRVlpUUVRCQ1F4SUtDQUVRQVJnQktnSkVUQmdESWdRSUFSQUNJZ1FJQWhBQktBSW9BeWdFTUFFEZqZmZmZIYJAKgUSAwoBMXoFQ29hY2iAAQASMAoWCgoyMDI2LTExLTE2EgNTRk8aA0JPUxIHEgVDT0FDSBoCEAIaBwgBEAEaAQggARoXCAESExoPOgEAQgQKAkRMQgQKAlVBIgAgATILCP___________wE%3D&marketingChannel=DIRECT"
},
...
]
}
Result for expedia_domain: expedia.co.uk
expedia_domain sets the language, the region, and the currency of the results. Head to the Expedia domains page for a full list of supported Expedia domains.
{
...
"search_parameters": {
"engine": "expedia_flights",
"departure_id": "LON",
"arrival_id": "PAR",
"outbound_date": "2026-11-16",
"type": "2",
"expedia_domain": "expedia.co.uk"
},
"organic_results": [
{
"flights": [
{
"departure_airport": {
"name": "Southend",
"id": "SEN",
"city": "London",
"time": "11:35",
"date": "Mon, 16 Nov"
},
"arrival_airport": {
"name": "Roissy-Charles de Gaulle",
"id": "CDG",
"city": "Paris",
"time": "13:45",
"date": "Mon, 16 Nov"
},
"duration": "1h 10m",
"airline": "easyJet",
"airline_logo": "https://images.trvl-media.com/media/content/expus/graphics/static_content/fusion/v0.1b/images/airlines/vector/s/U2_sq.svg",
"flight_number": "U25711",
"travel_class": "Economy (Y)"
}
],
"departure_time": "11:35",
"arrival_time": "13:45",
"total_duration": "1h 10m",
"stops": 0,
"airlines": [
"easyJet"
],
"airline_logo": "https://images.trvl-media.com/media/content/expus/graphics/static_content/fusion/v0.1b/images/airlines/vector/s/U2_sq.svg",
"price": "£39",
"extracted_price": 39,
"price_qualifier": "One way per traveller",
"fares": [
{
"name": "Light",
"travel_class": "Economy",
"price": "£39",
"extracted_price": 39,
"price_details": "£39 one way for 1 traveller",
"features": [
{
"description": "Seat choice for a fee"
},
{
"description": "Personal item included"
},
{
"description": "Hand baggage",
"fee": "£48"
},
{
"description": "1st checked bag",
"fee": "£55"
},
...
],
"booking_link": "https://www.expedia.co.uk/Flight-Information?journeyContinuationId=AQqHAgrqAXY1LXNvcy03MmVmOTU4YWMxMTg0MDU0OTNhM2JkZTU0OGRjMjc0Yi00MjktMX45LlMuMX5BUW9DQ0FNU0NBaW1pQUVRQVJnSEtBSllBWEFBZWdsdVpHTmthWEpsWTNTSUFjM2htMmFRQVMycUFRY0tBMHhQVGhBQXNnRUhDZ05RUVZJUUFBfkFRb3JDaWtJMVdRU0JEVTNNVEVZa21rZzRqQW85NmFkQXpDOXA1MERPRmxBQUZnQmFnVk1hV2RvZEhJQldSSUtDQUVRQVJnQktnSlZNaGdCSWdRSUFSQUJLQUlvQXlnRU1BMBEfhetRuH5DQCoFEgMKATF6BUNvYWNogAEAEicKFgoKMjAyNi0xMS0xNhIDTE9OGgNQQVISBxIFQ09BQ0gaAhABIAEgATILCP___________wE%3D&marketingChannel=DIRECT"
},
{
"name": "Inclusive",
"travel_class": "Economy",
"price": "£92",
"extracted_price": 92,
"price_details": "£92 one way for 1 traveller",
"features": [
{
"description": "Seat choice included"
},
{
"description": "Personal item included"
},
{
"description": "Hand baggage",
"fee": "£48"
},
{
"description": "1st checked bag included"
},
...
],
"booking_link": "https://www.expedia.co.uk/Flight-Information?journeyContinuationId=AQqMAgrvAXY1LXNvcy03MmVmOTU4YWMxMTg0MDU0OTNhM2JkZTU0OGRjMjc0Yi00MzAtMX45LlMuMX5BUW9DQ0FNU0NBaW1pQUVRQVJnSEtBSllBWEFCZWdsdVpHTmthWEpsWTNTSUFjM2htMmFRQVMycUFRY0tBMHhQVGhBQXNnRUhDZ05RUVZJUUFBfkFRb3ZDaTBJMVdRU0JEVTNNVEVZa21rZzRqQW85NmFkQXpDOXA1MERPRUpBQUZnQmFnbEpibU5zZFhOcGRtVnlBVUlTQ2dnQkVBRVlBU29DVlRJWUFTSUVDQUVRQVNnQ0tBTW9CREFOER-F61G4_lZAKgUSAwoBMnoFQ29hY2iAAQASJwoWCgoyMDI2LTExLTE2EgNMT04aA1BBUhIHEgVDT0FDSBoCEAEgASABMgsI____________AQ%3D%3D&marketingChannel=DIRECT"
},
...
],
"booking_link": "https://www.expedia.co.uk/Flight-Information?journeyContinuationId=AQqHAgrqAXY1LXNvcy03MmVmOTU4YWMxMTg0MDU0OTNhM2JkZTU0OGRjMjc0Yi00MjktMX45LlMuMX5BUW9DQ0FNU0NBaW1pQUVRQVJnSEtBSllBWEFBZWdsdVpHTmthWEpsWTNTSUFjM2htMmFRQVMycUFRY0tBMHhQVGhBQXNnRUhDZ05RUVZJUUFBfkFRb3JDaWtJMVdRU0JEVTNNVEVZa21rZzRqQW85NmFkQXpDOXA1MERPRmxBQUZnQmFnVk1hV2RvZEhJQldSSUtDQUVRQVJnQktnSlZNaGdCSWdRSUFSQUJLQUlvQXlnRU1BMBEfhetRuH5DQCoFEgMKATF6BUNvYWNogAEAEicKFgoKMjAyNi0xMS0xNhIDTE9OGgNQQVISBxIFQ09BQ0gaAhABIAEgATILCP___________wE%3D&marketingChannel=DIRECT"
},
...
]
}
JSON structure overview
{
...
"price_insights": {
"title": "String - Departing flights: Expedia's prediction of their prices, as displayed. (E.g., It's a good time to book.)",
"description": "String - Explanation of the prediction, as displayed. (E.g., $284 is the lowest price we predict between now and takeoff.)"
},
"flexible_dates": [
{
"date": "String - Departing flights: departure date, 3 days before to 3 days after the searched date, as displayed. (E.g., Mon, Nov 23)",
"outbound_date": "String - Departure date, in YYYY-MM-DD format.",
"return_date": "String - Round trips: return date, which moves with the departure date, in YYYY-MM-DD format.",
"price": "String - Lowest price per traveler on the dates, as displayed. (E.g., $223)",
"extracted_price": "Number - Lowest price per traveler on the dates.",
"lowest_price": "Boolean - Whether the price is the lowest of the dates, in green on Expedia. Missing when it isn't.",
"selected": "Boolean - Whether the dates are the searched ones. Missing when they aren't.",
"serpapi_link": "String - SerpApi link to the search of the dates. Missing for the searched dates."
}
],
"bargain_fares": [
{
"title": "String - Name of the fare. (E.g., Expedia Bargain Fare)",
"description": "String - Description of the fare, as displayed. (E.g., Get the flight now and flight details after booking.)",
"journeys": [
{
"title": "String - Way of the trip. (E.g., New York to Los Angeles)",
"date": "String - Departure date, as displayed. (E.g., Wed, Nov 11)",
"details": [
"String - Detail of the way of the trip, as displayed. (E.g., Departs between 8:00am and 3:59pm, 0-1 stops)"
]
}
],
"price": "String - Price per traveler, as displayed. (E.g., $215)",
"extracted_price": "Number - Price per traveler.",
"price_qualifier": "String - What the price is for, as displayed. (E.g., One way per traveler)",
"thumbnail": "String - Link to the icon of the fare.",
"booking_link": "String - Link to book the fare on Expedia."
}
],
"organic_results": [
{
"flights": [
{
"departure_airport": {
"name": "String - Name of the departure airport. (E.g., John F. Kennedy Intl.)",
"id": "String - IATA code of the departure airport. (E.g., JFK)",
"city": "String - City of the departure airport. (E.g., New York)",
"terminal": "String - Departure terminal. (E.g., Terminal 4)",
"time": "String - Local departure time, as displayed. (E.g., 7:00am)",
"date": "String - Local departure date, as displayed. (E.g., Mon, Nov 16)"
},
"arrival_airport": {
"name": "String - Name of the arrival airport. (E.g., Los Angeles Intl.)",
"id": "String - IATA code of the arrival airport. (E.g., LAX)",
"city": "String - City of the arrival airport. (E.g., Los Angeles)",
"terminal": "String - Arrival terminal. (E.g., Terminal 3)",
"time": "String - Local arrival time, as displayed. (E.g., 10:15am)",
"date": "String - Local arrival date, as displayed. (E.g., Mon, Nov 16, Arrives Tue, Nov 17)"
},
"duration": "String - Duration of the flight, as displayed. (E.g., 6h 15m)",
"airline": "String - Airline of the flight. (E.g., Delta)",
"airline_logo": "String - Link to the logo of the airline.",
"flight_number": "String - Flight number. (E.g., DL742)",
"plane_and_crew_by": "String - Airline that operates the flight for the airline that sells it, as displayed. (E.g., Operated by ALASKA)",
"airplane": "String - Aircraft of the flight. (E.g., Airbus A321)",
"travel_class": "String - Cabin and booking class of the flight. (E.g., Economy/Coach (E))",
"amenities": [
"String - Amenity of the flight. (E.g., WiFi, In-seat power outlet)"
]
}
],
"layovers": [
{
"name": "String - Name of the layover airport. (E.g., Sky Harbor Intl.)",
"id": "String - IATA code of the layover airport. (E.g., PHX)",
"city": "String - City of the layover airport. (E.g., Phoenix)",
"description": "String - Duration and city of the layover, as displayed. (E.g., 35m layover in Phoenix)"
}
],
"departure_time": "String - Departure time of the first flight, as displayed. (E.g., 7:00am)",
"arrival_time": "String - Arrival time of the last flight, as displayed. (E.g., 10:15am)",
"arrival_day_offset": "String - Number of days between the departure and the arrival, as displayed, for arrivals on a later day. (E.g., +1)",
"total_duration": "String - Total duration of the trip, layovers included, as displayed. (E.g., 7h 54m)",
"stops": "Integer - Number of stops.",
"airlines": [
"String - Airline of the flights. (E.g., Delta)"
],
"airline_logo": "String - Link to the logo of the airline.",
"price_prefix": "String - Text before the price, as displayed, when Expedia shows one: for flights with fares at other prices, or with few seats left. (E.g., From, 4 left at, 5 left, from)",
"price": "String - Price per traveler, as displayed. For departing and return flights of a round trip, price of the round trip. (E.g., $204)",
"extracted_price": "Number - Price per traveler.",
"price_difference": "String - Return flights of a round trip: difference of the price with the cheapest round trip, as displayed. (E.g., +$134)",
"extracted_price_difference": "Number - Difference of the price with the cheapest round trip.",
"price_qualifier": "String - What the price is for, as displayed. (E.g., One way per traveler, Roundtrip per traveler)",
"seats_left": "Integer - Number of seats left at this price, when only a few are left.",
"fares": [
{
"name": "String - Name of the fare, when Expedia shows one. (E.g., Delta Main Basic, Main Cabin)",
"travel_class": "String - Cabin of the fare. (E.g., Economy, First Class)",
"price": "String - Price per traveler, as displayed. (E.g., $259)",
"extracted_price": "Number - Price per traveler.",
"price_difference": "String - Return flights of a round trip: difference of the price with the cheapest round trip, as displayed. (E.g., +$130)",
"extracted_price_difference": "Number - Difference of the price with the cheapest round trip.",
"price_details": "String - Exact price for all travelers, as displayed. (E.g., $258.40 one way for 1 traveler)",
"features": [
{
"description": "String - Feature of the fare, as displayed. (E.g., Carry-on bag included, 1st checked bag)",
"fee": "String - Fee of the feature, as displayed. (E.g., $45)"
}
],
"departure_token": "String - Departing flights of a round trip: token to get the return flights of the fare, with the departure_token parameter.",
"booking_link": "String - One-way and return flights: link to book the fare on Expedia."
}
],
"departure_token": "String - Departing flights of a round trip: token to get the return flights, with the departure_token parameter.",
"booking_link": "String - One-way and return flights: link to book the cheapest fare on Expedia."
}
],
// The same structure as `organic_results`: the flights Expedia lists under "Flights that match some of your filters", when few or no flights match the filters.
"non_matching_flights": [ { "...": "..." } ],
"filters": [
{
"name": "String - Name of the filter, as displayed. (E.g., Stops)",
"options": [
{
"name": "String - Name of the option, as displayed. (E.g., Nonstop)",
"count": "Integer - Number of flights of the option. (E.g., 32)",
"description": "String - Description of the option, as displayed, like the hours of departure and arrival times, or the restrictions of basic economy. (E.g., (5:00am - 11:59am), Fares may not include seats or bags)",
"price": "String - Lowest price of the flights of the option, as displayed. (E.g., $205)",
"extracted_price": "Number - Lowest price of the flights of the option.",
"id": "String - ID of the option, to apply it with the facet parameter. (E.g., NUM_OF_STOPS:0)",
"selected": "Boolean - Whether the option is selected. Missing when it isn't.",
"serpapi_link": "String - SerpApi link to the search with the option applied, or without it for an option selected with facet, stops, or include_airlines. Missing when facet has no room for the option (up to 30 filters)."
}
]
}
],
"serpapi_pagination": {
"current": "Integer - Current page.",
"previous": "String - SerpApi link to the previous page.",
"next": "String - SerpApi link to the next page."
}
}