Historical Rank Overview
This endpoint will provide you with historical data on rankings and traffic of the specified domain, such as domain ranking distribution in SERPs and estimat…
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
full name of the location required field if you don’t specify location_code Note: it is required to specify either location_name or location_code you can receive the list of available locations with their location_name by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages example: United Kingdom
location code required field if you don’t specify location_name Note: it is required to specify either location_name or location_code you can receive the list of available locations with their location_code by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages example: 2840
full name of the language required field if you don’t specify language_code Note: it is required to specify either language_name or language_code you can receive the list of available locations with their language_name by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages example: English
language code required field if you don’t specify language_name Note: it is required to specify either language_name or language_code you can receive the list of available locations with their language_code by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages example: en
starting date of the time range optional field if you don’t specify this field, the data will be provided for the previous 6 months minimal possible value: 2020-10-01 date format: "yyyy-mm-dd"
ending date of the time range optional field if you don’t specify this field, the today’s date will be used by default date format: "yyyy-mm-dd" example: "2021-04-01"
correlate data with previously obtained datasets optional field default value: true if you use this parameter, our system will correlate data you obtain now with previously obtained datasets this parameter is intended to mitigate any inconsistencies that may result from changes to our database we recommend always setting correlate to true
ignore highly similar keywords optional field if set to true, only data based on core keywords will be returned, data for all highly similar keywords will be excluded; default value: false
include or exclude data from clickstream-based metrics in the result optional field if the parameter is set to true, you will receive clickstream_etv, clickstream_gender_distribution, and clickstream_age_distribution fields with clickstream data in the response; default value: false; Note: historical clickstream data is available from 2024/05 (May, 2024); with this parameter enabled, you will be charged double the price for the request; learn more about how clickstream-based metrics are calculated in this help center article
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
search engine type
target domain in a POST array
location code in a POST array
language code in a POST array
total amount of results in our database relevant to your request
the number of results returned in the items array
contains historical ranking and traffic data
search engine type
year for which the data is provided
month for which the data is provided
ranking data relevant to the specified domain
ranking and traffic data from organic search
number of organic SERPs where the domain ranks #1
number of organic SERPs where the domain ranks #2-3
number of organic SERPs where the domain ranks #4-10
number of organic SERPs where the domain ranks #11-20
number of organic SERPs where the domain ranks #21-30
number of organic SERPs where the domain ranks #31-40
number of organic SERPs where the domain ranks #41-50
number of organic SERPs where the domain ranks #51-60
number of organic SERPs where the domain ranks #61-70
number of organic SERPs where the domain ranks #71-80
number of organic SERPs where the domain ranks #81-90
number of organic SERPs where the domain ranks #91-100
estimated traffic volume estimated organic monthly traffic to the domain calculated as the product of CTR (click-through-rate) and search volume values of all keywords the domain ranks for learn more about how the metric is calculated in this help center article
total count of organic SERPs that contain the domain
estimated cost of converting organic search traffic into paid represents the estimated monthly cost of running ads (USD) for all keywords that a domain ranks for the metric is calculated as the product of organic etv and paid cpc values and indicates the cost of driving the estimated volume of monthly organic traffic through PPC advertising in Google Search learn more about how the metric is calculated in this help center article
number of new ranked elements indicates how many new ranked elements were found for the indicated target
rank went up indicates how many ranked elements of the indicated target went up
rank went down indicates how many ranked elements of the indicated target went down
lost ranked elements indicates how many ranked elements of the indicated target were previously presented in SERPs, but weren’t found during the last check
estimated traffic volume based on clickstream data calculated as the product of click-through-rate and clickstream search volume values of all keywords the domain ranks for to retrieve results for this field, the parameter include_clickstream_data must be set to true learn more about how the metric is calculated in this help center article
distribution of estimated clickstream-based metrics by gender to retrieve results for this field, the parameter include_clickstream_data must be set to true learn more about how the metric is calculated in this help center article
number of female users in the relevant clickstream dataset
number of male users in the relevant clickstream dataset
distribution of clickstream-based metrics by age to retrieve results for this field, the parameter include_clickstream_data must be set to true learn more about how the metric is calculated in this help center article
number of users in the relevant clickstream dataset that fall within the 18-24 age range
number of users in the relevant clickstream dataset that fall within the 25-34 age range
number of users in the relevant clickstream dataset that fall within the 35-44 age range
number of users in the relevant clickstream dataset that fall within the 45-54 age range
number of users in the relevant clickstream dataset that fall within the 55-64 age range
ranking and traffic data from paid search
number of paid SERPs where the domain ranks #1
number of paid SERPs where the domain ranks #2-3
number of paid SERPs where the domain ranks #4-10
number of paid SERPs where the domain ranks #11-20
number of paid SERPs where the domain ranks #21-30
number of paid SERPs where the domain ranks #31-40
number of paid SERPs where the domain ranks #41-50
number of paid SERPs where the domain ranks #51-60
number of paid SERPs where the domain ranks #61-70
number of paid SERPs where the domain ranks #71-80
number of paid SERPs where the domain ranks #81-90
number of paid SERPs where the domain ranks #91-100
estimated traffic volume estimated paid monthly traffic to the domain calculated as the product of CTR (click-through-rate) and search volume values of all keywords the domain ranks for learn more about how the metric is calculated in this help center article
total count of paid SERPs that contain the domain
estimated cost of monthly search traffic represents the estimated cost of paid monthly traffic (USD) based on etv and cpc values learn more about how the metric is calculated in this help center article
number of new ranked elements indicates how many new ranked elements were found for the indicated target
rank went up indicates how many ranked elements of the indicated target went up
rank went down indicates how many ranked elements of the indicated target went down
lost ranked elements indicates how many ranked elements of the indicated target were previously presented in SERPs, but weren’t found during the last check
estimated traffic volume based on clickstream data calculated as the product of click-through-rate and clickstream search volume values of all keywords the domain ranks for to retrieve results for this field, the parameter include_clickstream_data must be set to true learn more about how the metric is calculated in this help center article
distribution of estimated clickstream-based metrics by gender to retrieve results for this field, the parameter include_clickstream_data must be set to true learn more about how the metric is calculated in this help center article
number of female users in the relevant clickstream dataset
number of male users in the relevant clickstream dataset
distribution of clickstream-based metrics by age to retrieve results for this field, the parameter include_clickstream_data must be set to true learn more about how the metric is calculated in this help center article
number of users in the relevant clickstream dataset that fall within the 18-24 age range
number of users in the relevant clickstream dataset that fall within the 25-34 age range
number of users in the relevant clickstream dataset that fall within the 35-44 age range
number of users in the relevant clickstream dataset that fall within the 45-54 age range
number of users in the relevant clickstream dataset that fall within the 55-64 age range