Skip to documentation
Browse documentation

Trip.com flight search

Search one-way Trip.com flight offers for a route, date, passenger set and cabin class from the current first-party list endpoint.

Capability ID tripcom.flight.search
Maximum runtime 30 seconds
View raw

POST /execute Shared execution endpoint

Input parameters

adults integer optional

Number of adult guests. From 1 to 9. Default: `1`.

Example 1
cabin_class string optional

Allowed values: `economy`, `premium_economy`, `business`, `first`. Default: `economy`.

Example economy
Available values economypremium_economybusinessfirst
children integer optional

Number of child guests. From 0 to 8. Default: `0`.

currency string optional

Currency for returned prices. Default: `USD`.

Example USD
departure_date string required

Departure date in YYYY-MM-DD

Example 2026-11-10
destination string required

Arrival city or airport code, for example PAR or CDG

Example PAR
infants integer optional

At least 0. Default: `0`.

locale string optional

Locale to use for the request. Default: `en-US`.

Example en-US
max_results integer optional

Maximum number of results to return. At least 0. Default: `0`.

origin string required

Departure city or airport code, for example LON or LHR

Example LON

Response

Successful output is returned in results[0].data.

Raw platform output is intentionally open-ended and may evolve with the upstream source.

No example output is available for this capability yet.

Execution behavior

A 200 response completed inline. A 202 response was queued; poll GET /jobs/:id until the job reaches completed or failed.