Tripadvisor API

API ID 16038

旅行数据:任何目的地的酒店、餐厅、景点和旅游项目,支持使用所有筛选条件搜索,查看预订网站上的酒店价格、详情、评价、照片和营业时间

API 文档

端点

请求
返回目的地景点搜索所采用的筛选条件(类别、评分、奖项、当前营业、建议游览时长、街区等),以及每个筛选条件的 ID 和选项的值、标签及数量
Endpoint ID: 45472
GET https://zylalabs.com/api/16038/tripadvisor+api/45472/attraction+filters
输入参数

景点筛选条件 — 端点功能

对象 描述
geo_id 必需 Destination id (e.g. "60763") or the tripadvisor.com link of its page.

剩余免费测试请求:3 / 3。


输入参数

geo_id
API 示例响应
JSON
{
    "geo_id": 60763,
    "filters": [
        {
            "id": "category",
            "label": "Types of attractions",
            "type": "list",
            "options": [
                {
                    "value": "40",
                    "label": "Spas & Wellness",
                    "count": 1133,
                    "is_selected": false
                },
                {
                    "value": "49",
                    "label": "Museums",
                    "count": 1052,
                    "is_selected": false
                },
                {
                    "value": "20",
                    "label": "Nightlife",
                    "count": 869,
                    "is_selected": false
                },
                {
                    "value": "47",
                    "label": "Sights & Landmarks",
                    "count": 831,
                    "is_selected": false
                },
                {
                    "value": "56",
                    "label": "Fun & Games",
                    "count": 510,
                    "is_selected": false
                },
                {
                    "value": "57",
                    "label": "Nature & Parks",
                    "count": 449,
                    "is_selected": false
                },
                {
                    "value": "41",
                    "label": "Classes & Workshops",
                    "count": 307,
                    "is_selected": false
                },
                {
                    "value": "55",
                    "label": "Boat Tours & Water Sports",
                    "count": 216,
                    "is_selected": false
                },
                {
                    "value": "53",
                    "label": "Casinos & Gambling",
                    "count": 10,
                    "is_selected": false
                },
                {
                    "value": "52",
                    "label": "Water & Amusement Parks",
                    "count": 9,
                    "is_selected": false
                },
                {
                    "value": "48",
                    "label": "Zoos & Aquariums",
                    "count": 5,
                    "is_selected": false
                }
            ]
        },
        {
            "id": "rating",
            "label": "Traveler rating",
            "type": "list",
            "options": [
                {
                    "value": "50",
                    "label": "5 of 5",
                    "count": 1274,
                    "is_selected": false
                },
                {
                    "value": "40",
                    "label": "4 of 5",
                    "count": 376,
                    "is_selected": false
                },
                {
                    "value": "30",
                    "label": "3 of 5",
                    "count": 140,
                    "is_selected": false
                },
                {
                    "value": "20",
                    "label": "2 of 5",
                    "count": 33,
                    "is_selected": false
                }
            ]
        },
        {
            "id": "openNow",
            "label": "Open now",
            "type": "list",
            "options": [
                {
                    "value": "true",
                    "label": "Open now",
                    "count": 531,
                    "is_selected": false
                }
            ]
        }
    ]
}
景点筛选条件 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16038/tripadvisor+api/45472/attraction+filters?geo_id=60763' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回目的地的景点(可进行的活动),每个景点包含其地点 ID、名称、排名、评分、评论数量、类别、营业状态、街区、奖项和照片。每页 30 个景点。
Endpoint ID: 45473
GET https://zylalabs.com/api/16038/tripadvisor+api/45473/search+attractions
输入参数

搜索景点 — 端点功能

对象 描述
geo_id 必需 Destination id (e.g. "60763" for New York City) or the tripadvisor.com link of its page. Use the /search/autocomplete endpoint with type "geos" to list valid values.
sort 可选 Optional sort order: traveler_favorites or traveler_ranking.
filters 可选 Optional semicolon-separated filters, each a filter id and its values joined with ":" (e.g. "category:47"). Use the /attraction/filters endpoint to list valid values.
page 可选 Optional page number from 1 to 50 (defaults to 1).

剩余免费测试请求:3 / 3。


输入参数

geo_id
sort
filters
page
API 示例响应
JSON
{
    "geo_id": 60763,
    "page": 1,
    "has_more": true,
    "results": [
        {
            "location_id": 105127,
            "name": "Central Park",
            "type": "attraction",
            "rank": 1,
            "rating": 4.7,
            "reviews_count": 134504,
            "info": [
                "Points of Interest & Landmarks",
                "Parks"
            ],
            "secondary_info": [
                "Open now",
                "Central Park"
            ],
            "distance": null,
            "labels": [],
            "award": {
                "type": "best_of_best",
                "year": 2026
            },
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/2f/c4/c8/4b/caption.jpg?w=1536&h=2048&s=1"
        },
        {
            "location_id": 105125,
            "name": "The Metropolitan Museum of Art",
            "type": "attraction",
            "rank": 2,
            "rating": 4.8,
            "reviews_count": 55588,
            "info": [
                "Points of Interest & Landmarks",
                "Art Museums"
            ],
            "secondary_info": [
                "Central Park"
            ],
            "distance": null,
            "labels": [],
            "award": {
                "type": "best_of_best",
                "year": 2026
            },
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/24/61/95/89/the-met-fifth-avenue.jpg?w=4764&h=3456&s=1",
            "price_text": "Tickets from $51"
        },
        {
            "location_id": 1687489,
            "name": "The National 9/11 Memorial & Museum",
            "type": "attraction",
            "rank": 3,
            "rating": 4.7,
            "reviews_count": 99247,
            "info": [
                "Historic Sites",
                "Specialty Museums"
            ],
            "secondary_info": [
                "Downtown Manhattan (Downtown)"
            ],
            "distance": null,
            "labels": [],
            "award": {
                "type": "best_of_best",
                "year": 2026
            },
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/14/b3/aa/b3/911-memorial-nyc.jpg?w=4032&h=3024&s=1",
            "price_text": "Tickets from $36"
        },
        {
            "location_id": 104365,
            "name": "Empire State Building",
            "type": "attraction",
            "rank": 4,
            "rating": 4.5,
            "reviews_count": 97180,
            "info": [
                "Points of Interest & Landmarks",
                "Architectural Buildings"
            ],
            "secondary_info": [
                "Midtown"
            ],
            "distance": null,
            "labels": [],
            "award": {
                "type": "best_of_best",
                "year": 2026
            },
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/0e/9d/74/9f/photo0jpg.jpg?w=2048&h=1536&s=1",
            "price_text": "Tickets from $51"
        },
        {
            "location_id": 587661,
            "name": "Top of the Rock",
            "type": "attraction",
            "rank": 5,
            "rating": 4.6,
            "reviews_count": 81555,
            "info": [
                "Lookouts",
                "Observation Decks & Towers"
            ],
            "secondary_info": [
                "Midtown"
            ],
            "distance": null,
            "labels": [],
            "award": null,
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/15/64/68/68/new-york-traumblick-auf.jpg?w=1200&h=800&s=1",
            "price_text": "Tickets from $73"
        },
        {
            "location_id": 519474,
            "name": "The High Line",
            "type": "attraction",
            "rank": 6,
            "rating": 4.5,
            "reviews_count": 63428,
            "info": [
                "Parks",
                "Scenic Walking Areas"
            ],
            "secondary_info": [
                "Greenwich Village"
            ],
            "distance": null,
            "labels": [],
            "award": {
                "type": "traveller_choice",
                "year": 2026
            },
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/34/e9/9e/54/caption.jpg?w=1828&h=956&s=1"
        },
        {
            "location_id": 110145,
            "name": "Times Square",
            "type": "attraction",
            "rank": 7,
            "rating": 4.3,
            "reviews_count": 57218,
            "info": [
                "Points of Interest & Landmarks"
            ],
            "secondary_info": [
                "Open now",
                "Theater District"
            ],
            "distance": null,
            "labels": [],
            "award": {
                "type": "traveller_choice",
                "year": 2026
            },
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/17/97/38/c7/one-of-my-favourite-places.jpg?w=1536&h=2048&s=1",
            "price_text": "Tickets from $38"
        }
    ]
}
搜索景点 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16038/tripadvisor+api/45473/search+attractions?geo_id=60763&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回酒店的所有设施,并按类别分组(停车、互联网、餐饮、客房设施、服务等)
Endpoint ID: 45474
GET https://zylalabs.com/api/16038/tripadvisor+api/45474/hotel+amenities
输入参数

酒店设施 — 端点功能

对象 描述
hotel_id 必需 Hotel location id (e.g. "93589") or the tripadvisor.com link of its page.

剩余免费测试请求:3 / 3。


输入参数

hotel_id
API 示例响应
JSON
{
    "hotel_id": 93589,
    "groups": [
        {
            "group": "Parking",
            "amenities": [
                "Paid private parking on-site",
                "Parking"
            ]
        },
        {
            "group": "Internet",
            "amenities": [
                "Free High Speed Internet (WiFi)",
                "Public wifi",
                "Paid wifi"
            ]
        },
        {
            "group": "Fitness",
            "amenities": [
                "Fitness Center with Gym / Workout Room"
            ]
        },
        {
            "group": "Food & drink",
            "amenities": [
                "Bar / lounge",
                "Restaurant",
                "Breakfast available",
                "Breakfast in the room"
            ]
        },
        {
            "group": "Things to do",
            "amenities": [
                "Walking tours"
            ]
        },
        {
            "group": "Transportation",
            "amenities": [
                "Airport transportation",
                "Taxi service"
            ]
        },
        {
            "group": "Business",
            "amenities": [
                "Business Center with Internet Access",
                "Conference facilities",
                "Banquet room",
                "Meeting rooms"
            ]
        },
        {
            "group": "Comfort",
            "amenities": [
                "Bathrobes"
            ]
        },
        {
            "group": "Room features",
            "amenities": [
                "Air conditioning",
                "Desk",
                "Housekeeping",
                "Room service",
                "Safe",
                "Telephone",
                "Iron",
                "Laptop safe",
                "Wake-up service / alarm clock"
            ]
        },
        {
            "group": "Kitchen",
            "amenities": [
                "Minibar"
            ]
        },
        {
            "group": "Entertainment",
            "amenities": [
                "Cable / satellite TV",
                "On-demand movies"
            ]
        },
        {
            "group": "Bath",
            "amenities": [
                "Bath / shower",
                "Complimentary toiletries",
                "Hair dryer"
            ]
        },
        {
            "group": "Room types",
            "amenities": [
                "Non-smoking rooms",
                "Suites",
                "Family rooms"
            ]
        },
        {
            "group": "General",
            "amenities": [
                "24-hour security",
                "Baggage storage",
                "Concierge",
                "Non-smoking hotel",
                "ATM on site",
                "Doorperson"
            ]
        },
        {
            "group": "Reception services",
            "amenities": [
                "24-hour front desk",
                "Express check-in / check-out"
            ]
        },
        {
            "group": "Cleaning services",
            "amenities": [
                "Dry cleaning",
                "Laundry service",
                "Ironing service"
            ]
        }
    ]
}
酒店设施 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16038/tripadvisor+api/45474/hotel+amenities?hotel_id=93589' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回目的地酒店搜索所采用的筛选条件(价格、设施、酒店等级、风格、品牌、社区等),每项均包含其 ID,以及带有值、标签和数量的选项
Endpoint ID: 45475
GET https://zylalabs.com/api/16038/tripadvisor+api/45475/hotel+filters
输入参数

酒店筛选条件 — 端点功能

对象 描述
geo_id 必需 Destination id (e.g. "60763") or the tripadvisor.com link of its page.

剩余免费测试请求:3 / 3。


输入参数

geo_id
API 示例响应
JSON
{
    "geo_id": 60763,
    "filters": [
        {
            "id": "price",
            "label": "Price",
            "type": "range",
            "min": 0,
            "max": 2765,
            "options": []
        }
    ]
}
酒店筛选条件 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16038/tripadvisor+api/45475/hotel+filters?geo_id=60763' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回指定日期和入住人数下该酒店在各预订网站上的每晚价格,包括预订网站、价格、房价、税费、费用、空房情况、取消详情和预订链接
Endpoint ID: 45476
GET https://zylalabs.com/api/16038/tripadvisor+api/45476/hotel+offers
输入参数

酒店优惠 — 端点功能

对象 描述
hotel_id 必需 Hotel location id (e.g. "93589") or the tripadvisor.com link of its page.
check_in 必需 Check-in date in YYYY-MM-DD format.
check_out 必需 Check-out date in YYYY-MM-DD format, 1 to 30 nights after "check_in".
adults 可选 Optional number of adults, 1 to 32 (defaults to 2).
rooms 可选 Optional number of rooms, 1 to 8 (defaults to 1).
children_ages 可选 Optional comma-separated ages of the children, 0 to 17 (e.g. "4,9").

剩余免费测试请求:3 / 3。


输入参数

hotel_id
check_in
check_out
adults
rooms
children_ages
API 示例响应
JSON
{
    "hotel_id": 93589,
    "check_in": "2027-01-15",
    "check_out": "2027-01-17",
    "rooms": 1,
    "adults": 2,
    "children_ages": [],
    "currency": "USD",
    "is_complete": true,
    "offers": [
        {
            "provider": "Hopper",
            "price": "$617",
            "price_value": 617.3,
            "rate": 300.65,
            "taxes": 8,
            "fees": 0,
            "currency": "USD",
            "status": "available",
            "details": [
                "Fully Refundable Options until 01/13/27"
            ],
            "provider_logo": "https://www.tripadvisor.com/img2/branding/hotels/ta_logo_hopper_384164.png",
            "booking_url": "https://www.tripadvisor.com/ThirdPartyRedirect?p=Hopper&src=250374565&geo=93589&from=HotelDateSearch_APS&slot=1&matchID=1&oos=0&cnt=16&silo=48950&bucket=1011824&nrank=1&crank=0&clt=PBM&ttype=PartnerBookMobile&tm=376296112&managed=false&capped=false&gosox=XiBVKdwn3F1ijKKKXhEx1JQAJyyNhyYWhcaujYWGwBejl7hGZWGDRCs_nAtcVPgixjMwm_vv4FzRBtg4A0GNTc30gLHtcuIeCu8u12DhVfz-18jrw2uF9k715eZvCNvW&priceShown=617.30&pm=AIFS&hac=AVAILABLE&mbl=NONE&mbldelta=0&rq=P&rate=300.65&taxesRate=8.00&feesRate=0.00&fees=8.00&cur=USD&adults=2&child_rm_ages=&inDay=15&outDay=17&rdex=RDEX_3fc3364666974536f09d015caf3ed249&rooms=1&inMonth=1&inYear=2027&outMonth=1&outYear=2027&auid=b5e06b3c-fde5-4248-a716-112138f7a367&def_d=false&bh=true&cs=1192b72fb54ed529212c95597d6353873&ik=3d61ca0b94934d7897f9ae26b384df55&aok=d46f59e2e36447c0ab5b297508849cea&tp=APS-&pageLocId=93589"
        },
        {
            "provider": "Expedia.com",
            "price": "$810",
            "price_value": 810.48,
            "rate": 305.1,
            "taxes": 55.14,
            "fees": 45,
            "currency": "USD",
            "status": "available",
            "details": [],
            "provider_logo": null,
            "booking_url": "https://www.tripadvisor.com/Commerce?p=Expedia&src=32700269&geo=93589&from=HotelDateSearch_APS&slot=2&matchID=1&oos=0&cnt=16&silo=4310&bucket=910487&nrank=2&crank=1&clt=M&ttype=MobileCR&tm=376296112&managed=false&capped=false&gosox=r0-LwqYvxFmderOu77URwcstZTx1RoJK0E0csSu4OYnAsGrClV7KgUb5jwdbr4USjORCzLDg0XQ1F27TlR88FjivFiDge7F4wWSkRtP_oILse-8ZsTddlvkMPh6M0Bs5evPaJiMQzniCC_R5dLN4p5tYiJBb7Mmz3wtv-qsuu1R98dlI0pzVwMJK3i3huXThbc-VXdKaNwMPFBlih2-8qHShoC_DWwaWu8fZjs40CwMibg0eem2Z6XSEBzTYVA4fNTS2_AOkjlMI8Q_cRIUIiVYoauuIDJsPLHxpvc98Zlo&priceShown=810.48&pm=AIFS&hac=AVAILABLE&mbl=LOSE&mbldelta=18500&rq=P&rate=305.10&taxesRate=55.14&feesRate=45.00&fees=100.14&cur=USD&adults=2&child_rm_ages=&inDay=15&outDay=17&rdex=RDEX_312799e92f24d3840bf105e9fa91fba8&rooms=1&inMonth=1&inYear=2027&outMonth=1&outYear=2027&auid=b5e06b3c-fde5-4248-a716-112138f7a367&def_d=false&bld=L_2,D_42,G_2,W_5,U_0,C_270115,T_22&bh=true&cs=14b1a44c4935acc0e4a9ae1dabcd21e13&ik=3d61ca0b94934d7897f9ae26b384df55&aok=3c47c1f9c85647e7902c1f353477896a&tp=APS-&pageLocId=93589"
        },
        {
            "provider": "Hotels.com",
            "price": "$810",
            "price_value": 810.48,
            "rate": 305.1,
            "taxes": 55.14,
            "fees": 45,
            "currency": "USD",
            "status": "available",
            "details": [],
            "provider_logo": null,
            "booking_url": "https://www.tripadvisor.com/Commerce?p=HotelsCom2&src=34500028&geo=93589&from=HotelDateSearch_APS&slot=3&matchID=1&oos=0&cnt=16&silo=6103&bucket=901605&nrank=1&crank=2&clt=M&ttype=MobileCR&tm=376296112&managed=false&capped=false&gosox=VHgF3gqGPYNELyNuwBnif8HEleLC6wW5HEQ6ifLn2UepALDupr8EEc-M-U_h0gIKZgwZRTSsZPCmHA7_NkZgVw5x-gjlkLSqIdvQl5YOF-M-NoS1Sul1I-Gkh5iB8SuhT-jPiXyEyvRc2BYkbbJaf0wz6iXhgqdPGd8gkSN7FiA7CN5cvNkng2HVoN4ouLzKdf2rQowDsOHnGboXxB-HUxek_BQtPhEuiAbed3CKI7nUhs5f-dV9QDIwaSawZC2pxDheIR6kMCdpnqbCB7eTUPqQGBPWb3VdVX1abQ3ejvc-TwFzxKR6pPZbdpMSzK5C&priceShown=810.48&pm=AIFS&hac=AVAILABLE&mbl=LOSE&mbldelta=18500&rq=P&rate=305.10&taxesRate=55.14&feesRate=45.00&fees=100.14&cur=USD&adults=2&child_rm_ages=&inDay=15&outDay=17&rdex=RDEX_581f4be35033157e47ab7de58250851e&rooms=1&inMonth=1&inYear=2027&outMonth=1&outYear=2027&auid=b5e06b3c-fde5-4248-a716-112138f7a367&def_d=false&bld=L_2,D_42,G_2,W_5,U_0,C_270115,T_22&bh=true&cs=18e81f2ec9bbc460b7f81cbabf2568921&ik=3d61ca0b94934d7897f9ae26b384df55&aok=f912bc0dcdbe49538dd8a797e7a0437f&tp=APS-&pageLocId=93589"
        },
        {
            "provider": "Algotels",
            "price": "$625",
            "price_value": 625.28,
            "rate": 224.4,
            "taxes": 39.74,
            "fees": 48.5,
            "currency": "USD",
            "status": "available",
            "details": [],
            "provider_logo": null,
            "booking_url": "https://www.tripadvisor.com/Commerce?p=Splitty&src=209107236&geo=93589&from=HotelDateSearch_APS&slot=4&matchID=1&oos=0&cnt=16&silo=41662&bucket=963192&nrank=7&crank=7&clt=M&ttype=MobileCR&tm=376296112&managed=true&capped=false&gosox=8zgV3ho4P_Cvyn9xvm15GmPWm8aud2cwPABJ2xFcKL2Lw9tBGflq3VBxg699GyNYF5DGM_ysCx2vWbWCaGTDc8CWY8qlV43ysG7zO7N5Hhz7E5ZpZhB5p3_bTZzMLb8Ji8ZLb7roGqb4TXJzfDv7sM0qR48EvUIzKIn2V-afTcgQ1I0wFeDLeNpiIrrhr4gOro-FWdRGyc2dVwQnHC9jJnrkXH8hFuXm33Uq9GTuoSgIQcZ1w_zyytQZm2XhPQT9SIbNG3Qcqx-FdkojEooOpXJNfRxolFz6UH87YKT8cws&priceShown=625.28&pm=AIFS&hac=AVAILABLE&mbl=MEET&mbldelta=0&rq=ML&rate=224.40&taxesRate=39.74&feesRate=48.50&fees=88.24&cur=USD&adults=2&child_rm_ages=&inDay=15&outDay=17&rdex=RDEX_15abf04ee5aaa75072fe345ab824952&rooms=1&inMonth=1&inYear=2027&outMonth=1&outYear=2027&auid=b5e06b3c-fde5-4248-a716-112138f7a367&def_d=false&bld=L_2,D_42,G_2,W_5,U_0,C_270115,T_22&bh=true&cs=1954422f8250a9676b17430fe9d0aff78&ik=3d61ca0b94934d7897f9ae26b384df55&aok=611502ee7cd44e628372ab6dbd0723d0&tp=APS-&pageLocId=93589"
        }
    ]
}
酒店优惠 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16038/tripadvisor+api/45476/hotel+offers?hotel_id=93589&check_in=2027-01-15&check_out=2027-01-17&adults=2&rooms=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回某个目的地的酒店列表,每家酒店包含位置 ID、名称、排名、评分、评论数量、奖项、标签和照片;对于指定日期,还包含最低价格、预订网站、划线价和详情。每页 30 家酒店
Endpoint ID: 45477
GET https://zylalabs.com/api/16038/tripadvisor+api/45477/search+hotels
输入参数

搜索酒店 — 端点功能

对象 描述
geo_id 必需 Destination id (e.g. "60763" for New York City) or the tripadvisor.com link of its page. Use the /search/autocomplete endpoint with type "geos" to list valid values.
check_in 可选 Optional check-in date in YYYY-MM-DD format; with "check_out" the hotels come with prices.
check_out 可选 Optional check-out date in YYYY-MM-DD format, 1 to 30 nights after "check_in".
adults 可选 Optional number of adults, 1 to 32 (defaults to 2).
rooms 可选 Optional number of rooms, 1 to 8 (defaults to 1).
children_ages 可选 Optional comma-separated ages of the children, 0 to 17 (e.g. "4,9").
sort 可选 Optional sort order: best_value, traveler_ranking, price_low_to_high or distance_to_city_center.
filters 可选 Optional semicolon-separated filters, each a filter id and its values joined with ":" (e.g. "amenity:9176,6217;price:100,300"). Use the /hotel/filters endpoint to list valid values.
page 可选 Optional page number from 1 to 50 (defaults to 1).

剩余免费测试请求:3 / 3。


输入参数

geo_id
check_in
check_out
adults
rooms
children_ages
sort
filters
page
API 示例响应
JSON
{
    "geo_id": 60763,
    "page": 1,
    "has_more": true,
    "results": [
        {
            "location_id": 1938661,
            "name": "ROW NYC",
            "type": "hotel",
            "rank": 1,
            "rating": 4.2,
            "reviews_count": 503,
            "info": [],
            "secondary_info": [],
            "distance": null,
            "labels": [],
            "award": null,
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/33/48/05/2b/caption.jpg?w=8192&h=5464&s=1"
        },
        {
            "location_id": 23448880,
            "name": "Motto by Hilton New York City Chelsea",
            "type": "hotel",
            "rank": 2,
            "rating": 4.8,
            "reviews_count": 2314,
            "info": [],
            "secondary_info": [],
            "distance": null,
            "labels": [],
            "award": null,
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/33/53/19/d2/exterior.jpg?w=1500&h=1000&s=1"
        },
        {
            "location_id": 11998087,
            "name": "Embassy Suites By Hilton New York Manhattan Times Square",
            "type": "hotel",
            "rank": 3,
            "rating": 4.3,
            "reviews_count": 3186,
            "info": [
                "Free breakfast available"
            ],
            "secondary_info": [],
            "distance": null,
            "labels": [],
            "award": {
                "type": "traveller_choice",
                "year": 2026
            },
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/12/67/2e/ab/exterior.jpg?w=2000&h=1335&s=1"
        },
        {
            "location_id": 93520,
            "name": "Park Central Hotel New York",
            "type": "hotel",
            "rank": 4,
            "rating": 4,
            "reviews_count": 9992,
            "info": [],
            "secondary_info": [],
            "distance": null,
            "labels": [],
            "award": null,
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/01/cf/a5/24/park-central-hotel-front.jpg?w=4307&h=3159&s=1"
        },
        {
            "location_id": 671150,
            "name": "The Empire Hotel",
            "type": "hotel",
            "rank": 5,
            "rating": 3.7,
            "reviews_count": 10099,
            "info": [],
            "secondary_info": [],
            "distance": null,
            "labels": [],
            "award": null,
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1a/99/91/1b/the-empire-hotel.jpg?w=1200&h=1200&s=1"
        },
        {
            "location_id": 8035866,
            "name": "Hampton Inn Manhattan/Times Square Central",
            "type": "hotel",
            "rank": 6,
            "rating": 4.5,
            "reviews_count": 3997,
            "info": [
                "Free breakfast available"
            ],
            "secondary_info": [],
            "distance": null,
            "labels": [],
            "award": {
                "type": "traveller_choice",
                "year": 2026
            },
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/33/f6/ee/eb/exterior.jpg?w=1499&h=999&s=1"
        },
        {
            "location_id": 15237449,
            "name": "Artezen Hotel",
            "type": "hotel",
            "rank": 7,
            "rating": 4.9,
            "reviews_count": 969,
            "info": [],
            "secondary_info": [],
            "distance": null,
            "labels": [],
            "award": {
                "type": "traveller_choice",
                "year": 2026
            },
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/16/b2/24/f7/entrance.jpg?w=1719&h=1376&s=1"
        },
        {
            "location_id": 93335,
            "name": "The Kimberly Hotel",
            "type": "hotel",
            "rank": 8,
            "rating": 4.6,
            "reviews_count": 3781,
            "info": [],
            "secondary_info": [],
            "distance": null,
            "labels": [],
            "award": {
                "type": "traveller_choice",
                "year": 2026
            },
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/32/6d/67/e3/caption.jpg?w=1800&h=1200&s=1"
        },
        {
            "location_id": 2079052,
            "name": "YOTEL New York Times Square",
            "type": "hotel",
            "rank": 9,
            "rating": 4.1,
            "reviews_count": 15451,
            "info": [],
            "secondary_info": [],
            "distance": null,
            "labels": [],
            "award": null,
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/04/4a/6a/57/yotel-new-york-at-times.jpg?w=1280&h=887&s=1"
        },
        {
            "location_id": 93569,
            "name": "Belvedere Hotel",
            "type": "hotel",
            "rank": 10,
            "rating": 4.1,
            "reviews_count": 6673,
            "info": [],
            "secondary_info": [],
            "distance": null,
            "labels": [],
            "award": null,
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/12/57/7d/37/hotel-lobby.jpg?w=2000&h=1333&s=1"
        },
        {
            "location_id": 223019,
            "name": "Broadway Plaza Hotel",
            "type": "hotel",
            "rank": 11,
            "rating": 4.9,
            "reviews_count": 642,
            "info": [],
            "secondary_info": [],
            "distance": null,
            "labels": [],
            "award": {
                "type": "best_of_best",
                "year": 2026
            },
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/30/91/53/4e/caption.jpg?w=2048&h=1365&s=1"
        },
        {
            "location_id": 12533513,
            "name": "PUBLIC Hotel",
            "type": "hotel",
            "rank": 12,
            "rating": 4.6,
            "reviews_count": 2766,
            "info": [],
            "secondary_info": [],
            "distance": null,
            "labels": [],
            "award": null,
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/2b/d7/b1/2e/the-roof.jpg?w=2333&h=1556&s=1"
        },
        {
            "location_id": 99332,
            "name": "Ameritania at Times Square Hotel",
            "type": "hotel",
            "rank": 13,
            "rating": 4.4,
            "reviews_count": 8727,
            "info": [],
            "secondary_info": [],
            "distance": null,
            "labels": [],
            "award": {
                "type": "traveller_choice",
                "year": 2026
            },
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/31/d6/15/eb/entrance-to-the-ameritania.jpg?w=3000&h=2000&s=1"
        },
        {
            "location_id": 224214,
            "name": "The Bryant Park Hotel",
            "type": "hotel",
            "rank": 14,
            "rating": 4.8,
            "reviews_count": 5604,
            "info": [],
            "secondary_info": [],
            "distance": null,
            "labels": [],
            "award": {
                "type": "best_of_best",
                "year": 2026
            },
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/2d/f4/b6/88/junior-suite-park-view.jpg?w=2000&h=1335&s=1"
        },
        {
            "location_id": 93525,
            "name": "Sanctuary Hotel New York",
            "type": "hotel",
            "rank": 15,
            "rating": 4.5,
            "reviews_count": 5257,
            "info": [
                "Free breakfast available"
            ],
            "secondary_info": [],
            "distance": null,
            "labels": [],
            "award": {
                "type": "traveller_choice",
                "year": 2026
            },
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/32/7e/77/f9/deluxe-king-sanctuary.jpg?w=1887&h=1200&s=1"
        }
    ]
}
搜索酒店 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16038/tripadvisor+api/45477/search+hotels?geo_id=60763&adults=2&rooms=1&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一家酒店 餐厅 景点 旅行团或目的地及其名称 类型 链接 地址 坐标 电话 电子邮件 网站 评分 评论数量和照片数量 排名以及其所在的目的地 酒店 餐厅 景点或旅行团还包含其描述 照片 标签 奖项 特色设施 语言 饮食选择 菜系等 酒店星级 社区位置 如何前往 今日营业时间和营业状态 建议游览时长 评分分布及各项子评分 餐厅预订时段 旅行团的提供方和关键信息 以及附近的餐厅和景点
Endpoint ID: 45478
GET https://zylalabs.com/api/16038/tripadvisor+api/45478/location+details
输入参数

位置详情 — 端点功能

对象 描述
location_id 必需 Location id (e.g. "93589") or the tripadvisor.com link of its page. Use the /search/autocomplete endpoint or the list endpoints to list valid values.

剩余免费测试请求:3 / 3。


输入参数

location_id
API 示例响应
JSON
{
    "location_id": 93589,
    "name": "The Michelangelo New York",
    "type": "hotel",
    "place_type": "ACCOMMODATION",
    "url": "https://www.tripadvisor.com/Hotel_Review-g60763-d93589-Reviews-The_Michelangelo_New_York-New_York_City_New_York.html",
    "parent_geo_id": 60763,
    "location": "New York City, New York, United States, North America",
    "address": "152 W 51st St, New York City, NY 10019",
    "street": "152 W 51st St",
    "city": "New York City",
    "postal_code": "10019",
    "latitude": 40.761528,
    "longitude": -73.98261,
    "phone": "+1 212-765-1900",
    "email": "[email protected]",
    "rating": 4.5,
    "reviews_count": 5234,
    "photo_count": 1378,
    "rank": 107,
    "rank_total": 593,
    "is_closed": false,
    "parents": [
        {
            "location_id": 60763,
            "name": "New York City",
            "place_type": "CITY"
        },
        {
            "location_id": 28953,
            "name": "New York",
            "place_type": "STATE"
        },
        {
            "location_id": 191,
            "name": "United States",
            "place_type": "COUNTRY"
        },
        {
            "location_id": 19,
            "name": "North America",
            "place_type": "CONTINENT"
        }
    ],
    "accommodation_category": "hotel",
    "photos": [
        {
            "photo_id": 374225968,
            "caption": "Hotel Facade",
            "url": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/16/4e/3c/30/hotel-facade.jpg?w=1800&h=1200&s=1",
            "width": 1800,
            "height": 1200,
            "uploaded_at": "2019-01-31T22:18:04Z",
            "published_at": "2019-01-31T22:18:04Z",
            "helpful_votes": 2
        },
        {
            "photo_id": 450822864,
            "caption": null,
            "url": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1a/df/02/d0/michelangelo-hotel.jpg?w=5130&h=3582&s=1",
            "width": 5130,
            "height": 3582,
            "uploaded_at": "2020-02-12T11:02:15Z",
            "published_at": "2020-02-12T11:02:15Z",
            "helpful_votes": 1
        },
        {
            "photo_id": 170019481,
            "caption": "Lobby at the Michelangelo Hotel",
            "url": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/0a/22/4a/99/lobby--v10405499.jpg?w=2600&h=1733&s=1",
            "width": 2600,
            "height": 1733,
            "uploaded_at": "2015-11-24T18:39:15Z",
            "published_at": "2016-01-24T15:35:06.783Z",
            "helpful_votes": 1
        },
        {
            "photo_id": 302888759,
            "caption": "Lobby",
            "url": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/12/0d/b7/37/lobby.jpg?w=1000&h=768&s=1",
            "width": 1000,
            "height": 768,
            "uploaded_at": "2018-02-14T20:11:20Z",
            "published_at": "2018-02-14T20:11:20Z",
            "helpful_votes": 2
        },
        {
            "photo_id": 170019528,
            "caption": "Mezzanine at the Michelangelo Hotel",
            "url": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/0a/22/4a/c8/mezzanine--v10405505.jpg?w=2600&h=1733&s=1",
            "width": 2600,
            "height": 1733,
            "uploaded_at": "2015-11-24T18:10:36Z",
            "published_at": "2016-01-24T15:35:18.039Z",
            "helpful_votes": 0
        }
    ],
    "ranking": "#107 of 530 hotels in New York City",
    "tags": [],
    "description": "The Michelangelo New York - Starhotels Collezione combines elegance and practicality, design features and classic luxury details; a stylish reflection of the city's eclectic multicultural spirit. In the heart of Manhattan, near Times Square and Rockefeller Center, its unique blend of opulence and authentic Italian hospitality makes it one of the finest luxury hotels in New York.",
    "awards": [
        {
            "name": "Travelers' Choice Winner",
            "category": "travelers_choice",
            "years": [
                "2026"
            ]
        }
    ],
    "hotel_class": 4,
    "features": [
        {
            "name": "Available languages",
            "values": [
                "English",
                "French",
                "Spanish",
                "German",
                "Italian"
            ]
        },
        {
            "name": "Amenities",
            "values": [
                "Paid private parking on-site",
                "Free High Speed Internet (WiFi)",
                "Fitness Center with Gym / Workout Room",
                "Bar / lounge"
            ]
        }
    ],
    "styles": [
        "Quiet",
        "Romantic",
        "Family-friendly",
        "Green"
    ],
    "neighborhood": {
        "location_id": 15565669,
        "name": "Theater District"
    },
    "getting_there": [
        "LaGuardia Airport • 5.81 mi",
        "Teterboro Airport • 7.39 mi",
        "50th St • 2 min walk",
        "49th St • 2 min walk"
    ],
    "rating_summary": {
        "rating": 4.5,
        "rating_text": "Very Good",
        "reviews_count": 5234,
        "distribution": [
            {
                "rating": 5,
                "label": "Excellent",
                "count": 3623,
                "percentage": 69
            },
            {
                "rating": 4,
                "label": "Good",
                "count": 1127,
                "percentage": 22
            },
            {
                "rating": 3,
                "label": "Average",
                "count": 294,
                "percentage": 6
            },
            {
                "rating": 2,
                "label": "Poor",
                "count": 109,
                "percentage": 2
            },
            {
                "rating": 1,
                "label": "Terrible",
                "count": 81,
                "percentage": 2
            }
        ],
        "subratings": [
            {
                "name": "cleanliness",
                "rating": 4.7
            },
            {
                "name": "location",
                "rating": 4.9
            },
            {
                "name": "rooms",
                "rating": 4.6
            },
            {
                "name": "service",
                "rating": 4.6
            },
            {
                "name": "sleep_quality",
                "rating": 4.7
            },
            {
                "name": "value",
                "rating": 4.3
            }
        ]
    },
    "nearby": [
        {
            "title": "Restaurants nearby",
            "places": [
                {
                    "location_id": 12015308,
                    "name": "Royal 35 Steakhouse",
                    "type": "restaurant",
                    "rank": null,
                    "rating": 4.6,
                    "reviews_count": 645,
                    "info": [
                        "$$$$",
                        "Italian",
                        "Steakhouse",
                        "Gluten free options"
                    ],
                    "secondary_info": [],
                    "distance": "0.9 mi",
                    "labels": [],
                    "award": null,
                    "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/16/e2/90/ef/usda-prime-dry-aged-porterhous.jpg?w=5472&h=3648&s=1"
                },
                {
                    "location_id": 21410713,
                    "name": "La Grande Boucherie NYC",
                    "type": "restaurant",
                    "rank": null,
                    "rating": 4.8,
                    "reviews_count": 3599,
                    "info": [
                        "$$$$",
                        "French",
                        "Steakhouse"
                    ],
                    "secondary_info": [],
                    "distance": "0.1 mi",
                    "labels": [],
                    "award": null,
                    "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/2a/bc/76/0d/la-grande-boucherie-joie.jpg?w=1600&h=1066&s=1"
                }
            ]
        }
    ]
}
位置详情 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16038/tripadvisor+api/45478/location+details?location_id=93589' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回餐厅或景点一周每天的营业时间、今日营业状态以及餐厅提供的餐食菜单
Endpoint ID: 45479
GET https://zylalabs.com/api/16038/tripadvisor+api/45479/opening+hours
输入参数

营业时间 — 端点功能

对象 描述
location_id 必需 Location id of a restaurant or attraction (e.g. "478965") or the tripadvisor.com link of its page.

剩余免费测试请求:3 / 3。


输入参数

location_id
API 示例响应
JSON
{
    "location_id": 478965,
    "serving": [
        "Lunch",
        "Dinner",
        "Late Night",
        "Drinks"
    ],
    "days": [
        {
            "day": "Monday",
            "hours": [
                "11:45 AM - 10:00 PM"
            ],
            "status": null
        },
        {
            "day": "Tuesday",
            "hours": [
                "11:45 AM - 10:00 PM"
            ],
            "status": null
        },
        {
            "day": "Wednesday",
            "hours": [
                "11:45 AM - 10:00 PM"
            ],
            "status": null
        },
        {
            "day": "Thursday",
            "hours": [
                "11:45 AM - 10:00 PM"
            ],
            "status": null
        },
        {
            "day": "Friday",
            "hours": [
                "11:45 AM - 11:00 PM"
            ],
            "status": null
        },
        {
            "day": "Saturday",
            "hours": [
                "11:45 AM - 11:00 PM"
            ],
            "status": null
        },
        {
            "day": "Sunday",
            "hours": [
                "11:45 AM - 10:00 PM"
            ],
            "status": null
        }
    ]
}
营业时间 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16038/tripadvisor+api/45479/opening+hours?location_id=478965' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回酒店 餐厅 景点 旅游项目或目的地的照片 每张照片包含照片 ID 说明 全尺寸链接 宽度 高度 上传日期和发布日期以及有帮助的投票数 还包括照片集(所有照片 游客照片 客房 餐饮 视频等)及其照片数量 每页 50 张照片 亚洲欧美
Endpoint ID: 45480
GET https://zylalabs.com/api/16038/tripadvisor+api/45480/location+photos
输入参数

地点照片 — 端点功能

对象 描述
location_id 必需 Location id (e.g. "93589") or the tripadvisor.com link of its page.
album_id 可选 Optional album id, as the "albums" list of this endpoint gives it (defaults to all photos).
page 可选 Optional page number from 1 to 100 (defaults to 1).

剩余免费测试请求:3 / 3。


输入参数

location_id
album_id
page
API 示例响应
JSON
{
    "location_id": 93589,
    "album_id": 101,
    "page": 1,
    "has_more": true,
    "albums": [
        {
            "album_id": 101,
            "name": "All photos",
            "photo_count": 1378,
            "is_selected": true
        },
        {
            "album_id": 109,
            "name": "Favorites",
            "photo_count": 24,
            "is_selected": false
        },
        {
            "album_id": 107,
            "name": "Traveler",
            "photo_count": 1127,
            "is_selected": false
        },
        {
            "album_id": 104,
            "name": "Hotel & Amenities",
            "photo_count": 882,
            "is_selected": false
        },
        {
            "album_id": 106,
            "name": "Room/Suite",
            "photo_count": 498,
            "is_selected": false
        },
        {
            "album_id": 19,
            "name": "Bathroom",
            "photo_count": 90,
            "is_selected": false
        },
        {
            "album_id": 16,
            "name": "Dining",
            "photo_count": 30,
            "is_selected": false
        },
        {
            "album_id": 22,
            "name": "Family/Play Areas",
            "photo_count": 5,
            "is_selected": false
        }
    ],
    "photos": [
        {
            "photo_id": 374225968,
            "caption": "Hotel Facade",
            "url": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/16/4e/3c/30/hotel-facade.jpg?w=1800&h=1200&s=1",
            "width": 1800,
            "height": 1200,
            "uploaded_at": "2019-01-31T22:18:04Z",
            "published_at": "2019-01-31T22:18:04Z",
            "helpful_votes": 2
        },
        {
            "photo_id": 450822864,
            "caption": null,
            "url": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1a/df/02/d0/michelangelo-hotel.jpg?w=5130&h=3582&s=1",
            "width": 5130,
            "height": 3582,
            "uploaded_at": "2020-02-12T11:02:15Z",
            "published_at": "2020-02-12T11:02:15Z",
            "helpful_votes": 1
        },
        {
            "photo_id": 170019481,
            "caption": "Lobby at the Michelangelo Hotel",
            "url": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/0a/22/4a/99/lobby--v10405499.jpg?w=2600&h=1733&s=1",
            "width": 2600,
            "height": 1733,
            "uploaded_at": "2015-11-24T18:39:15Z",
            "published_at": "2016-01-24T15:35:06.783Z",
            "helpful_votes": 1
        },
        {
            "photo_id": 302888759,
            "caption": "Lobby",
            "url": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/12/0d/b7/37/lobby.jpg?w=1000&h=768&s=1",
            "width": 1000,
            "height": 768,
            "uploaded_at": "2018-02-14T20:11:20Z",
            "published_at": "2018-02-14T20:11:20Z",
            "helpful_votes": 2
        },
        {
            "photo_id": 170019528,
            "caption": "Mezzanine at the Michelangelo Hotel",
            "url": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/0a/22/4a/c8/mezzanine--v10405505.jpg?w=2600&h=1733&s=1",
            "width": 2600,
            "height": 1733,
            "uploaded_at": "2015-11-24T18:10:36Z",
            "published_at": "2016-01-24T15:35:18.039Z",
            "helpful_votes": 0
        },
        {
            "photo_id": 450822915,
            "caption": null,
            "url": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1a/df/03/03/michelangelo-hotel.jpg?w=5760&h=3840&s=1",
            "width": 5760,
            "height": 3840,
            "uploaded_at": "2020-02-12T11:02:45Z",
            "published_at": "2020-02-12T11:02:45Z",
            "helpful_votes": 2
        },
        {
            "photo_id": 170019354,
            "caption": "The Neoclassic Double King Studio at the Michelangelo Hotel",
            "url": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/0a/22/4a/1a/neoclassic-double-king-studio--v1.jpg?w=2600&h=1733&s=1",
            "width": 2600,
            "height": 1733,
            "uploaded_at": "2015-11-24T16:39:23Z",
            "published_at": "2016-01-24T15:34:38.328Z",
            "helpful_votes": 4
        },
        {
            "photo_id": 170019318,
            "caption": "The Grand Presidential Suite at the Michelangelo Hotel",
            "url": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/0a/22/49/f6/grand-presidential-suite--v104057.jpg?w=2600&h=1733&s=1",
            "width": 2600,
            "height": 1733,
            "uploaded_at": "2015-11-24T17:04:03Z",
            "published_at": "2016-01-24T15:34:27.512Z",
            "helpful_votes": 0
        },
        {
            "photo_id": 170019279,
            "caption": "The Executive King Room at the Michelangelo Hotel",
            "url": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/0a/22/49/cf/executive-king-room--v10405538.jpg?w=2600&h=1733&s=1",
            "width": 2600,
            "height": 1733,
            "uploaded_at": "2015-11-24T17:21:12Z",
            "published_at": "2016-01-24T15:34:17.885Z",
            "helpful_votes": 0
        },
        {
            "photo_id": 170019273,
            "caption": "The Contemporary Grand One Bedroom Suite at the Michelangelo Hotel",
            "url": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/0a/22/49/c9/contemporary-grand-one-bedroom-su.jpg?w=2600&h=1733&s=1",
            "width": 2600,
            "height": 1733,
            "uploaded_at": "2015-11-24T16:34:52Z",
            "published_at": "2016-01-24T15:34:17.193Z",
            "helpful_votes": 3
        },
        {
            "photo_id": 374229032,
            "caption": "Grand One Bedroom Suite",
            "url": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/16/4e/48/28/grand-one-bedroom-suite.jpg?w=1800&h=1200&s=1",
            "width": 1800,
            "height": 1200,
            "uploaded_at": "2019-01-31T22:49:37Z",
            "published_at": "2019-01-31T22:49:37Z",
            "helpful_votes": 0
        },
        {
            "photo_id": 374228927,
            "caption": "One Bedroom Suite - Queen Bed",
            "url": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/16/4e/47/bf/one-bedroom-suite-queen.jpg?w=1800&h=1200&s=1",
            "width": 1800,
            "height": 1200,
            "uploaded_at": "2019-01-31T22:48:30Z",
            "published_at": "2019-01-31T22:48:30Z",
            "helpful_votes": 1
        }
    ]
}
地点照片 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16038/tripadvisor+api/45480/location+photos?location_id=93589&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回酒店、餐厅、景点或旅行团的评价,按最新优先排序,每条评价包含其评价编号、链接、标题、正文、评分、语言、发布日期和游览日期、旅行类型、有用票数、细分评分、照片、评价者和业主回复,均使用评价撰写时的语言,另附各评分的评价数量。每页20条评价。 .
Endpoint ID: 45481
GET https://zylalabs.com/api/16038/tripadvisor+api/45481/location+reviews
输入参数

地点评价 — 端点功能

对象 描述
location_id 必需 Location id of a hotel, restaurant, attraction or tour (e.g. "93589") or the tripadvisor.com link of its page.
rating 可选 Optional comma-separated traveler ratings from 1 to 5 (e.g. "4,5").
trip_type 可选 Optional comma-separated trip types: business, couples, family, friends, solo.
month 可选 Optional comma-separated months of the visit, 1 to 12 (e.g. "6,7,8").
period 可选 Optional review date: last_3_months, last_6_months or last_12_months.
page 可选 Optional page number from 1 to 250 (defaults to 1).

剩余免费测试请求:3 / 3。


输入参数

location_id
rating
trip_type
month
period
page
API 示例响应
JSON
{
    "location_id": 93589,
    "page": 1,
    "has_more": true,
    "reviews": [
        {
            "review_id": 1085922058,
            "url": "https://www.tripadvisor.com/ShowUserReviews-g60763-d93589-r1085922058-The_Michelangelo_New_York-New_York_City_New_York.html",
            "title": "A Classy Address in NYC",
            "text": "We’ve been staying at The Michelangelo Hotel when visiting NYC for a number of years. Everything runs smoothly and the staff is always courteous and helpful. \nI can’t think of any reason to stay at another hotel. The rooms are lovely with lots of marble (no plastic) with a touch of European elegance.  There is a nice breakfast area and bar on the ground floor. \nThe location is perfect for shopping, great restaurants and Broadway shows.",
            "rating": 5,
            "language": "en",
            "original_language": "en",
            "published_date": "2026-11-18",
            "created_date": "2026-11-18",
            "visit_date": "2026-11",
            "visit_date_text": "Nov 2026",
            "trip_type": "family",
            "helpful_votes": 0,
            "subratings": [],
            "label": null,
            "tip": null,
            "is_translated": false,
            "photos": [],
            "user": {
                "username": "bettyn848",
                "display_name": "Betty N",
                "hometown": "Austin, TX",
                "contributions": 9,
                "avatar": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/07/4e/2c/0a/betty-n.jpg?w=50&h=50&s=1",
                "profile_url": "https://www.tripadvisor.com/Profile/bettyn848"
            },
            "owner_response": {
                "text": "After so many years of choosing Michelangelo Hotel New York, hearing that you cannot imagine staying elsewhere means a great deal to us. Our team will be glad to know their courteous, helpful service has made your visits run smoothly. The marble and European elegance you noticed are a lovely part of the hotel’s character. We’re happy the ground-floor breakfast area and bar have added to your stays. Being close to Broadway shows and the places you enjoy shopping and dining makes the location a special part of a New York visit. We look forward to welcoming you back for many more stays!",
                "published_date": "2026-11-19",
                "author": "Hotel Manager",
                "author_position": null
            }
        },
        {
            "review_id": 1042828353,
            "url": "https://www.tripadvisor.com/ShowUserReviews-g60763-d93589-r1042828353-The_Michelangelo_New_York-New_York_City_New_York.html",
            "title": "Fabulous small hotel with great location and staff!",
            "text": "We had a wonderful experience at the Michelangelo. It was beautiful, festive, and very clean. The staff were amazing-  the front desk folks, the bellmen, the doormen, and the concierge were all very friendly and helpful.  Great advice, service, and welcoming. Within the day, they all knew us.\n\nOur room was lovely and huge by New York City standards. The beds were queen size, not the usual double, and the bathroom layout was great for a party of three. Everything was immaculate. And we were greeted with a lovely welcome gift. We were right across the street from the Winter Garden, and could look out our window and see the Elphaba and Glinda electronic billboards.  \n\nThe location is great - we walked almost everywhere and were easily able to get cabs or Ubers if going somewhere too far to walk.  Note that if you are going to the Cloisters (highly recommend if you enjoy medieval art and architecture), you can get there by cab or Uber, but will need to take an Uber to get back to Midtown.\n\nThis was a wonderful change from the chain hotels that we have stayed in previously. We will definitely be staying at the Michelangelo for all our future visits.\n\nOverall, it could not have been better.",
            "rating": 5,
            "language": "en",
            "original_language": "en",
            "published_date": "2025-12-17",
            "created_date": "2025-12-17",
            "visit_date": "2025-12",
            "visit_date_text": "Dec 2025",
            "trip_type": "family",
            "helpful_votes": 1,
            "subratings": [],
            "label": "HOTEL'S FAVORITE",
            "tip": null,
            "is_translated": false,
            "photos": [],
            "user": {
                "username": "RRP18",
                "display_name": "RRP18",
                "hometown": "Los Angeles, CA",
                "contributions": 3,
                "avatar": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1a/f6/e5/66/default-avatar-2020-53.jpg?w=1200&h=1200&s=1",
                "profile_url": "https://www.tripadvisor.com/Profile/RRP18"
            },
            "owner_response": {
                "text": "Thank you so much for your wonderful feedback! We’re delighted you had such a memorable stay at Michelangelo Hotel New York and that our team made you feel so welcome. It’s great to hear you enjoyed both our location and the spacious accommodations. We look forward to hosting you again whenever your travels bring you back to the city.",
                "published_date": "2025-12-19",
                "author": "Hotel Manager",
                "author_position": null
            }
        }
    ],
    "ratings": [
        {
            "rating": 1,
            "count": 81
        },
        {
            "rating": 2,
            "count": 109
        },
        {
            "rating": 3,
            "count": 294
        },
        {
            "rating": 4,
            "count": 1127
        },
        {
            "rating": 5,
            "count": 3623
        }
    ]
}
地点评价 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16038/tripadvisor+api/45481/location+reviews?location_id=93589&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回目的地餐厅搜索所采用的筛选条件(菜系、餐点、菜肴、价格、餐饮场所类型、饮食偏好、奖项、当前营业状态、街区等),每项均包含其 ID 及其选项的值、标签和数量
Endpoint ID: 45482
GET https://zylalabs.com/api/16038/tripadvisor+api/45482/restaurant+filters
输入参数

餐厅筛选条件 — 端点功能

对象 描述
geo_id 必需 Destination id (e.g. "60763") or the tripadvisor.com link of its page.

剩余免费测试请求:3 / 3。


输入参数

geo_id
API 示例响应
JSON
{
    "geo_id": 60763,
    "filters": [
        {
            "id": "cuisine",
            "label": "Cuisines",
            "type": "list",
            "options": [
                {
                    "value": "9908",
                    "label": "American",
                    "count": 2092,
                    "is_selected": false
                },
                {
                    "value": "10640",
                    "label": "Bar",
                    "count": 1239,
                    "is_selected": false
                },
                {
                    "value": "4617",
                    "label": "Italian",
                    "count": 1181,
                    "is_selected": false
                },
                {
                    "value": "10659",
                    "label": "Asian",
                    "count": 1150,
                    "is_selected": false
                },
                {
                    "value": "10670",
                    "label": "Pub",
                    "count": 982,
                    "is_selected": false
                },
                {
                    "value": "10641",
                    "label": "Pizza",
                    "count": 730,
                    "is_selected": false
                },
                {
                    "value": "5473",
                    "label": "Japanese",
                    "count": 659,
                    "is_selected": false
                },
                {
                    "value": "5379",
                    "label": "Chinese",
                    "count": 589,
                    "is_selected": false
                },
                {
                    "value": "5110",
                    "label": "Mexican",
                    "count": 513,
                    "is_selected": false
                },
                {
                    "value": "10643",
                    "label": "Seafood",
                    "count": 460,
                    "is_selected": false
                },
                {
                    "value": "10653",
                    "label": "Sushi",
                    "count": 458,
                    "is_selected": false
                },
                {
                    "value": "10642",
                    "label": "Cafe",
                    "count": 415,
                    "is_selected": false
                },
                {
                    "value": "10669",
                    "label": "Contemporary",
                    "count": 398,
                    "is_selected": false
                },
                {
                    "value": "10646",
                    "label": "Fast Food",
                    "count": 390,
                    "is_selected": false
                },
                {
                    "value": "10649",
                    "label": "Mediterranean",
                    "count": 374,
                    "is_selected": false
                },
                {
                    "value": "5086",
                    "label": "French",
                    "count": 350,
                    "is_selected": false
                },
                {
                    "value": "10655",
                    "label": "Spanish",
                    "count": 311,
                    "is_selected": false
                },
                {
                    "value": "10666",
                    "label": "Deli",
                    "count": 306,
                    "is_selected": false
                },
                {
                    "value": "10639",
                    "label": "Latin",
                    "count": 297,
                    "is_selected": false
                },
                {
                    "value": "10682",
                    "label": "Wine Bar",
                    "count": 292,
                    "is_selected": false
                },
                {
                    "value": "10679",
                    "label": "Healthy",
                    "count": 261,
                    "is_selected": false
                },
                {
                    "value": "10345",
                    "label": "Steakhouse",
                    "count": 239,
                    "is_selected": false
                },
                {
                    "value": "10654",
                    "label": "European",
                    "count": 229,
                    "is_selected": false
                },
                {
                    "value": "10346",
                    "label": "Indian",
                    "count": 221,
                    "is_selected": false
                },
                {
                    "value": "10660",
                    "label": "Thai",
                    "count": 212,
                    "is_selected": false
                }
            ]
        }
    ]
}
餐厅筛选条件 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16038/tripadvisor+api/45482/restaurant+filters?geo_id=60763' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回某个目的地的餐厅信息,每家餐厅包含其地点 ID、名称、排名、评分、评论数、价格范围、菜系、营业状态、街区、奖项、标签和照片。每页 30 家餐厅
Endpoint ID: 45483
GET https://zylalabs.com/api/16038/tripadvisor+api/45483/search+restaurants
输入参数

搜索餐厅 — 端点功能

对象 描述
geo_id 必需 Destination id (e.g. "60763" for New York City) or the tripadvisor.com link of its page. Use the /search/autocomplete endpoint with type "geos" to list valid values.
sort 可选 Optional sort order: featured, traveler_ranking or relevance.
filters 可选 Optional semicolon-separated filters, each a filter id and its values joined with ":" (e.g. "cuisine:10646;price:10953"). Use the /restaurant/filters endpoint to list valid values.
page 可选 Optional page number from 1 to 50 (defaults to 1).

剩余免费测试请求:3 / 3。


输入参数

geo_id
sort
filters
page
API 示例响应
JSON
{
    "geo_id": 60763,
    "page": 1,
    "has_more": true,
    "results": [
        {
            "location_id": 34291343,
            "name": "Easy Joy Dim Sum & AYCE Hot Pot",
            "type": "restaurant",
            "rank": null,
            "rating": 5,
            "reviews_count": 20,
            "info": [
                "$$ - $$$",
                "Chinese",
                "Asian"
            ],
            "secondary_info": [
                "Downtown Manhattan (Downtown)"
            ],
            "distance": null,
            "labels": [
                "Sponsored"
            ],
            "award": null,
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/32/d6/0e/14/hot-pot.jpg?w=1360&h=1020&s=1"
        },
        {
            "location_id": 21410713,
            "name": "La Grande Boucherie NYC",
            "type": "restaurant",
            "rank": 1,
            "rating": 4.8,
            "reviews_count": 3599,
            "info": [
                "$$$$",
                "French",
                "Steakhouse"
            ],
            "secondary_info": [
                "Midtown"
            ],
            "distance": null,
            "labels": [],
            "award": {
                "type": "traveller_choice",
                "year": 2026
            },
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/2a/bc/76/0d/la-grande-boucherie-joie.jpg?w=1600&h=1066&s=1"
        },
        {
            "location_id": 459367,
            "name": "Westway Diner",
            "type": "restaurant",
            "rank": 2,
            "rating": 4.4,
            "reviews_count": 2667,
            "info": [
                "$",
                "American",
                "Vegetarian friendly"
            ],
            "secondary_info": [
                "Midtown West"
            ],
            "distance": null,
            "labels": [],
            "award": {
                "type": "traveller_choice",
                "year": 2026
            },
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/17/de/d4/94/westway-diner.jpg?w=4032&h=3024&s=1"
        },
        {
            "location_id": 7890999,
            "name": "Kuu Ramen",
            "type": "restaurant",
            "rank": 3,
            "rating": 4.6,
            "reviews_count": 313,
            "info": [
                "$",
                "Japanese",
                "Asian",
                "Vegetarian friendly"
            ],
            "secondary_info": [
                "Downtown Manhattan (Downtown)"
            ],
            "distance": null,
            "labels": [],
            "award": null,
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/19/f9/0a/9c/kuu-chili-chicken-and.jpg?w=1280&h=853&s=1"
        },
        {
            "location_id": 26864719,
            "name": "Da Andrea Chelsea",
            "type": "restaurant",
            "rank": 4,
            "rating": 4.8,
            "reviews_count": 279,
            "info": [
                "$$ - $$$",
                "Italian",
                "Vegetarian friendly"
            ],
            "secondary_info": [
                "Chelsea"
            ],
            "distance": null,
            "labels": [],
            "award": {
                "type": "traveller_choice",
                "year": 2026
            },
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/2b/22/8a/c5/da-andrea-chelsea-exterior.jpg?w=3000&h=2030&s=1"
        },
        {
            "location_id": 968445,
            "name": "Bocca di Bacco - Hell's Kitchen",
            "type": "restaurant",
            "rank": 5,
            "rating": 4.4,
            "reviews_count": 805,
            "info": [
                "$$ - $$$",
                "Italian",
                "Vegetarian friendly"
            ],
            "secondary_info": [
                "Midtown West"
            ],
            "distance": null,
            "labels": [],
            "award": {
                "type": "traveller_choice",
                "year": 2026
            },
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/30/6e/97/2e/bocca-di-bacco-hell-s.jpg?w=3000&h=2000&s=1"
        },
        {
            "location_id": 826578,
            "name": "SuteiShi",
            "type": "restaurant",
            "rank": null,
            "rating": 4.4,
            "reviews_count": 138,
            "info": [
                "$$ - $$$",
                "Japanese",
                "Sushi",
                "Vegetarian friendly"
            ],
            "secondary_info": [
                "Downtown Manhattan (Downtown)"
            ],
            "distance": null,
            "labels": [
                "Sponsored"
            ],
            "award": null,
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/32/91/54/7f/winter-view.jpg?w=5712&h=4284&s=1"
        },
        {
            "location_id": 23988141,
            "name": "Sicily Osteria",
            "type": "restaurant",
            "rank": 6,
            "rating": 4.8,
            "reviews_count": 2229,
            "info": [
                "$$ - $$$",
                "Italian",
                "Pizza",
                "Vegetarian friendly"
            ],
            "secondary_info": [
                "Midtown West"
            ],
            "distance": null,
            "labels": [],
            "award": {
                "type": "best_of_best",
                "year": 2026
            },
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/2b/f0/57/1c/caption.jpg?w=4624&h=3468&s=1"
        },
        {
            "location_id": 1950899,
            "name": "Bill's Bar & Burger",
            "type": "restaurant",
            "rank": 7,
            "rating": 4.2,
            "reviews_count": 4506,
            "info": [
                "$$ - $$$",
                "American",
                "Barbecue",
                "Vegetarian friendly"
            ],
            "secondary_info": [
                "Midtown"
            ],
            "distance": null,
            "labels": [],
            "award": {
                "type": "traveller_choice",
                "year": 2026
            },
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/07/9b/3d/55/bill-s-rockefeller-center.jpg?w=1112&h=1500&s=1"
        }
    ]
}
搜索餐厅 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16038/tripadvisor+api/45483/search+restaurants?geo_id=60763&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回最多 10 个与文本匹配的目的地、酒店、餐厅、景点和旅游项目,每个条目包含其地点 ID、名称、类型、链接、所属上级目的地、地址、坐标、电话、评分、评论数、照片数、排名以及其所在的目的地。地点 ID 是其他端点使用的 ID;目的地的 ID 是列表端点中的“geo_id”】【。
Endpoint ID: 45484
GET https://zylalabs.com/api/16038/tripadvisor+api/45484/autocomplete
输入参数

自动补全 — 端点功能

对象 描述
query 必需 Text to search for, 1 to 100 characters (e.g. "paris").
type 可选 Optional kind of place: all, geos, hotels, restaurants, attractions or tours (defaults to "all").

剩余免费测试请求:3 / 3。


输入参数

query
type
API 示例响应
JSON
{
    "query": "paris",
    "results": [
        {
            "location_id": 187147,
            "name": "Paris",
            "type": "geo",
            "place_type": "CITY",
            "url": "https://www.tripadvisor.com/Tourism-g187147-Paris_Ile_de_France-Vacations.html",
            "parent_geo_id": 187144,
            "location": "Ile-de-France, France, Europe",
            "address": "Paris France",
            "street": null,
            "city": null,
            "postal_code": null,
            "latitude": 48.857037,
            "longitude": 2.349401,
            "phone": null,
            "email": null,
            "rating": null,
            "reviews_count": null,
            "photo_count": 40064,
            "rank": null,
            "rank_total": null,
            "is_closed": false,
            "parents": [
                {
                    "location_id": 187144,
                    "name": "Ile-de-France",
                    "place_type": "REGION"
                },
                {
                    "location_id": 187070,
                    "name": "France",
                    "place_type": "COUNTRY"
                },
                {
                    "location_id": 4,
                    "name": "Europe",
                    "place_type": "CONTINENT"
                }
            ]
        },
        {
            "location_id": 11455997,
            "name": "Paris Food Tour: 10+ Tastings, French Wine, Cheeses & Secret Dish",
            "type": "tour",
            "place_type": "ACTIVITY",
            "url": "https://www.tripadvisor.com/AttractionProductReview-g187147-d11455997-Paris_Food_Tour_10_Tastings_French_Wine_Cheeses_Secret_Dish-Paris_Ile_de_France.html",
            "parent_geo_id": 187147,
            "location": "Paris, Ile-de-France, France, Europe",
            "address": "Paris France",
            "street": null,
            "city": "Paris",
            "postal_code": null,
            "latitude": null,
            "longitude": null,
            "phone": null,
            "email": null,
            "rating": 4.8,
            "reviews_count": 2988,
            "photo_count": 2979,
            "rank": null,
            "rank_total": null,
            "is_closed": false,
            "parents": [
                {
                    "location_id": 187147,
                    "name": "Paris",
                    "place_type": "CITY"
                },
                {
                    "location_id": 187144,
                    "name": "Ile-de-France",
                    "place_type": "REGION"
                },
                {
                    "location_id": 187070,
                    "name": "France",
                    "place_type": "COUNTRY"
                },
                {
                    "location_id": 4,
                    "name": "Europe",
                    "place_type": "CONTINENT"
                }
            ]
        },
        {
            "location_id": 11454297,
            "name": "Paris Big Bus Hop On Hop Off Tour with Optional River Cruise",
            "type": "tour",
            "place_type": "ACTIVITY",
            "url": "https://www.tripadvisor.com/AttractionProductReview-g187147-d11454297-Paris_Big_Bus_Hop_On_Hop_Off_Tour_with_Optional_River_Cruise-Paris_Ile_de_France.html",
            "parent_geo_id": 187147,
            "location": "Paris, Ile-de-France, France, Europe",
            "address": "Paris France",
            "street": null,
            "city": "Paris",
            "postal_code": null,
            "latitude": null,
            "longitude": null,
            "phone": null,
            "email": null,
            "rating": 3.9,
            "reviews_count": 3579,
            "photo_count": 2409,
            "rank": null,
            "rank_total": null,
            "is_closed": false,
            "parents": [
                {
                    "location_id": 187147,
                    "name": "Paris",
                    "place_type": "CITY"
                },
                {
                    "location_id": 187144,
                    "name": "Ile-de-France",
                    "place_type": "REGION"
                },
                {
                    "location_id": 187070,
                    "name": "France",
                    "place_type": "COUNTRY"
                },
                {
                    "location_id": 4,
                    "name": "Europe",
                    "place_type": "CONTINENT"
                }
            ]
        },
        {
            "location_id": 14017840,
            "name": "Versailles Palace and Gardens Tour from Paris",
            "type": "tour",
            "place_type": "ACTIVITY",
            "url": "https://www.tripadvisor.com/AttractionProductReview-g187147-d14017840-Versailles_Palace_and_Gardens_Tour_from_Paris-Paris_Ile_de_France.html",
            "parent_geo_id": 187147,
            "location": "Paris, Ile-de-France, France, Europe",
            "address": "Paris France",
            "street": null,
            "city": "Paris",
            "postal_code": null,
            "latitude": null,
            "longitude": null,
            "phone": null,
            "email": null,
            "rating": 4.5,
            "reviews_count": 1634,
            "photo_count": 2234,
            "rank": null,
            "rank_total": null,
            "is_closed": false,
            "parents": [
                {
                    "location_id": 187147,
                    "name": "Paris",
                    "place_type": "CITY"
                },
                {
                    "location_id": 187144,
                    "name": "Ile-de-France",
                    "place_type": "REGION"
                },
                {
                    "location_id": 187070,
                    "name": "France",
                    "place_type": "COUNTRY"
                },
                {
                    "location_id": 4,
                    "name": "Europe",
                    "place_type": "CONTINENT"
                }
            ]
        },
        {
            "location_id": 11979678,
            "name": "Bateaux Parisiens Seine River Gourmet Dinner & Sightseeing Cruise",
            "type": "tour",
            "place_type": "ACTIVITY",
            "url": "https://www.tripadvisor.com/AttractionProductReview-g187147-d11979678-Bateaux_Parisiens_Seine_River_Gourmet_Dinner_Sightseeing_Cruise-Paris_Ile_de_Franc.html",
            "parent_geo_id": 187147,
            "location": "Paris, Ile-de-France, France, Europe",
            "address": "Paris France",
            "street": null,
            "city": "Paris",
            "postal_code": null,
            "latitude": null,
            "longitude": null,
            "phone": null,
            "email": null,
            "rating": 4.3,
            "reviews_count": 3181,
            "photo_count": 4018,
            "rank": null,
            "rank_total": null,
            "is_closed": false,
            "parents": [
                {
                    "location_id": 187147,
                    "name": "Paris",
                    "place_type": "CITY"
                },
                {
                    "location_id": 187144,
                    "name": "Ile-de-France",
                    "place_type": "REGION"
                },
                {
                    "location_id": 187070,
                    "name": "France",
                    "place_type": "COUNTRY"
                },
                {
                    "location_id": 4,
                    "name": "Europe",
                    "place_type": "CONTINENT"
                }
            ]
        }
    ]
}
自动补全 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16038/tripadvisor+api/45484/autocomplete?query=paris&type=all' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回目的地旅游搜索所采用的筛选条件(时长、时段、语言、价格、评分、奖项、优惠、免费取消、类别、景点和无障碍设施),每项均包含其 ID 以及选项的值、标签和数量
Endpoint ID: 45485
GET https://zylalabs.com/api/16038/tripadvisor+api/45485/tour+filters
输入参数

旅游筛选器 — 端点功能

对象 描述
geo_id 必需 Destination id (e.g. "60763") or the tripadvisor.com link of its page.

剩余免费测试请求:3 / 3。


输入参数

geo_id
API 示例响应
JSON
{
    "geo_id": 60763,
    "filters": [
        {
            "id": "price",
            "label": "Price",
            "type": "range",
            "min": 0,
            "max": 500,
            "options": []
        },
        {
            "id": "category",
            "label": "Product groups",
            "type": "list",
            "options": [
                {
                    "value": "11881",
                    "label": "Luxury & Special Occasions",
                    "count": 1,
                    "is_selected": false
                },
                {
                    "value": "11873",
                    "label": "Tours & Sightseeing",
                    "count": 1,
                    "is_selected": false
                },
                {
                    "value": "11864",
                    "label": "Air, Helicopter & Balloon Tours",
                    "count": 1,
                    "is_selected": false
                },
                {
                    "value": "11865",
                    "label": "Cruises, Sailing & Water Tours",
                    "count": 1,
                    "is_selected": false
                },
                {
                    "value": "12022",
                    "label": "Outdoor Activities",
                    "count": 1,
                    "is_selected": false
                },
                {
                    "value": "11866",
                    "label": "Cultural & Theme Tours",
                    "count": 1,
                    "is_selected": false
                },
                {
                    "value": "11876",
                    "label": "Walking & Biking Tours",
                    "count": 1,
                    "is_selected": false
                },
                {
                    "value": "11880",
                    "label": "Shore Excursions",
                    "count": 1,
                    "is_selected": false
                },
                {
                    "value": "11868",
                    "label": "Food, Wine & Nightlife",
                    "count": 1,
                    "is_selected": false
                },
                {
                    "value": "11869",
                    "label": "Holiday & Seasonal Tours",
                    "count": 1,
                    "is_selected": false
                },
                {
                    "value": "11870",
                    "label": "Sightseeing Tickets & Passes",
                    "count": 1,
                    "is_selected": false
                },
                {
                    "value": "11882",
                    "label": "Private & Custom Tours",
                    "count": 1,
                    "is_selected": false
                },
                {
                    "value": "11867",
                    "label": "Day Trips & Excursions",
                    "count": 1,
                    "is_selected": false
                },
                {
                    "value": "11879",
                    "label": "Family Friendly",
                    "count": 1,
                    "is_selected": false
                },
                {
                    "value": "11872",
                    "label": "Shows, Concerts & Sports",
                    "count": 1,
                    "is_selected": false
                },
                {
                    "value": "12023",
                    "label": "Water Sports",
                    "count": 1,
                    "is_selected": false
                },
                {
                    "value": "11874",
                    "label": "Theme Parks",
                    "count": 1,
                    "is_selected": false
                },
                {
                    "value": "11878",
                    "label": "Multi-day & Extended Tours",
                    "count": 1,
                    "is_selected": false
                },
                {
                    "value": "11875",
                    "label": "Transfers & Ground Transport",
                    "count": 1,
                    "is_selected": false
                },
                {
                    "value": "11871",
                    "label": "Shopping & Fashion",
                    "count": 1,
                    "is_selected": false
                },
                {
                    "value": "11884",
                    "label": "Spa Tours",
                    "count": 1,
                    "is_selected": false
                },
                {
                    "value": "12024",
                    "label": "Classes & Workshops",
                    "count": 1,
                    "is_selected": false
                },
                {
                    "value": "11877",
                    "label": "Weddings & Honeymoons",
                    "count": 1,
                    "is_selected": false
                },
                {
                    "value": "11883",
                    "label": "Viator VIP & Exclusive Tours",
                    "count": 1,
                    "is_selected": false
                }
            ]
        }
    ]
}
旅游筛选器 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16038/tripadvisor+api/45485/tour+filters?geo_id=60763' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回某个目的地或其中一个景点的旅游行程、活动和门票,每项均包含其地点 ID、名称、排名、评分、评论数量、类别、起价、免费取消、奖项、标签和照片。每页 30 个行程】【。
Endpoint ID: 45486
GET https://zylalabs.com/api/16038/tripadvisor+api/45486/search+tours
输入参数

搜索旅行团 — 端点功能

对象 描述
geo_id 必需 Destination id (e.g. "60763" for New York City) or the tripadvisor.com link of its page. Use the /search/autocomplete endpoint with type "geos" to list valid values.
attraction_id 可选 Optional location id of an attraction of the destination (e.g. "105127"), to get only its tours and tickets.
sort 可选 Optional sort order: featured, price_low_to_high, price_high_to_low, duration_short_to_long or duration_long_to_short.
filters 可选 Optional semicolon-separated filters, each a filter id and its values joined with ":" (e.g. "category:11873;freeCancellation:0"). Use the /tour/filters endpoint to list valid values.
page 可选 Optional page number from 1 to 50 (defaults to 1).

剩余免费测试请求:3 / 3。


输入参数

geo_id
attraction_id
sort
filters
page
API 示例响应
JSON
{
    "geo_id": 60763,
    "page": 1,
    "has_more": true,
    "results": [
        {
            "location_id": 27961982,
            "name": "New York City 90-Minute Cruise: Lady Liberty, Bridges and Skyline",
            "type": "tour",
            "rank": 1,
            "rating": 4.5,
            "reviews_count": 2573,
            "info": [
                "Sightseeing Cruises"
            ],
            "secondary_info": [
                "Free cancellation"
            ],
            "distance": null,
            "labels": [],
            "award": null,
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/33/ad/05/9b/caption.jpg?w=720&h=480&s=1",
            "price_text": "from $35 $30 per adult (price varies by group size)",
            "free_cancellation": true
        },
        {
            "location_id": 11854338,
            "name": "NYC 9/11 Memorial and Museum Ticket with Tour Options",
            "type": "tour",
            "rank": 2,
            "rating": 4.7,
            "reviews_count": 6794,
            "info": [
                "Skip the line Tickets"
            ],
            "secondary_info": [
                "Free cancellation"
            ],
            "distance": null,
            "labels": [],
            "award": null,
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/34/28/fb/b7/caption.jpg?w=720&h=480&s=1",
            "price_text": "from $36 per adult",
            "free_cancellation": true
        },
        {
            "location_id": 11451132,
            "name": "Statue of Liberty & Ellis Island Tour with Reserved Ferry Entry",
            "type": "tour",
            "rank": 3,
            "rating": 4.8,
            "reviews_count": 15131,
            "info": [
                "Private and Luxury"
            ],
            "secondary_info": [
                "Free cancellation"
            ],
            "distance": null,
            "labels": [],
            "award": {
                "type": "best_of_best",
                "year": 2026
            },
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/30/02/e4/cc/caption.jpg?w=720&h=480&s=1",
            "price_text": "from $59 per adult",
            "free_cancellation": true
        },
        {
            "location_id": 23904654,
            "name": "SUMMIT One Vanderbilt Experience Ticket",
            "type": "tour",
            "rank": 4,
            "rating": 4.5,
            "reviews_count": 5992,
            "info": [
                "Observation Decks"
            ],
            "secondary_info": [
                "Free cancellation"
            ],
            "distance": null,
            "labels": [],
            "award": null,
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/34/7a/c4/68/caption.jpg?w=720&h=480&s=1",
            "price_text": "from $55 per adult",
            "free_cancellation": true
        },
        {
            "location_id": 28096306,
            "name": "Half-Day Bus Tour of NYC Top Highlights",
            "type": "tour",
            "rank": 5,
            "rating": 4.9,
            "reviews_count": 3224,
            "info": [
                "Private and Luxury"
            ],
            "secondary_info": [
                "Free cancellation"
            ],
            "distance": null,
            "labels": [],
            "award": null,
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/32/cf/c3/18/caption.jpg?w=720&h=480&s=1",
            "price_text": "from $68 per adult",
            "free_cancellation": true
        },
        {
            "location_id": 17429689,
            "name": "Central Park Pedicab Guided Tours",
            "type": "tour",
            "rank": 6,
            "rating": 5,
            "reviews_count": 8829,
            "info": [
                "Private and Luxury"
            ],
            "secondary_info": [
                "Free cancellation"
            ],
            "distance": null,
            "labels": [],
            "award": {
                "type": "best_of_best",
                "year": 2026
            },
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/2c/e1/3f/d9/caption.jpg?w=720&h=480&s=1",
            "price_text": "from $38 per adult",
            "free_cancellation": true
        },
        {
            "location_id": 25293229,
            "name": "Gilded Age Mansions Tour in New York",
            "type": "tour",
            "rank": 7,
            "rating": 4.8,
            "reviews_count": 1574,
            "info": [
                "Private and Luxury"
            ],
            "secondary_info": [
                "Free cancellation"
            ],
            "distance": null,
            "labels": [],
            "award": null,
            "photo": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/32/97/8d/8b/caption.jpg?w=720&h=480&s=1",
            "price_text": "from $40 per adult",
            "free_cancellation": true
        }
    ]
}
搜索旅行团 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16038/tripadvisor+api/45486/search+tours?geo_id=60763&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 Tripadvisor API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

标头
标头 描述
授权 必需 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

(年度计费可节省 2 个月 🎉)

起价
$10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

概览

旅行数据:任何目的地的酒店、餐厅、景点和旅游项目,可使用所有筛选条件进行搜索,查看预订网站上的酒店价格、详情、评价、照片和营业时间

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

相关 API