Skip to content

Trip.com API

Trip.com (trip.com) has 2 public methods: search flights and search hotels. Each costs 1 credit per completed run (1¢ with pay as you go); failed runs are free.

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

Methods

2
  • 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

    Readtrip.com/search_flights
  • 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

    Readtrip.com/search_hotels