Skip to content

trip.com Hotel Details API

One Trip.com hotel: name, description, address, WGS-84 coordinates (plus GCJ-02 for mainland China), star class, every photo in the hotel's album, amenities by category, review score and count, check-in and check-out times, other policies, and the lowest total price for the whole stay (null with available=false when nothing can be booked for those dates).

GEThttps://api.maviapi.com/v1/sites/trip/hotel_details5 credits per call

Parameters

NameRequiredExampleDescription
hotel_idstring in queryOptional1565557Trip.com hotel id, as returned by the search endpoints
checkinstring in queryOptionalNonecheck-in date YYYY-MM-DD (default: 30 days from today)
checkoutstring in queryOptionalNonecheck-out date YYYY-MM-DD (default: 2 nights after checkin)
adultsinteger in queryOptional2number of adults in total
childreninteger in queryOptional0number of children (ages taken from child_ages, missing ages count as 8)
child_agesstring in queryOptionalNonecomma-separated child ages, e.g. "4,9"
roomsinteger in queryOptional1number of rooms
currencystring in queryOptionalUSDISO currency code for prices, e.g. USD, EUR, JPY

Response fields

hotel_idstringe.g."1565557"
namestringe.g."Hotel Mercure Paris Centre Gare Montparnasse"
local_namestringe.g."Hotel Mercure Paris Centre Gare Montparnasse"
star_ratingintegere.g.4
star_rating_typestringe.g."star"
descriptionstringe.g."In the heart of the 14th district, the Mercure Paris Centre Gare Montparnasse has a unique past: it once served as the former entrance to the Bobino theatre. Close to some of the most iconic stages in the world’s theatre capital, you can book a room with views of the Eiffel Tower or the Montparnasse Tower. For business travellers, three inspiring meeting rooms are available. Before heading to a show, enjoy a cocktail at the bar and discover the creative dishes of our bistronomic restaurant.\n\nImmerse yourself in the lively atmosphere of Rue de la Gaîté in Paris: the historic charm of the Gaîté Montparnasse Theatre, the music-hall spirit of Bobino, the comedy productions of Le Grand Point Virgule, and the contemporary works at Théâtre Rive Gauche. Just a few steps from the hotel, admire one of the finest panoramic views of Paris from the top of the Montparnasse Tower. Explore the fascinating catacombs and wander through Montparnasse Cemetery or the Luxembourg Gardens, located within a 15-minute walk.\n\nJust a 5-minute walk from the Montparnasse high-speed train station, the hotel is close to several metro lines. Reach the Champs-Élysées and Notre-Dame de Paris within a few stops, and travel easily to Paris-Charles de Gaulle and Paris-Orly airports."
addressstringe.g."20 Rue de la Gaité, Paris, 75014, France"
areastringe.g."Montparnasse"
citystringe.g."Paris"
provincestringe.g."Ile-de-France"
countrystringe.g."France"
latitudenumbere.g.48.839996
longitudenumbere.g.2.323562
coordinate_systemstringe.g."WGS-84"
latitude_gcj02null
longitude_gcj02null
openedstringe.g."1987"
renovatedstringe.g."2018"
review_scorenumbere.g.8.9
review_score_maxnumbere.g.10
review_countintegere.g.124
review_subscoresobject4 fields
Cleanlinessnumbere.g.9
Amenitiesnumbere.g.8.4
Locationnumbere.g.9.2
Servicenumbere.g.8.8
check_in_timestringe.g."After 14:00"
check_out_timestringe.g."Before 12:00"
front_desk_hoursstringe.g."Front desk hours: 24/7"
policiesobject[]2 fields
titlestringe.g."Child policies"
textstring[]
amenitiesobject[]3 fields
categorystringe.g."Internet"
descriptionnull
itemsobject[]2 fields
namestringe.g."Wi-Fi in public areas"
notestringe.g."Free"
photosobject[]4 fields
urlstringe.g."https://ak-d.tripcdn.com/images/0225x12000c37e42q26DF_R_960_660_R5_D.jpg"
categorystringe.g."Exterior"
titlestringe.g."Hotel Exterior"
sourcestringe.g."hotel"
checkinstringe.g."2026-12-28"
checkoutstringe.g."2026-12-30"
adultsintegere.g.2
childrenintegere.g.0
roomsintegere.g.1
availablebooleane.g.true
lowest_priceobject9 fields
total_pricenumbere.g.460.29
currencystringe.g."USD"
taxes_and_fees_includedbooleane.g.true
pay_nownumbere.g.441.81
room_namestringe.g."Classic Room With Double Bed"
mealstringe.g."Great breakfast for $22.96 (optional)"
cancellationstringe.g."Non-refundable"
free_cancellationbooleane.g.false
price_notestringe.g."Total price: $460 1 room × 2 nights incl. taxes & fees"
urlstringe.g."https://us.trip.com/hotels/detail/?hotelId=1565557&checkIn=2026-12-28&checkOut=2026-12-30&adult=2&children=0&ages=&crn=1&curr=USD"
fetched_atstringe.g."2026-11-28T14:50:47.251Z"
ageintegere.g.0

Example request

Set MAVI_KEY to your API key. A successful call costs 5 credits per call, and a failed call costs nothing.

cURL
curl 'https://api.maviapi.com/v1/sites/trip/hotel_details' \
  -H "Authorization: Bearer $MAVI_KEY"

trip.com Hotel Details API questions

What you get, what it costs and how to call it.

What does the trip.com Hotel Details API return?

One Trip.com hotel: name, description, address, WGS-84 coordinates (plus GCJ-02 for mainland China), star class, every photo in the hotel's album, amenities by category, review score and count, check-in and check-out times, other policies, and the lowest total price for the whole stay (null with available=false when nothing can be booked for those dates). The response has hotel_id, name, local_name, star_rating, star_rating_type, description, address, area and 30 more.

Which parameters does the trip.com Hotel Details API take?

Every parameter of GET /hotel_details is optional. You can pass hotel_id, checkin, checkout, adults, children, child_ages, rooms and currency.

How much does one trip.com Hotel Details API call cost?

One successful call costs 5 credits. A failed call costs nothing. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $0.98. The Free plan gives you 1,000 credits a month, with no credit card required. See plans and credit prices for everything after that.

How do I call the trip.com Hotel Details API?

Send an HTTPS GET request to https://api.maviapi.com/v1/sites/trip/hotel_details with your API key in the Authorization header, as in the example request on this page. Create a key on your API keys page, or try the endpoint first in the console with the free test key.

Is the trip.com Hotel Details API official?

No. It is an independent, hosted API from maviapi for the public data on trip.com, and it is not made, endorsed or supported by trip.com. Its parameters and response fields are documented on this page.