Grubhub API

API ID 15601

美国餐厅外卖数据:任何地址附近的餐厅,支持筛选,提供含价格和选项的菜单、营业时间、费用、预计送达时间、评价和优惠

API 文档

端点

请求
列出可用于筛选某个地点附近优惠的菜系。每项的“菜系”就是 /deal/list 的“cuisine”参数所接受的值
Endpoint ID: 42020
GET https://zylalabs.com/api/15601/grubhub+api/42020/get+deal+cuisines
输入参数

获取优惠菜系 — 端点功能

对象 描述
latitude 必需 Latitude of the delivery address (e.g. "40.7306").
longitude 必需 Longitude of the delivery address (e.g. "-73.9866").

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


输入参数

latitude
longitude
API 示例响应
JSON
[
    {
        "cuisine": "Fast Food",
        "name": "Fast Food"
    },
    {
        "cuisine": "Mexican",
        "name": "Mexican"
    },
    {
        "cuisine": "Pizza",
        "name": "Pizza"
    },
    {
        "cuisine": "Asian",
        "name": "Asian"
    },
    {
        "cuisine": "American",
        "name": "American"
    },
    {
        "cuisine": "Chinese",
        "name": "Chinese"
    },
    {
        "cuisine": "Japanese",
        "name": "Japanese"
    },
    {
        "cuisine": "Italian",
        "name": "Italian"
    },
    {
        "cuisine": "Dessert",
        "name": "Dessert"
    },
    {
        "cuisine": "Sandwiches",
        "name": "Sandwiches"
    },
    {
        "cuisine": "Coffee",
        "name": "Coffee"
    },
    {
        "cuisine": "Healthy",
        "name": "Healthy"
    },
    {
        "cuisine": "Chicken",
        "name": "Chicken"
    },
    {
        "cuisine": "Burgers",
        "name": "Burgers"
    },
    {
        "cuisine": "Smoothies",
        "name": "Smoothies"
    },
    {
        "cuisine": "Bodegas",
        "name": "Bodegas"
    },
    {
        "cuisine": "Bakery",
        "name": "Bakery"
    },
    {
        "cuisine": "Ice Cream",
        "name": "Ice Cream"
    },
    {
        "cuisine": "Bagels",
        "name": "Bagels"
    },
    {
        "cuisine": "Alcohol",
        "name": "Alcohol"
    },
    {
        "cuisine": "Snacks",
        "name": "Snacks"
    },
    {
        "cuisine": "Vegetarian",
        "name": "Vegetarian"
    },
    {
        "cuisine": "Donuts",
        "name": "Donuts"
    },
    {
        "cuisine": "Local Gems",
        "name": "Local Gems"
    },
    {
        "cuisine": "Cafe",
        "name": "Cafe"
    },
    {
        "cuisine": "Gluten-Free",
        "name": "Gluten-Free"
    }
]
获取优惠菜系 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15601/grubhub+api/42020/get+deal+cuisines?latitude=40.7306&longitude=-73.9866' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
列出某个地点附近餐厅的优惠(折扣百分比和金额、免费商品、首单折扣等),以及每项优惠的条款、最低订单金额和限制条件,还有餐厅的菜系、评分、营业状态、距离、预计送达时间、地址和图片
Endpoint ID: 42021
GET https://zylalabs.com/api/15601/grubhub+api/42021/get+deals
输入参数

获取优惠 — 端点功能

对象 描述
latitude 必需 Latitude of the delivery address (e.g. "40.7306").
longitude 必需 Longitude of the delivery address (e.g. "-73.9866").
cuisine 可选 Cuisine of the restaurants (e.g. "Pizza"). Use the /deal/cuisines endpoint to list valid values.
page 可选 Page number (defaults to 1).

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


输入参数

latitude
longitude
cuisine
page
API 示例响应
JSON
{
    "page": 1,
    "pages": 3,
    "deal_types": [
        "$ off"
    ],
    "deals": [
        {
            "deal_id": "e7ecb280-d5fc-11f1-b281-979e0c85f84a",
            "title": "$10 off at Stromboli Pizza",
            "offer": "$10 off",
            "description": "Offer valid on qualifying orders of $50 or more.",
            "type": "$ off",
            "amount": 10,
            "amount_type": "FLAT",
            "currency": "USD",
            "order_minimum": 50,
            "restriction": "MINIMUM",
            "terms": "Offer expires at 10:59 PM CST on 11/30/2026. Only available at participating Stromboli Pizza locations. Not valid on group or catering orders. $10.00 off valid on qualifying orders only. Discount will apply to order subtotal. Offer valid on minimum orders of $50.00, before tax, tip and delivery fee. Offer and participation are subject to the Grubhub Terms of Use (including the Perks Terms of Use), available at https://www.grubhub.com/legal/terms-of-use. Grubhub reserves the right to cancel, suspend and/or modify the offer, or any part of it, for any reason at any time, including, without limitation, if any fraud or technical failure impairs the integrity or proper functioning of the offer.",
            "restaurant": {
                "restaurant_id": "261525",
                "name": "Stromboli Pizza",
                "cuisines": [
                    "Pizza",
                    "Chicken",
                    "Lunch Specials",
                    "Must Try",
                    "Sandwiches",
                    "Vegetarian"
                ],
                "rating": 4.92,
                "rating_count": 1589,
                "is_open": true,
                "distance_miles": 0.21,
                "delivery_estimate_minutes": 15,
                "street": "83 Saint Marks Pl",
                "city": "New York",
                "state": "NY",
                "latitude": 40.727749,
                "longitude": -73.985414,
                "image": "https://res.cloudinary.com/grubhub/image/upload/pfphrekmli4vwxwzi4uj.jpg",
                "logo": "https://res.cloudinary.com/grubhub/image/upload/jy5vdrth0do81c2scdtj.jpg"
            }
        },
        {
            "deal_id": "484b6570-d604-11f1-a571-99a400587d9c",
            "title": "$10 off at West 4th Market Place",
            "offer": "$10 off",
            "description": "Offer valid on qualifying orders of $50 or more.",
            "type": "$ off",
            "amount": 10,
            "amount_type": "FLAT",
            "currency": "USD",
            "order_minimum": 50,
            "restriction": "MINIMUM",
            "terms": "Offer expires at 10:59 PM CST on 11/30/2026. Only available at participating West 4th Market Place & Deli -  6th Avenue locations. Not valid on group or catering orders. $10.00 off valid on qualifying orders only. Discount will apply to order subtotal. Offer valid on minimum orders of $50.00, before tax, tip and delivery fee. Offer and participation are subject to the Grubhub Terms of Use (including the Perks Terms of Use), available at https://www.grubhub.com/legal/terms-of-use. Grubhub reserves the right to cancel, suspend and/or modify the offer, or any part of it, for any reason at any time, including, without limitation, if any fraud or technical failure impairs the integrity or proper functioning of the offer.",
            "restaurant": {
                "restaurant_id": "3101591",
                "name": "West 4th Market Place & Deli",
                "cuisines": [
                    "Pizza",
                    "Convenience",
                    "Bodega",
                    "Coffee and Tea",
                    "Hamburgers",
                    "Mediterranean",
                    "Sandwiches",
                    "Smoothies and Juices",
                    "Wraps"
                ],
                "rating": 4.94,
                "rating_count": 802,
                "is_open": true,
                "distance_miles": 0.75,
                "delivery_estimate_minutes": 15,
                "street": "361 6th Ave",
                "city": "New York",
                "state": "NY",
                "latitude": 40.7323265,
                "longitude": -74.00083161,
                "image": "https://res.cloudinary.com/grubhub/image/upload/gb0tmainyk1zxceajbyf.webp",
                "logo": "https://res.cloudinary.com/grubhub/image/upload/tddxe8ozbgy0wlreawks.jpg"
            }
        },
        {
            "deal_id": "aed214a0-d605-11f1-94a1-99a400587d9c",
            "title": "$20 off at iPizza NY",
            "offer": "$20 off",
            "description": "Offer valid on qualifying orders of $50 or more.",
            "type": "$ off",
            "amount": 20,
            "amount_type": "FLAT",
            "currency": "USD",
            "order_minimum": 50,
            "restriction": "MINIMUM",
            "terms": "Offer expires at 10:59 PM CST on 11/30/2026. Only available at participating iPizzaNY - Midtown East -  2nd Avenue locations. Not valid on group or catering orders. $20.00 off valid on qualifying orders only. Discount will apply to order subtotal. Offer valid on minimum orders of $50.00, before tax, tip and delivery fee. Offer and participation are subject to the Grubhub Terms of Use (including the Perks Terms of Use), available at https://www.grubhub.com/legal/terms-of-use. Grubhub reserves the right to cancel, suspend and/or modify the offer, or any part of it, for any reason at any time, including, without limitation, if any fraud or technical failure impairs the integrity or proper functioning of the offer.",
            "restaurant": {
                "restaurant_id": "4200848",
                "name": "iPizzaNY - Midtown East",
                "cuisines": [
                    "Pizza"
                ],
                "rating": 4.27,
                "rating_count": 11,
                "is_open": true,
                "distance_miles": 1.12,
                "delivery_estimate_minutes": 35,
                "street": "621 2nd Ave",
                "city": "New York",
                "state": "NY",
                "latitude": 40.74471664,
                "longitude": -73.97617341,
                "image": "https://res.cloudinary.com/grubhub/image/upload/hrpumjiz5oo7fbrollfw.jpg",
                "logo": "https://res.cloudinary.com/grubhub/image/upload/zgkzq4o96zqvqf5kwrgh.png"
            }
        }
    ]
}
获取优惠 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15601/grubhub+api/42021/get+deals?latitude=40.7306&longitude=-73.9866&cuisine=Pizza&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
列出搜索和菜单搜索端点的“order_type”参数接受的值
Endpoint ID: 42022
GET https://zylalabs.com/api/15601/grubhub+api/42022/get+order+types
输入参数

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

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

API 示例响应
JSON
[
    {
        "value": "delivery",
        "label": "Delivery"
    },
    {
        "value": "pickup",
        "label": "Pickup"
    }
]
获取订单类型 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15601/grubhub+api/42022/get+order+types' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
列出 /restaurant/reviews 端点的“sort”参数可接受的值
Endpoint ID: 42023
GET https://zylalabs.com/api/15601/grubhub+api/42023/get+review+sort+orders
输入参数

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

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

API 示例响应
JSON
[
    {
        "value": "newest",
        "label": "Most recent first"
    },
    {
        "value": "highest_rating",
        "label": "Highest rated first"
    }
]
获取评价排序方式 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15601/grubhub+api/42023/get+review+sort+orders' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
列出 /search/restaurants 端点的“sort”参数可接受的值
Endpoint ID: 42024
GET https://zylalabs.com/api/15601/grubhub+api/42024/get+search+sort+orders
输入参数

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

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

API 示例响应
JSON
[
    {
        "value": "recommended",
        "label": "Recommended"
    },
    {
        "value": "rating",
        "label": "Rating, highest first"
    },
    {
        "value": "distance",
        "label": "Distance, nearest first"
    },
    {
        "value": "delivery_time",
        "label": "Delivery time, fastest first"
    },
    {
        "value": "delivery_minimum",
        "label": "Delivery minimum, lowest first"
    },
    {
        "value": "price",
        "label": "Price, low to high"
    },
    {
        "value": "price_desc",
        "label": "Price, high to low"
    },
    {
        "value": "name",
        "label": "Restaurant name, A to Z"
    }
]
获取搜索排序顺序 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15601/grubhub+api/42024/get+search+sort+orders' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
为只输入了一部分的美国地址提供完整地址建议。将建议传递给 /location/geocode 以获取其坐标
Endpoint ID: 42025
GET https://zylalabs.com/api/15601/grubhub+api/42025/autocomplete+address
输入参数

自动补全地址 — 端点功能

对象 描述
query 必需 Part of an address (e.g. "350 5th Ave").

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


输入参数

query
API 示例响应
JSON
[
    {
        "address": "350 5th Avenue, Brooklyn, NY"
    },
    {
        "address": "350 5th Avenue South, Clinton, IA"
    },
    {
        "address": "350 5th Avenue, Paterson, NJ"
    },
    {
        "address": "350 5th Avenue, Mansfield, OH"
    },
    {
        "address": "350 5th Avenue South, Naples, FL"
    }
]
自动补全地址 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15601/grubhub+api/42025/autocomplete+address?query=350 5th Ave' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
将地址转换为其坐标,包括街道、城市、街区、县、州、邮政编码和时区。坐标可以作为“latitude”和“longitude”传递给其他所有端点.
Endpoint ID: 42026
GET https://zylalabs.com/api/15601/grubhub+api/42026/geocode+address
输入参数

地理编码地址 — 端点功能

对象 描述
address 必需 Address, ZIP code or city (e.g. "350 5th Ave, New York, NY").

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


输入参数

address
API 示例响应
JSON
[
    {
        "address": "350 5th Ave, New York, NY 10118",
        "street": "350 5th Ave",
        "city": "New York",
        "neighborhood": "Manhattan",
        "county": "New York County",
        "state": "NY",
        "postal_code": "10118",
        "country": "US",
        "latitude": 40.7485466,
        "longitude": -73.98576355,
        "timezone": "America/New_York",
        "types": [
            "premise",
            "street_address"
        ]
    }
]
地理编码地址 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15601/grubhub+api/42026/geocode+address?address=350 5th Ave, New York, NY' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回某个点的地址,按距离从近到远排列,包含街道、城市、街区、县、州、邮政编码和时区
Endpoint ID: 42027
GET https://zylalabs.com/api/15601/grubhub+api/42027/reverse+geocode
输入参数

反向地理编码 — 端点功能

对象 描述
latitude 必需 Latitude (e.g. "40.7484").
longitude 必需 Longitude (e.g. "-73.9857").

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


输入参数

latitude
longitude
API 示例响应
JSON
[
    {
        "address": "1970 West Broad Street, New York, NY 10001",
        "street": "1970 West Broad Street",
        "city": "New York",
        "neighborhood": "Manhattan",
        "county": "New York County",
        "state": "NY",
        "postal_code": "10001",
        "country": "US",
        "latitude": 40.7484436,
        "longitude": -73.98566437,
        "timezone": "America/New_York",
        "types": [
            "street_address",
            "subpremise"
        ]
    },
    {
        "address": "350 5th Ave, New York, NY 10118",
        "street": "350 5th Ave",
        "city": "New York",
        "neighborhood": "Manhattan",
        "county": "New York County",
        "state": "NY",
        "postal_code": "10118",
        "country": "US",
        "latitude": 40.7485466,
        "longitude": -73.98576355,
        "timezone": "America/New_York",
        "types": [
            "premise",
            "street_address"
        ]
    },
    {
        "address": "10e W 34th St., New York, NY 10001",
        "street": "10e W 34th St.",
        "city": "New York",
        "neighborhood": "Manhattan",
        "county": "New York County",
        "state": "NY",
        "postal_code": "10001",
        "country": "US",
        "latitude": 40.74861145,
        "longitude": -73.98505402,
        "timezone": "America/New_York",
        "types": [
            "street_address"
        ]
    },
    {
        "address": "18 W 34th St., New York, NY 10001",
        "street": "18 W 34th St.",
        "city": "New York",
        "neighborhood": "Manhattan",
        "county": "New York County",
        "state": "NY",
        "postal_code": "10001",
        "country": "US",
        "latitude": 40.74855422,
        "longitude": -73.9855423,
        "timezone": "America/New_York",
        "types": [
            "street_address"
        ]
    },
    {
        "address": "34-2 W 33rd St, New York, NY 10001",
        "street": "34-2 W 33rd St",
        "city": "New York",
        "neighborhood": "Manhattan",
        "county": "New York County",
        "state": "NY",
        "postal_code": "10001",
        "country": "US",
        "latitude": 40.7481575,
        "longitude": -73.98590088,
        "timezone": "America/New_York",
        "types": [
            "route",
            "street_address"
        ]
    }
]
反向地理编码 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15601/grubhub+api/42027/reverse+geocode?latitude=40.7484&longitude=-73.9857' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回餐厅信息:名称 菜系 评分及其评价数量 以及顾客对配送速度 订单准确性和食物质量给出好评的比例 价格评分 地址 坐标 时区 标志和页眉图片 营业时间 配送和自取时间 收取的费用 最热门的评价以及菜单规模 提供地点后 还会说明餐厅是否营业以及是否配送到该地点 距离 配送费 最低订单金额 销售税以及配送和自取的预计时间
Endpoint ID: 42028
GET https://zylalabs.com/api/15601/grubhub+api/42028/get+restaurant+details
输入参数

获取餐厅详情 — 端点功能

对象 描述
restaurant_id 必需 Restaurant id (e.g. "357075") or its grubhub.com link. Use the /search/restaurants endpoint to list valid values.
latitude 可选 Latitude of the delivery address (e.g. "40.7306"), for the delivery fee and estimate to that address.
longitude 可选 Longitude of the delivery address (e.g. "-73.9866").

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


输入参数

restaurant_id
latitude
longitude
API 示例响应
JSON
{
    "restaurant_id": "357075",
    "name": "Tompkins Square Bagels",
    "url": "https://www.grubhub.com/restaurant/tompkins-square-bagels-184-2nd-ave-new-york/357075",
    "brand_name": "Tompkins Square Bagels",
    "cuisines": [
        "Bagels",
        "Breakfast",
        "Deli",
        "Lunch Specials",
        "Must Try",
        "Sandwiches"
    ],
    "rating": 4.9,
    "rating_count": 1604,
    "rating_facets": [
        {
            "name": "Delivery Speed",
            "type": "delivery_speed",
            "responses": 1250,
            "positive_percentage": 87.2
        },
        {
            "name": "Order Accuracy",
            "type": "order_accuracy",
            "responses": 1456,
            "positive_percentage": 82
        },
        {
            "name": "Food Quality",
            "type": "food_quality",
            "responses": 1427,
            "positive_percentage": 87.6
        }
    ],
    "review_count": 61,
    "price_rating": 2,
    "is_new": false,
    "is_premium": true,
    "phone": "9174727604",
    "address": {
        "street": "184 2nd Ave",
        "city": "New York",
        "state": "NY",
        "postal_code": "10003",
        "country": "USA",
        "latitude": 40.730638,
        "longitude": -73.985765
    },
    "timezone": "America/New_York",
    "logo": "https://media-cdn.grubhub.com/image/upload/v1747333313/zdh6avocn4qw4qeuowxf.jpg",
    "header_image": "https://media-cdn.grubhub.com/image/upload/k9phcssq3tiial5nle7i.jpg",
    "is_open": false,
    "is_open_for_delivery": false,
    "is_open_for_pickup": false,
    "offers_delivery": true,
    "offers_pickup": false,
    "delivers_to_location": true,
    "distance_miles": 0.04,
    "delivery_fee": 1.49,
    "delivery_fee_without_discounts": 1.49,
    "order_minimum": 0,
    "currency": "USD",
    "sales_tax_percent": 8.875,
    "delivery_estimate_minutes": {
        "min": 23,
        "max": 38
    },
    "pickup_estimate_minutes": {
        "min": 20,
        "max": 30
    },
    "delivered_by": "GRUBHUB",
    "accepts_cash": false,
    "accepts_credit_card": true,
    "accepts_paypal": false,
    "order_tracking": true,
    "next_delivery_time": "2026-11-25T13:23:00.000Z",
    "next_closing_time": null,
    "hours": [
        {
            "day": "Monday",
            "hours": "12:00 AM - 12:00 AM"
        },
        {
            "day": "Tuesday",
            "hours": "12:00 AM - 12:00 AM"
        },
        {
            "day": "Wednesday",
            "hours": "12:00 AM - 12:00 AM"
        },
        {
            "day": "Thursday",
            "hours": "12:00 AM - 12:00 AM"
        },
        {
            "day": "Friday",
            "hours": "12:00 AM - 12:00 AM"
        },
        {
            "day": "Saturday",
            "hours": "12:00 AM - 12:00 AM"
        },
        {
            "day": "Sunday",
            "hours": "12:00 AM - 12:00 AM"
        }
    ],
    "delivery_hours": [
        {
            "day": "Monday",
            "hours": [
                "13:00-21:50"
            ]
        },
        {
            "day": "Tuesday",
            "hours": [
                "13:00-21:50"
            ]
        },
        {
            "day": "Wednesday",
            "hours": [
                "13:00-21:50"
            ]
        },
        {
            "day": "Thursday",
            "hours": [
                "13:00-21:50"
            ]
        },
        {
            "day": "Friday",
            "hours": [
                "13:00-21:50"
            ]
        },
        {
            "day": "Saturday",
            "hours": [
                "13:00-21:50"
            ]
        },
        {
            "day": "Sunday",
            "hours": [
                "13:00-21:50"
            ]
        }
    ],
    "pickup_hours": [
        {
            "day": "Monday",
            "hours": []
        },
        {
            "day": "Tuesday",
            "hours": []
        },
        {
            "day": "Wednesday",
            "hours": []
        },
        {
            "day": "Thursday",
            "hours": []
        },
        {
            "day": "Friday",
            "hours": []
        },
        {
            "day": "Saturday",
            "hours": []
        },
        {
            "day": "Sunday",
            "hours": []
        }
    ],
    "fees": [
        {
            "type": "service_fee",
            "name": "Service fee",
            "description": "A service fee of 16.0% for delivery orders will be charged with Tompkins Square Bagels."
        },
        {
            "type": "small_order_fee",
            "name": "Small order delivery fee",
            "description": "A small order delivery fee applies to your Tompkins Square Bagels subtotal of $8.61 or less."
        }
    ],
    "top_review": {
        "rating": 5,
        "text": "Great whole wheat Everything bagels",
        "author": "tamara"
    },
    "tags": [
        "PRICING_ELIGIBLE_FOR_STANDARD_ORDER",
        "PLUS"
    ],
    "alcohol_enabled": false,
    "menu_category_count": 14,
    "menu_item_count": 232
}
获取餐厅详情 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15601/grubhub+api/42028/get+restaurant+details?restaurant_id=357075&latitude=40.7306&longitude=-73.9866' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回餐厅的完整菜单:包含所有分类及其菜品,每道菜均附有描述、价格、配送和自取价格、含选项的最低价格、供应情况、人气和图片。菜品选项来自 /restaurant/menu-item】【。
Endpoint ID: 42029
GET https://zylalabs.com/api/15601/grubhub+api/42029/get+restaurant+menu
输入参数

获取餐厅菜单 — 端点功能

对象 描述
restaurant_id 必需 Restaurant id (e.g. "357075") or its grubhub.com link. Use the /search/restaurants endpoint to list valid values.
category_id 可选 Menu category id, to get one category only (e.g. "276938151097").
latitude 可选 Latitude of the delivery address (e.g. "40.7306").
longitude 可选 Longitude of the delivery address (e.g. "-73.9866").

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


输入参数

restaurant_id
category_id
latitude
longitude
API 示例响应
JSON
[
    {
        "category_id": "276938151097",
        "name": "*Bagels",
        "is_available": true,
        "items": [
            {
                "item_id": "325186187184",
                "name": "Bagel",
                "description": null,
                "category_id": "276938151097",
                "category": "*Bagels",
                "price": 2.5,
                "delivery_price": 2.5,
                "pickup_price": 2.5,
                "min_price": 2.5,
                "currency": "USD",
                "is_available": true,
                "is_popular": true,
                "tags": [],
                "image": null
            },
            {
                "item_id": "276938155297",
                "name": "Bagel with Plain Cream Cheese",
                "description": "Plain Cream Cheese on your choice of a fresh baked bagel",
                "category_id": "276938151097",
                "category": "*Bagels",
                "price": 6.01,
                "delivery_price": 6.01,
                "pickup_price": 6.01,
                "min_price": 6.01,
                "currency": "USD",
                "is_available": true,
                "is_popular": true,
                "tags": [],
                "image": null
            },
            {
                "item_id": "276938155825",
                "name": "Bagel with Flavored Cream Cheese",
                "description": "Your choice of our homemade Flavored Cream Cheese on your choice of a fresh baked bagel",
                "category_id": "276938151097",
                "category": "*Bagels",
                "price": 7.21,
                "delivery_price": 7.21,
                "pickup_price": 7.21,
                "min_price": 7.21,
                "currency": "USD",
                "is_available": true,
                "is_popular": true,
                "tags": [],
                "image": null
            },
            {
                "item_id": "276938162401",
                "name": "Bagel with Specialty Cream Cheese",
                "description": "Your choice of our homemade Specialty Cream Cheese on your choice of a fresh baked bagel",
                "category_id": "276938151097",
                "category": "*Bagels",
                "price": 7.88,
                "delivery_price": 7.88,
                "pickup_price": 7.88,
                "min_price": 7.88,
                "currency": "USD",
                "is_available": true,
                "is_popular": true,
                "tags": [],
                "image": null
            },
            {
                "item_id": "276938160329",
                "name": "Bagel with Tofu",
                "description": "Your choice of our homemade Tofu Spread on your choice of a fresh baked bagel",
                "category_id": "276938151097",
                "category": "*Bagels",
                "price": 7.27,
                "delivery_price": 7.27,
                "pickup_price": 7.27,
                "min_price": 7.27,
                "currency": "USD",
                "is_available": true,
                "is_popular": false,
                "tags": [],
                "image": null
            },
            {
                "item_id": "276938157945",
                "name": "Bagel with Butter",
                "description": "Butter on your choice of a fresh baked bagel",
                "category_id": "276938151097",
                "category": "*Bagels",
                "price": 4.78,
                "delivery_price": 4.78,
                "pickup_price": 4.78,
                "min_price": 4.78,
                "currency": "USD",
                "is_available": true,
                "is_popular": false,
                "tags": [],
                "image": null
            },
            {
                "item_id": "276938155721",
                "name": "Bagel with Earth Balance",
                "description": "Earth Balance on your choice of a fresh baked bagel",
                "category_id": "276938151097",
                "category": "*Bagels",
                "price": 6.68,
                "delivery_price": 6.68,
                "pickup_price": 6.68,
                "min_price": 6.68,
                "currency": "USD",
                "is_available": true,
                "is_popular": false,
                "tags": [],
                "image": null
            },
            {
                "item_id": "276938151633",
                "name": "Bagel with Peanut Butter & Jelly",
                "description": "Peanut Butter and your choice of Jelly on your choice of a fresh baked bagel",
                "category_id": "276938151097",
                "category": "*Bagels",
                "price": 8.13,
                "delivery_price": 8.13,
                "pickup_price": 8.13,
                "min_price": 8.13,
                "currency": "USD",
                "is_available": true,
                "is_popular": false,
                "tags": [],
                "image": null
            },
            {
                "item_id": "276938153137",
                "name": "Bagel with Peanut Butter",
                "description": "Peanut Butter on your choice of a fresh baked bagel",
                "category_id": "276938151097",
                "category": "*Bagels",
                "price": 6.88,
                "delivery_price": 6.88,
                "pickup_price": 6.88,
                "min_price": 6.88,
                "currency": "USD",
                "is_available": true,
                "is_popular": false,
                "tags": [],
                "image": null
            },
            {
                "item_id": "276938161321",
                "name": "Bagel with Jelly",
                "description": "Your choice of Jelly on your choice of a fresh baked bagel",
                "category_id": "276938151097",
                "category": "*Bagels",
                "price": 4.38,
                "delivery_price": 4.38,
                "pickup_price": 4.38,
                "min_price": 4.38,
                "currency": "USD",
                "is_available": true,
                "is_popular": false,
                "tags": [],
                "image": null
            },
            {
                "item_id": "276938159449",
                "name": "Bagel with Nutella & Banana",
                "description": "Nutella & Banana on your choice of a fresh baked bagel",
                "category_id": "276938151097",
                "category": "*Bagels",
                "price": 8.48,
                "delivery_price": 8.48,
                "pickup_price": 8.48,
                "min_price": 8.48,
                "currency": "USD",
                "is_available": true,
                "is_popular": false,
                "tags": [],
                "image": null
            },
            {
                "item_id": "276938155321",
                "name": "Bagel with Nut Butter",
                "description": "Choice of: Sunflower, Pumpkin, Almond, Cashew on your choice of a fresh baked bagel",
                "category_id": "276938151097",
                "category": "*Bagels",
                "price": 8.48,
                "delivery_price": 8.48,
                "pickup_price": 8.48,
                "min_price": 8.48,
                "currency": "USD",
                "is_available": true,
                "is_popular": false,
                "tags": [],
                "image": null
            }
        ]
    }
]
获取餐厅菜单 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15601/grubhub+api/42029/get+restaurant+menu?restaurant_id=357075&category_id=276938151097&latitude=40.7306&longitude=-73.9866' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一个菜单项及其价格范围、税费和所有选项组(规格、配料、配菜等),包括最少和最多可选数量,以及每个选项及其价格,包括嵌套选项在内
Endpoint ID: 42030
GET https://zylalabs.com/api/15601/grubhub+api/42030/get+menu+item
输入参数

获取菜单项 — 端点功能

对象 描述
restaurant_id 必需 Restaurant id (e.g. "357075") or its grubhub.com link.
item_id 必需 Menu item id (e.g. "325186187184"). Use the /restaurant/menu endpoint to list valid values.
latitude 可选 Latitude of the delivery address (e.g. "40.7306").
longitude 可选 Longitude of the delivery address (e.g. "-73.9866").

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


输入参数

restaurant_id
item_id
latitude
longitude
API 示例响应
JSON
{
    "item_id": "325186187184",
    "name": "Bagel",
    "description": null,
    "category_id": "276938151097",
    "category": "*Bagels",
    "price": 2.5,
    "delivery_price": 2.5,
    "pickup_price": 2.5,
    "min_price": 2.5,
    "currency": "USD",
    "is_available": true,
    "is_popular": true,
    "tags": [],
    "image": null,
    "max_price": 303,
    "tax_percent": 8.88,
    "options": [
        {
            "option_id": "276938163609",
            "name": "All Bagel Choice",
            "min_choices": 1,
            "max_choices": 1,
            "choices": [
                {
                    "choice_id": "276938154713",
                    "name": "EV",
                    "price": 0,
                    "is_default": false,
                    "is_available": true,
                    "max_quantity": 1,
                    "options": []
                },
                {
                    "choice_id": "276938155521",
                    "name": "SES",
                    "price": 0,
                    "is_default": false,
                    "is_available": true,
                    "max_quantity": 1,
                    "options": []
                },
                {
                    "choice_id": "276938158129",
                    "name": "PL",
                    "price": 0,
                    "is_default": false,
                    "is_available": true,
                    "max_quantity": 1,
                    "options": []
                },
                {
                    "choice_id": "276938157737",
                    "name": "CR",
                    "price": 0,
                    "is_default": false,
                    "is_available": true,
                    "max_quantity": 1,
                    "options": []
                },
                {
                    "choice_id": "276938152377",
                    "name": "Egg Bagel",
                    "price": 0,
                    "is_default": false,
                    "is_available": true,
                    "max_quantity": 1,
                    "options": []
                },
                {
                    "choice_id": "276938155329",
                    "name": "EggEV",
                    "price": 0,
                    "is_default": false,
                    "is_available": true,
                    "max_quantity": 1,
                    "options": []
                },
                {
                    "choice_id": "276938161433",
                    "name": "MG",
                    "price": 0,
                    "is_default": false,
                    "is_available": true,
                    "max_quantity": 1,
                    "options": []
                },
                {
                    "choice_id": "276938163201",
                    "name": "ON",
                    "price": 0,
                    "is_default": false,
                    "is_available": true,
                    "max_quantity": 1,
                    "options": []
                },
                {
                    "choice_id": "276938159473",
                    "name": "POP",
                    "price": 0,
                    "is_default": false,
                    "is_available": true,
                    "max_quantity": 1,
                    "options": []
                },
                {
                    "choice_id": "276938157841",
                    "name": "PUMP",
                    "price": 0,
                    "is_default": false,
                    "is_available": true,
                    "max_quantity": 1,
                    "options": []
                },
                {
                    "choice_id": "276938156953",
                    "name": "PUMPEV",
                    "price": 0,
                    "is_default": false,
                    "is_available": true,
                    "max_quantity": 1,
                    "options": []
                },
                {
                    "choice_id": "276938160081",
                    "name": "Salt Bagel",
                    "price": 0,
                    "is_default": false,
                    "is_available": true,
                    "max_quantity": 1,
                    "options": []
                },
                {
                    "choice_id": "276938158657",
                    "name": "SD",
                    "price": 0,
                    "is_default": false,
                    "is_available": true,
                    "max_quantity": 1,
                    "options": []
                },
                {
                    "choice_id": "276938159161",
                    "name": "WW",
                    "price": 0,
                    "is_default": false,
                    "is_available": true,
                    "max_quantity": 1,
                    "options": []
                },
                {
                    "choice_id": "276938155417",
                    "name": "WWE",
                    "price": 0,
                    "is_default": false,
                    "is_available": true,
                    "max_quantity": 1,
                    "options": []
                },
                {
                    "choice_id": "276938151897",
                    "name": "Asiago Bagel",
                    "price": 1.05,
                    "is_default": false,
                    "is_available": true,
                    "max_quantity": 1,
                    "options": []
                },
                {
                    "choice_id": "276938151641",
                    "name": "BlackSES",
                    "price": 1.05,
                    "is_default": false,
                    "is_available": true,
                    "max_quantity": 1,
                    "options": []
                },
                {
                    "choice_id": "276938155465",
                    "name": "BLUE",
                    "price": 1.05,
                    "is_default": false,
                    "is_available": true,
                    "max_quantity": 1,
                    "options": []
                }
            ]
        }
    ]
}
获取菜单项 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15601/grubhub+api/42030/get+menu+item?restaurant_id=357075&item_id=325186187184&latitude=40.7306&longitude=-73.9866' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
搜索一家餐厅的菜单,并按类别返回匹配的菜品,包含价格、供应情况、人气、菜品类型和图片
Endpoint ID: 42031
GET https://zylalabs.com/api/15601/grubhub+api/42031/search+restaurant+menu
输入参数

搜索餐厅菜单 — 端点功能

对象 描述
restaurant_id 必需 Restaurant id (e.g. "357075") or its grubhub.com link.
query 必需 Dish or ingredient to search for (e.g. "salmon").
order_type 可选 Order type (defaults to "delivery"). Use the /general/order-types endpoint to list valid values.
latitude 可选 Latitude of the delivery address (e.g. "40.7306").
longitude 可选 Longitude of the delivery address (e.g. "-73.9866").

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


输入参数

restaurant_id
query
order_type
latitude
longitude
API 示例响应
JSON
[
    {
        "category_id": "276938151049",
        "name": "*Breakfast Sandwich",
        "items": [
            {
                "item_id": "276938159857",
                "name": "The Leo",
                "description": "Lox, Eggs, Caramelized Onions on your choice of a fresh baked bagel",
                "price": 19.4,
                "currency": "USD",
                "has_required_options": true,
                "is_available": true,
                "is_popular": false,
                "dish_types": [
                    "bagel thin sandwich",
                    "side dishes",
                    "bagel sandwich",
                    "sandwiches",
                    "breakfast",
                    "bagel"
                ],
                "image": null
            }
        ]
    },
    {
        "category_id": "325186186248",
        "name": "*Bagels with Smoked Fish",
        "items": [
            {
                "item_id": "325186187720",
                "name": "*Bagel with Your Choice of Smoked Salmon Preparation, and Cream Cheese",
                "description": null,
                "price": 18.5,
                "currency": "USD",
                "has_required_options": true,
                "is_available": true,
                "is_popular": false,
                "dish_types": [
                    "seafood",
                    "bagel sandwich",
                    "fish",
                    "salmon",
                    "breakfast",
                    "bagel"
                ],
                "image": null
            },
            {
                "item_id": "325186187616",
                "name": "*Bagel with Your Choice of Smoked Salmon Preparation, and Cream Cheese - Deluxe",
                "description": null,
                "price": 20,
                "currency": "USD",
                "has_required_options": true,
                "is_available": true,
                "is_popular": false,
                "dish_types": [
                    "seafood",
                    "bagel sandwich",
                    "fish",
                    "salmon",
                    "breakfast",
                    "bagel"
                ],
                "image": null
            },
            {
                "item_id": "325186187144",
                "name": "*Bagel with Nova Scotia Lox Spread",
                "description": null,
                "price": 9.25,
                "currency": "USD",
                "has_required_options": true,
                "is_available": true,
                "is_popular": false,
                "dish_types": [
                    "bagel sandwich",
                    "breakfast",
                    "bagel",
                    "bagel cream cheese"
                ],
                "image": null
            }
        ]
    },
    {
        "category_id": "325186186272",
        "name": "*1/4lb Cream Cheese",
        "items": [
            {
                "item_id": "325186187376",
                "name": "1/4lb Lox Spread",
                "description": null,
                "price": 7,
                "currency": "USD",
                "has_required_options": false,
                "is_available": true,
                "is_popular": false,
                "dish_types": [
                    "flavored cream cheese",
                    "side dishes",
                    "cream cheese",
                    "breakfast",
                    "bagel",
                    "bagel cream cheese"
                ],
                "image": null
            }
        ]
    },
    {
        "category_id": "325510226528",
        "name": "*1/4lb Deli",
        "items": [
            {
                "item_id": "325510226536",
                "name": "1/4lb Gravlax",
                "description": null,
                "price": 13.75,
                "currency": "USD",
                "has_required_options": false,
                "is_available": true,
                "is_popular": false,
                "dish_types": [
                    "sauces",
                    "gravy sauce",
                    "side dishes",
                    "gravy bread",
                    "breads",
                    "chicken sides",
                    "chicken gravy"
                ],
                "image": null
            }
        ]
    }
]
搜索餐厅菜单 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15601/grubhub+api/42031/search+restaurant+menu?restaurant_id=357075&query=salmon&order_type=delivery&latitude=40.7306&longitude=-73.9866' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回餐厅最畅销的商品,包含价格、描述、畅销和辣味标记以及图片
Endpoint ID: 42032
GET https://zylalabs.com/api/15601/grubhub+api/42032/get+popular+items
输入参数

获取热门商品 — 端点功能

对象 描述
restaurant_id 必需 Restaurant id (e.g. "357075") or its grubhub.com link.
latitude 可选 Latitude of the delivery address (e.g. "40.7306").
longitude 可选 Longitude of the delivery address (e.g. "-73.9866").

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


输入参数

restaurant_id
latitude
longitude
API 示例响应
JSON
[
    {
        "item_id": "325186187184",
        "name": "Bagel",
        "description": null,
        "price": 2.5,
        "currency": "USD",
        "has_required_options": true,
        "is_best_seller": false,
        "is_spicy": false,
        "image": null
    },
    {
        "item_id": "325186186512",
        "name": "*2 Eggs, Crispy Bacon and Cheese Sandwich",
        "description": null,
        "price": 12,
        "currency": "USD",
        "has_required_options": true,
        "is_best_seller": false,
        "is_spicy": false,
        "image": null
    },
    {
        "item_id": "276938155297",
        "name": "Bagel with Plain Cream Cheese",
        "description": "Plain Cream Cheese on your choice of a fresh baked bagel",
        "price": 6.01,
        "currency": "USD",
        "has_required_options": true,
        "is_best_seller": false,
        "is_spicy": false,
        "image": null
    },
    {
        "item_id": "276938155825",
        "name": "Bagel with Flavored Cream Cheese",
        "description": "Your choice of our homemade Flavored Cream Cheese on your choice of a fresh baked bagel",
        "price": 7.21,
        "currency": "USD",
        "has_required_options": true,
        "is_best_seller": false,
        "is_spicy": false,
        "image": null
    },
    {
        "item_id": "276938162401",
        "name": "Bagel with Specialty Cream Cheese",
        "description": "Your choice of our homemade Specialty Cream Cheese on your choice of a fresh baked bagel",
        "price": 7.88,
        "currency": "USD",
        "has_required_options": true,
        "is_best_seller": false,
        "is_spicy": false,
        "image": null
    },
    {
        "item_id": "325186186936",
        "name": "*2 Eggs, House Grilled Sausage, and American Cheese Sandwich",
        "description": null,
        "price": 12,
        "currency": "USD",
        "has_required_options": true,
        "is_best_seller": false,
        "is_spicy": false,
        "image": null
    },
    {
        "item_id": "325186187200",
        "name": "*2 Eggs Sandwich",
        "description": null,
        "price": 7.95,
        "currency": "USD",
        "has_required_options": true,
        "is_best_seller": false,
        "is_spicy": false,
        "image": null
    },
    {
        "item_id": "325186187440",
        "name": "Large Coffee",
        "description": null,
        "price": 4.37,
        "currency": "USD",
        "has_required_options": false,
        "is_best_seller": false,
        "is_spicy": false,
        "image": null
    },
    {
        "item_id": "325186187480",
        "name": "1/4lb Scallion Cream Cheese",
        "description": null,
        "price": 4,
        "currency": "USD",
        "has_required_options": false,
        "is_best_seller": false,
        "is_spicy": false,
        "image": null
    }
]
获取热门商品 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15601/grubhub+api/42032/get+popular+items?restaurant_id=357075&latitude=40.7306&longitude=-73.9866' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回餐厅的评价及星级分布,每条评价包括评分、文本、作者、作者是新顾客还是常客、情感倾向、日期、订单日期、关于订单准确性和食物质量的回答、订购的菜品以及餐厅的回复
Endpoint ID: 42033
GET https://zylalabs.com/api/15601/grubhub+api/42033/get+restaurant+reviews
输入参数

获取餐厅评价 — 端点功能

对象 描述
restaurant_id 必需 Restaurant id (e.g. "357075") or its grubhub.com link.
sort 可选 Sort order (defaults to "newest"). Use the /general/review-sorts endpoint to list valid values.
page 可选 Page number (defaults to 1).
page_size 可选 Reviews per page, 1 to 50 (defaults to 20).

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


输入参数

restaurant_id
sort
page
page_size
API 示例响应
JSON
{
    "total": 15,
    "page": 1,
    "pages": 1,
    "star_distribution": {
        "5": 70,
        "4": 10,
        "3": 7,
        "2": 5,
        "1": 8
    },
    "reviews": [
        {
            "review_id": "d958d790-1765-11f1-9791-73e926150119",
            "rating": 2,
            "text": "My order came with two whole wheat everything bagels when I asked for plain whole wheat and was not scooped or with butter",
            "author": "Hunter",
            "author_type": "Regular",
            "author_review_count": 1,
            "sentiment": "Negative",
            "date": "2026-03-04T01:02:43Z",
            "order_date": "2026-03-03T20:59:47Z",
            "aspects": [],
            "items": [
                {
                    "item_id": "268986276488",
                    "name": "Bagel"
                }
            ],
            "responses": []
        },
        {
            "review_id": "568c9520-a6c4-11f0-9521-91f871d7bca3",
            "rating": 5,
            "text": "Waited too long for the order but overall everything was good",
            "author": "Jessica",
            "author_type": "New",
            "author_review_count": 1,
            "sentiment": "Negative",
            "date": "2025-10-11T17:04:24Z",
            "order_date": "2025-10-11T14:51:06Z",
            "aspects": [],
            "items": [
                {
                    "item_id": "268986276488",
                    "name": "Bagel"
                },
                {
                    "item_id": "268986280984",
                    "name": "Flavored Cream Cheese by the 1/4 Lb"
                },
                {
                    "item_id": "268986276488",
                    "name": "Bagel"
                }
            ],
            "responses": []
        },
        {
            "review_id": "faf502d0-6c06-11f0-82d1-8560b357a47e",
            "rating": 3,
            "text": "Wasn’t toasted enough",
            "author": "Colette",
            "author_type": "Regular",
            "author_review_count": 2,
            "sentiment": "Negative",
            "date": "2025-07-28T23:02:48Z",
            "order_date": "2025-07-28T19:12:43Z",
            "aspects": [],
            "items": [
                {
                    "item_id": "268986302448",
                    "name": "Bagel with House Made Cream Cheese"
                }
            ],
            "responses": []
        },
        {
            "review_id": "8398b830-157b-11f0-b831-6d3b06bbe9ee",
            "rating": 5,
            "text": "Great whole wheat Everything bagels",
            "author": "tamara",
            "author_type": "New",
            "author_review_count": 1,
            "sentiment": "Positive",
            "date": "2025-04-09T19:47:48Z",
            "order_date": "2025-04-09T17:00:17Z",
            "aspects": {
                "order_accuracy": "Yes",
                "food_quality": "Yes"
            },
            "items": [
                {
                    "item_id": "268986301712",
                    "name": "Bagel with Your Choice of Smoked Salmon Preparation, and Cream Cheese"
                },
                {
                    "item_id": "268986278160",
                    "name": "Tuna Salad 1/4 Lb"
                }
            ],
            "responses": []
        },
        {
            "review_id": "6ad80650-fd09-11ef-8651-9758516b2840",
            "rating": 2,
            "text": "Bagel arrived frozen cold (was placed directly next to my iced latte) and with so much cream cheese I ended up removing about 1/2 a cup of cream cheese off the bagel to be edible.",
            "author": "Megan",
            "author_type": "New",
            "author_review_count": 1,
            "sentiment": "Positive",
            "date": "2025-03-09T17:10:36Z",
            "order_date": "2025-03-09T14:07:41Z",
            "aspects": {
                "order_accuracy": "Yes",
                "food_quality": "No"
            },
            "items": [
                {
                    "item_id": "268986302448",
                    "name": "Bagel with House Made Cream Cheese"
                },
                {
                    "item_id": "268986285416",
                    "name": "TSB Iced Latte"
                }
            ],
            "responses": []
        },
        {
            "review_id": "85605f50-88d2-11ef-9f51-ff079a19d3e2",
            "rating": 2,
            "text": "My order was wrong",
            "author": "Rebecca",
            "author_type": "Regular",
            "author_review_count": 1,
            "sentiment": "Negative",
            "date": "2024-10-12T19:45:23Z",
            "order_date": "2024-10-12T14:11:04Z",
            "aspects": {
                "delivery_speed": "Yes",
                "order_accuracy": "No",
                "order_again": "Yes",
                "food_quality": "No"
            },
            "items": [
                {
                    "item_id": "268986302448",
                    "name": "Bagel with House Made Cream Cheese"
                },
                {
                    "item_id": "268986299240",
                    "name": "2 Scrambled Eggs, House Made Chorizo, and American Cheese Sandwich"
                },
                {
                    "item_id": "268986280688",
                    "name": "2 Eggs and Cheese Sandwich"
                }
            ],
            "responses": []
        },
        {
            "review_id": "721472b2-8508-11ef-b2b3-23f42e8485ed",
            "rating": 1,
            "text": "Restaurant forgot add-ons to my order that were paid for.",
            "author": "Alexandra",
            "author_type": "New",
            "author_review_count": 1,
            "sentiment": "Neutral",
            "date": "2024-10-08T00:01:19Z",
            "order_date": "2024-10-05T12:46:47Z",
            "aspects": {
                "order_accuracy": "No",
                "delivery_speed": "Yes",
                "food_quality": "Yes"
            },
            "items": [
                {
                    "item_id": "268986302448",
                    "name": "Bagel with House Made Cream Cheese"
                },
                {
                    "item_id": "268986280568",
                    "name": "Natalie's Fresh Orange Juice"
                }
            ],
            "responses": []
        }
    ]
}
获取餐厅评价 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15601/grubhub+api/42033/get+restaurant+reviews?restaurant_id=357075&sort=newest&page=1&page_size=20' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
列出可配送到某个地点且与某家餐厅类似的餐厅,字段与 /search/restaurants 相同
Endpoint ID: 42034
GET https://zylalabs.com/api/15601/grubhub+api/42034/get+similar+restaurants
输入参数

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

对象 描述
restaurant_id 必需 Restaurant id (e.g. "357075") or its grubhub.com link.
latitude 必需 Latitude of the delivery address (e.g. "40.7306").
longitude 必需 Longitude of the delivery address (e.g. "-73.9866").

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


输入参数

restaurant_id
latitude
longitude
API 示例响应
JSON
[
    {
        "restaurant_id": "2309445",
        "name": "Brekkie Bagels",
        "url": "https://www.grubhub.com/restaurant/brekkie-bagels-59-4th-ave-new-york/2309445",
        "cuisines": [
            "Breakfast",
            "Bagels"
        ],
        "rating": 4.78,
        "rating_count": 81,
        "price_rating": 2,
        "is_open": true,
        "next_open_time": null,
        "next_closing_time": "2026-11-25T10:00:00.000Z",
        "offers_delivery": true,
        "offers_pickup": false,
        "distance_miles": 0.18,
        "delivery_estimate_minutes": {
            "min": 14,
            "max": 29
        },
        "pickup_estimate_minutes": 15,
        "delivery_fee": 0,
        "delivery_fee_without_discounts": 9.99,
        "delivery_minimum": 0,
        "currency": "USD",
        "is_new": false,
        "badges": [
            "Model Candidate"
        ],
        "phone": "2122289644",
        "address": {
            "street": "59 4th Ave",
            "city": "New York",
            "state": "NY",
            "postal_code": "10003",
            "latitude": 40.73063278,
            "longitude": -73.9900055
        },
        "timezone": "America/New_York",
        "logo": "https://media-cdn.grubhub.com/image/upload/v1581539683/kckvtblrtmgxzsracvff.jpg",
        "image": "https://res.cloudinary.com/grubhub/image/upload/ubdbepagvxzwz9rxp1ad.jpg",
        "matching_items": []
    },
    {
        "restaurant_id": "12994096",
        "name": "Eggy's Breakfast Bagel Sandwich",
        "url": "https://www.grubhub.com/restaurant/eggys-breakfast-bagel-sandwich-689-broadway-new-york/12994096",
        "cuisines": [
            "Breakfast",
            "American",
            "Fast Food"
        ],
        "rating": 5,
        "rating_count": 1,
        "price_rating": 0,
        "is_open": true,
        "next_open_time": null,
        "next_closing_time": "2026-11-26T04:45:00.000Z",
        "offers_delivery": true,
        "offers_pickup": true,
        "distance_miles": 0.46,
        "delivery_estimate_minutes": {
            "min": 27,
            "max": 42
        },
        "pickup_estimate_minutes": 15,
        "delivery_fee": 0,
        "delivery_fee_without_discounts": 0,
        "delivery_minimum": 0,
        "currency": "USD",
        "is_new": false,
        "badges": [
            "Model Candidate"
        ],
        "phone": "2488296864",
        "address": {
            "street": "689 Broadway",
            "city": "New York",
            "state": "NY",
            "postal_code": "10003",
            "latitude": 40.72818756,
            "longitude": -73.9947815
        },
        "timezone": "America/New_York",
        "logo": "https://media-cdn.grubhub.com/image/upload/v1696436708/lk04fz867i5goqnr2ds8.png",
        "image": "https://res.cloudinary.com/grubhub/image/upload/igujiyhgwx5yfffkuhtw.png",
        "matching_items": []
    },
    {
        "restaurant_id": "8823304",
        "name": "Freestyle Breakfast",
        "url": "https://www.grubhub.com/restaurant/freestyle-breakfast-689-broadway-new-york/8823304",
        "cuisines": [
            "Breakfast",
            "American",
            "Sandwiches"
        ],
        "rating": 0,
        "rating_count": 0,
        "price_rating": 0,
        "is_open": true,
        "next_open_time": null,
        "next_closing_time": "2026-11-26T04:44:00.000Z",
        "offers_delivery": true,
        "offers_pickup": false,
        "distance_miles": 0.46,
        "delivery_estimate_minutes": {
            "min": 27,
            "max": 42
        },
        "pickup_estimate_minutes": 15,
        "delivery_fee": 0,
        "delivery_fee_without_discounts": 0,
        "delivery_minimum": 0,
        "currency": "USD",
        "is_new": false,
        "badges": [
            "Model Candidate"
        ],
        "phone": "8443950008",
        "address": {
            "street": "689 Broadway",
            "city": "New York",
            "state": "NY",
            "postal_code": "10003",
            "latitude": 40.72818756,
            "longitude": -73.9947815
        },
        "timezone": "America/New_York",
        "logo": "https://media-cdn.grubhub.com/image/upload/v1723509277/sszugg9zla1xmw4xtmch.png",
        "image": "https://res.cloudinary.com/grubhub/image/upload/v6edrgdfiqvrht8zsebn.jpg",
        "matching_items": []
    },
    {
        "restaurant_id": "8824360",
        "name": "Le Jardin Bagels",
        "url": "https://www.grubhub.com/restaurant/le-jardin-bagels-689-broadway-new-york/8824360",
        "cuisines": [
            "Bagel",
            "Bagels",
            "Bakery",
            "Breakfast"
        ],
        "rating": 0,
        "rating_count": 0,
        "price_rating": 2,
        "is_open": true,
        "next_open_time": null,
        "next_closing_time": "2026-11-26T04:44:00.000Z",
        "offers_delivery": true,
        "offers_pickup": false,
        "distance_miles": 0.46,
        "delivery_estimate_minutes": {
            "min": 27,
            "max": 42
        },
        "pickup_estimate_minutes": 15,
        "delivery_fee": 0,
        "delivery_fee_without_discounts": 0,
        "delivery_minimum": 0,
        "currency": "USD",
        "is_new": false,
        "badges": [
            "Model Candidate"
        ],
        "phone": "8443950008",
        "address": {
            "street": "689 Broadway",
            "city": "New York",
            "state": "NY",
            "postal_code": "10003",
            "latitude": 40.72818756,
            "longitude": -73.9947815
        },
        "timezone": "America/New_York",
        "logo": "https://media-cdn.grubhub.com/image/upload/v1723507461/qsikxzp18nkhvjlblyxi.png",
        "image": "https://res.cloudinary.com/grubhub/image/upload/lpgwpdvbnzpiwdpd22cf.jpg",
        "matching_items": []
    },
    {
        "restaurant_id": "10936528",
        "name": "The Bagel Savage",
        "url": "https://www.grubhub.com/restaurant/the-bagel-savage-93-avenue-a-new-york/10936528",
        "cuisines": [
            "Breakfast",
            "American",
            "Coffee and Tea",
            "Fast Food",
            "Healthy"
        ],
        "rating": 1,
        "rating_count": 1,
        "price_rating": 0,
        "is_open": true,
        "next_open_time": null,
        "next_closing_time": "2026-11-26T04:45:00.000Z",
        "offers_delivery": true,
        "offers_pickup": false,
        "distance_miles": 0.38,
        "delivery_estimate_minutes": {
            "min": 24,
            "max": 39
        },
        "pickup_estimate_minutes": 15,
        "delivery_fee": 0,
        "delivery_fee_without_discounts": 0,
        "delivery_minimum": 0,
        "currency": "USD",
        "is_new": false,
        "badges": [
            "Model Candidate"
        ],
        "phone": "6466091282",
        "address": {
            "street": "93 Avenue A",
            "city": "New York",
            "state": "NY",
            "postal_code": "10009",
            "latitude": 40.72538757,
            "longitude": -73.98423005
        },
        "timezone": "America/New_York",
        "logo": null,
        "image": "https://res.cloudinary.com/grubhub/image/upload/cahixnybk0nuev8imnsv.jpg",
        "matching_items": []
    }
]
获取类似的餐厅 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15601/grubhub+api/42034/get+similar+restaurants?restaurant_id=357075&latitude=40.7306&longitude=-73.9866' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
列出某个地点餐厅搜索的筛选条件(菜系、饮食偏好、当前营业、优惠、Grubhub+、评分、送达时间、价格评分、新店、自取、酒类及更多)以及符合每项筛选条件的餐厅数量。某个值的“筛选条件”是/search/restaurants 的“filters”参数所接受的内容。
Endpoint ID: 42035
GET https://zylalabs.com/api/15601/grubhub+api/42035/get+search+filters
输入参数

获取搜索筛选条件 — 端点功能

对象 描述
latitude 必需 Latitude of the delivery address (e.g. "40.7306").
longitude 必需 Longitude of the delivery address (e.g. "-73.9866").
query 可选 Dish, cuisine or restaurant name the search is for (e.g. "pizza").
order_type 可选 Order type (defaults to "delivery"). Use the /general/order-types endpoint to list valid values.

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


输入参数

latitude
longitude
query
order_type
API 示例响应
JSON
[
    {
        "id": "dietary_preference",
        "name": "Dietary",
        "is_multiple": true,
        "values": [
            {
                "filter": "entity_tag:dietary_preference_has_class:healthy",
                "name": "healthy",
                "count": 34
            },
            {
                "filter": "entity_tag:dietary_preference_has_class:high_protein",
                "name": "high_protein",
                "count": 69
            },
            {
                "filter": "entity_tag:dietary_preference_has_class:organic",
                "name": "organic",
                "count": 6
            },
            {
                "filter": "entity_tag:dietary_preference_has_class:vegetarian",
                "name": "vegetarian",
                "count": 72
            }
        ]
    },
    {
        "id": "open_now",
        "name": "Open Now",
        "is_multiple": false,
        "values": [
            {
                "filter": "open_now:true",
                "name": "Open Now",
                "count": 100
            }
        ]
    },
    {
        "id": "offer_category_type",
        "name": "Offers",
        "is_multiple": false,
        "values": [
            {
                "filter": "offer_category_type:ALL",
                "name": "Offers",
                "count": 53
            }
        ]
    },
    {
        "id": "subscription",
        "name": "Grubhub+",
        "is_multiple": false,
        "values": [
            {
                "filter": "subscription:true",
                "name": "Grubhub+",
                "count": 89
            }
        ]
    },
    {
        "id": "rating_v2",
        "name": "Rating",
        "is_multiple": false,
        "values": [
            {
                "filter": "rating:4.0",
                "name": "4 Stars and Up",
                "count": 1
            }
        ]
    },
    {
        "id": "delivery_time_v2",
        "name": "Delivery Time",
        "is_multiple": false,
        "values": [
            {
                "filter": "delivery_time:30",
                "name": "30 Minutes or Less",
                "count": 1
            }
        ]
    }
]
获取搜索筛选条件 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15601/grubhub+api/42035/get+search+filters?latitude=40.7306&longitude=-73.9866&query=pizza&order_type=delivery' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
列出可配送至某地点或在其附近提供自取服务的餐厅和商店,可选择匹配菜品、菜系或名称,并可使用筛选条件和排序方式。每家餐厅均包含菜系、评分、价格评级、营业状态、距离、预计送达时间、配送费、最低配送金额、徽章、地址、图片以及符合查询条件的菜单项。最多列出500家餐厅
Endpoint ID: 42036
GET https://zylalabs.com/api/15601/grubhub+api/42036/search+restaurants
输入参数

搜索餐厅 — 端点功能

对象 描述
latitude 必需 Latitude of the delivery address (e.g. "40.7306"). Use the /location/geocode endpoint to turn an address into coordinates.
longitude 必需 Longitude of the delivery address (e.g. "-73.9866").
query 可选 Dish, cuisine or restaurant name to search for (e.g. "pizza"). Leave it out to list every restaurant.
order_type 可选 Order type (defaults to "delivery"). Use the /general/order-types endpoint to list valid values.
sort 可选 Sort order (defaults to "recommended"). Use the /general/search-sorts endpoint to list valid values.
filters 可选 Filters separated by commas, each in the form "<filter>:<value>" (e.g. "open_now:true,cuisine:Pizza,rating:4.0"). Use the /search/filters endpoint to list valid values.
page 可选 Page number (defaults to 1).
page_size 可选 Restaurants per page, 1 to 50 (defaults to 20).

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


输入参数

latitude
longitude
query
order_type
sort
filters
page
page_size
API 示例响应
JSON
{
    "total": 67,
    "page": 1,
    "pages": 4,
    "restaurants": [
        {
            "restaurant_id": "64506",
            "name": "East Village Pizza",
            "url": "https://www.grubhub.com/restaurant/east-village-pizza-145-1st-ave-new-york/64506",
            "cuisines": [
                "Pizza",
                "Italian",
                "Calzones",
                "Dessert",
                "Gluten-Free",
                "Lunch Specials",
                "Must Try"
            ],
            "rating": 4.67,
            "rating_count": 6120,
            "price_rating": 3,
            "is_open": true,
            "next_open_time": null,
            "next_closing_time": "2026-11-25T08:15:00.000Z",
            "offers_delivery": true,
            "offers_pickup": true,
            "distance_miles": 0.19,
            "delivery_estimate_minutes": {
                "min": 30,
                "max": 40
            },
            "pickup_estimate_minutes": 10,
            "delivery_fee": 0,
            "delivery_fee_without_discounts": 0,
            "delivery_minimum": 0,
            "currency": "USD",
            "is_new": false,
            "badges": [
                "Restaurant Favorite",
                "Relevant Hit",
                "Relevant Match"
            ],
            "phone": "2125294545",
            "address": {
                "street": "145 1st Ave",
                "city": "New York",
                "state": "NY",
                "postal_code": "10003",
                "latitude": 40.728127,
                "longitude": -73.984894
            },
            "timezone": "America/New_York",
            "logo": "https://media-cdn.grubhub.com/image/upload/v1544824433/o49pujphbpmpbzrstq15.png",
            "image": "https://res.cloudinary.com/grubhub/image/upload/tuik2ovrwtcoh50cduk9.jpg",
            "matching_items": [
                {
                    "item_id": "590858145",
                    "name": "Double Stacked Pizza 18\" (NEW PIZZA)",
                    "price": 46,
                    "category": "Double Stacked Pizza",
                    "image": "https://media-cdn.grubhub.com/image/upload/x86tvvtl7z8k1kkirar6.jpg"
                },
                {
                    "item_id": "663908",
                    "name": "Cheese Pizza 18\"",
                    "price": 27.99,
                    "category": "Whole Pizza (18\")",
                    "image": "https://media-cdn.grubhub.com/image/upload/m40rgo1n9c53nu16v549.jpg"
                },
                {
                    "item_id": "13834318",
                    "name": "White Pizza (18\")",
                    "price": 29.99,
                    "category": "Whole Pizza (18\")",
                    "image": "https://media-cdn.grubhub.com/image/upload/pmddnynxumboqhp55ree.jpg"
                },
                {
                    "item_id": "2051219",
                    "name": "Margherita Pizza 18\"",
                    "price": 31.99,
                    "category": "Whole Pizza (18\")",
                    "image": "https://media-cdn.grubhub.com/image/upload/eyhhc3eidx67l5oolnzc.jpg"
                },
                {
                    "item_id": "2051224",
                    "name": "Pepperoni Pizza (18\")",
                    "price": 30.99,
                    "category": "Whole Pizza (18\")",
                    "image": "https://media-cdn.grubhub.com/image/upload/u1sgrdvc1ypwf24vvkp7.jpg"
                },
                {
                    "item_id": "9840154632",
                    "name": "Sicilian Pepperoni Pizza",
                    "price": 33.99,
                    "category": "Sicilian Pizza Pie (SQURE)",
                    "image": "https://media-cdn.grubhub.com/image/upload/sw8mf6vmdtfbjavzmdgu.jpg"
                },
                {
                    "item_id": "9840301510",
                    "name": "Heart Shaped Pepperoni Pizza",
                    "price": 29.99,
                    "category": "Heart shaped Pizza. 18\"",
                    "image": "https://media-cdn.grubhub.com/image/upload/evusxvri5bwmlain4e4n.jpg"
                },
                {
                    "item_id": "9840154649",
                    "name": "Heart Shaped White Pizza",
                    "price": 29.99,
                    "category": "Heart shaped Pizza. 18\"",
                    "image": "https://media-cdn.grubhub.com/image/upload/p7ppsuqe4i5hse04s00p.jpg"
                },
                {
                    "item_id": "9840154648",
                    "name": "Heart shaped Margherita Pizza",
                    "price": 32.99,
                    "category": "Heart shaped Pizza. 18\"",
                    "image": "https://media-cdn.grubhub.com/image/upload/i5yx2iwoz93c2vt5ihgg.jpg"
                },
                {
                    "item_id": "9838536555",
                    "name": "Heart shaped Cheese Pizza..",
                    "price": 27.99,
                    "category": "Heart shaped Pizza. 18\"",
                    "image": "https://media-cdn.grubhub.com/image/upload/ne5rbipodansqrcaki9b.jpg"
                }
            ]
        }
    ]
}
搜索餐厅 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15601/grubhub+api/42036/search+restaurants?latitude=40.7306&longitude=-73.9866&query=pizza&order_type=delivery&sort=recommended&filters=open_now:true&page=1&page_size=20' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
根据部分输入的搜索内容推荐某个地点附近的菜品、菜系和餐厅,并显示每家餐厅的营业状态、距离、配送和自取预计时间及图片
Endpoint ID: 42037
GET https://zylalabs.com/api/15601/grubhub+api/42037/get+search+suggestions
输入参数

获取搜索建议 — 端点功能

对象 描述
query 必需 Partly typed search (e.g. "piz").
latitude 必需 Latitude of the delivery address (e.g. "40.7306").
longitude 必需 Longitude of the delivery address (e.g. "-73.9866").
order_type 可选 Order type (defaults to "delivery"). Use the /general/order-types endpoint to list valid values.

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


输入参数

query
latitude
longitude
order_type
API 示例响应
JSON
{
    "terms": [
        {
            "value": "pizza",
            "type": "cuisine"
        },
        {
            "value": "artichoke pizza",
            "type": "dish"
        },
        {
            "value": "marinara pizza",
            "type": "dish"
        },
        {
            "value": "thin crust pizza",
            "type": "dish"
        },
        {
            "value": "garlic pizza",
            "type": "dish"
        },
        {
            "value": "grandma pizza",
            "type": "dish"
        },
        {
            "value": "personal pizza",
            "type": "dish"
        }
    ],
    "restaurants": [
        {
            "restaurant_id": "2437819",
            "name": "Fresh Pizzeria",
            "is_open": true,
            "is_open_for_delivery": true,
            "is_open_for_pickup": false,
            "distance_miles": 0.13,
            "delivery_estimate_minutes": {
                "min": 40,
                "max": 50
            },
            "pickup_estimate_minutes": 10,
            "latitude": 40.73226814593883,
            "longitude": -73.98534631779098,
            "image": "https://res.cloudinary.com/grubhub/image/upload/jnzmtoggdgrs4f2drh0t.png"
        },
        {
            "restaurant_id": "435151",
            "name": "Artichoke Basille's Pizza (E 14th St)",
            "is_open": true,
            "is_open_for_delivery": true,
            "is_open_for_pickup": false,
            "distance_miles": 0.18,
            "delivery_estimate_minutes": {
                "min": 35,
                "max": 45
            },
            "pickup_estimate_minutes": 25,
            "latitude": 40.7321699918769,
            "longitude": -73.98386922944776,
            "image": "https://res.cloudinary.com/grubhub/image/upload/hf5gvp06xqk8f3w3xdye.jpg"
        },
        {
            "restaurant_id": "6451488",
            "name": "Nuovo York Pizza",
            "is_open": true,
            "is_open_for_delivery": true,
            "is_open_for_pickup": false,
            "distance_miles": 0.18,
            "delivery_estimate_minutes": {
                "min": 25,
                "max": 35
            },
            "pickup_estimate_minutes": 10,
            "latitude": 40.73052215,
            "longitude": -73.99005127,
            "image": "https://res.cloudinary.com/grubhub/image/upload/k8qqfycv9fcslapxzhwt.jpg"
        },
        {
            "restaurant_id": "12737112",
            "name": "Stuff'd Calzone",
            "is_open": true,
            "is_open_for_delivery": true,
            "is_open_for_pickup": false,
            "distance_miles": 0.09,
            "delivery_estimate_minutes": {
                "min": 40,
                "max": 50
            },
            "pickup_estimate_minutes": 20,
            "latitude": 40.72927856,
            "longitude": -73.98693848,
            "image": "https://res.cloudinary.com/grubhub/image/upload/et3mwthofhirwbnlsjef.jpg"
        },
        {
            "restaurant_id": "14467008",
            "name": "Crust & Ember",
            "is_open": true,
            "is_open_for_delivery": true,
            "is_open_for_pickup": false,
            "distance_miles": 0.09,
            "delivery_estimate_minutes": {
                "min": 45,
                "max": 55
            },
            "pickup_estimate_minutes": 15,
            "latitude": 40.72927856,
            "longitude": -73.98693848,
            "image": "https://res.cloudinary.com/grubhub/image/upload/ncteesjds5l3d0lyjnoa.png"
        }
    ]
}
获取搜索建议 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15601/grubhub+api/42037/get+search+suggestions?query=piz&latitude=40.7306&longitude=-73.9866&order_type=delivery' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

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