OnPage API Waterfall
This endpoint is designed to provide you with the page speed insights.
Documentation Index
Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
ID of the task required field you can get this ID in the response of the Task POST endpoint example: “07131248-1535-0216-1000-17384017ad04”
page URL required field specify the pages you want to receive timing for
user-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data object of the response
Response
Successful response
the current version of the API
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
general informational message you can find the full list of general informational messages here
execution time, seconds
total tasks cost, USD
the number of tasks in the tasks array
the number of tasks in the tasks array returned with an error
array of tasks
task identifier unique task identifier in our system in the UUID format
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
informational message of the task you can find the full list of general informational messages here
execution time, seconds
cost of the task, USD
number of elements in the result array
URL path
contains the same parameters that you specified in the POST request
array of results
status of the crawling session possible values: in_progress, finished
details of the crawling session
maximum number of pages to crawl indicates the max_crawl_pages limit you specified when setting a task
number of pages that are currently in the crawling queue
number of crawled pages
number of items in the results array
items array
URL of the page
Time To Interactive (TTI) metric the time it takes until the user can interact with a page (in milliseconds)
time to load resources the time it takes until the page and all of its subresources are downloaded (in milliseconds)
time to connect to a server the time it takes until the connection with a server is established (in milliseconds)
time to establish a secure connection the time it takes until the secure connection with a server is established (in milliseconds)
time to send a request to a server the time it takes until the request to a server is sent (in milliseconds)
time to first byte (TTFB) in milliseconds
time it takes for a browser to receive a response (in milliseconds)
total time it takes until a browser receives a complete response from a server (in milliseconds)
time to start downloading the HTML resource the amount of time the browser needs to start downloading a page
time to complete downloading the HTML resource the amount of time the browser needs to complete downloading a page
resource-specific timing contains separate arrays with timing for each resource found on the page
type of the returned resource
resource URL
resource initiator
total time it takes until a browser receives a complete response from a server (in milliseconds)
time to start downloading the resource the amount of time the browser needs to start downloading a resource
time to complete downloading the resource the amount of time the browser needs to complete downloading a resource
location of the resource in the document parameters defining the location of the specific resource within the document’s HTML
line number the number of the line on which the resource is located
position in line the number of line characters before the resource; sometimes referred to as column Note: counts from 1, i.e. if the resource doesn’t have any characters to the left, the value will be 1
position in the document the total number of characters between the resource and the top of HTML
indicates whether the resource blocks rendering