# Trip.com API

> 2 public methods for Trip.com (trip.com), each 1 credit per completed run.

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

- Page: https://fous.com/methods/trip.com

## Methods

### [Search flights](https://fous.com/methods/trip.com/search-flights.md)

`trip.com/search_flights`, read. 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.

Returns: airlines, flight numbers, airports, local times, durations, stops, price per traveller, currency, Trip.com link

### [Search hotels](https://fous.com/methods/trip.com/search-hotels.md)

`trip.com/search_hotels`, read. 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.

Returns: name, stars, guest rating, reviews, area, nightly and total price, free cancellation, link
