Skip to main content

domains

Creates, updates, deletes, gets or lists a domains resource.

Overview

Namedomains
TypeResource
Idcloudflare.intel.domains

Fields

The following fields are returned by SELECT queries:

Get Domain Details response.

NameDatatypeDescription
additional_informationobjectAdditional information related to the host name.
applicationobjectApplication that the hostname belongs to.
content_categoriesarray
domainstring (example: cloudflare.com)
inherited_content_categoriesarray
inherited_fromstringDomain from which inherited_content_categories and inherited_risk_types are inherited, if applicable.
inherited_risk_typesarray
popularity_rankintegerGlobal Cloudflare 100k ranking for the last 30 days, if available for the hostname. The top ranked domain is 1, the lowest ranked domain is 100,000.
resolves_to_refsarraySpecifies a list of references to one or more IP addresses or domain names that the domain name currently resolves to.
risk_scorenumberHostname risk score, which is a value between 0 (lowest risk) to 1 (highest risk).
risk_typesarray

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectaccount_iddomain, skip_dnsGets security details and statistics about a domain.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.
domainstring
skip_dnsbooleanSkip DNS resolution lookups for faster response.

SELECT examples

Gets security details and statistics about a domain.

SELECT
additional_information,
application,
content_categories,
domain,
inherited_content_categories,
inherited_from,
inherited_risk_types,
popularity_rank,
resolves_to_refs,
risk_score,
risk_types
FROM cloudflare.intel.domains
WHERE account_id = '{{ account_id }}' -- required
AND domain = '{{ domain }}'
AND skip_dns = '{{ skip_dns }}'
;