Data API / DataForSEO / DataForSEO Labs
Bulk Traffic Estimation
Estimated organic traffic for many domains in one call. 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. Price is per call, so this is how to rank a competitor list cheaply before spending per-domain calls on the interesting ones. The historical version is post_dataforseo_labs_google_historical_bulk_traffic_live.
Параметры
Параметров пути, запроса и заголовков нет.
Тело запроса
targetsstring[]Обязательныйtarget domains, subdomains, and webpages required field you can specify domains, subdomains, and webpages in this field; domains and subdomains should be specified without https:// and www.; pages should be specified with absolute URL, including https:// and www.; you can set up to 1000 domains, subdomains or webpages
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
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"]
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
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/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>",
"item_types": [
"<string>"
],
"ignore_synonyms": false,
"tag": "<string>"
}'Ответ
Поля ответа
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
organicobjectНеобязательныйtraffic data from organic search
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
paidobjectНеобязательныйtraffic data from paid search
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_snippetobjectНеобязательныйtraffic data from the featured snippet results in Google SERP
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_packobjectНеобязательныйtraffic data from the local pack results in SERP
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