页面工具
POST
/v3/on_page/links参考价:约 ¥0.0640 / 次(实际以请求返回为准)
waterfall、page_screenshot。
请求体
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| id | string | 是 | On-Page 任务 ID 或 url |
请求示例
curl
curl -X POST "https://api.seermartech.cn/v3/on_page/links" \
-H "Authorization: Bearer smt_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '[{"id":"06123456-1535-0066-0000-abc123"}]'Python
import requests
resp = requests.post(
"https://api.seermartech.cn/v3/on_page/links",
headers={"Authorization": "Bearer smt_live_YOUR_KEY"},
json=[{"id":"06123456-1535-0066-0000-abc123"}],
timeout=120,
)
print(resp.json()["tasks"][0]["result"])TypeScript
const resp = await fetch("https://api.seermartech.cn/v3/on_page/links", {
method: "POST",
headers: { Authorization: "Bearer smt_live_YOUR_KEY", "Content-Type": "application/json" },
body: JSON.stringify([{"id":"06123456-1535-0066-0000-abc123"}]),
});
console.log((await resp.json()).tasks[0].result);业务场景
- API 集成与数据分析