{"name":"Trip.com Restaurant Details API","description":"One Trip.com restaurant page by URL: name, rating, review count, price, popular dishes, features and reviews.","api_id":"generated_151ec9cd2fb0ff91e1d82e40","slug":"trip-com-restaurant-details-api","source":{"name":"Trip.com","domain":"us.trip.com","url":"https://us.trip.com/"},"category":"travel","countries":[],"languages":[],"record_types":[],"tags":[],"limitations":[],"updated":"2026-12-01","note":"Sample records are saved samples, not a live run. CleanedWeb is not affiliated with the source.","version":"2.0","versions":[{"major":2,"latest_minor":"2.0","status":"current","sunset_at":null},{"major":1,"latest_minor":"1.0","status":"deprecated","sunset_at":"2027-01-30T10:58:12.000Z"}],"changelog":[{"version":"2.0","date":"2026-12-01T10:58:12.000Z","kind":"major","changes":[{"code":"record_layout_changed","name":"","summary":"Records are now grouped: related fields sit under shared keys, so 56 field(s) have new paths (each listed below). Callers pinned to the previous major keep the previous shape until its sunset."},{"code":"field_moved","name":"features.features","summary":"Field `features` is now `features.features`."},{"code":"field_moved","name":"reviews.items","summary":"Field `reviews` is now `reviews.items`."},{"code":"field_moved","name":"_page.isfood_billboard","summary":"Field `isfood_billboard` is now `_page.isfood_billboard`."},{"code":"field_moved","name":"price.amount","summary":"Field `price` is now `price.amount`."},{"code":"field_moved","name":"images.poi_count","summary":"Field `poi_image_count` is now `images.poi_count`."},{"code":"field_moved","name":"rating.score","summary":"Field `rating` is now `rating.score`."},{"code":"field_moved","name":"rating.review_count","summary":"Field `review_count` is now `rating.review_count`."},{"code":"field_moved","name":"features.items","summary":"Field `features_string` is now `features.items`."},{"code":"field_moved","name":"location.distance_from_you","summary":"Field `distancefromyou` is now `location.distance_from_you`."},{"code":"field_moved","name":"location.distance_from_center","summary":"Field `distancefromcenter` is now `location.distance_from_center`."},{"code":"field_moved","name":"location.district_id","summary":"Field `district_id` is now `location.district_id`."},{"code":"field_moved","name":"location.district_name","summary":"Field `distritname` is now `location.district_name`."},{"code":"field_moved","name":"location.city_id","summary":"Field `city_id` is now `location.city_id`."},{"code":"field_moved","name":"location.city_name","summary":"Field `city_ename` is now `location.city_name`."},{"code":"field_moved","name":"location.district_english_name","summary":"Field `distrit_englishname` is now `location.district_english_name`."},{"code":"field_moved","name":"location.address","summary":"Field `poi_address` is now `location.address`."},{"code":"field_moved","name":"location.coordinates.gglat","summary":"Field `gglat` is now `location.coordinates.gglat`."},{"code":"field_moved","name":"location.coordinates.gglon","summary":"Field `gglon` is now `location.coordinates.gglon`."},{"code":"field_moved","name":"location.coordinates.gdlat","summary":"Field `gdlat` is now `location.coordinates.gdlat`."},{"code":"field_moved","name":"location.coordinates.gdlon","summary":"Field `gdlon` is now `location.coordinates.gdlon`."},{"code":"field_moved","name":"location.is_china","summary":"Field `is_china` is now `location.is_china`."},{"code":"field_moved","name":"contact.phones","summary":"Field `phones` is now `contact.phones`."},{"code":"field_moved","name":"images.poi","summary":"Field `poi_image` is now `images.poi`."},{"code":"field_moved","name":"_page.favorite_is_favorite","summary":"Field `favorite_is_favorite` is now `_page.favorite_is_favorite`."},{"code":"field_moved","name":"price.icon_count","summary":"Field `icon_count` is now `price.icon_count`."},{"code":"field_moved","name":"price.icon","summary":"Field `icon_icon` is now `price.icon`."},{"code":"field_moved","name":"_page.is_publish","summary":"Field `is_publish` is now `_page.is_publish`."},{"code":"field_moved","name":"alternate_name","summary":"Field `second_name` is now `alternate_name`."},{"code":"field_moved","name":"_page.have_book","summary":"Field `have_book` is now `_page.have_book`."},{"code":"field_moved","name":"location.hong_kong_macao_taiwan_type","summary":"Field `hong_kong_macao_taiwan_type` is now `location.hong_kong_macao_taiwan_type`."},{"code":"field_moved","name":"location.zone_name","summary":"Field `zone_name` is now `location.zone_name`."},{"code":"field_moved","name":"_page.quality_flag","summary":"Field `quality_flag` is now `_page.quality_flag`."},{"code":"field_moved","name":"location.country_name","summary":"Field `country_ename` is now `location.country_name`."},{"code":"field_moved","name":"price.icon_string","summary":"Field `price_icon_string` is now `price.icon_string`."},{"code":"field_moved","name":"location.translated_local_address","summary":"Field `translated_local_address` is now `location.translated_local_address`."},{"code":"field_moved","name":"location.country_id","summary":"Field `country_id` is now `location.country_id`."},{"code":"field_moved","name":"highlights","summary":"Field `high_light_reasons` is now `highlights`."},{"code":"field_moved","name":"_page.has_more_videos","summary":"Field `has_more_videos` is now `_page.has_more_videos`."},{"code":"field_moved","name":"images.total_count","summary":"Field `total_image_count` is now `images.total_count`."},{"code":"field_moved","name":"_page.show_address_card","summary":"Field `show_address_card` is now `_page.show_address_card`."},{"code":"field_moved","name":"category.name","summary":"Field `category` is now `category.name`."},{"code":"field_moved","name":"category.path","summary":"Field `category_path` is now `category.path`."},{"code":"field_moved","name":"contact.phone","summary":"Field `phone` is now `contact.phone`."},{"code":"field_moved","name":"location.street_address","summary":"Field `street_address` is now `location.street_address`."},{"code":"field_moved","name":"location.locality","summary":"Field `locality` is now `location.locality`."},{"code":"field_moved","name":"location.coordinates.latitude","summary":"Field `latitude` is now `location.coordinates.latitude`."},{"code":"field_moved","name":"location.coordinates.longitude","summary":"Field `longitude` is now `location.coordinates.longitude`."},{"code":"field_moved","name":"price.range","summary":"Field `price_range` is now `price.range`."},{"code":"field_moved","name":"features.good_to_know","summary":"Field `good_to_know` is now `features.good_to_know`."},{"code":"field_moved","name":"features.vibe","summary":"Field `features_vibe` is now `features.vibe`."},{"code":"field_moved","name":"features.amenities","summary":"Field `amenities` is now `features.amenities`."},{"code":"field_moved","name":"images.poi_urls","summary":"Field `media_poi_image` is now `images.poi_urls`."},{"code":"field_moved","name":"images.review_urls","summary":"Field `review_images` is now `images.review_urls`."},{"code":"field_moved","name":"images.list","summary":"Field `image_list` is now `images.list`."},{"code":"field_moved","name":"images.media","summary":"Field `media` is now `images.media`."},{"code":"field_moved","name":"rating.judge_comment_score","summary":"Field `judge_comment_score` is now `rating.judge_comment_score`."}]},{"version":"1.0","date":"2026-11-29T07:47:59.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_151ec9cd2fb0ff91e1d82e40_search","name":"Get Trip.com Restaurant Details by URL","description":"Return the one record of a page of this kind, given the page's URL on the site.","definition_version":"cc84a69ce5986b1b2922f609949c3db9a5c0f162cf726ee307b632e1390fc6b2","method":"POST","path":"/v1/catalog/public/apis/generated_151ec9cd2fb0ff91e1d82e40/endpoints/generated_151ec9cd2fb0ff91e1d82e40_search/run","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_151ec9cd2fb0ff91e1d82e40/endpoints/generated_151ec9cd2fb0ff91e1d82e40_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 or on another store's site: its path matches /restaurant/china/{slug}/detail/{slug}. It need not be the build page.","examples":["https://us.trip.com/restaurant/china/hong-kong/detail/australia-dairy-company-487135/"]},"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://us.trip.com/restaurant/china/hong-kong/detail/australia-dairy-company-487135/"]]}},"required":["url"],"additionalProperties":false},"output_schema":{"type":"object","additionalProperties":true,"properties":{"title":{"type":"string","minLength":1},"url":{"type":"string","format":"uri"},"overview":{"type":"string"},"popular_dishes":{"type":"string"},"features":{"type":"object","properties":{"features":{"type":"array","items":{"type":["null","string"]}},"items":{"type":"array","items":{"type":["null","string"]}},"good_to_know":{"type":"string"},"vibe":{"type":"string"},"amenities":{"type":"string"}},"additionalProperties":false},"reviews":{"type":"object","properties":{"items":{"type":"array","items":{"type":["null","string"]}}},"additionalProperties":false},"poi_id":{"type":"string"},"restaurant_id":{"type":"string"},"_page":{"type":"object","properties":{"isfood_billboard":{"type":["number","string"]},"favorite_is_favorite":{"type":["boolean","string"]},"is_publish":{"type":["boolean","string"]},"have_book":{"type":["boolean","string"]},"quality_flag":{"type":["number","string"]},"has_more_videos":{"type":["boolean","string"]}},"additionalProperties":true},"price":{"type":"object","properties":{"amount":{"type":["number","string"]},"icon_count":{"type":["number","string"]},"icon":{"type":"string"},"icon_string":{"type":"string"},"range":{"type":"string"}},"additionalProperties":false},"images":{"type":"object","properties":{"poi_count":{"type":["number","string"]},"poi":{"type":"array","items":{"properties":{"image_id":{"type":["null","string"]},"image_url":{"type":["null","string"]},"source":{"type":["null","string"]},"title":{"type":["null","string"]}},"type":["null","object"]}},"total_count":{"type":["number","string"]},"poi_urls":{"type":"array","items":{"type":["null","string"]}},"review_urls":{"type":"array","items":{"type":["null","string"]}},"list":{"type":"array","items":{"type":["null","string"]}},"media":{"type":"array","items":{"properties":{"type":{"type":["null","string"]},"url":{"type":["null","string"]}},"type":["null","object"]}}},"additionalProperties":false},"rating":{"type":"object","properties":{"score":{"type":["number","string"]},"review_count":{"type":["number","string"]},"judge_comment_score":{"type":["number","string"]}},"additionalProperties":false},"location":{"type":"object","properties":{"distance_from_you":{"type":["number","string"]},"distance_from_center":{"type":["number","string"]},"district_id":{"type":"string"},"district_name":{"type":"string"},"city_id":{"type":"string"},"city_name":{"type":"string"},"district_english_name":{"type":"string"},"address":{"type":"string"},"is_china":{"type":["number","string"]},"hong_kong_macao_taiwan_type":{"type":["number","string"]},"zone_name":{"type":"string"},"country_name":{"type":"string"},"translated_local_address":{"type":"string"},"country_id":{"type":"string"},"locality":{"type":"string"}},"additionalProperties":true},"tags":{"type":"array","items":{"properties":{"tag_id":{"type":["null","string"]},"tag_name":{"type":["null","string"]},"tag_type":{"type":["null","number","string"]}},"type":["null","object"]}},"foods":{"type":"array","items":{"properties":{"icon_url":{"type":["null","string"]}},"type":["null","object"]}},"alternate_name":{"type":"string"},"highlights":{"type":"array","items":{"properties":{"icon_type":{"type":["null","number","string"]},"title":{"type":["null","string"]},"type":{"type":["null","number","string"]}},"type":["null","object"]}},"category":{"type":"object","properties":{"name":{"type":"string"},"path":{"type":"array","items":{"type":["null","string"]}}},"additionalProperties":false},"cuisine":{"type":"string"},"name":{"type":"string"}},"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-12-01T10:58:12.503Z","live_verified":false,"request":{"input":{"url":"https://us.trip.com/restaurant/china/hong-kong/detail/australia-dairy-company-487135/"}},"records_shown":1,"records_saved":1,"records":[{"features":{"amenities":"Parking Takeout available Paid roadside parking Table service","features":["See all features"],"items":["Take out"],"vibe":"10 years in business Solo dining Trendy","good_to_know":"Vegetarian Cash only"},"category":{"name":"Restaurants in Hong Kong","path":["Travel guides","Asia","China","Hong Kong","Restaurants in Hong Kong"]},"location":{"city_name":"Hong Kong","city_id":"38","country_name":"China","country_id":"110000","distance_from_center":1.6382680907983544,"distance_from_you":12496.782338288729,"district_id":"38","district_english_name":"Hong Kong","district_name":"Hong Kong","hong_kong_macao_taiwan_type":1,"is_china":1,"locality":"Hong Kong","address":"47號 Parkes St, Jordan, Kowloon, Hong Kong","translated_local_address":"香港佐敦白加士街47號","zone_name":"Yau Ma Tei"},"_page":{"favorite_is_favorite":false,"has_more_videos":false,"have_book":false,"is_publish":true,"isfood_billboard":1,"quality_flag":1},"price":{"icon_count":1,"icon":"US$","amount":5,"icon_string":"$","range":"$"},"images":{"list":["https://ak-d.tripcdn.com/images/1001040000000c2c53368.jpg","https://ak-d.tripcdn.com/images/100o040000000c2c2E5EA.jpg","https://ak-d.tripcdn.com/images/100s040000000c2c03B51.jpg","https://ak-d.tripcdn.com/images/100t040000000c2c017BC.jpg","https://ak-d.tripcdn.com/images/100q040000000c2c363C7.jpg","https://ak-d.tripcdn.com/images/100r040000000c2c177A4.jpg"],"poi_urls":["https://ak-d.tripcdn.com/images/100h0x000000l91rnC357.jpg","https://ak-d.tripcdn.com/images/100m0x000000lgv0699AB.jpg","https://ak-d.tripcdn.com/images/10060x000000l83kaA92A.jpg","https://ak-d.tripcdn.com/images/10040x000000l6gjw7188.jpg","https://ak-d.tripcdn.com/images/100b0x000000l9v669710.jpg"],"poi_count":108,"review_urls":["https://ak-d.tripcdn.com/images/1001040000000c2c53368.jpg?proc=source%2ftrip","https://ak-d.tripcdn.com/images/100o040000000c2c2E5EA.jpg?proc=source%2ftrip","https://ak-d.tripcdn.com/images/100s040000000c2c03B51.jpg?proc=source%2ftrip","https://ak-d.tripcdn.com/images/100t040000000c2c017BC.jpg?proc=source%2ftrip","https://ak-d.tripcdn.com/images/100q040000000c2c363C7.jpg?proc=source%2ftrip","https://ak-d.tripcdn.com/images/100r040000000c2c177A4.jpg?proc=source%2ftrip"],"total_count":108},"rating":{"score":4.4,"review_count":902},"reviews":{"items":["Write a review"]},"cuisine":"Cantonese cuisine","name":"Australia Dairy Company","overview":"Dishes","poi_id":"487135","popular_dishes":"AI translated","restaurant_id":"452409","alternate_name":"澳洲牛奶公司","title":"Australia Dairy Company","url":"https://us.trip.com/restaurant/china/hong-kong/detail/australia-dairy-company-487135/"}]}],"request_example":{"body":{"input":{"url":"https://us.trip.com/restaurant/china/hong-kong/detail/australia-dairy-company-487135/"},"version":2,"max_items":25},"curl":"curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_151ec9cd2fb0ff91e1d82e40/endpoints/generated_151ec9cd2fb0ff91e1d82e40_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://us.trip.com/restaurant/china/hong-kong/detail/australia-dairy-company-487135/\"\n  },\n  \"version\": 2,\n  \"max_items\": 25\n}'"},"result":{"method":"GET","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_151ec9cd2fb0ff91e1d82e40/endpoints/generated_151ec9cd2fb0ff91e1d82e40_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-restaurant-details-api/","markdown":"https://cleanedweb.com/catalog/trip-com-restaurant-details-api/index.md","live_contract":"https://app.cleanedweb.com/api/catalog/apis/generated_151ec9cd2fb0ff91e1d82e40/endpoints/generated_151ec9cd2fb0ff91e1d82e40_search/contract","run_docs":"https://cleanedweb.com/docs/run-catalog-api/"}}],"links":{"page":"https://cleanedweb.com/catalog/trip-com-restaurant-details-api/","markdown":"https://cleanedweb.com/catalog/trip-com-restaurant-details-api/index.md","contract":"https://cleanedweb.com/catalog/trip-com-restaurant-details-api/contract.json","catalog":"https://cleanedweb.com/catalog/","index":"https://cleanedweb.com/catalog/index.json","openapi":"https://cleanedweb.com/catalog/openapi.json"}}
