美国旅游API专门聚合和提供有关美国旅行相关服务的详细信息它处理各种数据类型,包括酒店列表和活动建议该API处理结构化数据字段,如酒店名称、位置、定价、设施和用户评分特定领域术语包括“奢华酒店”、“全包度假村”和“适合家庭的住宿”等分类,这对于过滤和分类产品至关重要该API遵循标准JSON格式进行数据交换,以确保与各种应用程序的兼容性技术要求可能包括访问的身份验证、请求的速率限制和响应中对分页的支持输出格式结构化方式,使其能够轻松集成到旅行规划工具中,包含嵌套数据模式以处理复杂对象,如酒店详情和用户评价
{"attractions":[{"state":"New York","name":"Empire State Building"},{"state":"Hawaii","name":"Iolani Palace"},{"state":"New York","name":"Central Park"},{"state":"Florida","name":"John Pennekamp Coral Reef State Park"},{"state":"Florida","name":"Stetson Mansion"},{"state":"California","name":"Alcatraz Island"},{"state":"Tennessee","name":"Graceland"},{"state":"New York","name":"Brooklyn Bridge"},{"state":"Washington","name":"Chihuly Garden and Glass"},{"state":"Hawaii","name":"Diamond Head State Monument"},{"state":"Colorado","name":"National Museum of World War II Aviation"},{"state":"New York","name":"The National 9\/11 Memorial & Museum"},{"state":"New York","name":"The Metropolitan Museum of Art"},{"state":"Arizona","name":"Horseshoe Bend"},{"state":"North Carolina","name":"Biltmore Estate"},{"state":"Colorado","name":"Garden of the Gods"},{"state":"Wisconsin","name":"Taliesin Preservation - Frank Lloyd Wright Visitor Center"},{"state":"Illinois","name":"The Art Institute of Chicago"},{"state":"California","name":"Golden Gate Bridge"},{"state":"Florida","name":"Key West Butterfly and Nature Conservatory"},{"state":"Nevada","name":"Fountains of Bellagio"},{"state":"Missouri","name":"The Gateway Arch"},{"state":"Louisiana","name":"The National WWII Museum"},{"state":"South Dakota","name":"Mount Rushmore National Memorial"},{"state":"California","name":"USS Midway Museum"}]}
curl --location --request POST 'https://zylalabs.com/api/6509/us+tourism+api/9418/get+top+attractions+in+the+us' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
[{"hotel_name":"Luma Hotel Time Square","location":"New York City, New York","rating":"4.8","price_range":"$100-$200","amenities":["Restaurant","Bar \/ lounge","Doorperson"]},{"hotel_name":"The Bryant Park Hotel","location":"New York City, New York","rating":"4.7","price_range":"$100-$200","amenities":["Wine \/ champagne","Concierge","Bar \/ lounge"]},{"hotel_name":"Casablanca Hotel By Library Hotel Collection","location":"New York City, New York","rating":"4.8","price_range":"$100-$200","amenities":["Doorperson","Bar \/ lounge","Restaurant"]}]
curl --location --request POST 'https://zylalabs.com/api/6509/us+tourism+api/9419/get+top+hotels+in+the+us' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"state":"Required"}'
{"attractions":[{"name":"Empire State Building","location":"New York City, New York","rating":4.5,"reviews":96416,"description":"The Empire State Building is arguably the most iconic building in New York City. Visitors can expect two observation decks, with sweeping skyline views. Other than a classic photo-op, you can learn about the building's history through informative displays and videos, then have a meal at one of the seven on-site restaurants."},{"name":"Central Park","location":"New York City, New York","rating":4.7,"reviews":134260,"description":"Central Park is the beating heart of Manhattan. Stroll around the lawns, gardens, and reservoirs, but make sure to look up at the historic buildings and romantic Belvedere Castle. There's even public art and live musicians along the leafy promenades. The best way to explore is by bike, row boat, or horse-drawn carriage."},{"name":"Brooklyn Bridge","location":"New York City, New York","rating":4.7,"reviews":26231,"description":"There are a few landmarks that dominate New York City's skyline, one of which is the iconic Brooklyn Bridge. Walk or bike across it in the pedestrian lanes, while taking in the scenic views of Manhattan and downtown Brooklyn. Even better, this attraction is free to visit."},{"name":"The National 9\/11 Memorial & Museum","location":"New York City, New York","rating":4.7,"reviews":97393,"description":"The National 9\/11 Memorial & Museum is sobering, but worthy of a visit. Set aside an entire day to explore the exhibits and hear the personal stories of the firefighters, first-responders, and innocent bystanders who were at the Twin Towers. Tip: Don't miss the K-9 Courage exhibit and In Memoriam honor roll."},{"name":"The Metropolitan Museum of Art","location":"New York City, New York","rating":4.8,"reviews":55398,"description":"The Met is a treasure trove. Priceless artwork, sculptures, and artifacts fill its galleries, so you'll want to spend an entire day (or two) here. With everything from Egyptian mummies to Post-Impressionist paintings, there's something for everyone. Tip: When you're done, wander around Central Park, just behind the museum, or eat a hot dog on the Met's steps."}]}
curl --location --request POST 'https://zylalabs.com/api/6509/us+tourism+api/9420/get+attractions+data+by+state' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"state":"Required"}'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
美国旅游API提供了关于美国各地酒店、餐厅和活动的全面数据,包括酒店名称、位置、价格、设施和用户评分等细节
您可以使用“豪华酒店”、“全包度假村”和“家庭友好型住宿”等分类来筛选酒店列表,以寻找符合特定标准的选项
美国旅游API遵循标准JSON格式进行数据交换,确保与各种应用程序的兼容性,并便于集成到旅行规划工具中
是的,技术要求包括访问认证、请求的速率限制,以及对大数据集进行管理的响应支持分页。
此端点返回美国主要景点的列表,包括每个景点的州和名称。该数据帮助用户识别各州的热门目的地
响应包括每个景点的“州”和“名称”等字段,使用户能够轻松识别主要旅游景点的位置和名称
酒店列表被构建为一个对象数组,每个对象包含“酒店名称”、“位置”、“评级”、“价格范围”和“设施”等字段,便于访问每个酒店的详细信息
用户必须指定一个状态参数以检索酒店列表。对于复合状态名称,应使用连字符(例如“new-york”)以确保准确的数据检索
此端点提供有关景点的详细信息,包括名称、位置、评分、评论数量和描述,帮助用户了解每个地点的期望。
用户可以根据评级、价格范围或设施筛选和排序酒店数据,以找到最符合他们旅行需求和偏好的住宿
数据来自各种旅行相关的来源,包括用户评论、酒店数据库和旅游局,确保为用户提供全面和可靠的数据集
常见的用例包括旅行规划应用程序、行程构建器和需要有关美国酒店、景点和活动最新信息的旅游网站