跳转到主要内容
POST
Search Yelp businesses

请求规范

  • 方法与路径: POST /apis/v1/serpapi/search-yelp
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/serpapi/search-yelp
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

按实际用量收费。 当前暂无预估金额。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
find_desc
string
必填

Search query describing what to find (e.g., 'pizza', 'coffee shop', 'italian restaurant'). This is the business type or service you're looking for.

示例:

"pizza"

"coffee shop"

"italian restaurant"

"barber"

find_loc
string
必填

Location to search in (e.g., 'San Francisco, CA', 'New York, NY', '10001'). Can be a city, state, address, or ZIP code.

示例:

"San Francisco, CA"

"New York, NY"

"10001"

"Seattle, WA"

attrs
string

Attribute filters to refine search (e.g., 'HotAndNew' for new businesses, 'Deals' for businesses with offers). Can be comma-separated for multiple filters.

示例:

"HotAndNew"

"Deals"

"HotAndNew,Deals"

no_cache
boolean

Set to true to force fresh results from Yelp, bypassing SerpApi's cache. Useful when you need real-time data.

sortby
enum<string>

Sort order for results. 'recommended' shows Yelp's recommended matches, 'rating' shows highest-rated first, 'review_count' shows most-reviewed first.

可用选项:
recommended,
rating,
review_count
start
integer

Result offset for pagination. Use to fetch additional results beyond the first page. Each page typically contains 10 results.

必填范围: x >= 0
示例:

0

10

20

yelp_domain
string

Yelp domain to search on (e.g., 'yelp.com' for US, 'yelp.ca' for Canada, 'yelp.co.uk' for UK). Defaults to yelp.com if not specified.

示例:

"yelp.com"

"yelp.ca"

"yelp.co.uk"

响应

Tool result data

organic_results
object[]
search_metadata
object
search_parameters
object