{"name":"trip.com Venue Details API","description":"The record of a Venue Details page on trip.com, read from the page's URL.","api_id":"generated_d2002e700ee09001d194ebb4","slug":"trip-com-venue-details-api","source":{"name":"Trip","domain":"trip.com","url":"https://www.trip.com/"},"category":"travel","countries":[],"languages":[],"record_types":[],"tags":[],"limitations":[],"updated":"2026-11-30","note":"Sample records are saved samples, not a live run. CleanedWeb is not affiliated with the source.","version":"1.0","versions":[{"major":1,"latest_minor":"1.0","status":"current","sunset_at":null}],"changelog":[{"version":"1.0","date":"2026-11-29T06:49:49.000Z","kind":"major","changes":[]}],"version_note":"Pin a major with \"version\": N in the run body (an integer). Leave it out and the call runs on the latest major. A sunset major runs on the latest major and the response says rerouted. An unknown major answers 404 catalog_version_not_found and lists the available majors.","endpoints":[{"endpoint_id":"generated_d2002e700ee09001d194ebb4_search","name":"Get trip.com Venue Details by URL","description":"Return the one record of a page of this kind, given the page's URL on the site.","definition_version":"828a47a0f0cb41343ce8d0232debfa2a3f09db3da0c0ce4f16094d022ee8b950","method":"POST","path":"/v1/catalog/public/apis/generated_d2002e700ee09001d194ebb4/endpoints/generated_d2002e700ee09001d194ebb4_search/run","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_d2002e700ee09001d194ebb4/endpoints/generated_d2002e700ee09001d194ebb4_search/run","authentication":{"type":"bearer","scheme":"Authorization: Bearer <API key>","scope":"run","note":"Reading this file and the live catalog needs no credential. A run needs a CleanedWeb account and uses the credits of its workspace.","docs":"https://cleanedweb.com/docs/run-catalog-api/"},"required_headers":[{"name":"Authorization","value":"Bearer YOUR_API_KEY","description":"An API key with the run scope."},{"name":"Idempotency-Key","value":"UNIQUE_REQUEST_ID","description":"Required. Save it before you send; reuse it only to retry the same request and to read the result. 1-200 characters: letters, numbers, . _ : -"},{"name":"Content-Type","value":"application/json","description":"The body is JSON."}],"request_body":{"input":"An object that follows input_schema.","max_items":"Optional. Stop after this many records.","timeout_seconds":"Optional, 60-86400, default 10800.","wait_seconds":"Optional, 0-86400, default 90. How long the request waits before answering 202.","version":"Optional integer major. Leave it out for the latest major."},"input_schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","minLength":1,"description":"A page of the same kind as the build page, on trip.com: its path matches /hotels/{slug}/{slug}. It need not be the build page.","examples":["https://www.trip.com/hotels/beijing-hotel-detail-112202538/ruyi-freey-hotel/"]},"urls":{"type":"array","minItems":1,"maxItems":50,"items":{"type":"string","format":"uri","minLength":1},"description":"Pages of that kind (1 to 50 in all, with url): one record each, in this order, once per page; a call may give urls and no url. A page that fails (off the pattern, unreadable, no product data) is told by its code in the run's metadata (item_pages) and does not fail the run while another page is read.","examples":[["https://www.trip.com/hotels/beijing-hotel-detail-112202538/ruyi-freey-hotel/"]]}},"required":["url"],"additionalProperties":false},"output_schema":{"type":"object","properties":{"title":{"type":"string","minLength":1},"url":{"type":"string","format":"uri"},"check_in_check_out":{"type":"string"},"nearby_attractions":{"type":"string"},"amenity_highlights":{"type":"string"},"services_amenities":{"type":"string"},"property_policies":{"type":"string"},"property_description":{"type":"string"},"about_this_property":{"type":"string"},"adult":{"type":"string"},"category":{"type":"string"},"category_path":{"type":"array","items":{"type":["null","string"]}},"image":{"type":"string"},"locality":{"type":"string"},"region":{"type":"string"},"country":{"type":"string"},"rating":{"type":"string"},"review_count":{"type":"string"},"price_range":{"type":"string"},"recent_reviews":{"type":"string"},"media":{"type":"array","items":{"properties":{"type":{"type":["null","string"]},"url":{"type":["null","string"]}},"type":["null","object"]}},"name":{"type":"string"}},"additionalProperties":true,"required":["title","url"]},"output_schema_note":"Some fields the source returns are not published here (identifiers, personal details and page-building noise). A record can carry fields this schema does not list, so additionalProperties is true. Do not reject a record for an extra field. The live contract, linked as live_contract, lists every field the saved definition declares.","examples":[{"kind":"saved_validation_records","saved_at":"2026-11-29T06:49:49.942Z","live_verified":false,"request":{"input":{"url":"https://www.trip.com/hotels/beijing-hotel-detail-112202538/ruyi-freey-hotel/"}},"records_shown":1,"records_saved":1,"records":[{"about_this_property":"Nearest Airport Beijing Capital Intl. Airport Distance to Airport 28.49KM Nearest Train Station Beijingdong Railway Station Distance to Train Station 4.96KM Nearest Subway Station Guangqumenwai Distance to Subway Station 0.9KM Average Price From USD72 Hotel Star Rating 3","adult":"CNY 15.00 (approx. US$2.25) per person","amenity_highlights":"Pets policy: Pets are not allowed. Breakfast style: Chinese Food & Drink: Room service, Cafe, Restaurant, Convenience store/kiosk, Lobby bar","category":"Hotels in Beijing","category_path":["Hotels","Hotels in China","Hotels in Beijing"],"check_in_check_out":"From 14:00 until 12:00","country":"China","image":"https://ak-d.tripcdn.com/images/1mc2312000ro3z3vu83C2_R_960_660_R5_D.jpg","locality":"1st Floor, Building 3, No. 16 Courtyard, Guanghe Nanli 2nd Alley","name":"Ruyi FREEY Hotel (Beijing Panjiayuan Jinsong Subway Station Branch)","nearby_attractions":"Longtan Park: 1.22 km away Red Theater: 1.99 km away Chongwen Workers' Cultural Palace: 1.97 km away","price_range":"From US$38","property_policies":"Check-in and Check-out Times Check-in: After 14:00 Check-out: Before 12:00 Front desk hours: 24/7 The property will provide check-in details after booking Guests Accepted Guests from all countries/regions are welcome at this property Child policies Children of all ages are welcome at this property. Children between 0 and 17 years old can stay for free if no extra bed is needed. Cribs and Extra Beds For all room types, cribs and extra beds cannot be added. Breakfast Option: Boxed/packaged food Cuisine: Chinese Opening hours: [Mon - Sun] 07:00-10:00 Open Children 17 years old and under CNY 15.00 (approx. US$2.25) per person Adult CNY 15.00 (approx. US$2.25) per person Contact the property to see if extra breakfast is available. If so, you can pay for it at the property. Deposit Policy DepositNo deposit required by the property Pets Pets are not allowed Service animals Service animals are allowed on request Age Requirements The main guest checking in must be at least 18 years old Paying at the hotel Cash","rating":"9.2","recent_reviews":"599","region":"Beijing","review_count":"5539","services_amenities":"Restaurant 早餐厅 Style: A la carte Cuisine: Chinese Open for: Breakfast Special dietary options: Vegetarian Ambience: Traditional Dining options: Property guests only Business hours: [Mon - Sun] 06:30-22:00","title":"Ruyi FREEY Hotel (Beijing Panjiayuan Jinsong Subway Station Branch)","url":"https://www.trip.com/hotels/beijing-hotel-detail-112202538/ruyi-freey-hotel/"}]}],"request_example":{"body":{"input":{"url":"https://www.trip.com/hotels/beijing-hotel-detail-112202538/ruyi-freey-hotel/"},"version":1,"max_items":25},"curl":"curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_d2002e700ee09001d194ebb4/endpoints/generated_d2002e700ee09001d194ebb4_search/run \\\n  -H \"Authorization: Bearer YOUR_API_KEY\" \\\n  -H \"Idempotency-Key: UNIQUE_REQUEST_ID\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n  \"input\": {\n    \"url\": \"https://www.trip.com/hotels/beijing-hotel-detail-112202538/ruyi-freey-hotel/\"\n  },\n  \"version\": 1,\n  \"max_items\": 25\n}'"},"result":{"method":"GET","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_d2002e700ee09001d194ebb4/endpoints/generated_d2002e700ee09001d194ebb4_search/result","note":"A run that does not end within wait_seconds answers 202. Read the result with the same API key and the same Idempotency-Key."},"links":{"page":"https://cleanedweb.com/catalog/trip-com-venue-details-api/","markdown":"https://cleanedweb.com/catalog/trip-com-venue-details-api/index.md","live_contract":"https://app.cleanedweb.com/api/catalog/apis/generated_d2002e700ee09001d194ebb4/endpoints/generated_d2002e700ee09001d194ebb4_search/contract","run_docs":"https://cleanedweb.com/docs/run-catalog-api/"}}],"links":{"page":"https://cleanedweb.com/catalog/trip-com-venue-details-api/","markdown":"https://cleanedweb.com/catalog/trip-com-venue-details-api/index.md","contract":"https://cleanedweb.com/catalog/trip-com-venue-details-api/contract.json","catalog":"https://cleanedweb.com/catalog/","index":"https://cleanedweb.com/catalog/index.json","openapi":"https://cleanedweb.com/catalog/openapi.json"}}
