APIs / Trip.com / Flights Search

Trip.com: Flights Search

Flights Search from Trip.com as JSON. 1–3 credits per successful call.

GET /v1/trip-com/flights-search

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
fromstringRequiredAny
tostringRequiredAny
datestringRequiredAny
return_datestringOptionalAny
policy_idstringOptionalUp to 300 characters
adultsintegerOptionalAny
cabin_classstringOptionaleconomy, premium_economy, business
currencystringOptionalUSD, EUR, GBP, JPY, KRW

Example request

cURLshell
curl "https://api.perceptlayer.com/v1/trip-com/flights-search?from=LON&to=NYC&date=2027-03-14&adults=1&cabin_class=economy&currency=USD" \
  -H "X-API-Key: $API_KEY"

Run this endpoint in the playground with your own parameters. 1–3 credits per successful call (1 credit one way, 3 with return_date); failed calls are free.