Skip to main content
GET
获取爬取任务状态

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

id
string<uuid>
必填

爬取任务的 ID

响应

成功的响应

status
string

当前爬取任务的状态。状态可能为 scrapingcompletedfailed

total
integer

尝试爬取的页面总数。

completed
integer

已成功爬取的页面数量。

creditsUsed
integer

本次爬取所使用的积分数量。

expiresAt
string<date-time>

此抓取任务的到期日期和时间。

next
string | null

用于获取后续 10MB 数据的 URL。当抓取尚未完成,或响应内容超过 10MB 时,会返回该字段。

data
object[]

本次爬取的数据。