Skip to content

域名分析技术识别 API 的地区列表

GET /v3/domain_analytics/technologies/locations

接口说明

该接口用于获取 Domain Analytics Technologies API 支持的地区列表。

  • 请求方式:GET
  • 请求地址:https://api.seermartech.cn/v3/domain_analytics/technologies/locations
  • 计费说明:,不产生扣费
  • 实扣费以响应头 X-SeerMarTech-Charge-CNY 为准

注意:俄罗斯和白俄罗斯的地区已在平台服务中停止支持。

调用成功后,服务端会返回 JSON 格式数据,顶层 tasks 数组,每个任务中本次查询的结果信息。


请求信息

HTTP Request

GET /v3/domain_analytics/technologies/locations

该接口无需请求体。


响应结构

顶层响应字段

字段名类型说明
versionstring当前 API 版本
status_codeinteger通用状态码,可参考 /v3/appendix/errors
status_messagestring通用状态信息,可参考 /v3/appendix/errors
timestring执行耗时,单位秒
costfloat本次请求总费用,单位 USD;该接口通常为 0
tasks_countintegertasks 数组中的任务数量
tasks_errorintegertasks 数组中返回错误的任务数量
tasksarray任务结果数组

tasks[] 字段

字段名类型说明
idstring任务唯一标识,UUID 格式
status_codeinteger任务状态码,范围通常为 10000-60000,可参考 /v3/appendix/errors
status_messagestring任务状态信息
timestring任务执行耗时,单位秒
costfloat当前任务费用,单位 USD
result_countintegerresult 数组中的数量
patharray请求路径
dataobjectGET 请求 URL 中传的参数信息
resultarray获取结果数组

tasks[].data 字段

字段名类型说明
apistringAPI 模块名
functionstring当前调用的方法名
sestring数据源类型,此处为 technologies

tasks[].result[] 字段

字段名类型说明
location_namestring地区完整名称
country_iso_codestring地区所属国家的 ISO 国家代码

认证方式

请求头统一使用 Bearer Token:

http
Authorization: Bearer smt_live_YOUR_KEY

请求示例

cURL

bash
curl --location --request GET "https://api.seermartech.cn/v3/domain_analytics/technologies/locations" \
--header "Authorization: Bearer smt_live_YOUR_KEY" \
--header "Content-Type: application/json"

Python

python
import requests

url = "https://api.seermartech.cn/v3/domain_analytics/technologies/locations"
headers = {
 "Authorization": "Bearer smt_live_YOUR_KEY",
 "Content-Type": "application/json"
}

# 获取技术识别 API 支持的地区列表
response = requests.get(url, headers=headers)

print(response.status_code)
print(response.json)

TypeScript

typescript
import axios from "axios";

// 获取技术识别 API 支持的地区列表
axios({
 method: "get",
 url: "https://api.seermartech.cn/v3/domain_analytics/technologies/locations",
 headers: {
 Authorization: "Bearer smt_live_YOUR_KEY",
 "Content-Type": "application/json",
 },
})
 .then(function (response) {
 console.log(response.data);
 })
 .catch(function (error) {
 console.error(error);
 });

响应示例

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": "domain_analytics",
 "function": "locations",
 "se": "technologies"
 },
 "result": []
 }
 ]
}

状态码说明

状态码说明
20000请求成功
状态码请参考 /v3/appendix/errors 获取完整错误码及含义

使用说明

该接口通常用于在发起 Domain Analytics Technologies 查询前,确认可用地区范围。由于返回的是支持地区列表,因此适合用于:

  • 地区下拉选项初始化
  • 查询参数合法性校验
  • 多国家/多市场的数据采集前置准备

如果你的业务需要按地区发起后续技术识别请求,建议缓存此接口的返回结果,并定期刷新。

实用场景

  • 初始化地区选项:为后台页或数据产品前端生成可选地区列表,减少人工维护成本。
  • 校验请求参数:在提交技术识别任务前验证地区是否合法,因无效地区导致请求失败。
  • 构建多市场监控范围:整理支持国家与地区单,为跨区域网站技术栈监控提供基础数据。
  • 过滤不可用地区:自动排除已停止支持的地区,降低批量任务执行中的错误率。
  • 同步主数据字:将地区列表写主数据表,统一 SEO、竞争对手分析和报表系统的地区维度。

统一入口:官网 · LLM API · 控制台