domain
Creates, updates, deletes, gets or lists a domain resource.
Overview
| Name | domain |
| Type | Resource |
| Id | cloudflare.radar.domain |
Fields
The following fields are returned by SELECT queries:
- get
Successful response.
| Name | Datatype | Description |
|---|---|---|
details_0 | object | |
meta | object |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | domain | limit, rankingType, name, includeTopLocations, date, format | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
domain | string | Domain name. |
date | array | Filters results by the specified array of dates. |
format | string | Format in which results will be returned. |
includeTopLocations | boolean | Includes top locations in the response. |
limit | integer | Limits the number of objects returned in the response. |
name | array | Array of names used to label the series in the response. |
rankingType | string | The ranking type. |
SELECT examples
- get
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 }}'
;