跳转到主要内容
POST
搜索

请求规范

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

费用与请求规则

按实际用量收费。 默认请求预估费用:$0.0005 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

授权

Authorization
string
header
必填

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

请求体

application/json
query
string
必填

What to find: a category such as "restaurants", "pharmacies", "plumbers", or a business name such as "Franklin Barbecue".

count
number
默认值:18

Results per page.

Provider reference: minimum 1; maximum 30; default 18.

latitude
number

Optional map centre latitude; provide together with longitude to bias results when no location text is given.

Provider reference: minimum -90; maximum 90.

location
string

Where to look: a street address ("1600 Pennsylvania Ave NW, Washington, DC"), "City, ST" or a postal code. Sent to Bing as " near ". Optional when query already names the place.

longitude
number

Optional map centre longitude; provide together with latitude.

Provider reference: minimum -180; maximum 180.

page
number
默认值:1

Result page; page N returns the businesses among Bing's top N*count that are not among its top (N-1)*count, so consecutive pages do not repeat businesses. next_page is null once a page adds no business beyond the earlier pages (Bing caps one response at about 50).

Provider reference: minimum 1; maximum 5; default 1.

响应

Local businesses matching a category or a business name near a street address, city/state or postal code (US and other Bing Maps markets). One page of up to 30 results with Bing ypid, name, street address, phone, website, coordinates, category, aggregate rating with review count and source (Yelp/Tripadvisor/...), and current open status (Open/Closed in the business's local time, with Bing's rendered sentence such as "Open · Closes 10 PM"). Results are not filtered by opening hours: to find what is open now, read open_status on the rows. Use the ypid with business for structured weekly hours.

The response contains the tool result directly.

The provider identifies results as the primary payload key.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.