Skip to main content

domain

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

Overview

Namedomain
TypeResource
Idcloudflare.radar.domain

Fields

The following fields are returned by SELECT queries:

Successful response.

NameDatatypeDescription
details_0object
metaobject

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdomainlimit, rankingType, name, includeTopLocations, date, formatRetrieves domain rank details. Cloudflare provides an ordered rank for the top 100 domains, but for the remainder it only provides ranking buckets like top 200 thousand, top one million, etc.. These are available through Radar datasets endpoints.

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
domainstringDomain name.
datearrayFilters results by the specified array of dates.
formatstringFormat in which results will be returned.
includeTopLocationsbooleanIncludes top locations in the response.
limitintegerLimits the number of objects returned in the response.
namearrayArray of names used to label the series in the response.
rankingTypestringThe ranking type.

SELECT examples

Retrieves domain rank details. Cloudflare provides an ordered rank for the top 100 domains, but for the remainder it only provides ranking buckets like top 200 thousand, top one million, etc.. These are available through Radar datasets endpoints.

SELECT
details_0,
meta
FROM cloudflare.radar.domain
WHERE domain = '{{ domain }}' -- required
AND limit = '{{ limit }}'
AND rankingType = '{{ rankingType }}'
AND name = '{{ name }}'
AND includeTopLocations = '{{ includeTopLocations }}'
AND date = '{{ date }}'
AND format = '{{ format }}'
;