Felo API PlatformFelo API Platform

数据 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