DataForSEO
SEO, search-engine results, keyword research, backlinks and AI visibility data.
Content Analysis – Search API
Lists the individual pages citing a keyword, rather than the totals. Each item carries url, domain, main_domain, url_rank, domain_rank, spam_score, fetch_time, country, language, score and page_category, alongside total_count and items_count. filters accepts the fields listed by get_dataforseo_content_available_filters. For counts and distributions instead of pages, use post_dataforseo_content_summary_live.
Pricing reference
- Metering: Reported response cost.
- Reference request estimate: USD 0.0276.
- Reference customer multiplier: 1.0. Do not apply it again to a settled customer amount.
Reference metadata only, not an account quote, a guaranteed price or a spending cap. Resource credits are not Felo credits. Final charges follow Felo billing records.
- Type: array (object | null)[]
- filtersType: array (object | null)[] | null
array of results filtering parameters
optional field
you can add several filters at once (8 filters maximum)
you should set a logical operatorand,orbetween the conditions
the following operators are supported:regex,not_regex,<,<=,>,>=,=,<>,in,not_in,like,not_like,match,not_match
you can use the%operator withlikeandnot_liketo match any string of zero or more characters
example:["country","=", "US"][["domain_rank",">",800],"and",["content_info.connotation_types.negative",">",0.9]][["domain_rank",">",800],
"and",
[["page_types","has","ecommerce"],
"or",["content_info.text_category","has",10994]]]
for more information about filters, please refer to Content Analysis API - FiltersEmpty object - keywordType: string
target keyword
required field
UTF-8 encoding
the keywords will be converted to a lowercase format;
Note: to match an exact phrase instead of a stand-alone keyword, use double quotes and backslashes;
example:"keyword": "\"tesla palo alto\""learn more about rules and limitations of
keywordandkeywordsfields in DataForSEO APIs in this Help Center article - keywordType: object | null
_fields target keyword fields and target keywords
optional field
use this parameter to filter the dataset by keywords that certain fields should contain;
fields you can specify:title,main_title,previous_title,snippet
you can indicate several fields;
Note: to match an exact phrase instead of a stand-alone keyword, use double quotes and backslashes;
example:"keyword_fields": {<br>"snippet": "\"logitech mouse\"",<br>"main_title": "sale"<br>}"- propertyType: string | null
Name
- limitType: integer | null
the maximum number of returned citations
optional field
default value:100
maximum value:1000 - offsetType: integer | null
offset in the results array of returned citations
optional field
default value:0
if you specify the10value, the first ten citations in the results array will be omitted and the data will be provided for the successive citations
Note: we recommend using this parameter only when retrieving up to 10,000 results
for retrieving over 10,000 results, use theoffset_tokeninstead. - offsetType: string | null
_token offset token for subsequent requests
optional field
provided in the identical field of the response to each request;
use this parameter to avoid timeouts while trying to obtain over 10,000 results in a single request;
by specifying the uniqueoffset_tokenvalue from the response array, you will get the subsequent results of the initial task;offset_tokenvalues are unique for each subsequent task
Note: if theoffset_tokenis specified in the request, all other parameters exceptlimitwill not be taken into account when processing a task
learn more about this parameter on our Help Center - orderType: array string[] | null
_by results sorting rules
optional field
you can use the same values as in thefiltersarray to sort the results
possible sorting types:asc- results will be sorted in the ascending orderdesc- results will be sorted in the descending order
you should use a comma to set up a sorting type
example:["content_info.sentiment_connotations.anger,desc"]
default rule:["content_info.sentiment_connotations.anger,desc"]
note that you can set no more than three sorting rules in a single request
you should use a comma to separate several sorting rules
example:["content_info.sentiment_connotations.anger,desc","keyword_data.keyword_info.cpc,desc"] - pageType: array string[] | null
_type target page types
optional field
use this parameter to filter the dataset by page types
possible values:"ecommerce","news","blogs","message-boards","organization" - rankType: string | null
_scale defines the scale used for calculating and displaying the
domain_rank, andurl_rankvalues
optional fieldyou can use this parameter to choose whether rank values are presented on a 0–100 or 0–1000 scale
possible values:
one_hundred— rank values are displayed on a 0–100 scaleone_thousand— rank values are displayed on a 0–1000 scaledefault value:
one_thousandlearn more about how this parameter works in this Help Center article
- searchType: string | null
_mode results grouping type
optional field
possible grouping types:as_is- returns all citations for the targetkeywordone_per_domain- returns one citation of thekeywordper domain
default value:as_is - tagType: string | null
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 specifiedtagvalue in thedataobject of the response
- Type: object | null · Response36Afe1097B20_ContentAnalysisSearchLiveResponseInfo200
- Type: number | null Format: doublecost
total tasks cost, USD
- Type: integer | nullstatus
_code general status code you can find the full list of the response codes here
- Type: string | nullstatus
_message general informational message you can find the full list of general informational messages here
- Type: array (object | null)[] | nulltasks
array of tasks
- Type: object | null · Response36Afe1097B20_ContentAnalysisSearchLiveTaskInfo
- costType: number | null Format: double
total tasks cost, USD
- dataType: object | null
contains the same parameters that you specified in the POST request
- propertyType: object | null
Name
- idType: string | null
task identifier unique task identifier in our system in the UUID format
- pathType: array (string | null)[] | null
URL path
- resultType: array (object | null)[] | null
array of results
- itemsType: array (object | null)[] | null
contains citations and related data
- contentType: object | null · Response36Afe1097B20_AnalysisContentInfo
_info contains data on citations from the given
url- authorType: string | null
author of the content
- connotationType: object | null
_types connotation types
contains types of sentiments (sentiment polarity) related to the given citation and probability index per each sentiment type
possible sentiment connotation types:positive,negative,neutral- propertyType: integer | null Format: int64
Name Signed 64-bit integers (long type).
- contentType: integer | null
_quality _score content quality score
this value is calculated based on the number of words, sentences and characters the content contains - contentType: string | null
_type type of content
example:page_content,comment - dateType: string | null
_published date and time when the content was published
in the UTC format: "yyyy-mm-dd hh-mm-ss +00:00"
example:2017-01-24 13:20:59 +00:00 - groupType: string | null
_date citation group date and time
indicates content publication date or date and time when our crawler visited the page for the first time;
this field can be used to group citations by date and display citation trends;
date and time are provided in the UTC format: "yyyy-mm-dd hh-mm-ss +00:00"
example:2017-01-24 13:20:59 +00:00 - highlightedType: string | null
_text highlighted text from the
snippet - languageType: string | null
- levelType: integer | null
titleheading level
indicates h-tag level from1(top) to6(bottom) - mainType: string | null
_title page title
- previousType: string | null
_title title of the previous content block
- ratingType: object | null · Response36Afe1097B20_ContententRatingInfo
content rating
rating related tocontent_info- maxType: number | null Format: double
_rating _value maximum value for the rating name
- nameType: string | null
rating name here you can find the following elements: Max5, Percents, CustomMax
- ratingType: integer | null Format: int64
_count number of votes
- ratingType: number | null Format: double
_value the value of the rating
- relativeType: number | null Format: double
_rating relative rating
- semanticType: string | null
_location semantic location
indicates semantic element in HTML where the target keyword citation is located
example:article,header - sentimentType: object | null
_connotations sentiment connotations
contains sentiments (emotional reactions) related to the given citation and probability index per each sentiment
possible sentiment connotations:anger,happiness,love,sadness,share,fun- propertyType: integer | null Format: int64
Name Signed 64-bit integers (long type).
- snippetType: string | null
content snippet
- snippetType: integer | null
_length character length of the snippet
- socialType: array (object | null)[] | null
_metrics social media engagement metrics
data on social media interactions associated with the content based on website embeds developed and supported by social media platforms- likeType: integer | null Format: int64
_count likes count
- typeType: string | null
type of element
- textType: array integer[] | null
_category - titleType: string | null
title of the result
- countryType: string | null
- domainType: string | null
domain name
- domainType: integer | null
_rank rank of the
domain
this value is based on backlink data for the given domain from DataForSEO Backlink Index;domain_rankis calculated based on the method for node ranking in a linked database – a principle used in the original Google PageRank algorithm
learn more about the metric and how it is calculated in this help center article - fetchType: string | null
_time date and time when our crawler visited the page
in the UTC format: "yyyy-mm-dd hh-mm-ss +00:00"
example:2017-01-24 13:20:59 +00:00 - languageType: string | null
- mainType: string | null
_domain main domain
- pageType: array integer[] | null
_category - pageType: array string[] | null
_types page types
- ratingsType: array (object | null)[] | null
ratings found on the page
all ratings found on the page based on microdata- maxType: number | null Format: double
_rating _value maximum value for the rating name
- nameType: string | null
rating name here you can find the following elements: Max5, Percents, CustomMax
- ratingType: integer | null Format: int64
_count number of votes
- ratingType: number | null Format: double
_value the value of the rating
- relativeType: number | null Format: double
_rating relative rating
- scoreType: number | null
citation prominence score
this value is based onurl_rank,domain_rank,keywordpresence intitle,main_title,url,snippet
the higher thescore, the more value the related citation has - socialType: array (object | null)[] | null
_metrics social media engagement metrics
data on social media interactions associated with the content based on website embeds developed and supported by social media platforms- likeType: integer | null Format: int64
_count likes count
- typeType: string | null
type of element
- spamType: integer | null
_score - typeType: string | null
type of element
- urlType: string | null
URL where the citation was found
- urlType: integer | null
_rank rank of the
url
this value is based on backlink data for the given URL from DataForSEO Backlink Index;url_rankis calculated based on the method for node ranking in a linked database – a principle used in the original Google PageRank algorithm
learn more about the metric and how it is calculated in this help center article
- itemsType: integer | null Format: int64
_count the number of results returned in the
itemsarray - offsetType: string | null
_token offset token for subsequent requests
you can use the string provided in this field to get the subsequent results of the initial task;
note:offset_tokenvalues are unique for each subsequent task - totalType: integer | null Format: int64
_count total amount of results in our database relevant to your request
- resultType: integer | null Format: int64
_count number of elements in the result array
- statusType: integer | null
_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
- statusType: string | null
_message informational message of the task you can find the full list of general informational messages here
- timeType: string | null
execution time, seconds
- Type: integer | null Format: int64tasks
_count the number of tasks in the tasks array
- Type: integer | null Format: int64tasks
_error the number of tasks in the tasks array returned with an error
- Type: string | nulltime
total execution time, seconds
- Type: string | nullversion
the current version of the API
application/json - 400
The request could not be processed. Check the request parameters.
- 401
A valid Felo API key is required.
- 402
The request cannot proceed because a billing requirement is not met.
- 403
The account is not permitted to perform this operation.
- 429
A request or spending limit has been reached.
- 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
Error response; upstream passthrough responses may use provider formats
application/json
curl https://openapi.felo.ai/v1/beta/dataforseo/content_analysis/search/live \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '[
{
"keyword_fields": {
"snippet": "logitech"
},
"keyword": "logitech",
"page_type": [
"ecommerce",
"news",
"blogs",
"message-boards",
"organization"
],
"search_mode": "as_is",
"filters": [
"main_domain",
"=",
"reviewfinder.ca"
],
"order_by": [
"content_info.sentiment_connotations.anger,desc"
],
"limit": 10
}
]'
{
"version": null,
"status_code": null,
"status_message": null,
"time": null,
"cost": null,
"tasks_count": null,
"tasks_error": null,
"tasks": [
{
"id": null,
"status_code": null,
"status_message": null,
"time": null,
"cost": null,
"result_count": null,
"path": [
null
],
"data": null,
"result": [
{
"offset_token": null,
"total_count": null,
"items_count": null,
"items": [
{
"type": null,
"url": null,
"domain": null,
"main_domain": null,
"url_rank": null,
"spam_score": null,
"domain_rank": null,
"fetch_time": null,
"country": null,
"language": null,
"score": null,
"page_category": [
"[Max Depth Exceeded]"
],
"page_types": [
"[Max Depth Exceeded]"
],
"ratings": [
"[Max Depth Exceeded]"
],
"social_metrics": [
"[Max Depth Exceeded]"
],
"content_info": "[Max Depth Exceeded]"
}
]
}
]
}
]
}