Skip to main content
GET
App Data API 的 Google 地理位置列表
Google Play 系列接受的地区列表。🔴 **实测 46 MB / 269,681 行——本 provider 里最大的响应。**Google 这份是全球每一个城市和大区,而 Apple 的对应版是 105 个国家、13.8 KB。不要从 agent 调用它:location_code 2840 是美国,其他代码请查 DataForSEO 自己的文档。上游免费,所以落地之前没有任何计费信号会警告你。

示例

授权

Authorization
string
header
必填

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

响应

成功响应

version
string

API 的当前版本

status_code
integer

常规状态码;可在此处查看完整的响应码列表

status_message
string

常规信息消息;可在此处查看常规信息消息的完整列表

time
string

执行时间(秒)

cost
number

任务总成本(美元)

tasks_count
integer

tasks 数组中的任务数量

tasks_error
integer

返回错误的 tasks 数组中的任务数量

tasks
string[]

任务数组

tasks.id
string

任务标识符,系统中采用 UUID 格式的唯一任务标识符

tasks.status_code
integer

DataForSEO 生成的任务状态码;取值范围为:10000-60000,完整的响应码列表可在此处查看

tasks.status_message
string

任务的信息性消息,你可以在此处查看通用信息性消息的完整列表

tasks.time
string

执行时间(秒)

tasks.cost
number

任务成本(美元)

tasks.result_count
integer

结果数组中的元素数量

tasks.path
string[]

URL 路径

tasks.data
object

包含在 GET 请求的 URL 中传递的参数

tasks.result
string[]

结果数组

tasks.result.location_code
integer

位置代码

tasks.result.location_name
string

位置的完整名称

tasks.result.location_name_parent
string

上级位置的名称;示例:"location_code": 1006473, "location_name": "Altrincham,England,United Kingdom", "location_name_parent": "England,United Kingdom",其中 location_name_parent 对应于:"location_code": 20339, "location_name": "England,United Kingdom"

tasks.result.country_iso_code
string

位置的 ISO 国家代码

tasks.result.location_type
string

位置类型