Skip to content

Trip.com API: Search flights

Finds priced flights between two cities or airports on Trip.com for the chosen dates, cheapest first; round trips pair each outbound flight with its available returns.

trip.com (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by Trip.com.

Inputs

Values from the run on Oct 31, 2026, shown under Output.

Cabin optionalcabin

Seat class, e.g. business.

economy (default)

One of economy, premium_economy, business, first.

Adults optionaladults

Number of adult travellers, e.g. 2.

1 (default)

Whole number from 1 to 9.

Origin, requiredorigin

Departure city or airport, e.g. Singapore or SIN.

Singapore

2 characters or more.

Currency optionalcurrency

Three-letter display currency, e.g. USD.

USD (default)

Exactly 3 characters.

Destination, requireddestination

Arrival city or airport, e.g. Seoul or ICN.

Seoul

2 characters or more.

Max Results optionalmax_results

Maximum priced flight options, e.g. 20.

20 (default)

Whole number from 1 to 50.

Return Date optionalreturn_date

Return date for a round trip (YYYY-MM-DD), e.g. 2026-10-22.

Not set

Nonstop Only optionalnonstop_only

Only show flights without stops, e.g. true.

false (default)

True or false.

Departure Date, requireddeparture_date

Departure date (YYYY-MM-DD), e.g. 2026-10-15.

2026-11-12

Output

From a run on Oct 31, 2026, shortened for this page.
{  "flights": [    {      "currency": "USD",      "return_stops": 0,      "trip_com_url": "https://www.trip.com/flights/showfarefirst?dcity=sin&acity=sel&ddate=2026-10-15&triptype=ow&class=y&quantity=1&nonstoponly=off&locale=en-XX&curr=USD",      "outbound_stops": 1,      "return_airlines": [],      "outbound_airlines": [        "Jeju Air"      ],      "return_travel_time": null,      "price_per_traveller": 179,      "return_arrival_time": null,      "outbound_travel_time": "30 h 50 min",      "return_stop_airports": [],      "outbound_arrival_time": "2026-10-16T08:15:00+09:00",      "return_departure_time": null,      "return_flight_numbers": [],      "outbound_stop_airports": [        "Gimhae International Airport (PUS)"      ],      "outbound_departure_time": "2026-10-15T00:25:00+08:00",      "outbound_flight_numbers": [        "7C2662",        "7C904"      ],      "return_travel_time_minutes": null,      "return_arrival_airport_code": null,      "return_arrival_airport_name": null,      "outbound_travel_time_minutes": 1850,      "outbound_arrival_airport_code": "GMP",      "outbound_arrival_airport_name": "Gimpo International Airport",      "return_departure_airport_code": null,      "return_departure_airport_name": null,      "outbound_departure_airport_code": "SIN",      "outbound_departure_airport_name": "Singapore Changi Airport"    },    {      "currency": "USD",      "return_stops": 0,      "trip_com_url": "https://www.trip.com/flights/showfarefirst?dcity=sin&acity=sel&ddate=2026-10-15&triptype=ow&class=y&quantity=1&nonstoponly=off&locale=en-XX&curr=USD",      "outbound_stops": 1,      "return_airlines": [],      "outbound_airlines": [        "VietJet Air"      ],      "return_travel_time": null,      "price_per_traveller": 188,      "return_arrival_time": null,      "outbound_travel_time": "17 h 45 min",      "return_stop_airports": [],      "outbound_arrival_time": "2026-10-16T06:00:00+09:00",      "return_departure_time": null,      "return_flight_numbers": [],      "outbound_stop_airports": [        "Danang International Airport (DAD)"      ],      "outbound_departure_time": "2026-10-15T11:15:00+08:00",      "outbound_flight_numbers": [        "VJ970",        "VJ878"      ],      "return_travel_time_minutes": null,      "return_arrival_airport_code": null,      "return_arrival_airport_name": null,      "outbound_travel_time_minutes": 1065,      "outbound_arrival_airport_code": "ICN",      "outbound_arrival_airport_name": "Incheon International Airport",      "return_departure_airport_code": null,      "return_departure_airport_name": null,      "outbound_departure_airport_code": "SIN",      "outbound_departure_airport_name": "Singapore Changi Airport"    },    {      "currency": "USD",      "return_stops": 0,      "trip_com_url": "https://www.trip.com/flights/showfarefirst?dcity=sin&acity=sel&ddate=2026-10-15&triptype=ow&class=y&quantity=1&nonstoponly=off&locale=en-XX&curr=USD",      "outbound_stops": 2,      "return_airlines": [],      "outbound_airlines": [        "VietJet Air"      ],      "return_travel_time": null,      "price_per_traveller": 221,      "return_arrival_time": null,      "outbound_travel_time": "28 h 40 min",      "return_stop_airports": [],      "outbound_arrival_time": "2026-10-17T01:10:00+09:00",      "return_departure_time": null,      "return_flight_numbers": [],      "outbound_stop_airports": [        "Tan Son Nhat International Airport (SGN)",        "Phu Quoc International Airport (PQC)"      ],      "outbound_departure_time": "2026-10-15T19:30:00+08:00",      "outbound_flight_numbers": [        "VJ812",        "VJ337",        "VJ978"      ],      "return_travel_time_minutes": null,      "return_arrival_airport_code": null,      "return_arrival_airport_name": null,      "outbound_travel_time_minutes": 1720,      "outbound_arrival_airport_code": "ICN",      "outbound_arrival_airport_name": "Incheon International Airport",      "return_departure_airport_code": null,      "return_departure_airport_name": null,      "outbound_departure_airport_code": "SIN",      "outbound_departure_airport_name": "Singapore Changi Airport"    }  ]}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
trip.com/search_flights
Returns
airlines, flight numbers, airports, local times, durations, stops, price per traveller, currency, Trip.com link

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method trip.com/search_flights with the inputs above.

Ask your agent

  • Find me the cheapest flights from Bangkok to Tokyo Narita on 2026-03-12, economy, one adult, prices in USD.
  • On Trip.com, search round-trip business class flights from London to Dubai leaving November 4 and coming back November 11 for 2 adults, show prices in GBP.
  • I need nonstop options only from SFO to JFK on 2026-07-02 for 3 people — list airlines, flight numbers, times and price per person.
  • Use trip.com to compare premium economy fares Sydney to Singapore, departing 2026-12-18, returning 2027-01-05, top 10 results in AUD.
  • What are the cheapest flights from Frankfurt to Seoul ICN on May 20? Show stops, durations, and prices in EUR, max 30 options.
  • Finds hotels in a city on Trip.com for given dates, with prices, guest ratings, reviews and booking links. Only the initial public listing is read, so large limits may return fewer hotels.

    trip.com/search_hotels
  • Finds Expedia flights between cities or airports on selected dates, with per-traveler USD prices. Round trips combine outbound and return choices; for round trips only the cheapest outbound choices are paired with their returns.

    expedia.com/search_flights
  • Finds Google Flights options for a route and date with prices, local times, stops and emissions. Round-trip searches list outbound choices with their displayed round-trip fares.

    google.com/search_flights
  • Lists cheap round-trip destinations from a city on Google Travel Explore, sorted by fare, optionally within a region, travel month, trip length and nonstop only. Links search Google Flights for the shown dates.

    google.com/list_cheap_destinations
  • Finds the lowest Google Flights fare for each departure date in a month between two places, for one-way trips or a fixed trip length, with the cheapest option and any price insight shown.

    google.com/get_cheapest_dates
  • Finds dated FlixBus trip options between two cities, with stops, local times, availability and displayed per-person prices, including partner operators on some routes.

    flixbus.com/search_bus_trips
  • Lists the cheapest one-way Ryanair fare to each destination from a city or airport during a date range, sorted by price.

    ryanair.com/list_cheapest_fares
  • Finds Expedia hotels in a destination for given dates, with public USD prices, reviews, property class, refund status and links. Nightly prices are per room; totals include all requested rooms, taxes and fees.

    expedia.com/search_hotels