OpenTable API

API ID 15963

餐厅预订数据:任意地点附近提供可预订时段的餐厅,筛选和排序,详情,评分,可预订情况,菜单,照片和评论

API 文档

端点

请求
返回 /restaurant/photos 端点的照片类别及其值和标签
Endpoint ID: 44684
GET https://zylalabs.com/api/15963/opentable+api/44684/get+photo+categories
输入参数

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

此端点不需要任何输入参数。

API 示例响应
JSON
[
    {
        "value": "all",
        "label": "All photos"
    },
    {
        "value": "food",
        "label": "Food"
    },
    {
        "value": "drink",
        "label": "Drinks"
    },
    {
        "value": "interior",
        "label": "Interior"
    },
    {
        "value": "exterior",
        "label": "Exterior"
    },
    {
        "value": "menu",
        "label": "Menu"
    }
]
获取照片类别 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15963/opentable+api/44684/get+photo+categories' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回 /search/restaurants 端点的“price_bands”筛选器的价格区间,每个区间均包含其值和标签
Endpoint ID: 44685
GET https://zylalabs.com/api/15963/opentable+api/44685/get+price+bands
输入参数

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

此端点不需要任何输入参数。

API 示例响应
JSON
[
    {
        "value": "2",
        "label": "$$ (in the US: $30 and under a person)"
    },
    {
        "value": "3",
        "label": "$$$ (in the US: $31 to $50 a person)"
    },
    {
        "value": "4",
        "label": "$$$$ (in the US: $50 and over a person)"
    }
]
获取价格区间 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15963/opentable+api/44685/get+price+bands' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回 /restaurant/reviews 端点的排序顺序,每个顺序都包含其值和标签
Endpoint ID: 44686
GET https://zylalabs.com/api/15963/opentable+api/44686/get+review+sorts
输入参数

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

此端点不需要任何输入参数。

API 示例响应
JSON
[
    {
        "value": "newest",
        "label": "Newest first"
    },
    {
        "value": "highest_rating",
        "label": "Highest rating first"
    },
    {
        "value": "lowest_rating",
        "label": "Lowest rating first"
    }
]
获取评价排序器 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15963/opentable+api/44686/get+review+sorts' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回 /search/restaurants 端点的排序选项,每个选项都包含其值和标签
Endpoint ID: 44687
GET https://zylalabs.com/api/15963/opentable+api/44687/get+search+sorts
输入参数

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

此端点不需要任何输入参数。

API 示例响应
JSON
[
    {
        "value": "best",
        "label": "Best match"
    },
    {
        "value": "distance",
        "label": "Nearest first"
    },
    {
        "value": "rating",
        "label": "Highest rated first"
    }
]
获取搜索排序方式 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15963/opentable+api/44687/get+search+sorts' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回餐厅在某个时间段前后、指定人数就餐、某一天或连续最多 7 天的空闲预订时段。每个时段都包含时间、类型、座位和用餐区域;没有时段的日期会附上原因和餐厅的留言
Endpoint ID: 44688
GET https://zylalabs.com/api/15963/opentable+api/44688/get+restaurant+availability
输入参数

获取餐厅空位情况 — 端点功能

对象 描述
restaurant_id 必需 OpenTable id of the restaurant (e.g. "1906") or its profile link (e.g. "https://www.opentable.com/restaurant/profile/1906"). Use the /search/restaurants or /search/autocomplete endpoint to find it.
date 可选 Optional first date as YYYY-MM-DD (defaults to today).
time 可选 Optional time as HH:MM in the restaurant's local time (defaults to "19:00"). Slots up to two and a half hours before and after it are returned.
party_size 可选 Optional number of guests, from 1 to 20 (defaults to 2).
days 可选 Optional number of days from the first date, from 1 to 7 (defaults to 1).

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


输入参数

restaurant_id
date
time
party_size
days
API 示例响应
JSON
{
    "restaurant_id": 1906,
    "name": "Foreign Cinema",
    "party_size": 2,
    "dates": [
        {
            "date_time": "2026-12-03T19:00",
            "time_slots": [],
            "no_times_reasons": [
                "BlockedAvailability"
            ],
            "message": null,
            "policies": [],
            "min_party_size": 1,
            "max_party_size": 10,
            "max_days_in_advance": 60
        }
    ]
}
获取餐厅空位情况 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15963/opentable+api/44688/get+restaurant+availability?restaurant_id=1906&time=19:00&party_size=2&days=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回餐厅及其链接、描述、菜系、价格区间、用餐风格、着装要求、营业时间、行政主厨、电话、网站、地址、坐标、社区、停车信息、公共交通、支付方式、无障碍设施、评分及其分布和第三方评分、评论摘要、热门评论、热门菜品、照片类别、照片、用餐区域、预订时间范围、预订政策和私人用餐包间
Endpoint ID: 44689
GET https://zylalabs.com/api/15963/opentable+api/44689/get+restaurant+details
输入参数

获取餐厅详情 — 端点功能

对象 描述
restaurant_id 必需 OpenTable id of the restaurant (e.g. "1906") or its profile link (e.g. "https://www.opentable.com/restaurant/profile/1906"). Use the /search/restaurants or /search/autocomplete endpoint to find it.

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


输入参数

restaurant_id
API 示例响应
JSON
{
    "id": 1906,
    "name": "Foreign Cinema",
    "url": "https://www.opentable.com/foreign-cinema",
    "description": "Foreign Cinema is a one-of-a-kind, nationally acclaimed restaurant blending independent films with California-Mediterranean cuisine. Enjoy a stylish indoor dining room with a full bar and fireplace, or relax in our heated and covered outdoor courtyard where 35mm film screenings begin at dusk.\n\nFor those seeking a more intimate experience, our private dining options include the mezzanine, amate terrace, and gallery, thoughtfully curated by Modernism West. Our vibrant DJ/live music bar, Laszlo, serves craft cocktails, zero-proof options, a full dinner menu, and lively tunes to end your night.\n\nWe are currently accepting reservations for both the outdoor courtyard and indoor dining up to 60 days in advance. Standard seating refers to the indoor dining room. For groups of 11 or more, please reach out to our private dining department at [email protected] for booking details.",
    "cuisines": [
        {
            "id": "71c5b1fc-dc2a-4dff-bf31-f4e7b8e956a0",
            "name": "Mediterranean",
            "primary": false
        }
    ],
    "price_band": {
        "id": "3",
        "label": "$31 to $50"
    },
    "rating": {
        "overall": 4.7,
        "food": 4.6,
        "service": 4.6,
        "ambience": 4.8,
        "value": 4.3,
        "noise": 2,
        "reviews": 9253,
        "recent_reviews": 569
    },
    "address": {
        "line1": "2534 Mission St.",
        "line2": null,
        "city": "San Francisco",
        "state": "CA",
        "postal_code": "94110",
        "country": "United States",
        "country_code": "US"
    },
    "latitude": 37.756466,
    "longitude": -122.4191716,
    "neighborhood": {
        "id": "2951",
        "name": "Mission District"
    },
    "metro_id": "4",
    "photo": "https://resizer.otstatic.com/v4/photos/62822293-4",
    "bookings_today": 110,
    "features": [
        "reservation",
        "direct_messaging",
        "diner_ai"
    ],
    "seating": [
        "default",
        "outdoor"
    ],
    "offer": null,
    "takeout": true,
    "delivery_partners": [],
    "order_url": null,
    "has_private_dining": true,
    "photos_count": 1441,
    "dining_style": "Casual Elegant",
    "dress_code": "Casual Dress",
    "hours": "Brunch\nSat, Sun 10:30 am–2:30 pm\nDinner\nMon–Thu 5:00 pm–9:30 pm\nFri, Sat 5:00 pm–10:00 pm\nSun 5:00 pm–9:00 pm",
    "executive_chef": "Gayle Pirie & John Clark",
    "phone": "(415) 648-7600 ext. 0",
    "website": "http://www.foreigncinema.com/",
    "facebook": "http://www.facebook.com/foreigncinema",
    "twitter": "@foreigncinemasf",
    "external_menu": "http://foreigncinema.com/menus/",
    "has_menu": false,
    "cross_street": "Between 21st and 22nd Streets",
    "parking": "Street Parking",
    "parking_details": "We recommend parking at the Bartlett Garage located on 21st St between Valencia and Mission.",
    "public_transit": "MUNI: 14 Mission bus; BART: 16th & 24th/Mission station; Mission-Bartlett Garage: 3255 21st Street San Francisco, CA 94110",
    "payment_options": [
        "AMEX",
        "Discover",
        "Mastercard",
        "Visa"
    ],
    "accessibility": [
        "Wheelchair Access"
    ],
    "has_gender_neutral_restroom": false,
    "currency": "USD",
    "max_party_size": 10,
    "max_advance_days": 60,
    "booking_window": {
        "start": "2026-12-02T20:00",
        "end": "2027-02-01T13:00"
    },
    "dining_areas": [
        {
            "id": "81567",
            "name": "Indoor Dining Room",
            "environment": "indoor"
        },
        {
            "id": "81568",
            "name": "Outdoor Courtyard",
            "environment": "outdoor"
        }
    ],
    "reservation_message": "Foreign Cinema requires a credit card guarantee for parties 6 or more and asks that guests who wish to cancel call the restaurant at least 24 hours in advance in order to avoid a $25 per person cancellation fee. Please note, cancellation fees for Valentine's Day are $50pp and require 48 hour notice.\n\n\nWe can only accommodate groups up to 10 in our main dining room and duplicate reservations will not be honored. Please contact our Private Dining coordinator for all groups of 11+ Thanks",
    "terms": "We can accommodate reservations for groups of up to 10 guests. Multiple or duplicate reservations made to accommodate a larger group will not be honored. Parties of 11 or larger require private dining, please contact [email protected].\n\nALL children must be included in the reservation to ensure proper seating and accommodation.\n\nOn rainy days, outdoor reservations will be seated under our covered canopy. Some may be moved indoors in case of inclement weather.",
    "review_summary": "Foreign Cinema offers an extraordinary dining experience with its unique ambiance, featuring an outdoor courtyard where films are projected. Praised for its \"great food,\" \"excellent service,\" and \"wonderful ambiance,\" this Mission District staple impresses with its \"delicious and innovative\" dishes. Perfect for special occasions, it's a \"must-visit\" San Francisco gem.",
    "rating_distribution": [
        {
            "stars": 1,
            "count": 6
        },
        {
            "stars": 2,
            "count": 7
        },
        {
            "stars": 3,
            "count": 29
        },
        {
            "stars": 4,
            "count": 65
        },
        {
            "stars": 5,
            "count": 462
        }
    ],
    "recommended_by": 60,
    "third_party_ratings": [
        {
            "source": "Google",
            "rating": 4.4,
            "count": 1168
        },
        {
            "source": "TripAdvisor",
            "rating": 4.2,
            "count": 25
        },
        {
            "source": "Yelp",
            "rating": 4.3,
            "count": 861
        }
    ],
    "top_reviews": [
        {
            "id": "OT-1906-2110983739-100066465060",
            "text": "Been there before and enjoyed it.  Same this time.  Will be back.",
            "language": "en",
            "posted": "2026-12-01T03:05",
            "dined": "2026-11-29T11:45",
            "author": {
                "name": "Rod",
                "city": "San Francisco",
                "reviews": 5,
                "vip": true
            },
            "rating": {
                "overall": 5,
                "food": 5,
                "service": 5,
                "ambience": 5,
                "value": 5,
                "noise": 1
            },
            "recommended": true,
            "helpful": 0,
            "not_helpful": 0,
            "highlights": [],
            "photos": []
        }
    ],
    "popular_dishes": [
        {
            "id": "1906-5fd20774a61b9b12eebda262207233e0",
            "name": "Lobster",
            "description": "Maine",
            "photo": "https://resizer.otstatic.com/v4/photos/71920947-1",
            "review_mentions": 15,
            "photo_mentions": 1
        }
    ],
    "photo_categories": [
        {
            "id": "all",
            "name": "All",
            "count": 1441
        },
        {
            "id": "food",
            "name": "Food",
            "count": 1255
        },
        {
            "id": "drink",
            "name": "Drinks",
            "count": 80
        }
    ],
    "photos": [
        "https://resizer.otstatic.com/v4/photos/62822293-4",
        "https://resizer.otstatic.com/v4/photos/51613071-4",
        "https://resizer.otstatic.com/v4/photos/62822417-4"
    ],
    "private_dining": {
        "description": "Foreign Cinema is proud to offer several distinctive spaces for private events of up to 400 guests, ranging from passed hors d'oeuvres and cocktails to formal, seated events, day or night, any day of the week. Our chefs tailor the menu to each event, matching seasonal and market availability with guest preferences and Foreign Cinema's unique style of California/Mediterranean cuisine. Our wine director can recommend wines from our extensive wine list including over 200 selections primarily from California, France and Italy. Foreign Cinema is an ideal and festive spot for social events, such as cocktail parties, special occasions, rehearsal dinners and weddings. We have also proven to be a uniquely suited location for corporate events, ranging from cocktail mixers, celebration dinners, meetings and presentations, holiday parties, product launches and film festivals.",
        "largest_capacity": 400,
        "contact": "Janine Jacobson",
        "phone": "(415) 648-7600 ext. 124",
        "rooms": [
            {
                "id": "4d63482b-0f5e-4822-a991-231543b09766",
                "name": "The Director's Table",
                "description": "The Director's Table is a unique, ideal space for a semi-private, VIP dining experience. Diners can enjoy the humming of a vintage 35mm film projector nearby and an unobstructed view of the featured film and restaurant courtyard below.",
                "seated": 12,
                "standing": 0,
                "photo": "https://resizer.otstatic.com/v4/photos/79884269-1"
            }
        ]
    }
}
获取餐厅详情 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15963/opentable+api/44689/get+restaurant+details?restaurant_id=1906' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回餐厅的菜单,每份菜单都包含其分区及分区中的菜品、描述、价格和价格变体
Endpoint ID: 44690
GET https://zylalabs.com/api/15963/opentable+api/44690/get+restaurant+menus
输入参数

获取餐厅菜单 — 端点功能

对象 描述
restaurant_id 必需 OpenTable id of the restaurant (e.g. "1906") or its profile link (e.g. "https://www.opentable.com/restaurant/profile/1906"). Use the /search/restaurants or /search/autocomplete endpoint to find it.

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


输入参数

restaurant_id
API 示例响应
JSON
[
    {
        "name": "Dinner Menu",
        "description": null,
        "currency": "US$",
        "provider": "OpenTable",
        "sections": [
            {
                "name": "Oysters*",
                "description": null,
                "items": []
            },
            {
                "name": "East Coast",
                "description": null,
                "items": [
                    {
                        "name": "Beau Soleil (Miramicht Bay, N.B. CN)",
                        "description": null,
                        "price": null,
                        "variations": [
                            {
                                "name": "Each",
                                "price": "4.50"
                            },
                            {
                                "name": "Half",
                                "price": "27.00"
                            },
                            {
                                "name": "Dozen",
                                "price": "54.00"
                            }
                        ]
                    },
                    {
                        "name": "East Point (New Jersey)",
                        "description": null,
                        "price": null,
                        "variations": [
                            {
                                "name": "Each",
                                "price": "3.75"
                            },
                            {
                                "name": "Half",
                                "price": "22.50"
                            },
                            {
                                "name": "Dozen",
                                "price": "45.00"
                            }
                        ]
                    },
                    {
                        "name": "Ichabod Select (Plymouth, MA)",
                        "description": null,
                        "price": null,
                        "variations": [
                            {
                                "name": "Each",
                                "price": "4.50"
                            },
                            {
                                "name": "Half",
                                "price": "27.00"
                            },
                            {
                                "name": "Dozen",
                                "price": "54.00"
                            }
                        ]
                    },
                    {
                        "name": "Moon Shoal (Barnstable, MA)",
                        "description": null,
                        "price": null,
                        "variations": [
                            {
                                "name": "Each",
                                "price": "4.50"
                            },
                            {
                                "name": "Half",
                                "price": "27.00"
                            },
                            {
                                "name": "Dozen",
                                "price": "54.00"
                            }
                        ]
                    },
                    {
                        "name": "Mr. Bill's (Saquish, MA)",
                        "description": null,
                        "price": null,
                        "variations": [
                            {
                                "name": "Each",
                                "price": "4.00"
                            },
                            {
                                "name": "Half",
                                "price": "24.00"
                            },
                            {
                                "name": "Dozen",
                                "price": "48.00"
                            }
                        ]
                    },
                    {
                        "name": "Row 34 \"Skips Petit\" (Duxbury, MA)",
                        "description": null,
                        "price": null,
                        "variations": [
                            {
                                "name": "Each",
                                "price": "4.00"
                            },
                            {
                                "name": "Half",
                                "price": "24.00"
                            },
                            {
                                "name": "Dozen",
                                "price": "48.00"
                            }
                        ]
                    },
                    {
                        "name": "Saint Simone (Saint Simone Bay, N.B. CN)",
                        "description": null,
                        "price": null,
                        "variations": [
                            {
                                "name": "Each",
                                "price": "4.00"
                            },
                            {
                                "name": "Half",
                                "price": "24.00"
                            },
                            {
                                "name": "Dozen",
                                "price": "48.00"
                            }
                        ]
                    }
                ]
            }
        ]
    }
]
获取餐厅菜单 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15963/opentable+api/44690/get+restaurant+menus?restaurant_id=1906' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回餐厅的照片,每页 50 张,可包含所有类别或单一类别(食物、饮品、室内、室外、菜单),每张照片附有链接、说明、类别、来源(餐厅或食客)、日期和点赞数
Endpoint ID: 44691
GET https://zylalabs.com/api/15963/opentable+api/44691/get+restaurant+photos
输入参数

获取餐厅照片 — 端点功能

对象 描述
restaurant_id 必需 OpenTable id of the restaurant (e.g. "1906") or its profile link (e.g. "https://www.opentable.com/restaurant/profile/1906"). Use the /search/restaurants or /search/autocomplete endpoint to find it.
category 可选 Optional photo category (defaults to "all"). Use the /general/photo-categories endpoint to list valid values.
page 可选 Optional page number, from 1 to 100 (defaults to 1).

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


输入参数

restaurant_id
category
page
API 示例响应
JSON
{
    "page": 1,
    "total": 1255,
    "total_pages": 26,
    "has_more": true,
    "photos": [
        {
            "id": "51613070",
            "url": "https://resizer.otstatic.com/v4/photos/51613070-3",
            "name": null,
            "category": "food",
            "source": "restaurant",
            "date": "2023-02-28T20:18:09Z",
            "likes": 0
        },
        {
            "id": "51613211",
            "url": "https://resizer.otstatic.com/v4/photos/51613211-3",
            "name": null,
            "category": "food",
            "source": "restaurant",
            "date": "2023-02-28T20:36:13Z",
            "likes": 0
        },
        {
            "id": "67633906",
            "url": "https://resizer.otstatic.com/v4/photos/67633906-3",
            "name": null,
            "category": "food",
            "source": "restaurant",
            "date": "2024-08-21T00:53:31Z",
            "likes": 0
        },
        {
            "id": "62822390",
            "url": "https://resizer.otstatic.com/v4/photos/62822390-3",
            "name": "Brunch French Omelette",
            "category": "food",
            "source": "restaurant",
            "date": "2024-03-15T00:46:57Z",
            "likes": 0
        },
        {
            "id": "62822389",
            "url": "https://resizer.otstatic.com/v4/photos/62822389-3",
            "name": null,
            "category": "food",
            "source": "restaurant",
            "date": "2024-03-15T00:46:44Z",
            "likes": 0
        },
        {
            "id": "62822345",
            "url": "https://resizer.otstatic.com/v4/photos/62822345-3",
            "name": null,
            "category": "food",
            "source": "restaurant",
            "date": "2024-03-15T00:40:11Z",
            "likes": 0
        },
        {
            "id": "51613214",
            "url": "https://resizer.otstatic.com/v4/photos/51613214-4",
            "name": null,
            "category": "food",
            "source": "restaurant",
            "date": "2023-02-28T20:36:18Z",
            "likes": 2
        },
        {
            "id": "62822388",
            "url": "https://resizer.otstatic.com/v4/photos/62822388-3",
            "name": "Pork Chop",
            "category": "food",
            "source": "restaurant",
            "date": "2024-03-15T00:46:44Z",
            "likes": 0
        },
        {
            "id": "67633909",
            "url": "https://resizer.otstatic.com/v4/photos/67633909-3",
            "name": null,
            "category": "food",
            "source": "restaurant",
            "date": "2024-08-21T00:53:47Z",
            "likes": 0
        },
        {
            "id": "62822344",
            "url": "https://resizer.otstatic.com/v4/photos/62822344-3",
            "name": null,
            "category": "food",
            "source": "restaurant",
            "date": "2024-03-15T00:39:48Z",
            "likes": 0
        },
        {
            "id": "51613224",
            "url": "https://resizer.otstatic.com/v4/photos/51613224-2",
            "name": null,
            "category": "food",
            "source": "restaurant",
            "date": "2023-02-28T20:37:22Z",
            "likes": 0
        },
        {
            "id": "62822236",
            "url": "https://resizer.otstatic.com/v4/photos/62822236-4",
            "name": null,
            "category": "food",
            "source": "restaurant",
            "date": "2024-03-15T00:22:06Z",
            "likes": 0
        },
        {
            "id": "91590901",
            "url": "https://resizer.otstatic.com/v4/photos/91590901-1",
            "name": null,
            "category": "food",
            "source": "diner",
            "date": "2026-01-24T23:21:53Z",
            "likes": 0
        },
        {
            "id": "42539794",
            "url": "https://resizer.otstatic.com/v4/photos/42539794-1",
            "name": null,
            "category": "food",
            "source": "diner",
            "date": "2021-07-19T05:18:10Z",
            "likes": 0
        },
        {
            "id": "54067176",
            "url": "https://resizer.otstatic.com/v4/photos/54067176-1",
            "name": null,
            "category": "food",
            "source": "diner",
            "date": "2023-08-05T17:49:37Z",
            "likes": 0
        },
        {
            "id": "60355236",
            "url": "https://resizer.otstatic.com/v4/photos/60355236-1",
            "name": null,
            "category": "food",
            "source": "diner",
            "date": "2024-01-21T20:46:09Z",
            "likes": 0
        },
        {
            "id": "55372338",
            "url": "https://resizer.otstatic.com/v4/photos/55372338-1",
            "name": null,
            "category": "food",
            "source": "diner",
            "date": "2023-09-21T04:04:21Z",
            "likes": 0
        },
        {
            "id": "31249063",
            "url": "https://resizer.otstatic.com/v4/photos/31249063-1",
            "name": null,
            "category": "food",
            "source": "diner",
            "date": "2020-07-24T19:16:24Z",
            "likes": 0
        },
        {
            "id": "96623225",
            "url": "https://resizer.otstatic.com/v4/photos/96623225-1",
            "name": null,
            "category": "food",
            "source": "diner",
            "date": "2026-08-22T20:20:06Z",
            "likes": 0
        },
        {
            "id": "43240130",
            "url": "https://resizer.otstatic.com/v4/photos/43240130-1",
            "name": null,
            "category": "food",
            "source": "diner",
            "date": "2021-09-02T18:35:52Z",
            "likes": 0
        },
        {
            "id": "52678049",
            "url": "https://resizer.otstatic.com/v4/photos/52678049-1",
            "name": null,
            "category": "food",
            "source": "diner",
            "date": "2023-05-16T23:43:57Z",
            "likes": 0
        },
        {
            "id": "53305128",
            "url": "https://resizer.otstatic.com/v4/photos/53305128-1",
            "name": null,
            "category": "food",
            "source": "diner",
            "date": "2023-06-24T18:00:43Z",
            "likes": 0
        },
        {
            "id": "71161594",
            "url": "https://resizer.otstatic.com/v4/photos/71161594-1",
            "name": null,
            "category": "food",
            "source": "diner",
            "date": "2024-12-10T06:14:25Z",
            "likes": 0
        },
        {
            "id": "48703024",
            "url": "https://resizer.otstatic.com/v4/photos/48703024-1",
            "name": null,
            "category": "food",
            "source": "diner",
            "date": "2022-07-05T20:30:48Z",
            "likes": 0
        },
        {
            "id": "95448909",
            "url": "https://resizer.otstatic.com/v4/photos/95448909-1",
            "name": null,
            "category": "food",
            "source": "diner",
            "date": "2026-07-02T16:04:31Z",
            "likes": 0
        }
    ]
}
获取餐厅照片 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15963/opentable+api/44691/get+restaurant+photos?restaurant_id=1906&category=food&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回餐厅的一道人气菜品及其名称、描述、食客照片和提及该菜品的评论
Endpoint ID: 44692
GET https://zylalabs.com/api/15963/opentable+api/44692/get+popular+dish
输入参数

获取热门菜肴 — 端点功能

对象 描述
restaurant_id 必需 OpenTable id of the restaurant (e.g. "1906") or its profile link (e.g. "https://www.opentable.com/restaurant/profile/1906"). Use the /search/restaurants or /search/autocomplete endpoint to find it.
dish_id 必需 Id of the popular dish (e.g. "1906-5fd20774a61b9b12eebda262207233e0"). Use the /restaurant/details endpoint to list the popular dishes of a restaurant.

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


输入参数

restaurant_id
dish_id
API 示例响应
JSON
{
    "id": "1906-5fd20774a61b9b12eebda262207233e0",
    "restaurant_id": 1906,
    "name": "Lobster",
    "description": "Maine",
    "photos": [
        "https://resizer.otstatic.com/v4/photos/71920947-1"
    ],
    "reviews": [
        {
            "id": "OT-1906-2110943800-140252377444",
            "text": "The dining atmosphere was fantastic, with an open-air cinema, perfect for a date. My wife was delighted I chose this restaurant, and we both loved the roasted duck breast as the main course. They even gave us a complimentary buttered bread, which was also excellent! The oysters were the most amazing—the freshest and most delicious oysters I've ever had! Highly recommend the oysters and roasted duck breast!",
            "language": null,
            "posted": "2026-02-16T19:45",
            "dined": "2026-02-16T04:30",
            "author": {
                "name": "Zihan",
                "city": null,
                "reviews": 0,
                "vip": false
            },
            "rating": {
                "overall": 5,
                "food": 5,
                "service": 5,
                "ambience": 4,
                "value": 4,
                "noise": 1
            },
            "recommended": false,
            "helpful": 0,
            "not_helpful": 0,
            "highlights": [],
            "photos": []
        },
        {
            "id": "OT-1906-2110938020-100003514240",
            "text": "Delicious excellent. Wonderful wait staff. Such a gorgeous space. So elegant Earthy, we always  love the menu. Best oysters and small plates like Brandade. The Bavette steak wonderfully herbed. The curry fried chicken always!!! Rosalia salad with crab meat yummy! \nThe artwork placed in various of the dining rooms is stand out. Great pieces by Bay Area and international artists. A new mural in a somewhat secret location by Jet Martinez was a show stopper. \nEvery dish was shared and enjoyed. You must leave room for desserts closed and the cheese plate. Perfect wine suggestions. Everything makes us want to return. I don’t know",
            "language": null,
            "posted": "2026-01-31T20:41",
            "dined": "2026-01-30T03:15",
            "author": {
                "name": "Amy",
                "city": null,
                "reviews": 7,
                "vip": false
            },
            "rating": {
                "overall": 5,
                "food": 5,
                "service": 5,
                "ambience": 5,
                "value": 5,
                "noise": 2
            },
            "recommended": true,
            "helpful": 0,
            "not_helpful": 0,
            "highlights": [],
            "photos": []
        },
        {
            "id": "OT-1906-2110936965-120102196282",
            "text": "Excellent service! Food was excellent and Oysters here are to die for 😮‍💨",
            "language": null,
            "posted": "2026-01-24T20:43",
            "dined": "2026-01-24T04:30",
            "author": {
                "name": "maritza",
                "city": null,
                "reviews": 5,
                "vip": false
            },
            "rating": {
                "overall": 5,
                "food": 4,
                "service": 5,
                "ambience": 5,
                "value": 5,
                "noise": 2
            },
            "recommended": false,
            "helpful": 0,
            "not_helpful": 0,
            "highlights": [],
            "photos": []
        },
        {
            "id": "OT-1906-2110939854-120081962652",
            "text": "Foreign Cinema is a true San Francisco gem where exceptionally high-quality ingredients meet a seasonally evolving menu. While we have been regulars for many years, it has become our definitive Saturday brunch ritual since the end of 2024.\n\nThe raw bar is extensive and beautifully presented—the Maine lobster, fresh oysters, and Tsar Nicoulai caviar service are consistently impeccable. Complementing the food is a delicious cocktail menu that evolves alongside the seasons, offering inventive drinks that often playfully pay homage to cinema.\n\nWhat truly sets this institution apart is the world-class staff. We want to specifically recognize Amy, Brandon, Deanna, Lauren, Paige, and Sasha for their exemplary service; they are professional, attentive, and among the best in the city. Whether in the iconic heated courtyard or by the Gallery fireplace, the atmosphere and hospitality remain unmatched.",
            "language": null,
            "posted": "2026-01-24T23:21",
            "dined": "2026-01-24T19:30",
            "author": {
                "name": "John",
                "city": null,
                "reviews": 38,
                "vip": true
            },
            "rating": {
                "overall": 5,
                "food": 5,
                "service": 5,
                "ambience": 5,
                "value": 5,
                "noise": 2
            },
            "recommended": true,
            "helpful": 0,
            "not_helpful": 0,
            "highlights": [],
            "photos": []
        },
        {
            "id": "OT-1906-2110933518-130014742233",
            "text": "We hadn’t been back to Foreign Cinema in ages but chose to celebrate a birthday in this unique setting. After all these years it still stands up as one of the best. Of course you can’t compare the ambience to any other restaurant. Original Oceans Eleven and then Ed Wood was perfect background visuals. The service was discreet and professional as well as personable and sophisticated. Our food was perfect. The oysters were so fresh and cold and divine. I had the lamb and finished everything on my plate with flourish. My husbands mixed grill was perfection.  What was that grain with the onions? Yummy. We indulged in one dessert with two spoons and fought over the last of the butterscotch pot de crème. It was a wonderful meal .",
            "language": null,
            "posted": "2026-01-03T21:14",
            "dined": "2026-01-03T02:30",
            "author": {
                "name": "Diane",
                "city": null,
                "reviews": 17,
                "vip": true
            },
            "rating": {
                "overall": 5,
                "food": 5,
                "service": 5,
                "ambience": 5,
                "value": 5,
                "noise": 2
            },
            "recommended": false,
            "helpful": 0,
            "not_helpful": 0,
            "highlights": [],
            "photos": []
        }
    ]
}
获取热门菜肴 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15963/opentable+api/44692/get+popular+dish?restaurant_id=1906&dish_id=1906-5fd20774a61b9b12eebda262207233e0' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回餐厅食客评论,每页50条,可按最新发布或评分排序,也可仅返回提及指定文本的评论。每条评论均包含评论正文、语言、发布和用餐日期、作者、评分(总体、食物、服务、氛围、性价比、噪音)、推荐情况、有帮助票数和照片
Endpoint ID: 44693
GET https://zylalabs.com/api/15963/opentable+api/44693/get+restaurant+reviews
输入参数

获取餐厅评价 — 端点功能

对象 描述
restaurant_id 必需 OpenTable id of the restaurant (e.g. "1906") or its profile link (e.g. "https://www.opentable.com/restaurant/profile/1906"). Use the /search/restaurants or /search/autocomplete endpoint to find it.
sort 可选 Optional sort order (defaults to "newest"). Use the /general/review-sorts endpoint to list valid values.
query 可选 Optional text the reviews must mention (e.g. "lobster").
page 可选 Optional page number, from 1 to 100 (defaults to 1).

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


输入参数

restaurant_id
sort
query
page
API 示例响应
JSON
{
    "page": 1,
    "total": 49392,
    "has_more": true,
    "reviews": [
        {
            "id": "OT-1906-2110983739-100066465060",
            "text": "Been there before and enjoyed it.  Same this time.  Will be back.",
            "language": "en",
            "posted": "2026-12-01T03:05",
            "dined": "2026-11-29T11:45",
            "author": {
                "name": "Rod",
                "city": "San Francisco",
                "reviews": 5,
                "vip": true
            },
            "rating": {
                "overall": 5,
                "food": 5,
                "service": 5,
                "ambience": 5,
                "value": 5,
                "noise": 1
            },
            "recommended": true,
            "helpful": 0,
            "not_helpful": 0,
            "highlights": [],
            "photos": []
        },
        {
            "id": "OT-1906-2110982343-190056149819",
            "text": "I was hoping for an interesting film to run in the background for our special pre-Thanksgiving celebration with my husband, son and his friend. What was shown was an art documentary biopic. The food was delicious and our waiter (Samuel) was attentive and helpful in our selections. Both of the young gentlemen plan on returning when they can. I live out of state.",
            "language": "en",
            "posted": "2026-11-26T02:28",
            "dined": "2026-11-25T03:45",
            "author": {
                "name": "Sharon",
                "city": "Houston",
                "reviews": 1,
                "vip": false
            },
            "rating": {
                "overall": 4,
                "food": 5,
                "service": 5,
                "ambience": 5,
                "value": 5,
                "noise": 2
            },
            "recommended": true,
            "helpful": 0,
            "not_helpful": 0,
            "highlights": [],
            "photos": []
        },
        {
            "id": "OT-1906-2110979686-180017894068",
            "text": "Ambiance and service were excellent and food was good buy didn’t knock our socks off and should have for the price. Had the fried chicken and pork chop entrees, started with the chicory salad and ended with apple pastry (forget the name).",
            "language": "en",
            "posted": "2026-11-23T22:14",
            "dined": "2026-11-23T01:00",
            "author": {
                "name": "Jenni",
                "city": "Sacramento",
                "reviews": 49,
                "vip": true
            },
            "rating": {
                "overall": 3,
                "food": 3,
                "service": 5,
                "ambience": 4,
                "value": 2,
                "noise": 2
            },
            "recommended": null,
            "helpful": 0,
            "not_helpful": 0,
            "highlights": [],
            "photos": []
        },
        {
            "id": "OT-1906-2110982629-110117532771",
            "text": "I always enjoy Foreign Cinema! The food is consistently solid, and I absolutely love the atmosphere. I’ve been coming here since it opened 20 plus years ago, so I’ve had plenty of great experiences over the years.\n\nUnfortunately, the service was slower than usual this time for Sunday Brunch, and we found ourselves repeatedly having to ask for things. At a restaurant of this caliber, I really don’t think guests should have to ask for water refills or wave down their server to order another drink.\n\nAnd then there was the young Gen Z guy at the host stand! When we approached to give our name for our reservation, he gave us this almost cartoonishly exaggerated look of disapproval. It was so over the top that it was actually kind of funny, like something straight out of a skit about stereotypical Gen Z attitudes. LOL! That said, he could definitely benefit from some hospitality training. First impressions matter.\n\nStill love Foreign Cinema and will certainly be back. Just hoping for a little more attentive service next time!",
            "language": "en",
            "posted": "2026-11-23T22:16",
            "dined": "2026-11-22T20:30",
            "author": {
                "name": "Nancy",
                "city": "San Francisco",
                "reviews": 2,
                "vip": false
            },
            "rating": {
                "overall": 4,
                "food": 4,
                "service": 4,
                "ambience": 5,
                "value": 4,
                "noise": 3
            },
            "recommended": null,
            "helpful": 0,
            "not_helpful": 0,
            "highlights": [],
            "photos": []
        },
        {
            "id": "OT-1906-2110982032-150259229835",
            "text": "First time at Foreign Cinema. Very good experience. Food was very tasty, and we really liked the ambience! We will go back!",
            "language": "en",
            "posted": "2026-11-22T21:31",
            "dined": "2026-11-22T03:30",
            "author": {
                "name": "Megane",
                "city": "San Francisco",
                "reviews": 1,
                "vip": false
            },
            "rating": {
                "overall": 5,
                "food": 5,
                "service": 5,
                "ambience": 5,
                "value": 5,
                "noise": 3
            },
            "recommended": null,
            "helpful": 0,
            "not_helpful": 0,
            "highlights": [],
            "photos": []
        },
        {
            "id": "OT-1906-2110983123-140044194934",
            "text": "top top top top top top top top. nice place, great food",
            "language": "en",
            "posted": "2026-11-22T19:20",
            "dined": "2026-11-21T04:15",
            "author": {
                "name": "Jose Carlos",
                "city": "Chicago",
                "reviews": 4,
                "vip": false
            },
            "rating": {
                "overall": 5,
                "food": 5,
                "service": 5,
                "ambience": 5,
                "value": 5,
                "noise": 1
            },
            "recommended": true,
            "helpful": 0,
            "not_helpful": 0,
            "highlights": [],
            "photos": []
        }
    ]
}
获取餐厅评价 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15963/opentable+api/44693/get+restaurant+reviews?restaurant_id=1906&sort=newest&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回与某家餐厅相似且位于其附近的餐厅,每页 20 家,每家包含与 /search/restaurants 端点相同的字段,以及指定日期、时间和人数的可预订时段
Endpoint ID: 44694
GET https://zylalabs.com/api/15963/opentable+api/44694/get+similar+restaurants
输入参数

获取类似的餐厅 — 端点功能

对象 描述
restaurant_id 必需 OpenTable id of the restaurant (e.g. "1906") or its profile link (e.g. "https://www.opentable.com/restaurant/profile/1906"). Use the /search/restaurants or /search/autocomplete endpoint to find it.
date 可选 Optional date as YYYY-MM-DD (defaults to today).
time 可选 Optional time as HH:MM in the local time of the place (defaults to "19:00").
party_size 可选 Optional number of guests, from 1 to 20 (defaults to 2).
page 可选 Optional page number, from 1 to 100 (defaults to 1).

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


输入参数

restaurant_id
date
time
party_size
page
API 示例响应
JSON
{
    "page": 1,
    "total": 15,
    "has_more": false,
    "results": [
        {
            "id": 135919,
            "name": "Lolinda",
            "url": "https://www.opentable.com/restaurant/profile/135919",
            "description": "Cuisine inspired by Latin America, Spain and Argentina. Sustainable meats, seven different types of grass-fed, grain finished beef cuts ranging from short ribs to blood sausage cooked over a wood-fired grill. Ceviche and a handful of vegetarian offerings such as a pastel de choclo (squash, onions, raisins, olives, cooked in a corn crust) and platano al horno (ripe plantains with queso fresco, and jicama salsa).\nArtisanal cocktails, piscos, tequilas, wine list primarily focused on varietals from Portugal, Spain, Chile & Argentina including sherry and port. Stellar selection of European and South American beers.\nTwo levels of dining, two full bars and seating for 220 people divided in a mix of booths, tables, communal tables & bar stools.\nOpen for late-night dining.",
            "cuisines": [
                {
                    "id": "029cd931-4a83-4572-b87a-2b0ce7abcb1e",
                    "name": "Steakhouse",
                    "primary": true
                }
            ],
            "price_band": {
                "id": "3",
                "label": "$31 to $50"
            },
            "rating": {
                "overall": 4.6,
                "food": 4.6,
                "service": 4.5,
                "ambience": 4.6,
                "value": 4.2,
                "noise": 2,
                "reviews": 3254,
                "recent_reviews": 210
            },
            "address": {
                "line1": "2518 Mission Street",
                "line2": null,
                "city": "San Francisco",
                "state": "CA",
                "postal_code": "94110",
                "country": "United States",
                "country_code": "US"
            },
            "latitude": 37.7566872,
            "longitude": -122.4190795,
            "neighborhood": {
                "id": "2951",
                "name": "Mission District"
            },
            "metro_id": "4",
            "photo": "https://resizer.otstatic.com/v4/photos/60970345-1",
            "bookings_today": 62,
            "features": [
                "reservation",
                "direct_messaging",
                "diner_ai"
            ],
            "seating": [
                "default",
                "bar",
                "hightop"
            ],
            "offer": null,
            "takeout": false,
            "delivery_partners": [],
            "order_url": null,
            "has_private_dining": true,
            "availability": {
                "date_time": "2026-12-03T19:00",
                "time_slots": [
                    {
                        "date_time": "2026-12-03T20:00",
                        "type": "standard",
                        "seating": [
                            "default"
                        ],
                        "dining_areas": [
                            "indoor"
                        ],
                        "points": 100,
                        "price": null
                    },
                    {
                        "date_time": "2026-12-03T20:15",
                        "type": "standard",
                        "seating": [
                            "default"
                        ],
                        "dining_areas": [
                            "indoor"
                        ],
                        "points": 100,
                        "price": null
                    }
                ],
                "no_times_reasons": [],
                "message": null,
                "policies": [],
                "min_party_size": 1,
                "max_party_size": 12,
                "max_days_in_advance": 90
            }
        }
    ]
}
获取类似的餐厅 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15963/opentable+api/44694/get+similar+restaurants?restaurant_id=1906&time=19:00&party_size=2&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回某个地点附近搜索文本的建议:餐厅(含 ID、地址、坐标和照片)、菜系、地点及其他搜索词,每项均附带类型信息
Endpoint ID: 44695
GET https://zylalabs.com/api/15963/opentable+api/44695/search+autocomplete
输入参数

搜索自动补全 — 端点功能

对象 描述
query 必需 Search text (e.g. "sushi").
latitude 必需 Latitude of the point to search near (e.g. "40.7128"). Use the /search/locations endpoint to find the coordinates of a place.
longitude 必需 Longitude of the point to search near (e.g. "-74.006").
party_size 可选 Optional number of guests, from 1 to 20 (defaults to 2).

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


输入参数

query
latitude
longitude
party_size
API 示例响应
JSON
[
    {
        "id": "c3e3a680-8c1b-40b0-a21e-433ecc09a5a5",
        "name": "Sushi",
        "type": "type",
        "location_type": null,
        "address": null,
        "latitude": null,
        "longitude": null,
        "metro_id": null,
        "photo": null
    },
    {
        "id": "1345996",
        "name": "Sushi Ouji",
        "type": "restaurant",
        "location_type": null,
        "address": "196 Prince St, New York, NY, 10012-2953, United States",
        "latitude": 40.7265209,
        "longitude": -74.0027331,
        "metro_id": null,
        "photo": "https://resizer.otstatic.com/v4/photos/79852811-2"
    },
    {
        "id": "78148",
        "name": "Asuka Sushi",
        "type": "restaurant",
        "location_type": null,
        "address": "300 West 23rd Street, New York, NY, 10011, United States",
        "latitude": 40.7453023,
        "longitude": -73.9989481,
        "metro_id": null,
        "photo": "https://resizer.otstatic.com/v4/photos/84681975-3"
    },
    {
        "id": "1411447",
        "name": "Sushi Beauu",
        "type": "restaurant",
        "location_type": null,
        "address": "15 W 33th St., New York, NY, 10001, United States",
        "latitude": 40.7488622,
        "longitude": -73.986175,
        "metro_id": null,
        "photo": "https://resizer.otstatic.com/v4/photos/79138298-3"
    }
]
搜索自动补全 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15963/opentable+api/44695/search+autocomplete?query=sushi&latitude=40.7128&longitude=-74.006&party_size=2' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回与搜索文本匹配的地点(城市、都会区、街区、地标),每个地点都包含其 ID、名称、类型和坐标,可用作 /search/restaurants 端点的搜索点
Endpoint ID: 44696
GET https://zylalabs.com/api/15963/opentable+api/44696/search+locations
输入参数

搜索位置 — 端点功能

对象 描述
query 必需 Search text (e.g. "brooklyn").
latitude 可选 Optional latitude of a point to rank the places by (e.g. "40.7128").
longitude 可选 Optional longitude of a point to rank the places by (e.g. "-74.006").

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


输入参数

query
latitude
longitude
API 示例响应
JSON
[
    {
        "id": "c_macro:24",
        "name": "Brooklyn, NY, United States",
        "type": "location",
        "location_type": null,
        "address": null,
        "latitude": 40.681378107203386,
        "longitude": -73.96789402499999,
        "metro_id": "8",
        "photo": null
    },
    {
        "id": "c_hood:27944",
        "name": "Brooklyn Park, AU-SA, Australia",
        "type": "location",
        "location_type": "neighborhood",
        "address": null,
        "latitude": -34.9348345,
        "longitude": 138.5523466,
        "metro_id": "273",
        "photo": null
    },
    {
        "id": "n_hood:2774",
        "name": "Williamsburg, Brooklyn, NY, United States",
        "type": "location",
        "location_type": "neighborhood",
        "address": null,
        "latitude": 40.71408767068966,
        "longitude": -73.9553480275862,
        "metro_id": "8",
        "photo": null
    },
    {
        "id": "n_hood:2765",
        "name": "Park Slope, Brooklyn, NY, United States",
        "type": "location",
        "location_type": "neighborhood",
        "address": null,
        "latitude": 40.674287945454545,
        "longitude": -73.9816542,
        "metro_id": "8",
        "photo": null
    },
    {
        "id": "n_hood:7919",
        "name": "Greenpoint, Brooklyn, NY, United States",
        "type": "location",
        "location_type": "neighborhood",
        "address": null,
        "latitude": 40.72926196428572,
        "longitude": -73.95332991428572,
        "metro_id": "8",
        "photo": null
    },
    {
        "id": "n_hood:2783",
        "name": "Bay Ridge, Brooklyn, NY, United States",
        "type": "location",
        "location_type": "neighborhood",
        "address": null,
        "latitude": 40.62269561,
        "longitude": -74.03060378,
        "metro_id": "8",
        "photo": null
    },
    {
        "id": "n_hood:5267",
        "name": "DUMBO, Brooklyn, NY, United States",
        "type": "location",
        "location_type": "neighborhood",
        "address": null,
        "latitude": 40.70315747,
        "longitude": -73.99087659,
        "metro_id": "8",
        "photo": null
    },
    {
        "id": "n_hood:12317",
        "name": "Crown Heights, Brooklyn, NY, United States",
        "type": "location",
        "location_type": "neighborhood",
        "address": null,
        "latitude": 40.673110844444444,
        "longitude": -73.94814407777777,
        "metro_id": "8",
        "photo": null
    },
    {
        "id": "n_hood:2771",
        "name": "Fort Greene, Brooklyn, NY, United States",
        "type": "location",
        "location_type": "neighborhood",
        "address": null,
        "latitude": 40.68665675555556,
        "longitude": -73.97415833333334,
        "metro_id": "8",
        "photo": null
    },
    {
        "id": "n_hood:6995",
        "name": "Bushwick, Brooklyn, NY, United States",
        "type": "location",
        "location_type": "neighborhood",
        "address": null,
        "latitude": 40.70276081111111,
        "longitude": -73.92437811111111,
        "metro_id": "8",
        "photo": null
    },
    {
        "id": "n_hood:5330",
        "name": "Sheepshead Bay, Brooklyn, NY, United States",
        "type": "location",
        "location_type": "neighborhood",
        "address": null,
        "latitude": 40.59379901111111,
        "longitude": -73.95426124444445,
        "metro_id": "8",
        "photo": null
    },
    {
        "id": "n_hood:2789",
        "name": "Carroll Gardens, Brooklyn, NY, United States",
        "type": "location",
        "location_type": "neighborhood",
        "address": null,
        "latitude": 40.681123175,
        "longitude": -73.9962089,
        "metro_id": "8",
        "photo": null
    },
    {
        "id": "n_hood:7439",
        "name": "Brooklyn Heights, Brooklyn, NY, United States",
        "type": "location",
        "location_type": "neighborhood",
        "address": null,
        "latitude": 40.698301975,
        "longitude": -73.993869475,
        "metro_id": "8",
        "photo": null
    },
    {
        "id": "n_hood:8852",
        "name": "Bedford-Stuyvesant, Brooklyn, NY, United States",
        "type": "location",
        "location_type": "neighborhood",
        "address": null,
        "latitude": 40.684226942857144,
        "longitude": -73.94192197142857,
        "metro_id": "8",
        "photo": null
    },
    {
        "id": "n_hood:2780",
        "name": "Prospect Heights, Brooklyn, NY, United States",
        "type": "location",
        "location_type": "neighborhood",
        "address": null,
        "latitude": 40.68049515714286,
        "longitude": -73.9707807,
        "metro_id": "8",
        "photo": null
    },
    {
        "id": "n_hood:2768",
        "name": "Cobble Hill, Brooklyn, NY, United States",
        "type": "location",
        "location_type": "neighborhood",
        "address": null,
        "latitude": 40.68643218333333,
        "longitude": -73.99300665,
        "metro_id": "8",
        "photo": null
    },
    {
        "id": "n_hood:5327",
        "name": "Downtown Brooklyn, Brooklyn, NY, United States",
        "type": "location",
        "location_type": "neighborhood",
        "address": null,
        "latitude": 40.69117441666666,
        "longitude": -73.98525215,
        "metro_id": "8",
        "photo": null
    },
    {
        "id": "n_hood:2777",
        "name": "Boerum Hill, Brooklyn, NY, United States",
        "type": "location",
        "location_type": "neighborhood",
        "address": null,
        "latitude": 40.6873047,
        "longitude": -73.9851146,
        "metro_id": "8",
        "photo": null
    },
    {
        "id": "n_hood:11663",
        "name": "Gravesend, Brooklyn, NY, United States",
        "type": "location",
        "location_type": "neighborhood",
        "address": null,
        "latitude": 40.60470425,
        "longitude": -73.98035495,
        "metro_id": "8",
        "photo": null
    },
    {
        "id": "n_hood:7397",
        "name": "Clinton Hill, Brooklyn, NY, United States",
        "type": "location",
        "location_type": "neighborhood",
        "address": null,
        "latitude": 40.691334375,
        "longitude": -73.96548375,
        "metro_id": "8",
        "photo": null
    }
]
搜索位置 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15963/opentable+api/44696/search+locations?query=brooklyn' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
列出某个地点周边可在指定日期、时间和就餐人数下预订的餐厅,每页 20 家,可选搜索文本,并可按菜系、街区、价格档次和奖项筛选,还提供三种排序方式。每家餐厅都包含其 ID、链接、描述、菜系、价格档次、评分(总体、食物、服务、氛围、性价比、噪音)和评价数量、地址、坐标、街区、照片、今日预订情况、座位安排、外送合作伙伴,以及所询时间前后的开放时段。响应中的“filters”列出可用于缩小搜索范围的菜系、街区和奖项#+#+#+#+
Endpoint ID: 44697
GET https://zylalabs.com/api/15963/opentable+api/44697/search+restaurants
输入参数

搜索餐厅 — 端点功能

对象 描述
latitude 必需 Latitude of the point to search around (e.g. "40.7128"). Use the /search/locations endpoint to find the coordinates of a place.
longitude 必需 Longitude of the point to search around (e.g. "-74.006").
query 可选 Optional search text: a restaurant, cuisine, dish or anything else (e.g. "italian").
date 可选 Optional date as YYYY-MM-DD (defaults to today).
time 可选 Optional time as HH:MM in the local time of the place (defaults to "19:00").
party_size 可选 Optional number of guests, from 1 to 20 (defaults to 2).
sort 可选 Optional sort order (defaults to "best"). Use the /general/search-sorts endpoint to list valid values.
cuisines 可选 Optional cuisine ids separated by commas (e.g. "48e9d049-40cf-4cb9-98d9-8c47d0d58986"). Use the "filters" of a response to list valid values.
neighborhoods 可选 Optional neighborhood ids separated by commas (e.g. "n_hood:5267"). Use the "filters" of a response to list valid values.
price_bands 可选 Optional price bands separated by commas (e.g. "3,4"). Use the /general/price-bands endpoint to list valid values.
awards 可选 Optional awards separated by commas (e.g. "MICHELIN" or "MICHELIN;Bib Gourmand"). Use the "filters" of a response to list valid values.
page 可选 Optional page number, from 1 to 100 (defaults to 1).

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


输入参数

latitude
longitude
query
date
time
party_size
sort
cuisines
neighborhoods
price_bands
awards
page
API 示例响应
JSON
{
    "date_time": "2026-12-03T19:00",
    "party_size": 2,
    "page": 1,
    "total": 96,
    "total_available": 96,
    "has_more": true,
    "results": [
        {
            "id": 151951,
            "name": "Gran Morsi",
            "url": "https://www.opentable.com/restaurant/profile/151951",
            "description": "Gran Morsi, named after the Italian word for “bites,” epitomizes elegant simplicity. This airy and convivial two-floor restaurant, located in the heart of Tribeca, specializes in boldly-flavored Italian fare with a strong focus on small and shared plates, many of which are cooked in the brick oven. Gran Morsi provides both downtown Manhattan residents and visitors with a dining experience fit for whatever they’re in the mood for, whether it’s a special occasion celebration, an intimate evening or a casual night out with friends. Try our Meatballs that Beat Bobby Flay!\n\nFor parties of 5 guests or more, seating will be assigned based on restaurant preference and availability. Your group may be placed in either of our dining room spaces to best accommodate your reservation and ensure optimal service! We look forward to hosting you!",
            "cuisines": [
                {
                    "id": "48e9d049-40cf-4cb9-98d9-8c47d0d58986",
                    "name": "Italian",
                    "primary": true
                }
            ],
            "price_band": {
                "id": "3",
                "label": "$31 to $50"
            },
            "rating": {
                "overall": 4.7,
                "food": 4.8,
                "service": 4.8,
                "ambience": 4.8,
                "value": 4.5,
                "noise": 2,
                "reviews": 906,
                "recent_reviews": 73
            },
            "address": {
                "line1": "22 Warren Street",
                "line2": null,
                "city": "New York",
                "state": "NY",
                "postal_code": "10007",
                "country": "United States",
                "country_code": "US"
            },
            "latitude": 40.7143138,
            "longitude": -74.0077763,
            "neighborhood": {
                "id": "107",
                "name": "TriBeCa"
            },
            "metro_id": "8",
            "photo": "https://resizer.otstatic.com/v4/photos/26014896-1",
            "bookings_today": 15,
            "features": [
                "reservation",
                "online_waitlist",
                "diner_ai"
            ],
            "seating": [
                "default",
                "bar",
                "hightop"
            ],
            "offer": null,
            "takeout": true,
            "delivery_partners": [],
            "order_url": null,
            "has_private_dining": true,
            "availability": {
                "date_time": "2026-12-03T19:00",
                "time_slots": [
                    {
                        "date_time": "2026-12-03T18:30",
                        "type": "standard",
                        "seating": [
                            "default",
                            "bar",
                            "hightop"
                        ],
                        "dining_areas": [
                            "indoor"
                        ],
                        "points": 100,
                        "price": null
                    },
                    {
                        "date_time": "2026-12-03T19:00",
                        "type": "standard",
                        "seating": [
                            "default",
                            "bar",
                            "hightop"
                        ],
                        "dining_areas": [
                            "indoor"
                        ],
                        "points": 100,
                        "price": null
                    },
                    {
                        "date_time": "2026-12-03T19:30",
                        "type": "standard",
                        "seating": [
                            "default",
                            "bar",
                            "hightop"
                        ],
                        "dining_areas": [
                            "indoor"
                        ],
                        "points": 100,
                        "price": null
                    }
                ],
                "no_times_reasons": [],
                "message": null,
                "policies": [],
                "min_party_size": 1,
                "max_party_size": 24,
                "max_days_in_advance": 30
            }
        }
    ],
    "filters": {
        "cuisines": [
            {
                "id": "8afc7adc-de3b-439d-91f2-ce568c1a653b",
                "name": "American",
                "count": 117
            },
            {
                "id": "48e9d049-40cf-4cb9-98d9-8c47d0d58986",
                "name": "Italian",
                "count": 112
            },
            {
                "id": "029cd931-4a83-4572-b87a-2b0ce7abcb1e",
                "name": "Steakhouse",
                "count": 25
            },
            {
                "id": "0735c10c-6ab6-46f6-87aa-8fe54397744d",
                "name": "Seafood",
                "count": 30
            },
            {
                "id": "39c85294-d536-48d4-93ce-675a2db3a064",
                "name": "French",
                "count": 28
            },
            {
                "id": "54aad245-1061-478d-9d4c-1c3b3560e8f6",
                "name": "Indian",
                "count": 7
            },
            {
                "id": "2a47aeca-4c19-449d-a956-d02aa35740e3",
                "name": "Mexican",
                "count": 21
            },
            {
                "id": "7bf54b86-bd1f-4e35-bbca-f7cce982b4ed",
                "name": "Japanese",
                "count": 34
            },
            {
                "id": "6c913b35-ffd3-498c-93f0-a3e7086ebe25",
                "name": "Chinese",
                "count": 13
            },
            {
                "id": "1e4602a7-fe7d-431a-a304-5a3af9a89223",
                "name": "Spanish",
                "count": 8
            }
        ],
        "neighborhoods": [
            {
                "id": "n_hood:7439",
                "name": "Brooklyn Heights",
                "count": 4
            },
            {
                "id": "n_hood:5267",
                "name": "DUMBO",
                "count": 3
            },
            {
                "id": "n_hood:5327",
                "name": "Downtown Brooklyn",
                "count": 1
            },
            {
                "id": "n_hood:204",
                "name": "East Village",
                "count": 17
            },
            {
                "id": "n_hood:112",
                "name": "Financial District",
                "count": 6
            },
            {
                "id": "n_hood:111",
                "name": "Greenwich Village",
                "count": 13
            },
            {
                "id": "c_hood:709",
                "name": "Jersey City",
                "count": 2
            }
        ],
        "awards": [
            {
                "id": "MICHELIN",
                "name": "MICHELIN",
                "count": 14
            },
            {
                "id": "2025",
                "name": "2025",
                "count": 12
            },
            {
                "id": "MICHELIN;2025",
                "name": "MICHELIN;2025",
                "count": 11
            },
            {
                "id": "MICHELIN;Bib Gourmand",
                "name": "MICHELIN;Bib Gourmand",
                "count": 7
            },
            {
                "id": "MICHELIN;Bib Gourmand;2025",
                "name": "MICHELIN;Bib Gourmand;2025",
                "count": 7
            },
            {
                "id": "MICHELIN;1 Star",
                "name": "MICHELIN;1 Star",
                "count": 6
            },
            {
                "id": "2024",
                "name": "2024",
                "count": 5
            },
            {
                "id": "MICHELIN;1 Star;2024",
                "name": "MICHELIN;1 Star;2024",
                "count": 5
            },
            {
                "id": "MICHELIN;2024",
                "name": "MICHELIN;2024",
                "count": 5
            },
            {
                "id": "2023",
                "name": "2023",
                "count": 4
            },
            {
                "id": "MICHELIN;1 Star;2025",
                "name": "MICHELIN;1 Star;2025",
                "count": 4
            }
        ]
    }
}
搜索餐厅 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15963/opentable+api/44697/search+restaurants?latitude=40.7128&longitude=-74.006&query=italian&time=19:00&party_size=2&sort=best&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 OpenTable 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