主题
App Data API 支持的 Google 地区列表
概述
调用本接口可获取 App Data API 当前支持的 Google 地区列表。
你也可以下载完整地区单的 CSV 文件(最近更新时间:2026-04-06)作为离线参考文档。
注意:
- 当前,
Google App Listings Search端点与Google Play Listings Database端点支持United States,对应location_code为2840。 - 由于平台服务限制,俄罗斯和白俄罗斯的地区当前均不再支持。
接口地址
http
GET https://api.seermartech.cn/v3/app_data/google/locations
GET https://api.seermartech.cn/v3/app_data/google/locations/$country,$country 可用于按国家过滤返回的地区列表。
计费说明
本接口,不会产生调用费用。
扣费以响应头 X-SeerMarTech-Charge-CNY 为准。
返回说明
接口返回 JSON 数据, tasks 数组给出可用地区信息。你也可以在请求 URL 中指定国家参数,以筛选某一国家下的地区。
响应字段
顶层字段
| 字段名 | 类型 | 说明 |
|---|---|---|
version | string | 当前 API 版本号 |
status_code | integer | 接口总体状态码,完整列表参考 /v3/appendix/errors |
status_message | string | 接口总体状态信息,完整列表参考 /v3/appendix/errors |
time | string | 执行耗时,单位:秒 |
cost | float | 本次请求总费用,单位:USD |
tasks_count | integer | tasks 数组中的任务数量 |
tasks_error | integer | tasks 数组中返回错误的任务数量 |
tasks | array | 任务数组 |
tasks 数组字段
| 字段名 | 类型 | 说明 |
|---|---|---|
id | string | 任务唯一标识,UUID 格式 |
status_code | integer | 任务状态码,范围通常为 10000-60000,完整列表参考 /v3/appendix-errors/ |
status_message | string | 任务状态信息,完整列表参考 /v3/appendix-errors/ |
time | string | 任务执行耗时,单位:秒 |
cost | float | 当前任务费用,单位:USD |
result_count | integer | result 数组中的数量 |
path | array | 请求 URL 路径 |
data | object | GET 请求 URL 中传的参数 |
result | array | 返回结果数组 |
result 数组字段
| 字段名 | 类型 | 说明 |
|---|---|---|
location_code | integer | 地区编码 |
location_name | string | 地区完整名称 |
location_name_parent | string | 上级地区名称 |
country_iso_code | string | 地区对应国家的 ISO 国家代码 |
location_type | string | 地区类型 |
location_name_parent 示例说明
例如返回:
json
{
"location_code": 1006473,
"location_name": "Altrincham,England,United Kingdom",
"location_name_parent": "England,United Kingdom"
},location_name_parent 对应的上级地区可能为:
json
{
"location_code": 20339,
"location_name": "England,United Kingdom"
}请求示例
cURL
bash
curl --location --request GET "https://api.seermartech.cn/v3/app_data/google/locations" \
--header "Authorization: Bearer smt_live_YOUR_KEY" \
--header "Content-Type: application/json"Python
python
import requests
url = "https://api.seermartech.cn/v3/app_data/google/locations"
headers = {
"Authorization": "Bearer smt_live_YOUR_KEY",
"Content-Type": "application/json"
}
response = requests.get(url, headers=headers)
result = response.json
if result.get("status_code") == 20000:
print(result)
# 在此处理地区列表
else:
print(f'error. Code: {result.get("status_code")} Message: {result.get("status_message")}')TypeScript
typescript
import axios from "axios";
axios({
method: "get",
url: "https://api.seermartech.cn/v3/app_data/google/locations",
headers: {
Authorization: "Bearer smt_live_YOUR_KEY",
"Content-Type": "application/json",
},
})
.then((response) => {
const result = response.data;
// 返回结果
console.log(result);
})
.catch((error) => {
console.log(error);
});响应示例
json
{
"version": "0.1.20220420",
"status_code": 20000,
"status_message": "Ok.",
"time": "0.4267 sec.",
"cost": 0,
"tasks_count": 1,
"tasks_error": 0,
"tasks": [
{
"data": {
"api": "app_data",
"function": "locations",
"se": "google"
},
"result": []
}
]
}使用说明
- 获取支持地区:调用
/v3/app_data/google/locations - 按国家筛选地区:调用
/v3/app_data/google/locations/$country - 如果你要将地区参数传递给 App Data 接口,请优使用本接口返回的
location_code
错误码
- 顶层
status_code表示整次请求的执行状态 tasks[].status_code表示单个任务的执行状态- 完整错误码及说明请参考
/v3/appendix/errors与/v3/appendix-errors/
实用场景
- 获取可投放地区单:在创建应用商店监控或查询任务前,拉取支持地区,传无效
location_code导致请求失败。 - 按国家筛选市场范围:按国家获取地区列表,快速限定目标市场,便于区域化 SEO 或 ASO 分析。
- 校验地区参数:在业务系统中用本接口结果做地区字校验,减少人工维护和参数错误。
- 构建地区映射表:将
location_code、location_name、country_iso_code落库,方便后续报表、筛选器和自动化任务复用。 - 上级地区分析:利用
location_name_parent建立地区层级,支持国家、省州、城市等多层级数据聚合分析。