Data API / DataForSEO / DataForSEO Labs
Historical Bulk Traffic Estimation
Estimated organic traffic for many domains at each point in the available history - the time series behind post_dataforseo_labs_google_bulk_traffic_estimation_live. This one takes no limit parameter, but it is priced per call rather than per item, so send the whole list at once. Wrapped in DataForSEO's envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200. ⚠️ Response size multiplies domains by dates; keep both lists short. Available dates come from get_dataforseo_labs_google_available_history.
Параметры
Параметров пути, запроса и заголовков нет.
Тело запроса
targetsstring[]Обязательныйtarget domains and subdomains required field you can specify domains and subdomains in this field; domains and subdomains should be specified without https:// and www.; you can set up to 1000 domains or subdomains
location_namestringНеобязательныйfull name of the location if you use this field, you don’t have to specify 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 ignore this field to get the results for all available locations example: United Kingdom
location_codeintegerНеобязательныйlocation code if you use this field, you don’t have to specify location_name 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 ignore this field to get the results for all available locations example: 2840
language_namestringНеобязательныйfull name of the language if you use this field, you don’t need to specify language_code you can receive the list of available languages with their language_name by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages ignore this field to get the results for all available languages example: English
language_codestringНеобязательныйlanguage code if you use this field, you don’t need to specify language_name you can receive the list of available languages with their language_code by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages ignore this field to get the results for all available languages example: en
date_fromstringНеобязательныйstarting date of the time range optional field if you don’t specify this field, the data will be provided for the previous 12 months minimal possible value: 2020-10-01 date format: "yyyy-mm-dd"
date_tostringНеобязательный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"
ignore_synonymsbooleanНеобязательныйignore highly similar keywords optional field if set to true, only core keywords will be returned, all highly similar keywords will be excluded; default value: false
item_typesstring[]Необязательныйdisplay results by item type optional field indicates the type of search results included in the response; Note: if the item_types array contains item types that are different from organic, the results will be ordered by the first item type in the array; possible values: ["organic", "paid", "featured_snippet", "local_pack"] default value: ["organic", "paid"]
tagstringНеобязательный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
Пример запроса
curl -X POST "https://openapi.felo.ai/v1/beta/dataforseo/dataforseo_labs/google/historical_bulk_traffic_estimation/live" \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"targets": [
"<string>"
],
"location_name": "<string>",
"location_code": 0,
"language_name": "<string>",
"language_code": "<string>",
"date_from": "<string>",
"date_to": "<string>",
"ignore_synonyms": false
}'Ответ
Поля ответа
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
se_typestringНеобязательныйsearch engine type
location_codeintegerНеобязательныйlocation code in a POST array if there is no data, then the value is null
language_codestringНеобязательныйlanguage code in a POST array if there is no data, then the value is null
total_countintegerНеобязательныйtotal amount of results in our database relevant to your request
items_countintegerНеобязательныйthe number of results returned in the items array
itemsstring[]Необязательныйarray of items with relevant traffic estimation data
se_typestringНеобязательныйsearch engine type
targetstringНеобязательныйtarget domain in a POST array
metricsobjectНеобязательныйtraffic data relevant to the specified domain
organicstring[]Необязательныйtraffic data from organic search
yearintegerНеобязательныйyear for which the data is provided
monthintegerНеобязательныйmonth for which the data is provided
etvnumberНеобязательный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
countintegerНеобязательныйtotal count of organic SERPs that contain the domain
paidstring[]Необязательныйtraffic data from paid search
yearintegerНеобязательныйyear for which the data is provided
monthintegerНеобязательныйmonth for which the data is provided
etvnumberНеобязательный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
countintegerНеобязательныйtotal count of paid SERPs that contain the domain
featured_snippetstring[]Необязательныйtraffic data from the featured snippet results in Google SERP
yearintegerНеобязательныйyear for which the data is provided
monthintegerНеобязательныйmonth for which the data is provided
etvnumberНеобязательный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 in the category that the domain ranks for learn more about how the metric is calculated in this help center article
countintegerНеобязательныйtotal count of featured snippet items that contain the domain
local_packstring[]Необязательныйtraffic data from the local pack results in SERP
yearintegerНеобязательныйyear for which the data is provided
monthintegerНеобязательныйmonth for which the data is provided
etvnumberНеобязательный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 in the category that the domain ranks for learn more about how the metric is calculated in this help center article
countintegerНеобязательныйtotal count of local pack items that contain the domain