SeerMarTech 文档控制台

外链历史数据 Live

POST/v3/backlinks/history/live

获取目标域名外链数量的历史时序数据,可回溯至 2019 年。适合分析链接建设效果、识别异常增长或外链流失趋势。

参考价:¥0.3200 / 次(实际以请求返回为准)

请求体

参数类型必填说明
targetstring目标域名或 URL
date_fromstring起始日期 YYYY-MM-DD
date_tostring结束日期 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));

业务场景

相关文档