主题
Google Jobs 地点列表
GET /v3/serp/google/jobs/locations
接口说明
通过本接口可获取 Google Jobs SERP 支持的地点列表。
- 请求方式:
GET - 接口地址:
https://api.seermartech.cn/v3/serp/google/jobs/locations - 参考价:****
- 实扣费以响应头
X-SeerMarTech-Charge-CNY为准
你也可以下载完整的支持地点列表(CSV 文件,原文更新时间为 2026-04-06)。
注意:俄罗斯和白俄罗斯的所有地点当前均不再受支持,该限制适用于平台 API 的服务。
请求
HTTP Request
GET /v3/serp/google/jobs/locations
该接口无需请求体。
响应结构
接口返回 JSON 数据,顶层 tasks 数组,每个任务中本次请求的结果信息。
顶层字段
| 字段 | 类型 | 说明 |
|---|---|---|
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 | 任务提示信息 |
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_code_parent | integer | 上级地点编码 |
country_iso_code | string | 地点所属国家的 ISO 国家码 |
location_type | string | 地点类型 |
上级地点示例
例如:
当前地点:
location_code:9041134location_name:Vienna International Airport,Lower Austria,Austrialocation_code_parent:20044上级地点:
location_code:20044location_name:Lower Austria,Austria
也就是说,location_code_parent 指向该地点所属的上级行政或地理区域。
认证方式
请求头中的 Authorization 统一使用 Bearer Token:
Authorization: Bearer smt_live_YOUR_KEY
请求示例
cURL
bash
curl --location --request GET "https://api.seermartech.cn/v3/serp/google/jobs/locations" \
--header "Authorization: Bearer smt_live_YOUR_KEY" \
--header "Content-Type: application/json"Python
python
import requests
url = "https://api.seermartech.cn/v3/serp/google/jobs/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";
async function getGoogleJobsLocations {
try {
const response = await axios.get(
"https://api.seermartech.cn/v3/serp/google/jobs/locations",
{
headers: {
Authorization: "Bearer smt_live_YOUR_KEY",
"Content-Type": "application/json",
},
}
);
const result = response.data;
console.log(result);
} catch (error) {
console.error(error);
}
}
getGoogleJobsLocations;响应示例
json
{
"version": "3.20191128",
"status_code": 20000,
"status_message": "Ok.",
"time": "0.4305 sec.",
"cost": 0,
"tasks_count": 1,
"tasks_error": 0,
"tasks": [
{
"data": {
"api": "serp",
"function": "locations",
"se": "google",
"se_type": "jobs"
},
"result": []
}
]
}状态码说明
- 顶层
status_code表示整个请求的处理状态 tasks[].status_code表示单个任务的执行状态- 完整错误码与提示信息请参考:
/v3/appendix/errors
通常:
20000:请求成功- 状态码:表示参数、认证、额或服务端处理异常
使用说明
本接口适合在提交 Google Jobs SERP 查询前,拉取可用地点单并建立本地映射表。这样可以:
- 使用正确的
location_code发起查询 - 避因地点不受支持导致请求失败
- 统一地区维度,便于后续职位数据分析与报表统计
实用场景
- 获取可用投放地区:拉取 Google Jobs 支持的地点列表,为职位搜索、招聘监控或岗位分析选择正确地区。
- 建立地点编码映射表:将
location_code、location_name、country_iso_code同步到本地数据库,便于后续任务直接复用。 - 校验用户选区:在前端或业务后台用支持地点列表校验用户选择,减少无效查询和接口报错。
- 构建地区层级分析:利用
location_code_parent建立上下级区域,用于按国家、州、省、城市等维度汇总职位数据。 - 洗历史任务参数:对已有 Google Jobs 查询任务进行地点标准化,统一不同来源的数据口径,提高分析结果一致性。