外链历史数据 Live
POST
/v3/backlinks/history/live获取目标域名外链数量的历史时序数据,可回溯至 2019 年。适合分析链接建设效果、识别异常增长或外链流失趋势。
参考价:约 ¥0.3200 / 次(实际以请求返回为准)
请求体
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| target | string | 是 | 目标域名或 URL |
| date_from | string | 否 | 起始日期 YYYY-MM-DD |
| date_to | string | 否 | 结束日期 YYYY-MM-DD |
请求示例
curl
curl -X POST "https://api.seermartech.cn/v3/backlinks/history/live" \
-H "Authorization: Bearer smt_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '[{
"target": "example.com",
"date_from": "2023-01-01",
"date_to": "2025-12-31"
}]'Python
import requests
resp = requests.post(
"https://api.seermartech.cn/v3/backlinks/history/live",
headers={"Authorization": "Bearer smt_live_YOUR_KEY"},
json=[{
"target": "example.com",
"date_from": "2023-01-01",
"date_to": "2025-12-31",
}],
timeout=120,
)
history = resp.json()["tasks"][0]["result"][0]["items"]
for point in history[:5]:
print(point.get("date"), point.get("backlinks"))TypeScript
const resp = await fetch("https://api.seermartech.cn/v3/backlinks/history/live", {
method: "POST",
headers: {
Authorization: "Bearer smt_live_YOUR_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify([{
target: "example.com",
date_from: "2023-01-01",
date_to: "2025-12-31",
}]),
});
const history = (await resp.json()).tasks[0].result[0].items;
console.log(history.slice(0, 5));业务场景
- 链接建设 campaign 前后对比
- 检测负面 SEO 攻击(外链突增)
- 季度报告:外链增长曲线可视化