DataForSEO
SEO, search-engine results, keyword research, backlinks and AI visibility data.
Bulk Keyword Difficulty
Difficulty scores for many keywords in one call. Returns se_type, total_count, 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. Price is per call, not per keyword, so send the whole list. For the full picture on fewer keywords use post_dataforseo_labs_google_keyword_overview_live.
- 類型: array object[]
- 類型: object
- keywords類型: array string[]必填
target keywords required field UTF-8 encoding maximum number of keywords you can specify in this array: 1000 the keywords will be converted to lowercase format learn more about rules and limitations of keyword and keywords fields in DataForSEO APIs in this Help Center article
- language類型: string
_code language code required field if don’t 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 example: en
- language類型: string
_name full name of the language required field if don’t 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 example: English
- location類型: integer
_code location code required field if don’t 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 example: 2840
- location類型: string
_name full name of the location required field if don’t 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 example: United Kingdom
- tag類型: string
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
空物件空物件
- 類型: object200
Successful response
- 類型: numbercost
total tasks cost, USD
- 類型: integerstatus
_code 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
- 類型: stringstatus
_message general informational message you can find the full list of general informational messages here
- 類型: array string[]tasks
array of tasks
- 類型: integertasks
_count the number of tasks in the tasks array
- 類型: integertasks
_error the number of tasks in the tasks array returned with an error
- 類型: numbertasks
.cost cost of the task, USD
- 類型: objecttasks
.data contains the same parameters that you specified in the POST request
- 類型: stringtasks
.id task identifier unique task identifier in our system in the UUID format
- 類型: array string[]tasks
.path URL path
- 類型: array string[]tasks
.result array of results
- 類型: integertasks
.result _count number of elements in the result array
- 類型: array string[]tasks
.result .items contains keywords and related keyword difficulty scores
- 類型: integertasks
.result .items _count the number of results returned in the items array
- 類型: stringtasks
.result .items .keyword keyword in a POST array
- 類型: integertasks
.result .items .keyword _difficulty 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
- 類型: stringtasks
.result .items .se _type search engine type
- 類型: stringtasks
.result .language _code language code in a POST array if there is no data, then the value is null
- 類型: integertasks
.result .location _code location code in a POST array if there is no data, then the value is null
- 類型: stringtasks
.result .se _type search engine type
- 類型: integertasks
.result .total _count total amount of results in our database relevant to your request
- 類型: integertasks
.status _code 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
- 類型: stringtasks
.status _message informational message of the task you can find the full list of general informational messages here
- 類型: stringtasks
.time execution time, seconds
- 類型: stringtime
execution time, seconds
- 類型: stringversion
the current version of the API
application/json - 400
Bad request
- 401
Unauthorized
- 402
The request cannot proceed because a billing requirement is not met.
- 403
The account is not permitted to perform this operation.
- 429
Rate limit exceeded
- 500
Internal server error
- 502
The service could not complete the request.
- 503
The API or billing service is temporarily unavailable.
- 504
The service timed out while processing the request.
- default
The operation failed. Keep the response request ID when contacting Felo support.
curl https://openapi.felo.ai/v1/beta/dataforseo/dataforseo_labs/google/bulk_keyword_difficulty/live \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '[
{},
{}
]'
{
"version": "string",
"status_code": 1,
"status_message": "string",
"time": "string",
"cost": 1,
"tasks_count": 1,
"tasks_error": 1,
"tasks": [
"string"
],
"tasks.id": "string",
"tasks.status_code": 1,
"tasks.status_message": "string",
"tasks.time": "string",
"tasks.cost": 1,
"tasks.result_count": 1,
"tasks.path": [
"string"
],
"tasks.data": {},
"tasks.result": [
"string"
],
"tasks.result.se_type": "string",
"tasks.result.location_code": 1,
"tasks.result.language_code": "string",
"tasks.result.total_count": 1,
"tasks.result.items_count": 1,
"tasks.result.items": [
"string"
],
"tasks.result.items.se_type": "string",
"tasks.result.items.keyword": "string",
"tasks.result.items.keyword_difficulty": 1
}