跳转到主要内容
GET
获取已完成的 OnPage Lighthouse 任务
列出已完成、等待取回的 Lighthouse 审计。没有时返回 null、status_code 20000、Ok.——是队列为空,不是错误。实测 391 字节。响应包在信封里:数据在 tasks[0].result,成败在 tasks[0].status_code——请求被拒时 HTTP 仍是 200。 用 get_dataforseo_on_page_lighthouse_task_get_json 取它列出的那些。

示例

请求规范

  • 方法与路径: GET /apis/v1/dataforseo/on_page/lighthouse/tasks_ready
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/dataforseo/on_page/lighthouse/tasks_ready
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

按实际用量收费。 默认请求预估费用:$0.012 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

授权

Authorization
string
header
必填

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

响应

object | null

Successful operation

cost
number<double> | null

任务总成本(美元)

status_code
integer | null

general status code you can find the full list of the response codes here

status_message
string | null

general informational message you can find the full list of general informational messages here

tasks_count
integer<int64> | null

tasks 数组中的任务数量

tasks_error
integer<int64> | null

返回错误的 tasks 数组中的任务数量

time
string | null

total execution time, seconds

version
string | null

API 的当前版本

tasks
(object | null)[] | null

array of tasks