跳转到主要内容
GET
List Google Business Profile locations

请求规范

  • 方法与路径: GET /apis/v1/social/accounts/{accountId}/gmb-locations
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/social/accounts/{accountId}/gmb-locations
  • accountId: path; 必填
  • search: query; 可选
  • filter: query; 可选
  • limit: query; 可选
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

此操作不另收费。

授权

Authorization
string
header
必填

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

路径参数

accountId
string
必填

One of your social accounts (acc_...).

Pattern: ^acc_[0-9A-Za-z]{22}$

查询参数

Free-text search on the business name, applied server-side by Google. Use for accounts with many locations.

filter
string

Raw Google Business Information API filter expression (advanced; takes precedence over search), e.g. storeCode="LH279411".

limit
integer
默认值:100

Max locations to return (default 100, max 500). Raise it to enumerate an account with more than 100 locations; for accounts with thousands, use search/filter instead.

必填范围: 1 <= x <= 500

响应

Locations list

cached
boolean
hasMore
boolean

True when more locations exist than were returned (use search to narrow down).

locations
object[]
selectedLocationId
string