跳转到主要内容
GET
Search Yelp businesses
请求示例待验证。 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式,请替换为自己的参数。正式调用前,可用免费的报价模式(X-AISA-Cost-Mode: quote)查看预估费用。

请求规范

  • 方法与路径: GET /apis/v1/yelp/business-search
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/yelp/business-search
  • attrs: query; 可选
  • cflt: query; 可选
  • find_desc: query; 可选
  • find_loc: query; 必填
  • l: query; 可选
  • sortby: query; 可选
  • start: query; 可选
  • timeout: query; 可选
  • yelp_domain: query; 可选
  • aisa_cursor: query; 可选
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

公开参考价格:每次成功请求 $0.00015 USD。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

翻页

  • 把 aisa_pagination.next_cursor 作为 aisa_cursor(查询参数)传入即可获取下一页;aisa_pagination.has_more 为 false 时停止。
  • 响应头 X-AISA-Has-More 与 X-AISA-Next-Cursor 返回相同的值。
  • 游标是不透明值,请原样传回。
  • 结果可能跨页重复,请按稳定的 ID 去重。

授权

Authorization
string
header
必填

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

查询参数

attrs
string
cflt
string
Required string length: 1 - 128
Pattern: ^[A-Za-z0-9_-]+$
find_desc
string
Required string length: 1 - 512
find_loc
string
必填
Required string length: 1 - 512
l
string
Required string length: 1 - 512
sortby
enum<string>
可用选项:
rating,
recommended,
review_count
start
integer
必填范围: 0 <= x <= 10000
timeout
number
必填范围: x <= 90
yelp_domain
string
Required string length: 3 - 253
aisa_cursor
string

Next page: the aisa_pagination.next_cursor of the previous response.

Required string length: 1 - 4096

响应

Normalized successful response

ads_results
object[] | null
faqs
object[] | null
filters
object | null
organic_results
object[] | null
pagination
object | null
search_information
object | null
search_parameters
object | null
aisa_pagination
object

AIsa pagination. Pass next_cursor as aisa_cursor to fetch the next page; has_more is false on the last page.

{key}
any