Data API / DataForSEO / DataForSEO Labs
Keyword Overview
Everything Labs knows about a list of keywords in one call: volume, difficulty, intent, competition and the SERP features they trigger. Returns se_type, location_code, language_code, items_count and items. 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. Start here when you have keywords; post_dataforseo_labs_google_keyword_ideas_live is where to go when you need more of them.
Параметры
Параметров пути, запроса и заголовков нет.
Тело запроса
keywordsstring[]Обязательныйkeywords required field The maximum number of keywords you can specify: 700 The maximum number of characters for each keyword: 80 The maximum number of words for each keyword phrase: 10 the specified keywords will be converted to lowercase format, data will be provided in a separate array note that if some of the keywords specified in this array are omitted in the results you receive, then our database doesn’t contain such keywords and cannot return data on them you will not be charged for the keywords omitted in the results learn more about rules and limitations of keyword and keywords fields in DataForSEO APIs in this Help Center article
location_namestringНеобязательный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_codeintegerНеобязательный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
language_namestringНеобязательный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_codestringНеобязательный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
include_serp_infobooleanНеобязательныйinclude data from SERP for each keyword optional field if set to true, we will return a serp_info array containing SERP data (number of search results, relevant URL, and SERP features) for every keyword in the response default value: false
include_clickstream_databooleanНеобязательныйinclude or exclude data from clickstream-based metrics in the result optional field if the parameter is set to true, you will receive clickstream_keyword_info, keyword_info_normalized_with_clickstream, and keyword_info_normalized_with_bing fields in the response default value: false 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
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/keyword_overview/live" \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keywords": [
"<string>"
],
"location_name": "<string>",
"location_code": 0,
"language_name": "<string>",
"language_code": "<string>",
"include_serp_info": false,
"include_clickstream_data": 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
language_codestringНеобязательныйlanguage code in a POST array
items_countintegerНеобязательныйthe number of results returned in the items array
itemsstring[]Необязательныйcontains keywords and related data
se_typestringНеобязательныйsearch engine type
keywordstringНеобязательныйkeyword keyword is returned with decoded %## (plus character ‘+’ will be decoded to a space character)
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
search_partnersbooleanНеобязательныйindicates data for Google and partner sites if true, the results are returned for owned, operated, and syndicated networks across Google and partner sites that host Google search; if false, the results are returned for Google search sites only
keyword_infoobjectНеобязательныйkeyword data for the returned keyword
se_typestringНеобязательныйsearch engine type
last_updated_timestringНеобязательныйdate and time when keyword data was updated in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example: 2019-11-15 12:57:46 +00:00
competitionnumberНеобязательныйcompetition represents the relative amount of competition associated with the given keyword; the value is based on Google Ads data and can be between 0 and 1 (inclusive)
competition_levelstringНеобязательныйcompetition level represents the relative level of competition associated with the given keyword in paid SERP only; possible values: LOW, MEDIUM, HIGH if competition level is unknown, the value is null; learn more about the metric in this help center article
cpcnumberНеобязательныйcost-per-click represents the average cost per click (USD) historically paid for the keyword
search_volumeintegerНеобязательныйaverage monthly search volume rate represents the (approximate) number of searches for the given keyword idea on google.com
low_top_of_page_bidnumberНеобязательныйminimum bid for the ad to be displayed at the top of the first page indicates the value greater than about 20% of the lowest bids for which ads were displayed (based on Google Ads statistics for advertisers) the value may differ depending on the location specified in a POST request
high_top_of_page_bidnumberНеобязательныйmaximum bid for the ad to be displayed at the top of the first page indicates the value greater than about 80% of the lowest bids for which ads were displayed (based on Google Ads statistics for advertisers) the value may differ depending on the location specified in a POST request
categoriesstring[]Необязательныйproduct and service categories you can download the full list of possible categories
monthly_searchesstring[]Необязательныйmonthly searches represents the (approximate) number of searches on this keyword idea (as available for the past twelve months), targeted to the specified geographic locations
yearintegerНеобязательныйyear
monthintegerНеобязательныйmonth
search_volumeintegerНеобязательныйmonthly average search volume rate
search_volume_trendobjectНеобязательныйsearch volume trend changes represents search volume change in percent compared to the previous period
monthlyintegerНеобязательныйsearch volume change in percent compared to the previous month
quarterlyintegerНеобязательныйsearch volume change in percent compared to the previous quarter
yearlyintegerНеобязательныйsearch volume change in percent compared to the previous year
keyword_info_normalized_with_bingobjectНеобязательныйcontains keyword search volume normalized with Bing search volume
last_updated_timestringНеобязательныйdate and time when the dataset was updated in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example: 2019-11-15 12:57:46 +00:00
search_volumeintegerНеобязательныйcurrent search volume rate of a keyword
is_normalizedbooleanНеобязательныйkeyword info is normalized if true, values are normalized with Bing data
monthly_searchesintegerНеобязательныйmonthly search volume rates array of objects with search volume rates in a certain month of a year
yearintegerНеобязательныйyear
monthintegerНеобязательныйmonth
search_volumeintegerНеобязательныйsearch volume rate in a certain month of a year
keyword_info_normalized_with_clickstreamobjectНеобязательныйcontains keyword search volume normalized with clickstream data
last_updated_timestringНеобязательныйdate and time when the dataset was updated in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example: 2019-11-15 12:57:46 +00:00
search_volumeintegerНеобязательныйcurrent search volume rate of a keyword
is_normalizedbooleanНеобязательныйkeyword info is normalized if true, values are normalized with clickstream data
monthly_searchesintegerНеобязательныйmonthly search volume rates array of objects with search volume rates in a certain month of a year
yearintegerНеобязательныйyear
monthintegerНеобязательныйmonth
search_volumeintegerНеобязательныйsearch volume rate in a certain month of a year
clickstream_keyword_infoobjectНеобязательныйclickstream data for the returned keyword to retrieve results for this field, the parameter include_clickstream_data must be set to true
search_volumeintegerНеобязательныйmonthly average clickstream search volume rate
last_updated_timestringНеобязательныйdate and time when the clickstream dataset was updated in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00”
gender_distributionobjectНеобязательныйdistribution of estimated clickstream-based metrics by gender learn more about how the metric is calculated in this help center article
femaleintegerНеобязательныйnumber of female users in the relevant clickstream dataset
maleintegerНеобязательныйnumber of male users in the relevant clickstream dataset
age_distributionobjectНеобязательныйdistribution of clickstream-based metrics by age learn more about how the metric is calculated in this help center article
18-24integerНеобязательныйnumber of users in the relevant clickstream dataset that fall within the 18-24 age range
25-34integerНеобязательныйnumber of users in the relevant clickstream dataset that fall within the 25-34 age range
35-44integerНеобязательныйnumber of users in the relevant clickstream dataset that fall within the 35-44 age range
45-54integerНеобязательныйnumber of users in the relevant clickstream dataset that fall within the 45-54 age range
55-64integerНеобязательныйnumber of users in the relevant clickstream dataset that fall within the 55-64 age range
monthly_searchesstring[]Необязательныйmonthly clickstream search volume rates array of objects with clickstream search volume rates in a certain month of a year
yearintegerНеобязательныйyear
monthintegerНеобязательныйmonth
search_volumeintegerНеобязательныйclickstream-based search volume rate in a certain month of a year
keyword_propertiesobjectНеобязательныйadditional information about the keyword
se_typestringНеобязательныйsearch engine type
core_keywordstringНеобязательныйmain keyword in a group contains the main keyword in a group determined by the synonym clustering algorithm if the value is null, our database does not contain any keywords the corresponding algorithm could identify as synonymous with keyword
synonym_clustering_algorithmstringНеобязательныйthe algorithm used to identify synonyms possible values: keyword_metrics – indicates the algorithm based on keyword_info parameters text_processing – indicates the text-based algorithm if the value is null, our database does not contain any keywords the corresponding algorithm could identify as synonymous with keyword
keyword_difficultyintegerНеобязательныйdifficulty of ranking in the first top-10 organic results for a keyword indicates the chance of getting in top-10 organic results for a keyword on a logarithmic scale from 0 to 100; calculated by analysing, among other parameters, link profiles of the first 10 pages in SERP; learn more about the metric in this help center guide
detected_languagestringНеобязательныйdetected language of the keyword indicates the language of the keyword as identified by our system
is_another_languagebooleanНеобязательныйdetected language of the keyword is different from the set language if true, the language set in the request does not match the language determined by our system for a given keyword
serp_infoobjectНеобязательныйSERP data the value will be null if you didn’t set the field include_serp_info to true in the POST array or if there is no SERP data for this keyword in our database
se_typestringНеобязательныйsearch engine type
check_urlstringНеобязательныйdirect URL to search engine results you can use it to make sure that we provided accurate results
serp_item_typesstring[]Необязательныйtypes of search results in SERP contains types of search results (items) found in SERP possible items types: answer_box, app, carousel, multi_carousel, featured_snippet, google_flights, google_reviews, third_party_reviews, google_posts, images, jobs, knowledge_graph, local_pack, hotels_pack, map, organic, paid, people_also_ask, related_searches, people_also_search, shopping, top_stories, twitter, video, events, mention_carousel, recipes, top_sights, scholarly_articles, popular_products, podcasts, questions_and_answers, find_results_on, stocks_box, visual_stories, commercial_units, local_services, google_hotels, math_solver, currency_box, product_considerations, found_on_web, short_videos, refine_products, explore_brands, perspectives, discussions_and_forums, compare_sites, courses, ai_overview; note that the actual results will be returned only for organic, paid, featured_snippet, and local_pack elements
se_results_countstringНеобязательныйnumber of search results for the returned keyword
last_updated_timestringНеобязательныйdate and time when SERP data was updated in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example: 2019-11-15 12:57:46 +00:00
previous_updated_timestringНеобязательныйprevious to the most recent date and time when SERP data was updated in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example: 2019-10-15 12:57:46 +00:00
avg_backlinks_infoobjectНеобязательныйbacklink data for the returned keyword this object provides the average number of backlinks, referring pages and domains, as well as the average rank values among the top-10 websites ranking organically for the keyword
se_typestringНеобязательныйsearch engine type
backlinksnumberНеобязательныйaverage number of backlinks
dofollownumberНеобязательныйaverage number of dofollow links
referring_pagesnumberНеобязательныйaverage number of referring pages
referring_domainsnumberНеобязательныйaverage number of referring domains
referring_main_domainsnumberНеобязательныйaverage number of referring main domains
ranknumberНеобязательныйaverage rank learn more about the metric and its calculation formula in this help center article
main_domain_ranknumberНеобязательныйaverage main domain rank learn more about the metric and its calculation formula in this help center article
last_updated_timestringНеобязательныйdate and time when backlink data was updated in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example: 2019-11-15 12:57:46 +00:00
search_intent_infoobjectНеобязательныйsearch intent info for the returned keyword learn about search intent in this help center article
se_typestringНеобязательныйsearch engine type possible values: google
main_intentstringНеобязательныйmain search intent possible values: informational, navigational, commercial, transactional
foreign_intentstring[]Необязательныйsupplementary search intents possible values: informational, navigational, commercial, transactional
last_updated_timestringНеобязательныйdate and time when search intent data was last updated in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example: 2019-11-15 12:57:46 +00:00