LinkedIn-Web-V2-API
获取异步任务结果/Get async task result
Changed on⚠️ 注意 / Note
本接口不计费。 响应 JSON 中的 message / message_zh 是全局默认文案 (「本次请求将被计费」),对本接口不适用,请忽略。
有 RPS 限流,请按每秒 1 次的频率轮询。 超出路由限流会返回 429 (响应头 Retry-After: 1);限流按「用户 + 路由」单独计算。
This endpoint is free of charge. The message / message_zh fields in the response JSON carry a global default notice ("this request will incur a charge") that does not apply here — please ignore them.
This endpoint is rate limited — poll at no more than 1 request per second. Exceeding the route's limit returns 429 with a Retry-After: 1 header. The limit is tracked per user per route.
[中文]
用途:
- 获取异步任务的抓取结果。本端点不计费,三个创建任务端点通用, 且在 30 天保留期内可重复获取。
- 结果未就绪时返回 ready = false 且 records 为空数组(不报错), 稍后退避重试即可。
参数:
- task_id: 创建任务时返回的 task_id(形如 sd_xxxxxxxxxxxxxxxxxx)。
返回:
- task_id: 任务 id; ready: 结果是否已就绪; status: ready(已就绪)或 not_ready(仍在执行); records: 抓取结果数组,内容与对应的同步端点一致;未就绪时为空数组。
- 目标页面被隐藏 / 不存在时,records 的元素内会带 error / error_code 字段,与同步端点行为一致。
- task_id 格式非法、不存在或已过期(超过 30 天)时返回 400。
[English]
Purpose:
- Fetch the result of an async task. This endpoint is free, is shared by all three task-creation endpoints, and can be called repeatedly within the 30-day retention window.
- While the result is not ready it returns ready = false with an empty records array (not an error) — retry later with a backoff.
Parameters:
- task_id: The task_id returned on creation (looks like sd_xxxxxxxxxxxxxxxxxx).
Returns:
- task_id: the task id; ready: whether the result is ready; status: ready, or not_ready while still running; records: array of scraped results, identical in shape to the matching synchronous endpoint; an empty array while not ready.
- If the target page is hidden or does not exist, the element inside records carries error / error_code fields, matching the behaviour of the synchronous endpoints.
- Returns 400 if the task_id is malformed, does not exist, or has expired (over 30 days).
[示例/Example]
task_id = "sd_mvt2xl972bp4a77ncc"
get/api/v1/linkedin/web_v2/async/get_task_result
Request
- Base URLhttps://api.tikhub.io (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Query parameters
task_idstring required
创建任务时返回的 task_id/The task_id returned on creation
Response
Successful Response
Changes
- info
endpoint added
- info