Data API / DataForSEO / Domain Analytics
Domains by HTML Terms
Finds domains whose HTML contains given search_terms - a raw string match where post_dataforseo_domains_tech_domains_by_technology_live matches a detected technology. Use it for a tracking snippet, an affiliate tag or a template signature that no detector names. Returns total_count, items_count, offset, offset_token and items carrying the same profile as the technology search.
Parameters
No path, query, or header parameters.
Request body
search_termsstring[]Requiredtarget search terms required field specify target HTML elements, tags, attributes, their content or all of the above if you specify more than one search term, you will receive only the domains containing all of the specified terms in the HTML code of their homepage maximum number of search terms you can specify: 10 example: ["data-attrid"]
keywordsstring[]Optionaltarget keywords in the domain’s title, description or meta keywords optional field UTF-8 encoding maximum number of keywords you can specify: 10 example: ["seo","software"] learn more about rules and limitations of keyword and keywords fields in DataForSEO APIs in this Help Center article
modestringOptionalsearch mode optional field possible search mode types: strict_entry – search for results exactly matching the order, intervals and separators in the specified search terms entry – search for results ignoring the order, intervals and separators in the specified search terms default value: entry
filtersarrayOptionalarray of results filtering parameters optional field you can add several filters at once (8 filters maximum) you should set a logical operator and, or between the conditions the following operators are supported: , , >, >=, =, , in, not_in, like, not_like you can use the % operator with like and not_like to match any string of zero or more characters example: ["domain","like","%seo%"] [["country_iso_code","=","US"], "and", ["domain_rank",">",100]] [["domain_rank",">",100], "and", [["country_iso_code","=","US"],"or",["country_iso_code","=","CA"]]] for more information about filters, please refer to Domain Analytics Technologies API – Filters
order_bystring[]Optionalresults sorting rules optional field available fields: domain_rank, domain, last_visited, country_iso_code, language_code, content_language_code possible sorting types: asc – results will be sorted in the ascending order desc – results will be sorted in the descending order you should use a comma to set up a sorting type example: ["last_visited,desc"] default rule: ["domain_rank,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: ["last_visited,desc","domain_rank,desc"]
limitintegerOptionalthe maximum number of returned domains optional field default value: 100 maximum value: 10000
offsetintegerOptionaloffset in the results array of returned domains optional field default value: 0 if you specify the 10 value, the first ten domains in the results array will be omitted and the data will be provided for the successive domains; Note: the maximum value is 9999, the sum of limit and offset must not exceed 10000; use the offset_token if you would like to offset more results
offset_tokenstringOptionaltoken for subsequent requests optional field provided in the identical filed of the response to each request; use this parameter to avoid timeouts while trying to obtain over 100,000 results in a single request; by specifying the unique offset_token value from the response array, you will get the subsequent results of the initial task; offset_token values are unique for each subsequent task Note: if the offset_token is specified in the request, all other parameters should be identical to the previous request learn more about this parameter on our Help Center
Example request
curl -X POST "https://openapi.felo.ai/v1/beta/dataforseo/domain_analytics/technologies/domains_by_html_terms/live" \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"search_terms": [
"<string>"
],
"keywords": [
"<string>"
],
"mode": "<string>",
"filters": "<string>",
"order_by": [
"<string>"
],
"limit": 0,
"offset": 0,
"offset_token": "<string>"
}'Response
Response fields
versionstringOptionalthe current version of the API
status_codeintegerOptionalgeneral 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_messagestringOptionalgeneral informational message you can find the full list of general informational messages here
timestringOptionalexecution time, seconds
costnumberOptionaltotal tasks cost, USD
tasks_countintegerOptionalthe number of tasks in the tasks array
tasks_errorintegerOptionalthe number of tasks in the tasks array returned with an error
tasksstring[]Optionalarray of tasks
idstringOptionaltask identifier unique task identifier in our system in the UUID format
status_codeintegerOptionalstatus 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_messagestringOptionalinformational message of the task you can find the full list of general informational messages here
timestringOptionalexecution time, seconds
costnumberOptionalcost of the task, USD
result_countintegerOptionalnumber of elements in the result array
pathstring[]OptionalURL path
dataobjectOptionalcontains the same parameters that you specified in the POST request
resultstring[]Optionalarray of results
total_countintegerOptionaltotal number of relevant items in the database
items_countintegerOptionalnumber of items in the results array
offsetintegerOptionalspecified offset value
offset_tokenstringOptionaltoken for subsequent requests by specifying the unique offset_token when setting a new task, you will get the subsequent results of the initial task; offset_token values are unique for each subsequent task
itemsstring[]Optionalitems array
typestringOptionaltype of the item = ‘domain_technology_item’
domainstringOptionalspecified domain name
titlestringOptionaldomain meta title
descriptionstringOptionaldomain meta description
meta_keywordsstring[]Optionaldomain meta keywords
domain_rankstringOptionalbacklink rank of the target domain learn more about the metric and how it is calculated in this help center article
last_visitedstringOptionalmost recent date when our crawler visited the domain in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example: 2022-10-10 12:57:46 +00:00
country_iso_codestringOptionaldomain ISO code ISO code of the country that target domain is determined to belong to
language_codestringOptionaldomain language code of the language that target domain is determined to be associated with
content_language_codestringOptionalcontent language code of the language that content on the target domain is written with
phone_numbersstring[]Optionalphone numbers of the target contact phone numbers indicated on the target website
emailsstring[]Optionalemails of the target emails indicated on the target website
social_graph_urlsstring[]Optionalsocial media links and handles social media URLs detected in the social graphs of the target website
technologiesobjectOptionaltechnologies used by target domain contains objects with the names of technologies used on the website; to get a full list of technologies and their structure, refer to the technologies endpoint