Push the boundaries of what DataForSEO can do

Learn about the latest updates

Back

Introducing Domains by HTML Terms!

January,16 2023 16:35:10

Announcement
Domain Analytics API
Introducing Domains by HTML Terms!

We’re glad to share this week’s first announcement – we’ve added a new endpoint to Domain Analytics Technologies API. It’s called Domains by HTML Terms.

With this endpoint, you can now search for domains based on HTML terms they use on their homepage. When setting a task, specify up to 10 target HTML elements, tags, attributes, their content, or all of the above in the search_terms array.

Note that 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.

Example cURL request:

# Instead of 'login' and 'password' use your credentials from https://app.dataforseo.com/api-dashboard
login="login"
password="password"
cred="$(printf ${login}:${password} | base64)"
curl --location --request POST "https://api.dataforseo.com/v3/domain_analytics/technologies/domains_by_html_terms/live"
--header "Authorization: Basic ${cred}" 
--header "Content-Type: application/json"
--data-raw "[
   {
       "search_terms": [
           "data-attrid"
       ],
       "order_by": [
           "last_visited,desc"
       ],
       "limit": 10,
       "offset": 0
   }
]"

Besides the list of domains relevant to your search, the API response will also serve you with the domains’ technology profiles, the country and language they belong to, and other related data. The response data structure is identical to the Domains by Technology endpoint response.

The cost of using Domains by HTML Terms is also the same as that of Domains by Technology. See our pricing page for more info.
‌‌
We hope you enjoy this new release and make the most out of it!