Trip.com Flight Search API
Search one-way Trip.com flights for a route and date, with passengers and cabin class, in the currency you choose.
{ "children": 0, "collected_at": "2026-10-16T12:26:47Z", "collection_complete": true, "infants": 0, "product_id": "SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^rZ6Cx2OwtOTlPelR", "returned": 43, "source_result_count": 43, "source_url": "https://us.trip.com/restapi/soa2/27015/FlightListSearchSSE", "offers": [ { "arrival_time": "2026-11-10 19:00:00", "cabin": "Economy class", "currency": "USD", "departure_time": "2026-11-10 16:45:00", "destination": "PAR", "direct": true, "duration_minutes": 75, "itinerary_id": "c2ee10ce18d1d8ef92b59b338ce22737", "origin": "LON", "price_fare": 25.2, "price_per_adult": 34.5, "price_policy_id": "SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-x8sm8x", "price_short_policy_id": "SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-x8sm8x^rZ6Cx2OwtOTlPelR^111000G0V1LONPAR0010101000RXLGWCDG000VO6U28407", "price_tax": 9.3, "price_total": 35, "seats_available": 4, "stops": 0, "airline_codes": [ "U2" ], "destination_airports": [ "CDG" ], "flight_numbers": [ "U28407" ], "origin_airports": [ "LGW" ] }, { "arrival_time": "2026-11-10 20:05:00", "cabin": "Economy class", "currency": "USD", "departure_time": "2026-11-10 17:45:00", "destination": "PAR", "direct": true, "duration_minutes": 80, "itinerary_id": "9f1b7cea42f5abf24d8cbbbe7c0ef4e0", "origin": "LON", "price_fare": 14.7, "price_per_adult": 34.8, "price_policy_id": "SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-6ZQvca", "price_short_policy_id": "SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-6ZQvca^rZ6Cx2OwtOTlPelR^111000G0V1LONPAR0010101000TLLTNCDG000XH6U22439", "price_tax": 20.1, "price_total": 35, "seats_available": 3, "stops": 0, "airline_codes": [ "U2" ], "destination_airports": [ "CDG" ], "flight_numbers": [ "U22439" ], "origin_airports": [ "LTN" ] } ]}
| # | Arrival time | Cabin | Currency | Departure time | Destination | Direct | Duration minutes | Origin | Price fare | Price per adult | Price tax | Price total | Seats available | Stops | Itinerary id | Price policy id | Price short policy id |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 2026-11-10 19:00:00 | Economy class | USD | 2026-11-10 16:45:00 | PAR | true | 75 | LON | 25.2 | 34.5 | 9.3 | 35 | 4 | 0 | c2ee10ce18d1d8ef92b59b338ce22737 | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-x8sm8x | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-x8sm8x^rZ6Cx2… |
| 2 | 2026-11-10 20:05:00 | Economy class | USD | 2026-11-10 17:45:00 | PAR | true | 80 | LON | 14.7 | 34.8 | 20.1 | 35 | 3 | 0 | 9f1b7cea42f5abf24d8cbbbe7c0ef4e0 | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-6ZQvca | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-6ZQvca^rZ6Cx2… |
| 3 | 2026-11-10 16:00:00 | Economy class | USD | 2026-11-10 13:40:00 | PAR | true | 80 | LON | 31.5 | 51.5 | 20 | 52 | 6 | 0 | 6f49d0b2df96b773e10d5d910fbc1889 | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-od6hW8 | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-od6hW8^rZ6Cx2… |
| 4 | 2026-11-10 10:25:00 | Economy class | USD | 2026-11-10 08:05:00 | PAR | true | 80 | LON | 33.1 | 53.2 | 20.1 | 54 | 4 | 0 | f9935b7ed171eec611b3bff05ea0a647 | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-Tnq9gG | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-Tnq9gG^rZ6Cx2… |
| 5 | 2026-11-10 09:30:00 | Economy class | USD | 2026-11-10 07:00:00 | PAR | true | 90 | LON | 40 | 60.2 | 20.2 | 61 | 6 | 0 | 08271fd0f8b1c4f79861a5d43025fc51 | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-g4TKkv | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-g4TKkv^rZ6Cx2… |
| 6 | 2026-11-10 22:20:00 | Economy class | USD | 2026-11-10 19:55:00 | PAR | true | 85 | LON | 59.4 | 122 | 62.6 | 122 | 9 | 0 | 162596fbb03f625b2d1350c126c521da | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-BWlaBn | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-BWlaBn^rZ6Cx2… |
| 7 | 2026-11-10 11:20:00 | Economy class | USD | 2026-11-10 08:55:00 | PAR | true | 85 | LON | 70.1 | 124.2 | 54.1 | 125 | 9 | 0 | 34a64372cf16b2637a99b9b2eee1011e | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-oM3IMv | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-oM3IMv^rZ6Cx2… |
| 8 | 2026-11-10 18:55:00 | Economy class | USD | 2026-11-10 16:45:00 | PAR | true | 70 | LON | 71.5 | 124.7 | 53.2 | 125 | 9 | 0 | 5be6fe15c065cd06b634791e5ef437f9 | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-Vt65yV | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-Vt65yV^rZ6Cx2… |
| 9 | 2026-11-10 13:50:00 | Economy class | USD | 2026-11-10 11:30:00 | PAR | true | 80 | LON | 72.9 | 127 | 54.1 | 127 | 9 | 0 | d37a16793abd11340b6871bd47c1acb7 | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-x8zN3S | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-x8zN3S^rZ6Cx2… |
| 10 | 2026-11-10 17:20:00 | Economy class | USD | 2026-11-10 14:55:00 | PAR | true | 85 | LON | 63.5 | 126.1 | 62.6 | 127 | 9 | 0 | db592b4fb29a5f299e873eb8617327e9 | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-GrCd6l | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-GrCd6l^rZ6Cx2… |
| 11 | 2026-11-10 19:40:00 | Economy class | USD | 2026-11-10 17:15:00 | PAR | true | 85 | LON | 64.1 | 126.7 | 62.6 | 127 | 9 | 0 | 5185c92b779e52fb37c143fe7073476a | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-c10lGp | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-c10lGp^rZ6Cx2… |
| 12 | 2026-11-10 12:10:00 | Economy class | USD | 2026-11-10 10:00:00 | PAR | true | 70 | LON | 75.7 | 128.9 | 53.2 | 129 | 9 | 0 | 31eb5acf64b6dc4a0fbcb0a6681c4596 | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-HLJrGG | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-HLJrGG^rZ6Cx2… |
| 13 | 2026-11-10 08:40:00 | Economy class | USD | 2026-11-10 06:20:00 | PAR | true | 80 | LON | 86.5 | 129.8 | 43.3 | 130 | 4 | 0 | a5272393cdf66545dea6a9fe0f1632a3 | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-mmbo6z | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-mmbo6z^rZ6Cx2… |
| 14 | 2026-11-10 17:05:00 | Economy class | USD | 2026-11-10 14:45:00 | PAR | true | 80 | LON | 77.1 | 131.2 | 54.1 | 132 | 9 | 0 | 716200624d07b7078ec508c70038df9c | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-gSaQXv | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-gSaQXv^rZ6Cx2… |
| 15 | 2026-11-10 19:55:00 | Economy class | USD | 2026-11-10 17:35:00 | PAR | true | 80 | LON | 78.6 | 132.7 | 54.1 | 133 | 9 | 0 | 20f61ec9a714566d4034a0d3927cabe4 | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-5SiIJK | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-5SiIJK^rZ6Cx2… |
What you send, what comes back
The input object it accepts, and every field of a record, with the values from the response above.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| departure_date | string | yes | The flight date, YYYY-MM-DD. | 2026-11-10 |
| destination | string | yes | Where you fly to: a city or airport code, such as PAR or CDG. | PAR |
| origin | string | yes | Where you fly from: a city or airport code, such as LON or LHR. | LON |
| adults | integer | no | Number of adults. The default is 1. | 1 |
| cabin_class | string | no | Economy, premium economy, business or first. | economy |
| children | integer | no | Number of children. | |
| currency | string | no | Currency for prices, such as USD. | USD |
| infants | integer | no | Number of infants. | |
| locale | string | no | Language, such as en-US. | en-US |
| max_results | integer | no | How many offers to return; 0 returns all. |
| Field | Type | What it is | Example |
|---|---|---|---|
| offers[].airline_codes | array | Codes of the airlines flying it. | U2 |
| offers[].arrival_time | string | Local arrival time. | 2026-11-10 19:00:00 |
| offers[].cabin | string | The cabin class. | Economy class |
| offers[].currency | string | The currency of the prices. | USD |
| offers[].departure_time | string | Local departure time. | 2026-11-10 16:45:00 |
| offers[].destination | string | The city or airport code you searched to. | PAR |
| offers[].destination_airports | array | The airports it lands at. | CDG |
| offers[].direct | boolean | Whether the flight is non-stop. | true |
| offers[].duration_minutes | integer | Total travel time, in minutes. | 75 |
| offers[].flight_numbers | array | The flight numbers. | U28407 |
| offers[].itinerary_id | string | Trip.com's ID for this itinerary. | c2ee10ce18d1d8ef92b59b338ce22737 |
| offers[].origin | string | The city or airport code you searched from. | LON |
| offers[].origin_airports | array | The airports it leaves from. | LGW |
| offers[].price_fare | number | The fare before taxes. | 25.2 |
| offers[].price_per_adult | number | The price for one adult. | 34.5 |
| offers[].price_policy_id | string | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-x8sm8x | |
| offers[].price_short_policy_id | string | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-x8sm8x^rZ6Cx2… | |
| offers[].price_tax | number | Taxes and fees. | 9.3 |
| offers[].price_total | integer | The total price for everyone searched. | 35 |
| offers[].seats_available | integer | Seats left at this price, as Trip.com shows them. | 4 |
| offers[].stops | integer | How many stops the flight makes. | 0 |
| children | integer | Children in the search. | 0 |
| collected_at | string | When this result was collected. | 2026-10-16T12:26:47Z |
| collection_complete | boolean | true | |
| infants | integer | Infants in the search. | 0 |
| offers | array | The flights found, one per itinerary. | 43 records |
| product_id | string | SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^rZ6Cx2OwtOTlPelR | |
| returned | integer | How many offers this response holds. | 43 |
| source_result_count | integer | 43 | |
| source_url | string | The Trip.com page this was read from. | https://us.trip.com/restapi/soa2/27015/FlightListSearchSSE |
Call it from your code
Set UPSCRAPE_API_KEY to your key and copy a working request. No SDK needed.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "tripcom.flight.search", "input": { "adults": 1, "cabin_class": "economy", "currency": "USD", "departure_date": "2026-11-10", "destination": "PAR", "locale": "en-US", "origin": "LON" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "tripcom.flight.search", "input": { "adults": 1, "cabin_class": "economy", "currency": "USD", "departure_date": "2026-11-10", "destination": "PAR", "locale": "en-US", "origin": "LON" }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "tripcom.flight.search", "input": { "adults": 1, "cabin_class": "economy", "currency": "USD", "departure_date": "2026-11-10", "destination": "PAR", "locale": "en-US", "origin": "LON" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
{ "children": 0, "collected_at": "2026-10-16T12:26:47Z", "collection_complete": true, "infants": 0, "product_id": "SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^rZ6Cx2OwtOTlPelR", "returned": 43, "source_result_count": 43, "source_url": "https://us.trip.com/restapi/soa2/27015/FlightListSearchSSE", "offers": [ { "arrival_time": "2026-11-10 19:00:00", "cabin": "Economy class", "currency": "USD", "departure_time": "2026-11-10 16:45:00", "destination": "PAR", "direct": true, "duration_minutes": 75, "itinerary_id": "c2ee10ce18d1d8ef92b59b338ce22737", "origin": "LON", "price_fare": 25.2, "price_per_adult": 34.5, "price_policy_id": "SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-x8sm8x", "price_short_policy_id": "SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-x8sm8x^rZ6Cx2OwtOTlPelR^111000G0V1LONPAR0010101000RXLGWCDG000VO6U28407", "price_tax": 9.3, "price_total": 35, "seats_available": 4, "stops": 0, "airline_codes": [ "U2" ], "destination_airports": [ "CDG" ], "flight_numbers": [ "U28407" ], "origin_airports": [ "LGW" ] }, { "arrival_time": "2026-11-10 20:05:00", "cabin": "Economy class", "currency": "USD", "departure_time": "2026-11-10 17:45:00", "destination": "PAR", "direct": true, "duration_minutes": 80, "itinerary_id": "9f1b7cea42f5abf24d8cbbbe7c0ef4e0", "origin": "LON", "price_fare": 14.7, "price_per_adult": 34.8, "price_policy_id": "SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-6ZQvca", "price_short_policy_id": "SHA_SHA-ALI_PIDReduce-5Je3UPxg20261016122647^List-6ZQvca^rZ6Cx2OwtOTlPelR^111000G0V1LONPAR0010101000TLLTNCDG000XH6U22439", "price_tax": 20.1, "price_total": 35, "seats_available": 3, "stops": 0, "airline_codes": [ "U2" ], "destination_airports": [ "CDG" ], "flight_numbers": [ "U22439" ], "origin_airports": [ "LTN" ] } ]}
More Trip.com endpoints
The same API key runs every one of them.
Trip.com Flight Search API FAQ
The short answers. The docs have the long ones.
How much does the Trip.com Flight Search API cost?
2–3 credits per successful call, shown before it runs. You buy credits once, and paid credits never expire.
What do I send?
Send origin, destination and departure_date. The input fields below list every option with its type and limits.
Do I need a Trip.com Travel login?
No. It reads public Trip.com Travel data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds tripcom.flight.search, checks its price and runs it with the same credits as the REST API.