Yelp 商家 API

API ID 16048

本地商家数据:可按筛选条件、评分、价格和营业时间搜索商家,查看商家详情、评价、照片、菜单、热门菜品、设施以及问答

API 文档

端点

请求
返回商家在其 Yelp 页面上分类展示的便利设施和更多信息(亮点、特色、便利设施、无障碍设施、付款方式……),并标明商家是否提供这些项目
Endpoint ID: 45660
GET https://zylalabs.com/api/16048/yelp+business+api/45660/get+business+amenities
输入参数

获取商务设施 — 端点功能

对象 描述
business_id 必需 Business id (e.g. "mSMZJj2pFvttWLpcDmgrEA") or alias, the last part of its Yelp link (e.g. "tonys-pizza-napoletana-san-francisco"). Use the /search endpoint to list valid values.

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


输入参数

business_id
API 示例响应
JSON
{
    "highlights": [
        {
            "id": "DietaryRestrictions",
            "label": "Vegan Options, Vegetarian Options",
            "available": true
        },
        {
            "id": "Ambience",
            "label": "Casual Ambience, Classy",
            "available": true
        },
        {
            "id": "GoodForKids",
            "label": "Good For Kids",
            "available": true
        },
        {
            "id": "GoodForMeal",
            "label": "Good for Lunch, Dinner",
            "available": true
        }
    ],
    "groups": [
        {
            "group": "features",
            "attributes": [
                {
                    "id": "RestaurantsReservations",
                    "label": "Reservations",
                    "available": true
                },
                {
                    "id": "WaitlistReservation",
                    "label": "Waitlist",
                    "available": true
                },
                {
                    "id": "RestaurantsDelivery",
                    "label": "Delivery",
                    "available": true
                },
                {
                    "id": "RestaurantsTakeOut",
                    "label": "Takeout",
                    "available": true
                },
                {
                    "id": "ByAppointmentOnly",
                    "label": "Walk-ins Welcome",
                    "available": true
                }
            ]
        },
        {
            "group": "amenities",
            "attributes": [
                {
                    "id": "liked_by_vegans",
                    "label": "Vegan options",
                    "available": true
                },
                {
                    "id": "num_vegetarian_options",
                    "label": "Limited vegetarian options",
                    "available": true
                },
                {
                    "id": "is_wheelchair_accessible",
                    "label": "Wheelchair accessible",
                    "available": true
                },
                {
                    "id": "ada_compliant_entrance",
                    "label": "ADA-compliant main entrance",
                    "available": true
                },
                {
                    "id": "no_steps_or_stairs",
                    "label": "No steps or stairs",
                    "available": true
                },
                {
                    "id": "ada_compliant_restroom",
                    "label": "ADA-compliant restroom",
                    "available": true
                },
                {
                    "id": "accessible_parking",
                    "label": "Accessible parking near entrance",
                    "available": false
                },
                {
                    "id": "offers_qr_code_menu",
                    "label": "QR code menus available",
                    "available": false
                },
                {
                    "id": "has_tv_closed_captioning",
                    "label": "Closed captioning on TVs",
                    "available": false
                },
                {
                    "id": "tips",
                    "label": "Tipping optional",
                    "available": true
                },
                {
                    "id": "large_parties_gratuity",
                    "label": "Tipping optional for large parties",
                    "available": true
                },
                {
                    "id": "accepts_credit_cards",
                    "label": "Accepts credit cards",
                    "available": true
                },
                {
                    "id": "accepts_android_pay",
                    "label": "Accepts Android Pay",
                    "available": false
                },
                {
                    "id": "accepts_apple_pay",
                    "label": "Accepts Apple Pay",
                    "available": false
                },
                {
                    "id": "accepts_bitcoin",
                    "label": "Accepts cryptocurrency",
                    "available": false
                },
                {
                    "id": "has_outdoor_seating",
                    "label": "Outdoor seating",
                    "available": true
                },
                {
                    "id": "Ambience",
                    "label": "Casual, Classy",
                    "available": true
                },
                {
                    "id": "NoiseLevel",
                    "label": "Moderate noise",
                    "available": true
                },
                {
                    "id": "restaurants_attire",
                    "label": "Casual dress",
                    "available": true
                },
                {
                    "id": "Caters",
                    "label": "Offers catering",
                    "available": true
                },
                {
                    "id": "good_for_groups",
                    "label": "Good for groups",
                    "available": true
                },
                {
                    "id": "good_for_kids",
                    "label": "Good for kids",
                    "available": true
                },
                {
                    "id": "GoodForMeal",
                    "label": "Good for Lunch, Dinner",
                    "available": true
                },
                {
                    "id": "BusinessParking",
                    "label": "Street parking, Valet parking",
                    "available": true
                },
                {
                    "id": "has_table_service",
                    "label": "Waiter service",
                    "available": true
                },
                {
                    "id": "best_nights",
                    "label": "Best nights on Friday, Saturday, Sunday",
                    "available": true
                },
                {
                    "id": "alcohol_options",
                    "label": "Full bar",
                    "available": true
                },
                {
                    "id": "has_tv",
                    "label": "TV",
                    "available": true
                },
                {
                    "id": "heated_outdoor_seating",
                    "label": "Heated outdoor seating",
                    "available": true
                },
                {
                    "id": "covered_outdoor_seating",
                    "label": "Covered outdoor seating",
                    "available": true
                },
                {
                    "id": "has_gender_neutral_restrooms",
                    "label": "Gender-neutral restrooms",
                    "available": true
                },
                {
                    "id": "good_for_dancing",
                    "label": "Good for dancing",
                    "available": false
                },
                {
                    "id": "has_pool_table",
                    "label": "Pool table",
                    "available": false
                },
                {
                    "id": "wifi_options",
                    "label": "Wi-Fi",
                    "available": false
                },
                {
                    "id": "happy_hour_specials",
                    "label": "Happy hour specials",
                    "available": false
                },
                {
                    "id": "smoking",
                    "label": "Smoking allowed",
                    "available": false
                },
                {
                    "id": "has_drive_thru",
                    "label": "Drive-thru",
                    "available": false
                },
                {
                    "id": "dogs_allowed",
                    "label": "Dogs allowed",
                    "available": false
                },
                {
                    "id": "private_dining",
                    "label": "Private dining",
                    "available": false
                },
                {
                    "id": "has_bike_parking",
                    "label": "Bike parking",
                    "available": true
                },
                {
                    "id": "compostable_containers",
                    "label": "Compostable containers available",
                    "available": true
                },
                {
                    "id": "plastic_free_packaging",
                    "label": "Plastic-free packaging",
                    "available": true
                },
                {
                    "id": "provides_reusable_tableware",
                    "label": "Provides reusable tableware",
                    "available": true
                }
            ]
        }
    ]
}
获取商务设施 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16048/yelp+business+api/45660/get+business+amenities?business_id=mSMZJj2pFvttWLpcDmgrEA' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回关于商家提出的问题及其回答,包括每条回答的文本、日期、有用票数、回答者以及回答者是否为商家所有者
Endpoint ID: 45661
GET https://zylalabs.com/api/16048/yelp+business+api/45661/get+question+answers
输入参数

获取问题答案 — 端点功能

对象 描述
question_id 必需 Question id (e.g. "XmHQjUv02o1XTpPdq8-BYA"). Use the /business/questions endpoint to list valid values.
sort 可选 Optional sort order: "popular" or "newest" (defaults to "popular").
page 可选 Optional page number (defaults to 1).
page_size 可选 Optional number of answers per page, 1 to 50 (defaults to 20).

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


输入参数

question_id
sort
page
page_size
API 示例响应
JSON
{
    "question": {
        "question_id": "XmHQjUv02o1XTpPdq8-BYA",
        "text": "If there are no more reservation slots available, can we just do a walk-in for a group of seven?",
        "date": "2026-06-01T20:35:57Z",
        "answer_count": 3,
        "user": {
            "user_id": "IjRz6Py54Xg8H0UcXQHfiw",
            "name": "Alan L."
        }
    },
    "total": 3,
    "page": 1,
    "page_size": 20,
    "answers": [
        {
            "answer_id": "-USwM2IE7_-HI7xpSuQxew",
            "text": "Hello, we offer a live waitlist here on Yelp that you can add yourself to remotely. The max is 6 guests but you can join the list for 6, and then please put in the special requests section that you have 7 guests total. You can also walk in but joining the list ahead of time is recommended. Thank you.",
            "date": "2026-06-01T20:37:17Z",
            "helpful_votes": 1,
            "is_business_owner": true,
            "user": {
                "user_id": "74NtXkHnPU_EV05eL0P8wA",
                "name": "Stephanie D."
            }
        },
        {
            "answer_id": "neQ13857eSnUSG6v-4CNVg",
            "text": ".         .         !!",
            "date": "2026-06-01T20:39:05Z",
            "helpful_votes": 0,
            "is_business_owner": false,
            "user": null
        },
        {
            "answer_id": "iPbSQ7hWNU4QdB_BYT-q0g",
            "text": "Depends on time of day and expect a long wait",
            "date": "2026-06-02T00:38:34Z",
            "helpful_votes": 0,
            "is_business_owner": false,
            "user": null
        }
    ]
}
获取问题答案 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16048/yelp+business+api/45661/get+question+answers?question_id=XmHQjUv02o1XTpPdq8-BYA&sort=popular&page=1&page_size=20' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回商家的详细信息:名称 链接 评分 评论数量 价格 类别 电话 网站 菜单链接 地址 街区 坐标 时区 每日营业时间 节假日营业时间 是否歇业 商家的属性(预订 配送 外带 Wi-Fi 停车 付款方式……) 商家对自身的介绍(特色 历史 成立年份 店主) 带有违规项的卫生检查结果 预订设置和首批照片
Endpoint ID: 45662
GET https://zylalabs.com/api/16048/yelp+business+api/45662/get+business+details
输入参数

获取商家详情 — 端点功能

对象 描述
business_id 必需 Business id (e.g. "mSMZJj2pFvttWLpcDmgrEA") or alias, the last part of its Yelp link (e.g. "tonys-pizza-napoletana-san-francisco"). Use the /search endpoint to list valid values.

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


输入参数

business_id
API 示例响应
JSON
{
    "business_id": "mSMZJj2pFvttWLpcDmgrEA",
    "alias": "tonys-pizza-napoletana-san-francisco",
    "name": "Tony's Pizza Napoletana",
    "url": "https://www.yelp.com/biz/tonys-pizza-napoletana-san-francisco",
    "rating": 4.2,
    "review_count": 9109,
    "price": "$$$",
    "categories": [
        {
            "alias": "pizza",
            "name": "Pizza"
        },
        {
            "alias": "italian",
            "name": "Italian"
        },
        {
            "alias": "cocktailbars",
            "name": "Cocktail Bars"
        }
    ],
    "phone": "(415) 835-9888",
    "website": "https://tonyspizzanapoletana.com",
    "menu_url": "https://tonyspizzanapoletana.com/currentmenu",
    "address": "1570 Stockton St, San Francisco, CA 94133",
    "street": "1570 Stockton St",
    "city": "San Francisco",
    "state": "CA",
    "zip": "94133",
    "country": "US",
    "neighborhoods": [
        "North Beach/Telegraph Hill"
    ],
    "latitude": 37.8003893855776,
    "longitude": -122.40903343231504,
    "distance_miles": null,
    "timezone": "America/Los_Angeles",
    "hours": [
        {
            "day": "Monday",
            "open": "12:00",
            "close": "22:00",
            "closes_next_day": false
        },
        {
            "day": "Tuesday",
            "open": "12:00",
            "close": "22:00",
            "closes_next_day": false
        },
        {
            "day": "Wednesday",
            "open": "12:00",
            "close": "22:00",
            "closes_next_day": false
        },
        {
            "day": "Thursday",
            "open": "12:00",
            "close": "22:00",
            "closes_next_day": false
        },
        {
            "day": "Friday",
            "open": "12:00",
            "close": "23:00",
            "closes_next_day": false
        },
        {
            "day": "Saturday",
            "open": "12:00",
            "close": "23:00",
            "closes_next_day": false
        },
        {
            "day": "Sunday",
            "open": "12:00",
            "close": "23:00",
            "closes_next_day": false
        }
    ],
    "hours_text": [
        "Mon-Thu 12:00 pm - 10:00 pm",
        "Fri-Sun 12:00 pm - 11:00 pm"
    ],
    "is_closed": false,
    "is_temporarily_closed": false,
    "is_chain": false,
    "photo": "https://s3-media0.fl.yelpcdn.com/bphoto/ptCPOJoqVokZW7GmQ5F4NQ/o.jpg",
    "photo_count": 10476,
    "video_count": 148,
    "about": {
        "specialties": "Tony's Pizza Napoletana is a state of the art full service restaurant that offers several styles of pizzas which include Neapolitan, Classic American and Italian, Sicilian, Pizza Romana, Gluten Free and New York, Detroit and St. Louis Style and displays seven different types of pizza ovens. A delightful array of antipasti, pastas, insalata, and dolci are available at Tony's including a full bar that includes Italian and California wines, aperitifs, digestives and hand crafted artisan cocktails. At Tony's we pride ourselves in using only the finest ingredients which include fresh herbs and honey from our roof-top garden. We import authentic Neapolitan and Italian products each week and support several locally grown organic farmers and artisan cheese makers. All of our purveyors are specifically picked by Tony Gemignani bringing you the highest quality food or drink right to your table.",
        "history": "Tony's Pizza Napoletana is a state of the art full service restaurant that offers several styles of pizzas which include Neapolitan, Classic American and Italian, Sicilian, Pizza Romana, Gluten Free and New York, Detroit and St. Louis Style and displays seven different types of pizza ovens. A delightful array of antipasti, pastas, insalata, and dolci are available at Tony's including a full bar that includes Italian and California wines, aperitifs, digestives and hand crafted artisan cocktails. At Tony's we pride ourselves in using only the finest ingredients which include fresh herbs and honey from our roof-top garden. We import authentic Neapolitan and Italian products each week and support several locally grown organic farmers and artisan cheese makers. All of our purveyors are specifically picked by Tony Gemignani bringing you the highest quality food or drink right to your table.",
        "year_established": 2009,
        "owner": {
            "name": "Tony G.",
            "role": "business_owner",
            "bio": "A small pizzeria in Naples, Italy is the inspiration behind Tony Gemignani's story for Tony's Pizza Napoletana. A fulfillment in his ever growing passion for pizza drew him to self content when he first tried an authentic Neapolitan pizza. Since then he was determined to learn this art of pizza making and one day open a restaurant like no other. Growing up, Tony worked by his mother's side, learning valuable skills he would later implement in operating a successful restaurant. Tony learned the creativity involved in preparing hand crafted dishes, only to include the finest ingredients straight from the heart of Italy.\n\nSince 1991 Tony has been involved in the pizza industry. Since then Tony has won numerous awards including Best Pizza Margherita at the World Pizza Cup in Naples, Italy and Best Pizza Romana at the World Championship of Pizza Makers in 2011. Tony was the first American and non Neapolitan to win this coveted award in Naples. Now right in the heart of North Beach lies Tony"
        }
    },
    "special_hours": [
        {
            "date": "Fri, 12/25/2026",
            "hours": [
                "Closed"
            ]
        }
    ],
    "attributes": [
        {
            "id": "RestaurantsReservations",
            "label": "Takes Reservations",
            "value": "Yes"
        },
        {
            "id": "RestaurantsDelivery",
            "label": "Offers Delivery",
            "value": "Yes"
        },
        {
            "id": "RestaurantsTakeOut",
            "label": "Offers Takeout",
            "value": "Yes"
        },
        {
            "id": "WaitlistReservation",
            "label": "Waitlist",
            "value": "Yes"
        },
        {
            "id": "OutdoorSeating",
            "label": "Outdoor Seating",
            "value": "Yes"
        },
        {
            "id": "Ambience",
            "label": "Ambience",
            "value": "Casual Ambience, Classy"
        },
        {
            "id": "NoiseLevel",
            "label": "Noise Level",
            "value": "Average"
        },
        {
            "id": "RestaurantsAttire",
            "label": "Attire",
            "value": "Casual"
        }
    ],
    "highlights": [
        "Vegetarians go nuts for this spot."
    ],
    "health_inspection": {
        "result": "Pass",
        "date": "2026-09-11T07:00:00Z",
        "violation_count": 5,
        "violations": [
            "Standard not met: no insects, rodents, birds or nonservice animals",
            "Standard not met: food contact surfaces: clean and sanitized"
        ],
        "provider": "Powered by Health Department Intelligence"
    },
    "reservation": {
        "provider": "seatme",
        "party_min": 5,
        "party_max": 6,
        "notes": "***HEY THERE, PLEASE READ*** \n\nWe only offer a reservation for the 'Tony's Pizza Tasting Experience.' \n\n$500 min table spend (not incl. taxes and tips) Pre-Fixe Menu  - please call the restaurant for more information!"
    },
    "photos": [
        {
            "photo_id": "ptCPOJoqVokZW7GmQ5F4NQ",
            "url": "https://s3-media0.fl.yelpcdn.com/bphoto/ptCPOJoqVokZW7GmQ5F4NQ/o.jpg",
            "caption": "20\" Pepperoni Pizza",
            "category": null,
            "width": 2000,
            "height": 1500,
            "likes": 22,
            "date": "2025-08-10T03:25:04Z",
            "user": {
                "user_id": "fHh6eZW_vw28UmwkDCB-Rg",
                "name": "Jose D."
            }
        },
        {
            "photo_id": "Lny6TZy0tXkAPlmhs9NshQ",
            "url": "https://s3-media0.fl.yelpcdn.com/bphoto/Lny6TZy0tXkAPlmhs9NshQ/o.jpg",
            "caption": "The place we sitted",
            "category": null,
            "width": 1500,
            "height": 2000,
            "likes": 9,
            "date": "2025-11-10T02:56:42Z",
            "user": {
                "user_id": "X2L-KDdlDDEV8Cs7SdFwpw",
                "name": "Natasha P."
            }
        },
        {
            "photo_id": "zEg9dnZ8yfhXrGtsNnpteg",
            "url": "https://s3-media0.fl.yelpcdn.com/bphoto/zEg9dnZ8yfhXrGtsNnpteg/o.jpg",
            "caption": "Il Padrino Sicilian pizza",
            "category": null,
            "width": 1500,
            "height": 2000,
            "likes": 7,
            "date": "2026-04-09T03:14:14Z",
            "user": {
                "user_id": "zw8c489N8wjGyWSNW0Lwpg",
                "name": "Felicia M."
            }
        }
    ]
}
获取商家详情 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16048/yelp+business+api/45662/get+business+details?business_id=mSMZJj2pFvttWLpcDmgrEA' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回商家的菜单:每个菜品及其描述、价格、评价和照片数量以及照片
Endpoint ID: 45663
GET https://zylalabs.com/api/16048/yelp+business+api/45663/get+business+menu
输入参数

获取商务菜单 — 端点功能

对象 描述
business_id 必需 Business id (e.g. "mSMZJj2pFvttWLpcDmgrEA") or alias, the last part of its Yelp link (e.g. "tonys-pizza-napoletana-san-francisco"). Use the /search endpoint to list valid values.

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


输入参数

business_id
API 示例响应
JSON
[
    {
        "name": "6 Chicken Wings",
        "description": "Mama's famous wings. brined, baked then fried. served with blue cheese",
        "price": "$20.00",
        "review_count": 0,
        "photo_count": 0,
        "photos": [
            "https://s3-media0.fl.yelpcdn.com/bphoto/jjB_xHxvQ_WQQFFWjlvnCw/o.jpg",
            "https://s3-media0.fl.yelpcdn.com/bphoto/xh1TolL1KJmei68wExEeLA/o.jpg",
            "https://s3-media0.fl.yelpcdn.com/bphoto/dF_c51XB0BZxC67kfrq4tQ/o.jpg",
            "https://s3-media0.fl.yelpcdn.com/bphoto/Quow3NouNPKjWUFRnHscng/o.jpg",
            "https://s3-media0.fl.yelpcdn.com/bphoto/r0SUB5Q-TIYPWEIeDsVsVg/o.jpg",
            "https://s3-media0.fl.yelpcdn.com/bphoto/RjiBoDM6x4Anxkdoz9SP1A/o.jpg",
            "https://s3-media0.fl.yelpcdn.com/bphoto/4HjsfRQ_dGIqONUckcWQkw/o.jpg",
            "https://s3-media0.fl.yelpcdn.com/bphoto/rFOqylFHoBIs3Cml22TMOg/o.jpg",
            "https://s3-media0.fl.yelpcdn.com/bphoto/3xhJTD1OtbLqUvFBormY3A/o.jpg",
            "https://s3-media0.fl.yelpcdn.com/bphoto/34KuSyY3xi8_ZcZk_C57Ow/o.jpg",
            "https://s3-media0.fl.yelpcdn.com/bphoto/Wl7TBucNIeVSzTUC6f9jtQ/o.jpg",
            "https://s3-media0.fl.yelpcdn.com/bphoto/Db6NH_y2asMnH7bIb8St1w/o.jpg"
        ]
    }
]
获取商务菜单 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16048/yelp+business+api/45663/get+business+menu?business_id=mSMZJj2pFvttWLpcDmgrEA' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回商家的所有照片或某一类别的照片(食物、菜单、室内、室外、饮品或某道菜,例如披萨),并提供照片链接、说明、尺寸、点赞数、日期和添加者,以及每个类别的照片数量
Endpoint ID: 45664
GET https://zylalabs.com/api/16048/yelp+business+api/45664/get+business+photos
输入参数

获取商务照片 — 端点功能

对象 描述
business_id 必需 Business id (e.g. "mSMZJj2pFvttWLpcDmgrEA") or alias, the last part of its Yelp link (e.g. "tonys-pizza-napoletana-san-francisco"). Use the /search endpoint to list valid values.
category 可选 Optional photo category (e.g. "food", "menu", "inside", "outside", "drink"); the answer lists the categories of the business (defaults to every photo).
page 可选 Optional page number (defaults to 1).
page_size 可选 Optional number of photos per page, 1 to 50 (defaults to 20).

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


输入参数

business_id
category
page
page_size
API 示例响应
JSON
{
    "total": 10624,
    "page": 1,
    "page_size": 20,
    "categories": [
        {
            "category": "all_media",
            "name": "All",
            "count": 10624
        },
        {
            "category": "food",
            "name": "Food",
            "count": 7711
        },
        {
            "category": "outside",
            "name": "Outside",
            "count": 729
        },
        {
            "category": "interior",
            "name": "Inside",
            "count": 707
        },
        {
            "category": "menu",
            "name": "Menu",
            "count": 445
        },
        {
            "category": "drink",
            "name": "Drink",
            "count": 372
        },
        {
            "category": "pizza",
            "name": "Pizza",
            "count": 4962
        },
        {
            "category": "pasta",
            "name": "Pasta",
            "count": 479
        },
        {
            "category": "salads",
            "name": "Salads",
            "count": 277
        },
        {
            "category": "dessert",
            "name": "Dessert",
            "count": 152
        },
        {
            "category": "sandwiches",
            "name": "Sandwiches",
            "count": 51
        }
    ],
    "photos": [
        {
            "photo_id": "ptCPOJoqVokZW7GmQ5F4NQ",
            "url": "https://s3-media0.fl.yelpcdn.com/bphoto/ptCPOJoqVokZW7GmQ5F4NQ/o.jpg",
            "caption": "20\" Pepperoni Pizza",
            "category": "pizza",
            "width": 2000,
            "height": 1500,
            "likes": 22,
            "date": "2025-08-10T03:25:04Z",
            "user": {
                "user_id": "fHh6eZW_vw28UmwkDCB-Rg",
                "name": "Jose D."
            }
        },
        {
            "photo_id": "Lny6TZy0tXkAPlmhs9NshQ",
            "url": "https://s3-media0.fl.yelpcdn.com/bphoto/Lny6TZy0tXkAPlmhs9NshQ/o.jpg",
            "caption": "The place we sitted",
            "category": "interior",
            "width": 1500,
            "height": 2000,
            "likes": 9,
            "date": "2025-11-10T02:56:42Z",
            "user": {
                "user_id": "X2L-KDdlDDEV8Cs7SdFwpw",
                "name": "Natasha P."
            }
        },
        {
            "photo_id": "zEg9dnZ8yfhXrGtsNnpteg",
            "url": "https://s3-media0.fl.yelpcdn.com/bphoto/zEg9dnZ8yfhXrGtsNnpteg/o.jpg",
            "caption": "Il Padrino Sicilian pizza",
            "category": "pizza",
            "width": 1500,
            "height": 2000,
            "likes": 7,
            "date": "2026-04-09T03:14:14Z",
            "user": {
                "user_id": "zw8c489N8wjGyWSNW0Lwpg",
                "name": "Felicia M."
            }
        },
        {
            "photo_id": "pYtdFKJIvzw0YAAm_baqog",
            "url": "https://s3-media0.fl.yelpcdn.com/bphoto/pYtdFKJIvzw0YAAm_baqog/o.jpg",
            "caption": "Margarita pizza, award winning for a reason!",
            "category": "pizza",
            "width": 2000,
            "height": 1500,
            "likes": 6,
            "date": "2026-01-15T21:06:50Z",
            "user": {
                "user_id": "b_OZlXCsj5t-wx2pgpaRjw",
                "name": "Rob S."
            }
        },
        {
            "photo_id": "T9NuSfLkesX4s4l7AcxkSQ",
            "url": "https://s3-media0.fl.yelpcdn.com/bphoto/T9NuSfLkesX4s4l7AcxkSQ/o.jpg",
            "caption": "Detroit style motorhead was amazing and filling!",
            "category": "food",
            "width": 1500,
            "height": 2000,
            "likes": 17,
            "date": "2025-03-29T06:26:34Z",
            "user": {
                "user_id": "hS2GaRU__Ch-exQ62ujk2g",
                "name": "joshua l."
            }
        },
        {
            "photo_id": "kuIIMx7pF0ODpM_554kG2A",
            "url": "https://s3-media0.fl.yelpcdn.com/bphoto/kuIIMx7pF0ODpM_554kG2A/o.jpg",
            "caption": "Caesar Salad",
            "category": "salads",
            "width": 1578,
            "height": 2000,
            "likes": 2,
            "date": "2025-12-09T19:41:16Z",
            "user": {
                "user_id": "Y6gA9-BmO0DT_4KL0XZtQA",
                "name": "Quinney H."
            }
        },
        {
            "photo_id": "WM6hT_pZW6w4JuERVYl6qw",
            "url": "https://s3-media0.fl.yelpcdn.com/bphoto/WM6hT_pZW6w4JuERVYl6qw/o.jpg",
            "caption": "Margherita Napoletan",
            "category": "pizza",
            "width": 2000,
            "height": 1126,
            "likes": 6,
            "date": "2025-12-14T01:00:57Z",
            "user": {
                "user_id": "dvaV4OJAMrcHdRC2SofNVA",
                "name": "Jeremiah R."
            }
        },
        {
            "photo_id": "unaecONw2lK05Gs0SRH58g",
            "url": "https://s3-media0.fl.yelpcdn.com/bphoto/unaecONw2lK05Gs0SRH58g/o.jpg",
            "caption": "Spicy Grandma",
            "category": "pizza",
            "width": 1500,
            "height": 2000,
            "likes": 8,
            "date": "2024-11-02T03:14:54Z",
            "user": {
                "user_id": "nxNslpXSwgZR7SNRGFlFjQ",
                "name": "Ash N."
            }
        },
        {
            "photo_id": "_nz_nto0iApa4X2jh4ze4w",
            "url": "https://s3-media0.fl.yelpcdn.com/bphoto/_nz_nto0iApa4X2jh4ze4w/o.jpg",
            "caption": "Di Lucca simply super delicious!!!!!",
            "category": "pizza",
            "width": 2000,
            "height": 1499,
            "likes": 9,
            "date": "2024-09-15T01:31:03Z",
            "user": {
                "user_id": "5o8yMd7mzCQzvqdLQSni6g",
                "name": "T M."
            }
        }
    ]
}
获取商务照片 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16048/yelp+business+api/45664/get+business+photos?business_id=mSMZJj2pFvttWLpcDmgrEA&page=1&page_size=20' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回评论者提及和拍摄最多的商家菜品,并附上评论数、照片数和一张照片
Endpoint ID: 45665
GET https://zylalabs.com/api/16048/yelp+business+api/45665/get+business+popular+dishes
输入参数

获取商家热门菜品 — 端点功能

对象 描述
business_id 必需 Business id (e.g. "mSMZJj2pFvttWLpcDmgrEA") or alias, the last part of its Yelp link (e.g. "tonys-pizza-napoletana-san-francisco"). Use the /search endpoint to list valid values.

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


输入参数

business_id
API 示例响应
JSON
[
    {
        "name": "Margherita Pizza",
        "description": null,
        "price": null,
        "review_count": 836,
        "photo_count": 282,
        "photo": "https://s3-media0.fl.yelpcdn.com/bphoto/gNW6CZw9FS15fVWjP1hjJQ/o.jpg"
    },
    {
        "name": "Cal Italia Pizza",
        "description": null,
        "price": null,
        "review_count": 298,
        "photo_count": 171,
        "photo": "https://s3-media0.fl.yelpcdn.com/bphoto/aZz-JB_PhkHIXMgNnRVD4Q/o.jpg"
    },
    {
        "name": "New Yorker Pizza",
        "description": null,
        "price": null,
        "review_count": 224,
        "photo_count": 171,
        "photo": "https://s3-media0.fl.yelpcdn.com/bphoto/j41n7dUGoDNvGRNuYbrnIQ/o.jpg"
    },
    {
        "name": "Little Italy Salad",
        "description": null,
        "price": null,
        "review_count": 250,
        "photo_count": 48,
        "photo": "https://s3-media0.fl.yelpcdn.com/bphoto/jlz04iTtsDr_TKgjVRatKQ/o.jpg"
    },
    {
        "name": "Caesar Salad",
        "description": null,
        "price": null,
        "review_count": 190,
        "photo_count": 84,
        "photo": "https://s3-media0.fl.yelpcdn.com/bphoto/kuIIMx7pF0ODpM_554kG2A/o.jpg"
    },
    {
        "name": "Bars Next Door",
        "description": null,
        "price": null,
        "review_count": 295,
        "photo_count": 5,
        "photo": "https://s3-media0.fl.yelpcdn.com/bphoto/FyYwaxn5ZH2wuv5V0Y934Q/o.jpg"
    },
    {
        "name": "Spicy Grandma Pizza",
        "description": null,
        "price": null,
        "review_count": 95,
        "photo_count": 58,
        "photo": "https://s3-media0.fl.yelpcdn.com/bphoto/unaecONw2lK05Gs0SRH58g/o.jpg"
    },
    {
        "name": "Giant Meatball",
        "description": null,
        "price": null,
        "review_count": 115,
        "photo_count": 28,
        "photo": "https://s3-media0.fl.yelpcdn.com/bphoto/eHMa8Ixc6pSsK7qqq8X-1g/o.jpg"
    },
    {
        "name": "Award Winning Pizza",
        "description": null,
        "price": null,
        "review_count": 149,
        "photo_count": 10,
        "photo": "https://s3-media0.fl.yelpcdn.com/bphoto/yejt5zfKLD0DEnQn_PEvIw/o.jpg"
    },
    {
        "name": "Coal Fired New York Pizza",
        "description": null,
        "price": null,
        "review_count": 92,
        "photo_count": 11,
        "photo": "https://s3-media0.fl.yelpcdn.com/bphoto/lCnGTTsEM2qY3bZcOuzBqA/o.jpg"
    }
]
获取商家热门菜品 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16048/yelp+business+api/45665/get+business+popular+dishes?business_id=mSMZJj2pFvttWLpcDmgrEA' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回人们关于某家企业提出的问题,每个问题都包含日期、回答数量、提问者和最佳答案
Endpoint ID: 45666
GET https://zylalabs.com/api/16048/yelp+business+api/45666/get+business+questions
输入参数

获取业务问题 — 端点功能

对象 描述
business_id 必需 Business id (e.g. "mSMZJj2pFvttWLpcDmgrEA") or alias, the last part of its Yelp link (e.g. "tonys-pizza-napoletana-san-francisco"). Use the /search endpoint to list valid values.
sort 可选 Optional sort order: "popular", "most_answered" or "newest" (defaults to "popular").
page 可选 Optional page number (defaults to 1).
page_size 可选 Optional number of questions per page, 1 to 50 (defaults to 20).

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


输入参数

business_id
sort
page
page_size
API 示例响应
JSON
{
    "total": 55,
    "page": 1,
    "page_size": 20,
    "questions": [
        {
            "question_id": "XmHQjUv02o1XTpPdq8-BYA",
            "text": "If there are no more reservation slots available, can we just do a walk-in for a group of seven?",
            "date": "2026-06-01T20:35:57Z",
            "answer_count": 3,
            "user": {
                "user_id": "IjRz6Py54Xg8H0UcXQHfiw",
                "name": "Alan L."
            },
            "top_answer": {
                "answer_id": "-USwM2IE7_-HI7xpSuQxew",
                "text": "Hello, we offer a live waitlist here on Yelp that you can add yourself to remotely. The max is 6 guests but you can join the list for 6, and then please put in the special requests section that you have 7 guests total. You can also walk in but joining the list ahead of time is recommended. Thank you.",
                "date": "2026-06-01T20:37:17Z",
                "helpful_votes": 1,
                "is_business_owner": true,
                "user": {
                    "user_id": "74NtXkHnPU_EV05eL0P8wA",
                    "name": "Stephanie D."
                }
            }
        },
        {
            "question_id": "owFHkeiH3P37d1XcQaSeTQ",
            "text": "Can you get pizza by the slice?",
            "date": "2026-02-18T16:54:05Z",
            "answer_count": 2,
            "user": {
                "user_id": "B9zyKQdLyk-KIgUUyFIchw",
                "name": "Ed D."
            },
            "top_answer": {
                "answer_id": "hLGLPDVgdfdqQhhSoVOddA",
                "text": "Yes. We offer slices next door to Tony’s at our Slice - House (1556 Stockton street). At Tony’s, we offer whole pizzas only. Thank you!",
                "date": "2026-02-19T08:06:13Z",
                "helpful_votes": 1,
                "is_business_owner": true,
                "user": {
                    "user_id": "74NtXkHnPU_EV05eL0P8wA",
                    "name": "Stephanie D."
                }
            }
        },
        {
            "question_id": "Fft_yAzQ8TVffkFZqCOxYA",
            "text": "We are 12 people in our group on 12/26, can Tony's accommodate us?",
            "date": "2025-12-23T00:50:17Z",
            "answer_count": 2,
            "user": {
                "user_id": "cbV5hfUNSUpFww8rjKwMvQ",
                "name": "Michela D."
            },
            "top_answer": {
                "answer_id": "1RLcGIzdv-7JcoEyB9Qwrw",
                "text": "Hello, we can most likely accommodate a group of 12 outside on our patio/parklet. The availability will depend on how seating is going that specific day. Thank you!",
                "date": "2025-12-23T00:51:33Z",
                "helpful_votes": 2,
                "is_business_owner": true,
                "user": {
                    "user_id": "74NtXkHnPU_EV05eL0P8wA",
                    "name": "Stephanie D."
                }
            }
        },
        {
            "question_id": "fE4HDT-lprIT4nfbwuZ7vQ",
            "text": "Do they sell single slices?",
            "date": "2025-12-06T19:04:58Z",
            "answer_count": 6,
            "user": {
                "user_id": "1VWfdxzFRfUlDHw0xBSjDg",
                "name": "Phillip N."
            },
            "top_answer": {
                "answer_id": "3_ZGFBG4GatyzNcQMifVwA",
                "text": "Their to-go shop next door has single slices.",
                "date": "2025-12-06T19:07:27Z",
                "helpful_votes": 0,
                "is_business_owner": false,
                "user": null
            }
        },
        {
            "question_id": "834CSlw3vjvBPDPBjUwuiw",
            "text": "How do we go about the waitlist if we have a party of 7? It says for 7+ to call the restaurant, but we've called a couple of times and no one has picked up?",
            "date": "2025-11-29T23:14:29Z",
            "answer_count": 3,
            "user": {
                "user_id": "qQMvzklZfAaA45JxVHli7w",
                "name": "Megan D."
            },
            "top_answer": {
                "answer_id": "tk80ey4u6w-iXbzKJzRcTg",
                "text": "Hi! You can add yourself to the waitlist for 6 and in the special requests section please let us know you have 7 in your party. Thank you",
                "date": "2025-11-29T23:41:47Z",
                "helpful_votes": 1,
                "is_business_owner": true,
                "user": {
                    "user_id": "74NtXkHnPU_EV05eL0P8wA",
                    "name": "Stephanie D."
                }
            }
        },
        {
            "question_id": "hUlDrsKIp_32qe8ZG7KgIg",
            "text": "Is the outside ares dog friendly?",
            "date": "2025-11-09T02:18:05Z",
            "answer_count": 7,
            "user": {
                "user_id": "mmUST1L9rxlUnSbFRs_qMQ",
                "name": "Mendy S."
            },
            "top_answer": {
                "answer_id": "GYos_4Ajp1P5nJZLSTNYHg",
                "text": "Yes outside is dog friendly!",
                "date": "2025-11-09T02:24:49Z",
                "helpful_votes": 1,
                "is_business_owner": false,
                "user": null
            }
        },
        {
            "question_id": "dDHnP2zhLxBfkCzkboiVPA",
            "text": "Are there any vegetarian options that can be made without onions or garlic?",
            "date": "2025-07-03T06:42:16Z",
            "answer_count": 7,
            "user": {
                "user_id": "61F1qJYHFOi3VZoV1aWP7w",
                "name": "Liza M."
            },
            "top_answer": {
                "answer_id": "TN6q4ynJM2GNv6PM3QVMcQ",
                "text": "Yes Definitely!! They'll make it how you want it!! 🤤",
                "date": "2025-07-03T06:43:51Z",
                "helpful_votes": 0,
                "is_business_owner": false,
                "user": null
            }
        },
        {
            "question_id": "ROTwRZgtcDuY7y40fs4JXg",
            "text": "How many slices are in a whole pizza?",
            "date": "2025-04-05T21:20:05Z",
            "answer_count": 3,
            "user": {
                "user_id": "M-nGBE_glK-gKoUn_siyEA",
                "name": "MjMa F."
            },
            "top_answer": {
                "answer_id": "i-qTihM1U3GWbVnhH5pzPg",
                "text": "Depends which pizza you get! Usually says on the menu",
                "date": "2025-04-05T21:27:38Z",
                "helpful_votes": 0,
                "is_business_owner": false,
                "user": null
            }
        },
        {
            "question_id": "Q-nzfhm5us5XNXJbUCyqoQ",
            "text": "Do they charge corkage fee?",
            "date": "2024-11-10T20:42:47Z",
            "answer_count": 1,
            "user": {
                "user_id": "2il304yDnaQPJjsN89qBlA",
                "name": "Eddy C."
            },
            "top_answer": {
                "answer_id": "oIOs37AuEJFWsaCMDqwjIw",
                "text": "Yes $25. Thank you 😊",
                "date": "2024-11-10T21:06:12Z",
                "helpful_votes": 0,
                "is_business_owner": true,
                "user": {
                    "user_id": "74NtXkHnPU_EV05eL0P8wA",
                    "name": "Stephanie D."
                }
            }
        },
        {
            "question_id": "dO_zVg1XVKdodz0q0PDhuw",
            "text": "New School After School Program would love to come and watch how pizza is made.  Can we schedule a field trip to your restaurant and observe the process?  Possibly get a free cheese pizza for 8-12 students? Any offer is greatly appreciated - Karen",
            "date": "2024-10-31T23:19:34Z",
            "answer_count": 1,
            "user": {
                "user_id": "WFyNB8Zl8p_glI-jYWVRsg",
                "name": "Karen .."
            },
            "top_answer": {
                "answer_id": "zdUAvRxrLcrOjKPNjqgz6Q",
                "text": "Hi Karen, could you please send us a direct message here on Yelp so we can connect you with our management. Thank you! :)",
                "date": "2024-10-31T23:28:17Z",
                "helpful_votes": 0,
                "is_business_owner": true,
                "user": {
                    "user_id": "74NtXkHnPU_EV05eL0P8wA",
                    "name": "Stephanie D."
                }
            }
        }
    ]
}
获取业务问题 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16048/yelp+business+api/45666/get+business+questions?business_id=mSMZJj2pFvttWLpcDmgrEA&sort=popular&page=1&page_size=20' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回评论者最常提及的商家相关词语(菜品、特色等),每个词语附有提及它的评论数量、一条提及该词语的句子和一张照片
Endpoint ID: 45667
GET https://zylalabs.com/api/16048/yelp+business+api/45667/get+business+review+highlights
输入参数

获取业务评审亮点 — 端点功能

对象 描述
business_id 必需 Business id (e.g. "mSMZJj2pFvttWLpcDmgrEA") or alias, the last part of its Yelp link (e.g. "tonys-pizza-napoletana-san-francisco"). Use the /search endpoint to list valid values.

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


输入参数

business_id
API 示例响应
JSON
[
    {
        "phrase": "new yorker",
        "sentence": "We've probably dined at Tony's about 15 times, and the New Yorker remains our favorite of the pizzas we've tried.",
        "review_count": 1084,
        "review_id": "BkmqFJHwmre8EqrGg0418w",
        "photo": "https://s3-media0.fl.yelpcdn.com/bphoto/cqTrb-vXSksM5j32Ys0GIQ/o.jpg"
    },
    {
        "phrase": "cal italia",
        "sentence": "We had the Cal Italia pizza -- fig preserves, balsamic vinegar, ham, Gorgonzola -- an unusual blend of flavors.",
        "review_count": 284,
        "review_id": "RO_mzH2pEu-RpkbU0xGkOA",
        "photo": "https://s3-media0.fl.yelpcdn.com/bphoto/O9Sp-fwE1h1zycjalUh6QQ/o.jpg"
    },
    {
        "phrase": "yelp waitlist",
        "sentence": "Pro tip: put your name on the Yelp waitlist ahead of time--waits can be close to 2 hours during peak times, and it gets busy fast.",
        "review_count": 142,
        "review_id": "jaYdKXrZYOwDD5FBTAKb3Q",
        "photo": "https://s3-media0.fl.yelpcdn.com/photo/ElvMfSLlFxJOgXJTZHV2SQ/o.jpg"
    },
    {
        "phrase": "margherita",
        "sentence": "So many new pizzas to try but we usually stick to our favorites spicy grandma with chicken and margherita!!",
        "review_count": 1128,
        "review_id": "blVed2iSXzXUdllf0OhOMA",
        "photo": "https://s3-media0.fl.yelpcdn.com/bphoto/mTum_WiQYO3jMcH1WU6ffw/o.jpg"
    },
    {
        "phrase": "disappoint",
        "sentence": "I can't do mozzarella, so I skipped the pizza and went with the burger that day and it did not disappoint.",
        "review_count": 103,
        "review_id": "44XGNJIBUSiPIYbYjYI26A",
        "photo": "https://s3-media0.fl.yelpcdn.com/bphoto/mSdoYlB4XRlKjn9VDe032Q/o.jpg"
    },
    {
        "phrase": "detroit style",
        "sentence": "The Detroit style has a thick cheesy crust so it has a nice crunch and the middle of the pizza is so soft.",
        "review_count": 122,
        "review_id": "71UPTyLpq-fxyhgwqPazJQ",
        "photo": "https://s3-media0.fl.yelpcdn.com/bphoto/fJzKuNXBHYMYBiDDpQ4krg/o.jpg"
    },
    {
        "phrase": "brandon",
        "sentence": "Our waiter, Brandon, took the time to ask about our dietary restrictions and provided tailored recommendations.",
        "review_count": 94,
        "review_id": "w8xEiyLYGf5tCplzTJmyug",
        "photo": "https://s3-media0.fl.yelpcdn.com/bphoto/iKR6gU7cuID-nUnNNzYeIA/o.jpg"
    },
    {
        "phrase": "giant meatball",
        "sentence": "I've also tried their giant meatball on one occasion and their sausage and pepper entree on another occasion.",
        "review_count": 93,
        "review_id": "0y9RrH2soZEfikY7GW3QFA",
        "photo": "https://s3-media0.fl.yelpcdn.com/bphoto/vmeXRHRyMGgp-WXl1aMCJw/o.jpg"
    }
]
获取业务评审亮点 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16048/yelp+business+api/45667/get+business+review+highlights?business_id=mSMZJj2pFvttWLpcDmgrEA' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回商家的评价,可按 Yelp 默认顺序或按日期、评分排序,也可优先显示 Elite 评价者的评价,并可筛选星级和语言:评分、文本、语言、日期、有用、有趣和酷的投票数、链接、评价者(姓名、所在地、Elite 身份、评价数、好友数和照片数、加入时间、照片)、评价照片和商家回复,以及各语言的评价数量和未推荐评价数量
Endpoint ID: 45668
GET https://zylalabs.com/api/16048/yelp+business+api/45668/get+business+reviews
输入参数

获取商业评论 — 端点功能

对象 描述
business_id 必需 Business id (e.g. "mSMZJj2pFvttWLpcDmgrEA") or alias, the last part of its Yelp link (e.g. "tonys-pizza-napoletana-san-francisco"). Use the /search endpoint to list valid values.
sort 可选 Optional sort order: "relevance", "newest", "oldest", "highest_rated", "lowest_rated" or "elites" (defaults to "relevance").
rating 可选 Optional star rating, "1" to "5", to list only the reviews with that rating.
language 可选 Optional two-letter language code (e.g. "en", "es", "fr") to list only the reviews written in it. The answer lists the languages of the business's reviews.
page 可选 Optional page number (defaults to 1).
page_size 可选 Optional number of reviews per page, 1 to 50 (defaults to 20).

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


输入参数

business_id
sort
rating
language
page
page_size
API 示例响应
JSON
{
    "total": 9111,
    "page": 1,
    "page_size": 20,
    "not_recommended_count": 721,
    "languages": [
        {
            "language": "en",
            "count": 9060
        },
        {
            "language": "it",
            "count": 14
        },
        {
            "language": "fr",
            "count": 10
        },
        {
            "language": "tr",
            "count": 1
        },
        {
            "language": "es",
            "count": 13
        },
        {
            "language": "de",
            "count": 5
        },
        {
            "language": "nl",
            "count": 2
        },
        {
            "language": "pt",
            "count": 3
        },
        {
            "language": "ja",
            "count": 1
        },
        {
            "language": "sv",
            "count": 1
        },
        {
            "language": "zh",
            "count": 1
        }
    ],
    "reviews": [
        {
            "review_id": "x0ZbU9cMPAcKqLGUqrVtGw",
            "rating": 5,
            "text": "Amazing pizzas like no where else ! Highly recommended for pizza lovers . Do not miss it if you are on SF",
            "language": "en",
            "date": "2026-10-24T23:01:30Z",
            "useful": 0,
            "funny": 0,
            "cool": 0,
            "url": "https://www.yelp.com/biz/tonys-pizza-napoletana-san-francisco?hrid=x0ZbU9cMPAcKqLGUqrVtGw&utm_source=ashare",
            "user": {
                "user_id": "baJmZcAMHhD1x--0y3-07Q",
                "name": "David H.",
                "location": "San Francisco Bay Area, CA",
                "elite": "user",
                "review_count": 1,
                "friend_count": 0,
                "photo_count": 4,
                "member_since": "2026-10-23T20:30:48Z",
                "photo": "https://s3-media0.fl.yelpcdn.com/photo/xBsr-srez5vREE9feRmr9g/o.jpg"
            },
            "photos": [
                "https://s3-media0.fl.yelpcdn.com/bphoto/hKPh2hNrl-7lN6ryQzQ7YQ/o.jpg",
                "https://s3-media0.fl.yelpcdn.com/bphoto/huN6y9pVABVOqgANjX48Qw/o.jpg",
                "https://s3-media0.fl.yelpcdn.com/bphoto/lFWmS6Z3JWPw9aUJwfvamA/o.jpg",
                "https://s3-media0.fl.yelpcdn.com/bphoto/xFcsHMSpq9XxV6Cxy3Ub3g/o.jpg"
            ],
            "owner_reply": null
        },
        {
            "review_id": "hCRFH6PD-K8gCScLX1oYng",
            "rating": 5,
            "text": "The food was good but the cannabis we smoked prior to might have added bias. The ambiance was nice, we were outside with string lights and the beautiful neighborhood of north beach.",
            "language": "en",
            "date": "2026-11-10T22:48:26Z",
            "useful": 0,
            "funny": 0,
            "cool": 0,
            "url": "https://www.yelp.com/biz/tonys-pizza-napoletana-san-francisco?hrid=hCRFH6PD-K8gCScLX1oYng&utm_source=ashare",
            "user": {
                "user_id": "pL_hF4nzP18YS4XoW9Cqag",
                "name": "Adrian C.",
                "location": "San Francisco, CA",
                "elite": "user",
                "review_count": 1,
                "friend_count": 0,
                "photo_count": 1,
                "member_since": "2024-02-29T06:29:59Z",
                "photo": null
            },
            "photos": [
                "https://s3-media0.fl.yelpcdn.com/bphoto/hMTHKXuthaP_MjEmGS1gew/o.jpg"
            ],
            "owner_reply": {
                "name": "Stephanie D.",
                "role": "Business Customer Service",
                "text": "Hi Adrian, thank you for coming to dine with us! It sounds like you had a fun evening and we’re happy we were able to be a part of it :) :)",
                "date": null
            }
        }
    ]
}
获取商业评论 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16048/yelp+business+api/45668/get+business+reviews?business_id=mSMZJj2pFvttWLpcDmgrEA&sort=relevance&page=1&page_size=20' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
以 /search 端点的格式返回 Yelp 显示为与某商家相似的商家(“人们还看过”)
Endpoint ID: 45669
GET https://zylalabs.com/api/16048/yelp+business+api/45669/get+similar+businesses
输入参数

获取类似的商家 — 端点功能

对象 描述
business_id 必需 Business id (e.g. "mSMZJj2pFvttWLpcDmgrEA") or alias, the last part of its Yelp link (e.g. "tonys-pizza-napoletana-san-francisco"). Use the /search endpoint to list valid values.

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


输入参数

business_id
API 示例响应
JSON
[
    {
        "business_id": "I8T8aoAsFQYwQiRvLBayFA",
        "alias": "il-casaro-pizzeria-and-mozzarella-bar-north-beach-san-francisco",
        "name": "Il Casaro Pizzeria & Mozzarella Bar - North Beach",
        "url": "https://www.yelp.com/biz/il-casaro-pizzeria-and-mozzarella-bar-north-beach-san-francisco",
        "rating": 4.3,
        "review_count": 2034,
        "price": "$$",
        "categories": [
            {
                "alias": "italian",
                "name": "Italian"
            },
            {
                "alias": "pizza",
                "name": "Pizza"
            }
        ],
        "phone": "(415) 677-9455",
        "website": "http://www.ilcasaropizzeria.com",
        "menu_url": null,
        "address": "348 Columbus Ave, San Francisco, CA 94133",
        "street": "348 Columbus Ave",
        "city": "San Francisco",
        "state": "CA",
        "zip": "94133",
        "country": "US",
        "neighborhoods": [
            "North Beach/Telegraph Hill",
            "Russian Hill"
        ],
        "latitude": 37.7984951,
        "longitude": -122.4073208,
        "distance_miles": null,
        "timezone": "America/Los_Angeles",
        "hours": [
            {
                "day": "Monday",
                "open": "11:30",
                "close": "23:00",
                "closes_next_day": false
            },
            {
                "day": "Tuesday",
                "open": "11:30",
                "close": "23:00",
                "closes_next_day": false
            },
            {
                "day": "Wednesday",
                "open": "11:30",
                "close": "23:00",
                "closes_next_day": false
            },
            {
                "day": "Thursday",
                "open": "11:30",
                "close": "23:00",
                "closes_next_day": false
            },
            {
                "day": "Friday",
                "open": "11:30",
                "close": "00:00",
                "closes_next_day": true
            },
            {
                "day": "Saturday",
                "open": "11:30",
                "close": "00:00",
                "closes_next_day": true
            },
            {
                "day": "Sunday",
                "open": "11:30",
                "close": "22:00",
                "closes_next_day": false
            }
        ],
        "hours_text": [
            "Mon-Thu 11:30 am - 11:00 pm",
            "Fri-Sat 11:30 am - 12:00 am",
            "Sun 11:30 am - 10:00 pm"
        ],
        "is_closed": false,
        "is_temporarily_closed": false,
        "is_chain": false,
        "photo": "https://s3-media0.fl.yelpcdn.com/bphoto/ef3tF8ogJIycWxOd9cKCsw/o.jpg",
        "photo_count": 2659,
        "video_count": 24
    },
    {
        "business_id": "iyo3pjuRb7mTpaDwXnAzuQ",
        "alias": "square-pie-guys-san-francisco-san-francisco",
        "name": "Square Pie Guys - San Francisco",
        "url": "https://www.yelp.com/biz/square-pie-guys-san-francisco-san-francisco",
        "rating": 4.3,
        "review_count": 1087,
        "price": "$$",
        "categories": [
            {
                "alias": "pizza",
                "name": "Pizza"
            },
            {
                "alias": "chicken_wings",
                "name": "Chicken Wings"
            },
            {
                "alias": "salad",
                "name": "Salad"
            }
        ],
        "phone": "(415) 872-9290",
        "website": "http://www.squarepieguys.com",
        "menu_url": "https://squarepieguys.com/menu",
        "address": "1077 Mission St, San Francisco, CA 94103",
        "street": "1077 Mission St",
        "city": "San Francisco",
        "state": "CA",
        "zip": "94103",
        "country": "US",
        "neighborhoods": [
            "SoMa"
        ],
        "latitude": 37.77947899999999,
        "longitude": -122.4102267,
        "distance_miles": null,
        "timezone": "America/Los_Angeles",
        "hours": [
            {
                "day": "Monday",
                "open": "11:30",
                "close": "21:30",
                "closes_next_day": false
            },
            {
                "day": "Tuesday",
                "open": "11:30",
                "close": "21:30",
                "closes_next_day": false
            },
            {
                "day": "Wednesday",
                "open": "11:30",
                "close": "21:30",
                "closes_next_day": false
            },
            {
                "day": "Thursday",
                "open": "11:30",
                "close": "21:30",
                "closes_next_day": false
            },
            {
                "day": "Friday",
                "open": "11:30",
                "close": "22:30",
                "closes_next_day": false
            },
            {
                "day": "Saturday",
                "open": "11:30",
                "close": "22:30",
                "closes_next_day": false
            },
            {
                "day": "Sunday",
                "open": "11:30",
                "close": "21:30",
                "closes_next_day": false
            }
        ],
        "hours_text": [
            "Mon-Thu, Sun 11:30 am - 9:30 pm",
            "Fri-Sat 11:30 am - 10:30 pm"
        ],
        "is_closed": false,
        "is_temporarily_closed": false,
        "is_chain": false,
        "photo": "https://s3-media0.fl.yelpcdn.com/bphoto/usNRsp7QJryycWl3n5GZgQ/o.jpg",
        "photo_count": 1479,
        "video_count": 22
    }
]
获取类似的商家 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16048/yelp+business+api/45669/get+similar+businesses?business_id=mSMZJj2pFvttWLpcDmgrEA' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
以树形结构返回 Yelp 在某个国家使用的所有商家类别(餐厅 > 披萨……),每个类别都包含其别名和标题
Endpoint ID: 45670
GET https://zylalabs.com/api/16048/yelp+business+api/45670/get+categories
输入参数

获取类别 — 端点功能

对象 描述
country 可选 Optional two-letter country code (e.g. "US", "GB", "CA") (defaults to "US").

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


输入参数

country
API 示例响应
JSON
[
    {
        "alias": "active",
        "title": "Active Life",
        "children": [
            {
                "alias": "atvrentals",
                "title": "ATV Rentals/Tours",
                "children": []
            },
            {
                "alias": "airsoft",
                "title": "Airsoft",
                "children": []
            },
            {
                "alias": "amateursportsteams",
                "title": "Amateur Sports Teams",
                "children": []
            },
            {
                "alias": "amusementparks",
                "title": "Amusement Parks",
                "children": []
            },
            {
                "alias": "aquariums",
                "title": "Aquariums",
                "children": []
            },
            {
                "alias": "archery",
                "title": "Archery",
                "children": []
            },
            {
                "alias": "axethrowing",
                "title": "Axe Throwing",
                "children": []
            },
            {
                "alias": "badminton",
                "title": "Badminton",
                "children": []
            },
            {
                "alias": "baseballfields",
                "title": "Baseball Fields",
                "children": []
            },
            {
                "alias": "basketballcourts",
                "title": "Basketball Courts",
                "children": []
            },
            {
                "alias": "battingcages",
                "title": "Batting Cages",
                "children": []
            },
            {
                "alias": "beachequipmentrental",
                "title": "Beach Equipment Rentals",
                "children": []
            },
            {
                "alias": "beaches",
                "title": "Beaches",
                "children": []
            },
            {
                "alias": "bikeparking",
                "title": "Bike Parking",
                "children": []
            },
            {
                "alias": "bikerentals",
                "title": "Bike Rentals",
                "children": []
            },
            {
                "alias": "boating",
                "title": "Boating",
                "children": []
            },
            {
                "alias": "bobsledding",
                "title": "Bobsledding",
                "children": []
            },
            {
                "alias": "bocceball",
                "title": "Bocce Ball",
                "children": []
            },
            {
                "alias": "bowling",
                "title": "Bowling",
                "children": []
            },
            {
                "alias": "bubblesoccer",
                "title": "Bubble Soccer",
                "children": []
            },
            {
                "alias": "bungeejumping",
                "title": "Bungee Jumping",
                "children": []
            }
        ]
    }
]
获取类别 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16048/yelp+business+api/45670/get+categories?country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回 Yelp 在某个地点或某个点周边搜索到的商家,可按 Yelp 的排序或按距离 评分或评价数量排序,并包含价格和筛选条件:ID 别名 名称 链接 评分 评价数量 价格 类别 电话 网站 菜单链接 地址 街区 坐标 距离 营业时间 是否歇业 主照片和照片数量以及赞助结果
Endpoint ID: 45671
GET https://zylalabs.com/api/16048/yelp+business+api/45671/search+businesses
输入参数

搜索企业 — 端点功能

对象 描述
query 可选 Optional search text: a business type, dish, category or name (e.g. "pizza"). Leave it out to list every business of the place.
location 可选 Place to search in: a city, neighborhood, address or ZIP code (e.g. "San Francisco, CA"). Required unless "latitude" and "longitude" are given. Use the /search/locations endpoint to list valid values.
latitude 可选 Optional latitude of the point to search around, with "longitude" (e.g. "37.7749").
longitude 可选 Optional longitude of the point to search around, with "latitude" (e.g. "-122.4194").
sort 可选 Optional sort order: "recommended", "distance", "rating" or "review_count" (defaults to "recommended").
price 可选 Optional comma-separated list of price levels from "1" ($) to "4" ($$$$) (e.g. "1,2").
radius 可选 Optional search radius in miles, 0.1 to 25 (e.g. "2").
filters 可选 Optional comma-separated list of filter ids (e.g. "RestaurantsDelivery,OutdoorSeating"). Use the /search/filters endpoint to list valid values.
page 可选 Optional page number (defaults to 1). Results stop at the 240th business.
page_size 可选 Optional number of businesses per page, 1 to 40 (defaults to 20).

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


输入参数

query
location
latitude
longitude
sort
price
radius
filters
page
page_size
API 示例响应
JSON
{
    "total": 240,
    "page": 1,
    "page_size": 20,
    "location": {
        "name": "San Francisco, CA",
        "city": "San Francisco",
        "state": "CA",
        "country": "US",
        "latitude": 37.775123,
        "longitude": -122.41932
    },
    "filters": [],
    "businesses": [
        {
            "business_id": "mSMZJj2pFvttWLpcDmgrEA",
            "alias": "tonys-pizza-napoletana-san-francisco",
            "name": "Tony's Pizza Napoletana",
            "url": "https://www.yelp.com/biz/tonys-pizza-napoletana-san-francisco",
            "rating": 4.2,
            "review_count": 9109,
            "price": "$$$",
            "categories": [
                {
                    "alias": "pizza",
                    "name": "Pizza"
                },
                {
                    "alias": "italian",
                    "name": "Italian"
                },
                {
                    "alias": "cocktailbars",
                    "name": "Cocktail Bars"
                }
            ],
            "phone": "(415) 835-9888",
            "website": "https://tonyspizzanapoletana.com",
            "menu_url": "https://tonyspizzanapoletana.com/currentmenu",
            "address": "1570 Stockton St, San Francisco, CA 94133",
            "street": "1570 Stockton St",
            "city": "San Francisco",
            "state": "CA",
            "zip": "94133",
            "country": "US",
            "neighborhoods": [
                "North Beach/Telegraph Hill"
            ],
            "latitude": 37.8003893855776,
            "longitude": -122.40903343231504,
            "distance_miles": 1.84,
            "timezone": "America/Los_Angeles",
            "hours": [
                {
                    "day": "Monday",
                    "open": "12:00",
                    "close": "22:00",
                    "closes_next_day": false
                },
                {
                    "day": "Tuesday",
                    "open": "12:00",
                    "close": "22:00",
                    "closes_next_day": false
                },
                {
                    "day": "Wednesday",
                    "open": "12:00",
                    "close": "22:00",
                    "closes_next_day": false
                },
                {
                    "day": "Thursday",
                    "open": "12:00",
                    "close": "22:00",
                    "closes_next_day": false
                },
                {
                    "day": "Friday",
                    "open": "12:00",
                    "close": "23:00",
                    "closes_next_day": false
                },
                {
                    "day": "Saturday",
                    "open": "12:00",
                    "close": "23:00",
                    "closes_next_day": false
                },
                {
                    "day": "Sunday",
                    "open": "12:00",
                    "close": "23:00",
                    "closes_next_day": false
                }
            ],
            "hours_text": [
                "Mon-Thu 12:00 pm - 10:00 pm",
                "Fri-Sun 12:00 pm - 11:00 pm"
            ],
            "is_closed": false,
            "is_temporarily_closed": false,
            "is_chain": false,
            "photo": "https://s3-media0.fl.yelpcdn.com/bphoto/ptCPOJoqVokZW7GmQ5F4NQ/o.jpg",
            "photo_count": 10476,
            "video_count": 148
        }
    ],
    "sponsored": [
        {
            "business_id": "e5a-OMt-3yIbQIsfkvJpEg",
            "alias": "curry-pizza-house-south-san-francisco-2",
            "name": "Curry Pizza House South San Francisco",
            "url": "https://www.yelp.com/biz/curry-pizza-house-south-san-francisco-2",
            "rating": 4.4,
            "review_count": 122,
            "price": "$$",
            "categories": [
                {
                    "alias": "chicken_wings",
                    "name": "Chicken Wings"
                },
                {
                    "alias": "pizza",
                    "name": "Pizza"
                },
                {
                    "alias": "italian",
                    "name": "Italian"
                }
            ],
            "phone": "(650) 442-3163",
            "website": "https://currypizzahouse.com",
            "menu_url": "https://currypizzahouse.com/menu/",
            "address": "415 Grand Ave, South San Francisco, CA 94080",
            "street": "415 Grand Ave",
            "city": "South San Francisco",
            "state": "CA",
            "zip": "94080",
            "country": "US",
            "neighborhoods": [],
            "latitude": 37.6556020512503,
            "longitude": -122.41312527238732,
            "distance_miles": null,
            "timezone": "America/Los_Angeles",
            "hours": [
                {
                    "day": "Monday",
                    "open": "10:00",
                    "close": "22:00",
                    "closes_next_day": false
                },
                {
                    "day": "Tuesday",
                    "open": "10:00",
                    "close": "22:00",
                    "closes_next_day": false
                },
                {
                    "day": "Wednesday",
                    "open": "10:00",
                    "close": "22:00",
                    "closes_next_day": false
                },
                {
                    "day": "Thursday",
                    "open": "10:00",
                    "close": "22:00",
                    "closes_next_day": false
                },
                {
                    "day": "Friday",
                    "open": "10:00",
                    "close": "23:00",
                    "closes_next_day": false
                },
                {
                    "day": "Saturday",
                    "open": "10:00",
                    "close": "23:00",
                    "closes_next_day": false
                },
                {
                    "day": "Sunday",
                    "open": "10:00",
                    "close": "22:00",
                    "closes_next_day": false
                }
            ],
            "hours_text": [
                "Mon-Thu, Sun 10:00 am - 10:00 pm",
                "Fri-Sat 10:00 am - 11:00 pm"
            ],
            "is_closed": false,
            "is_temporarily_closed": false,
            "is_chain": false,
            "photo": "https://s3-media0.fl.yelpcdn.com/bphoto/7_eosluebExq-0ZwkZJIkw/o.jpg",
            "photo_count": 246,
            "video_count": 6
        }
    ]
}
搜索企业 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16048/yelp+business+api/45671/search+businesses?query=pizza&location=San Francisco, CA&sort=recommended&page=1&page_size=20' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回 Yelp 对输入搜索文本的建议:搜索词、类别和商家及其 ID、名称、地址和距离
Endpoint ID: 45672
GET https://zylalabs.com/api/16048/yelp+business+api/45672/autocomplete+search
输入参数

自动补全搜索 — 端点功能

对象 描述
query 必需 Text typed so far (e.g. "piz").
location 可选 Optional place the suggestions are for (e.g. "San Francisco, CA").
latitude 可选 Optional latitude of the point the suggestions are for, with "longitude" (e.g. "37.7749").
longitude 可选 Optional longitude of the point the suggestions are for, with "latitude" (e.g. "-122.4194").

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


输入参数

query
location
latitude
longitude
API 示例响应
JSON
[
    {
        "type": "category",
        "title": "Pizza",
        "term": "Pizza",
        "subtitle": null,
        "business": null
    },
    {
        "type": "term",
        "title": "Pizza Near Me",
        "term": "Pizza Near Me",
        "subtitle": null,
        "business": null
    },
    {
        "type": "term",
        "title": "Pizza Reservations",
        "term": "Pizza Reservations",
        "subtitle": null,
        "business": null
    },
    {
        "type": "term",
        "title": "Pizza By the Slice",
        "term": "Pizza By the Slice",
        "subtitle": null,
        "business": null
    }
]
自动补全搜索 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16048/yelp+business+api/45672/autocomplete+search?query=piz&location=San Francisco, CA' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回 Yelp 在某个地点搜索时提供的筛选条件及其 ID、标题和分组(热门、餐食、适合、设施、付款等)将 ID 传递给 /search 端点的“filters”参数
Endpoint ID: 45673
GET https://zylalabs.com/api/16048/yelp+business+api/45673/get+search+filters
输入参数

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

对象 描述
query 可选 Optional search text (e.g. "pizza"); the filters follow what is searched.
location 可选 Place to search in (e.g. "San Francisco, CA"). Required unless "latitude" and "longitude" are given.
latitude 可选 Optional latitude of the point to search around, with "longitude" (e.g. "37.7749").
longitude 可选 Optional longitude of the point to search around, with "latitude" (e.g. "-122.4194").

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


输入参数

query
location
latitude
longitude
API 示例响应
JSON
[
    {
        "id": "DogsAllowed",
        "title": "Dogs Allowed",
        "group": "Amenities",
        "is_popular": false
    },
    {
        "id": "WiFi.free",
        "title": "Free Wi-Fi",
        "group": "Amenities",
        "is_popular": false
    },
    {
        "id": "Alcohol.full_bar",
        "title": "Full Bar",
        "group": "Amenities",
        "is_popular": false
    },
    {
        "id": "GenderNeutralRestrooms",
        "title": "Gender Neutral Restrooms",
        "group": "Amenities",
        "is_popular": false
    },
    {
        "id": "Music.dj",
        "title": "Music: DJ",
        "group": "Amenities",
        "is_popular": false
    },
    {
        "id": "Music.live",
        "title": "Music: Live",
        "group": "Amenities",
        "is_popular": false
    },
    {
        "id": "RestaurantsTakeOut",
        "title": "Offers Takeout",
        "group": "Amenities",
        "is_popular": false
    },
    {
        "id": "BusinessOpenToAll",
        "title": "Open to All",
        "group": "Amenities",
        "is_popular": false
    },
    {
        "id": "OutdoorSeating",
        "title": "Outdoor Seating",
        "group": "Amenities",
        "is_popular": false
    },
    {
        "id": "RestaurantsReservations",
        "title": "Takes Reservations",
        "group": "Amenities",
        "is_popular": false
    },
    {
        "id": "WheelchairAccessible",
        "title": "Wheelchair Accessible",
        "group": "Amenities",
        "is_popular": false
    },
    {
        "id": "HappyHour",
        "title": "Good For Happy Hour",
        "group": "Good For",
        "is_popular": false
    },
    {
        "id": "RestaurantsGoodForGroups",
        "title": "Good for Groups",
        "group": "Good For",
        "is_popular": false
    },
    {
        "id": "GoodForKids",
        "title": "Good for Kids",
        "group": "Good For",
        "is_popular": false
    },
    {
        "id": "LikedByVegetarians",
        "title": "Liked by Vegetarians",
        "group": "Good For",
        "is_popular": false
    },
    {
        "id": "GoodForMeal.breakfast",
        "title": "Good for Breakfast",
        "group": "Meal",
        "is_popular": false
    },
    {
        "id": "GoodForMeal.brunch",
        "title": "Good for Brunch",
        "group": "Meal",
        "is_popular": false
    },
    {
        "id": "GoodForMeal.dessert",
        "title": "Good for Dessert",
        "group": "Meal",
        "is_popular": false
    },
    {
        "id": "GoodForMeal.dinner",
        "title": "Good for Dinner",
        "group": "Meal",
        "is_popular": false
    },
    {
        "id": "GoodForMeal.latenight",
        "title": "Good for Late Night",
        "group": "Meal",
        "is_popular": false
    },
    {
        "id": "GoodForMeal.lunch",
        "title": "Good for Lunch",
        "group": "Meal",
        "is_popular": false
    },
    {
        "id": "BusinessAcceptsApplePay",
        "title": "Accepts Apple Pay",
        "group": "Payment",
        "is_popular": false
    },
    {
        "id": "BusinessAcceptsCreditCards",
        "title": "Accepts Credit Cards",
        "group": "Payment",
        "is_popular": false
    },
    {
        "id": "BusinessAcceptsBitcoin",
        "title": "Accepts Cryptocurrency",
        "group": "Payment",
        "is_popular": false
    },
    {
        "id": "OffersMilitaryDiscount",
        "title": "Offers Military Discount",
        "group": "Payment",
        "is_popular": true
    },
    {
        "id": "hottest_new_opening",
        "title": "Hot and New",
        "group": "Popular",
        "is_popular": false
    },
    {
        "id": "RestaurantsDelivery",
        "title": "Offers Delivery",
        "group": "Popular",
        "is_popular": false
    },
    {
        "id": "offers_doordash",
        "title": "Offers DoorDash",
        "group": "Popular",
        "is_popular": false
    },
    {
        "id": "RestaurantsPriceRange2.1",
        "title": "$",
        "group": "Price",
        "is_popular": true
    },
    {
        "id": "RestaurantsPriceRange2.2",
        "title": "$$",
        "group": "Price",
        "is_popular": false
    },
    {
        "id": "RestaurantsPriceRange2.3",
        "title": "$$$",
        "group": "Price",
        "is_popular": false
    },
    {
        "id": "RestaurantsPriceRange2.4",
        "title": "$$$$",
        "group": "Price",
        "is_popular": false
    }
]
获取搜索筛选条件 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16048/yelp+business+api/45673/get+search+filters?query=pizza&location=San Francisco, CA' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回 Yelp 根据输入中的地点文本建议的地点(城市、地区、街区),以作为 /search 端点的“location”参数传入
Endpoint ID: 45674
GET https://zylalabs.com/api/16048/yelp+business+api/45674/autocomplete+locations
输入参数

自动补全位置 — 端点功能

对象 描述
query 必需 Location text typed so far (e.g. "san fr").

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


输入参数

query
API 示例响应
JSON
[
    "San Francisco, CA",
    "San Francisco Bay Area, CA",
    "South San Francisco, CA",
    "San Francisco Peninsula, CA"
]
自动补全位置 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16048/yelp+business+api/45674/autocomplete+locations?query=san fr' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

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

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

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

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

起价
$10,000/年


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

概览

本地商家数据:可按筛选条件、评分、价格和营业时间搜索商家,查看商家详情、评价、照片、菜单、人气菜品、设施以及问答

Yelp 商家 API FAQs

使用带有地点或地理坐标的搜索来查找商家,然后使用价格、评分或便利设施等受支持的筛选条件缩小结果范围。结果包括商家标识符、名称、评分、类别、地址、坐标及其他商家信息。可通过获取搜索筛选条件来查看可用的搜索筛选条件

使用自动补全搜索功能,在输入文本时获取建议的搜索词、类别和商家。使用自动补全地点功能查找建议的城市、地区或街区,然后将地点建议传递给商家搜索功能

商家类别包含别名和显示名称。获取类别会返回某个国家的 Yelp 类别层级结构,其中包含嵌套的子类别,例如,一个宽泛的类别可以包含更具体的类别。使用基于类别的搜索时,请使用类别别名

获取商家评价可返回单条评分、文本、日期、语言、评论者详情、反馈投票、照片和商家回复。它还会报告各语言的评价数量以及未获推荐的评价数量。结果可使用支持的评价选项进行排序或筛选

获取商家热门菜品,总结经常被提及和拍摄的菜品,并显示评价和照片数量。获取商家评价亮点,呈现反复出现的短语、评价示例句子,以及可用时的照片。这些内容有助于发现顾客最喜欢的菜品和常见主题

获取商家照片可返回所有媒体或美食、菜单、室内、室外或饮品等类别。响应包含照片链接、说明、尺寸、点赞数、日期、贡献者和类别计数以及分页详情

首先使用“获取商家问题”查找问题 ID,并查看其回答数量和最佳回答。然后使用“获取问题回答”检索该问题的回答,包括文本、日期、有用票数、回答者详情,以及回答者是否为商家所有者

商家详情和菜单条目可能包含可选或不可用的值,例如缺失的菜单链接、价格、描述或照片。请将这些字段视为可能为空或不存在,并使用商家 ID 将详情与相关菜单、照片、评价或设施关联起来

一般常见问题

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