데이터 API / DataForSEO / On Page
Audits in OnPage Lighthouse API
The audit identifiers a Lighthouse run can be narrowed to, under an audits key. Read this before running an audit, not after - passing audits to post_dataforseo_on_page_lighthouse_live_json is the difference between a 245 KB report and a targeted one.
파라미터
경로, 쿼리, 헤더 파라미터가 없습니다.
요청 예시
curl -X GET "https://openapi.felo.ai/v1/beta/dataforseo/on_page/lighthouse/audits" \
-H "Authorization: Bearer $FELO_API_KEY"응답
응답 필드
versionstring선택the current version of the API
status_codeinteger선택general status code you can find the full list of the response codes here Note: we strongly recommend designing a necessary system for handling related exceptional or error conditions
status_messagestring선택general informational message you can find the full list of general informational messages here
timestring선택execution time, seconds
costnumber선택total tasks cost, USD
tasks_countinteger선택the number of tasks in the tasks array
tasks_errorinteger선택the number of tasks in the tasks array returned with an error
tasksstring[]선택array of tasks
idstring선택task identifier unique task identifier in our system in the UUID format
status_codeinteger선택status code of the task generated by DataForSEO; can be within the following range: 10000-60000 you can find the full list of the response codes here
status_messagestring선택informational message of the task you can find the full list of general informational messages here
timestring선택execution time, seconds
costnumber선택cost of the task, USD
result_countinteger선택number of elements in the result array
pathstring[]선택URL path
dataobject선택contains the same parameters that you specified in the POST request
resultstring[]선택array of results
auditsstring[]선택the list of available lighthouse audits an array containing the titles of available audits; Note: the titles can change depending on if the audit passed or failed and may contain markdown code; Note #2: if you’re using the audit that contains a slash (/) in its name, search by the last word after the slash