纽约市景点信息API专注于提供关于纽约市内各种旅行相关实体的详细信息,包括酒店、餐厅、航班和活动。该API使用JSON格式进行数据交换,确保与网络应用程序和移动平台的兼容性
[
{
"hotels": [
{
"hotel_name": "Motto by Hilton New York City Chelsea"
},
{
"hotel_name": "The Evelyn Hotel"
},
{
"hotel_name": "Pod Times Square"
},
{
"hotel_name": "Embassy Suites By Hilton New York Manhattan Times Square"
},
{
"hotel_name": "Broadway Plaza Hotel"
},
{
"hotel_name": "PUBLIC Hotel"
},
{
"hotel_name": "Hotel Belleclaire"
},
{
"hotel_name": "Arlo NoMad"
},
{
"hotel_name": "Hilton Garden Inn NYC Financial Center / Manhattan Downtown"
},
{
"hotel_name": "The Bryant Park Hotel"
},
{
"hotel_name": "Hard Rock Hotel New York"
},
{
"hotel_name": "Artezen Hotel"
},
{
"hotel_name": "Hampton Inn Manhattan/Times Square Central"
},
{
"hotel_name": "Pestana Park Avenue"
},
{
"hotel_name": "LUMA Hotel Times Square"
},
{
"hotel_name": "The Lucerne Hotel"
},
{
"hotel_name": "Park Terrace Hotel"
},
{
"hotel_name": "Pod 51 Hotel"
},
{
"hotel_name": "Ace Hotel New York"
},
{
"hotel_name": "The Kimberly Hotel"
},
{
"hotel_name": "Lotte New York Palace"
},
{
"hotel_name": "Kixby Hotel"
},
{
"hotel_name": "New York Marriott Marquis"
},
{
"hotel_name": "Hotel Riu Plaza New York Times Square"
},
{
"hotel_name": "The Marlton Hotel"
},
{
"hotel_name": "The Grayson Hotel"
},
{
"hotel_name": "Tempo By Hilton New York Times Square"
},
{
"hotel_name": "The Knickerbocker"
},
{
"hotel_name": "Hotel Beacon"
},
{
"hotel_name": "Hotel Riu Plaza Manhattan Times Square"
}
]
}
]
curl --location --request POST 'https://zylalabs.com/api/10116/nyc+attractions+information+api/19336/get+best+hotels+in+new+york' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
[
{
"name": "Hard Rock Hotel New York",
"rating": "4.6",
"bubbles": "4.6 of 5 bubbles",
"reviews": "1,612 reviews",
"best_value": "#11 Best Value in New York City that matches your filters"
}
]
curl --location --request POST 'https://zylalabs.com/api/10116/nyc+attractions+information+api/19342/get+hotels+details+by+name' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"hotel":"Required"}'
[
{
"attractions": [
"Starship 90 Min New York City Statue of Liberty, Bridges, Skyline",
"New York in One Day Guided Sightseeing Tour",
"Central Park Pedicab Guided Tours",
"True Crime NYC: Mafia Walk w/Ret. NYPD Detective & Local Food",
"SUMMIT One Vanderbilt Experience Ticket",
"Statue of Liberty and Ellis Island Tour: All Options",
"New York Night Tour: Open Top Bus Tour by TopView®",
"NYC Empire State Building Admission Ticket",
"9/11 Memorial Museum Admission Ticket",
"60 Minute Statue of Liberty Sightseeing tour-New York Harbor",
"Gilded Age Mansions Tour in New York",
"Statue of Liberty and Ellis Island Guided Tour with Ferry",
"Circle Line: 2.5hr - Complete Manhattan Island Cruise",
"Statue of Liberty and New York City Skyline Sightseeing Cruise",
"Manhattan Architecture Yacht Cruise",
"NYC: Chinatown & Little Italy Food Tour with 7 Delicious Tastings",
"Half-Day Bus Tour of NYC Top Highlights",
"Circle Line: 2hr - New York City Harbor Lights Cruise",
"All-Access 9/11: Ground Zero Tour, Memorial and Museum, One World Observatory",
"Deluxe Manhattan Helicopter Tour",
"Official NYC Horse Carriage Rides in Central Park since 1979 ™",
"New York Helicopter Tour: Ultimate Manhattan Sightseeing",
"Circle Line: New York City Statue of Liberty Super Express Cruise",
"Top of the Rock Observation Deck New York City Ticket",
"SoHo, Little Italy, and Chinatown Walking Tour in New York",
"New York City One World Observatory Admission Ticket",
"Manhattan Adventure Sightseeing Boat Tour - departing MIDTOWN",
"9/11 Memorial, Ground Zero Tour with Optional 9/11 Museum Ticket",
"New York City Sunset Cocktail Cruise on Small Yacht",
"New York City Mafia and Local Food Tour led by NYPD Guides"
]
}
]
curl --location --request POST 'https://zylalabs.com/api/10116/nyc+attractions+information+api/19347/get+attractions' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
[
{
"title": "Statue of Liberty and Ellis Island Tour: All Options",
"rating": 4.9,
"bubbles": 5,
"reviews": 7426,
"duration": "3–5 hours",
"description": "Hear the stories of immigrants who passed through Ellis Island and learn about the creation and symbolism of the Statue.",
"free_cancellation": "Not sure? You can cancel this reservation up to 24 hours in advance for a full refund.",
"recommended_by": "97% of travelers",
"price": {
"from": "$69",
"per_adult": true
}
}
]
curl --location --request POST 'https://zylalabs.com/api/10116/nyc+attractions+information+api/19351/get+attraction+info+by+name' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"attraction":"Required"}'
[
{
"restaurants": [
"La Grande Boucherie",
"Le Jardin Bistro",
"Bourbon Steak By Michael Mina",
"Complete Cafe",
"Bua Thai Ramen & Robata Grill",
"The Elgin",
"Hatsuhana Sushi Restaurant",
"Bagels & Schmear",
"The Consulate Midtown",
"The Standard Grill",
"Jams",
"Lindens",
"The Consulate UWS",
"Bubba Gump Shrimp Co.",
"Napoli Pizza",
"Sicily Osteria",
"Kuu Ramen",
"Blue Ribbon Sushi",
"Los Tacos No. 1",
"Spice Symphony",
"Bill's Bar & Burger",
"Sea Fire Grill",
"Dos Caminos",
"Pure Thai Cookhouse",
"Petite Boucherie",
"Boucherie West Village",
"Olio E Più",
"Osteria Nonnino",
"Piccola Cucina Estiatorio",
"Blue Fin",
"Sottocasa Pizzeria Harlem",
"Quality Italian"
]
}
]
curl --location --request POST 'https://zylalabs.com/api/10116/nyc+attractions+information+api/19356/get+best+restaurants' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
[
{
"name": "Dos Caminos",
"rating": "4.2",
"reviews": "1,028 reviews",
"cuisine": "Mexican, Latin",
"status": "Open now",
"menu": "Menu",
"description": "Sat inside, it was a little warm, but the service was quick and we got drinks... End-of-day tacos & margaritas treat!"
}
]
curl --location --request POST 'https://zylalabs.com/api/10116/nyc+attractions+information+api/19361/get+restaurant+info+by+name' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"restaurant":"Required"}'
[
{
"flights": [
{
"flight_id": 1,
"from": "Atlanta, GA (ATL)",
"to": "New York City, NY (NYC)"
},
{
"flight_id": 2,
"from": "Charlotte, NC (CLT)",
"to": "New York City, NY (NYC)"
},
{
"flight_id": 3,
"from": "Miami, FL (MIA)",
"to": "New York City, NY (NYC)"
},
{
"flight_id": 4,
"from": "Chicago, IL (CHI)",
"to": "New York City, NY (NYC)"
},
{
"flight_id": 5,
"from": "Orlando, FL (ORL)",
"to": "New York City, NY (NYC)"
},
{
"flight_id": 6,
"from": "Raleigh, NC (RDU)",
"to": "New York City, NY (NYC)"
},
{
"flight_id": 7,
"from": "Dallas, TX (DFW)",
"to": "New York City, NY (NYC)"
},
{
"flight_id": 8,
"from": "Houston, TX (HOU)",
"to": "New York City, NY (NYC)"
}
]
}
]
curl --location --request POST 'https://zylalabs.com/api/10116/nyc+attractions+information+api/19365/get+flights+to+new+york' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
[
{
"from": "Houston, TX (HOU)",
"to": "New York City, NY (NYC)",
"price": "$76",
"dates": "Tue, 10/7 - Wed, 10/8",
"airline": "Spirit Airlines",
"type": "Nonstop, Roundtrip, Economy"
}
]
curl --location --request POST 'https://zylalabs.com/api/10116/nyc+attractions+information+api/19369/get+flight+details+by+id' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"flight_id":"Required","from":"Required","to":"Required"}'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
该API使用JSON格式进行数据交换,确保与各种web应用程序和移动平台的兼容性,使得数据的集成和利用变得简单
该API可以用于旅行规划应用程序、旅游网站和移动应用,帮助用户通过提供关于纽约市的住宿、饮食选择和当地景点的详细信息来进行探索
纽约市景点信息API提供关于酒店、餐厅、景点和飞往纽约市的航班的全面数据,使用户能够访问有关各种旅行相关实体的详细信息
该API采用JSON格式进行数据交换,使其与网络应用程序和移动平台兼容。这使开发人员能够轻松地将API集成到他们的旅行规划和探索应用程序中
此端点返回纽约市最佳酒店的列表,包括酒店名称。每个条目提供可用住宿的简单表示,使用户能够轻松识别他们的住宿选项
响应包括酒店名称、评级、评论数量、最佳性价比排名和酒店描述等字段。这些信息帮助用户评估每个酒店的质量和适用性
响应结构为一个景点名称数组,允许用户快速浏览各种选项。每个景点以字符串形式呈现,便于在应用程序中解析和显示
用户必须提供餐厅名称作为参数以获取详细信息。这允许进行针对性查询,使用户能够获取有关所选用餐选项的具体细节
该端点提供前往纽约市的航班列表,包括出发地点、航班ID和目的地细节。它帮助用户根据他们的出发点找到合适的旅行选项
用户可以通过在各自的详细端点中指定酒店或餐厅名称来自定义请求。这种有针对性的方法允许更相关和高效的数据检索
典型的用例包括旅行规划应用程序、旅游网站和需要有关景点详细信息的行程生成器,如评分、描述和游客推荐
数据准确性通过定期更新和质量检查得到维护,确保用户获得有关纽约市的酒店、餐厅、景点和航班的可靠和最新信息
服务级别:
100%
响应时间:
2,542ms
服务级别:
100%
响应时间:
4,309ms
服务级别:
100%
响应时间:
2,755ms
服务级别:
100%
响应时间:
3,690ms
服务级别:
100%
响应时间:
7,928ms
服务级别:
100%
响应时间:
3,271ms
服务级别:
100%
响应时间:
61ms
服务级别:
100%
响应时间:
55ms
服务级别:
100%
响应时间:
1,621ms
服务级别:
100%
响应时间:
4,761ms
服务级别:
100%
响应时间:
257ms
服务级别:
100%
响应时间:
246ms
服务级别:
100%
响应时间:
285ms
服务级别:
100%
响应时间:
193ms
服务级别:
100%
响应时间:
278ms
服务级别:
100%
响应时间:
3,783ms
服务级别:
100%
响应时间:
2,951ms
服务级别:
100%
响应时间:
2,647ms
服务级别:
100%
响应时间:
3,284ms
服务级别:
100%
响应时间:
2,895ms