跳转到主要内容
POST
Search Yelp businesses

请求规范

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

费用与请求规则

当前未提供请求参考价格;请使用接口支持的报价功能确认费用。 声明的单位费率:每 provider_credit $0.000001 USD。 最终费用以账户适用价格及实际结算为准。 公开参考值不是你的账户报价或最终扣费。对于支持 X-AISA-Cost-Mode: quote 的接口,执行前请针对完整请求获取免费报价;执行后通过响应费用元数据和 Usage Logs 核对结算费用。1 USD 等于 1,000,000 个整数 micro-USD。
  • 声明的单位费率(USD): 1e-06
  • 计费单位: provider_credit
  • 计费依据: response_units
  • 公开参考倍率: 1.0
  • 声明的最大计数或单位数: 10000000
  • 结算证据来源: response_body

授权

Authorization
string
header
必填

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

请求体

application/json
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"

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"

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"

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

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
no_cache
boolean

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

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