資料 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.
參數
沒有路徑、查詢或請求標頭參數。
請求主體
search_termsstring[]必填target 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[]選填target 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
modestring選填search 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
filtersarray選填array 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[]選填results 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"]
limitinteger選填the maximum number of returned domains optional field default value: 100 maximum value: 10000
offsetinteger選填offset 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_tokenstring選填token 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
請求範例
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>"
}'回應
回應欄位
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
total_countinteger選填total number of relevant items in the database
items_countinteger選填number of items in the results array
offsetinteger選填specified offset value
offset_tokenstring選填token 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[]選填items array
typestring選填type of the item = ‘domain_technology_item’
domainstring選填specified domain name
titlestring選填domain meta title
descriptionstring選填domain meta description
meta_keywordsstring[]選填domain meta keywords
domain_rankstring選填backlink rank of the target domain learn more about the metric and how it is calculated in this help center article
last_visitedstring選填most 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_codestring選填domain ISO code ISO code of the country that target domain is determined to belong to
language_codestring選填domain language code of the language that target domain is determined to be associated with
content_language_codestring選填content language code of the language that content on the target domain is written with
phone_numbersstring[]選填phone numbers of the target contact phone numbers indicated on the target website
emailsstring[]選填emails of the target emails indicated on the target website
social_graph_urlsstring[]選填social media links and handles social media URLs detected in the social graphs of the target website
technologiesobject選填technologies 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