Skip to main content

ranking_top

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

Overview

Nameranking_top
TypeResource
Idcloudflare.radar.ranking_top

Fields

The following fields are returned by SELECT queries:

Successful response.

NameDatatypeDescription
metaobject
top_0array

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectlimit, name, location, domainCategory, date, rankingType, formatRetrieves the top or trending domains based on their rank. Popular domains are domains of broad appeal based on how people use the Internet. Trending domains are domains that are generating a surge in interest. For more information on top domains, see https://blog.cloudflare.com/radar-domain-rankings/.

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
datearrayFilters results by the specified array of dates.
domainCategoryarrayFilters results by domain category.
formatstringFormat in which results will be returned.
limitintegerLimits the number of objects returned in the response.
locationarrayFilters results by location. Specify a comma-separated list of alpha-2 location codes.
namearrayArray of names used to label the series in the response.
rankingTypestringThe ranking type.

SELECT examples

Retrieves the top or trending domains based on their rank. Popular domains are domains of broad appeal based on how people use the Internet. Trending domains are domains that are generating a surge in interest. For more information on top domains, see https://blog.cloudflare.com/radar-domain-rankings/.

SELECT
meta,
top_0
FROM cloudflare.radar.ranking_top
WHERE limit = '{{ limit }}'
AND name = '{{ name }}'
AND location = '{{ location }}'
AND domainCategory = '{{ domainCategory }}'
AND date = '{{ date }}'
AND rankingType = '{{ rankingType }}'
AND format = '{{ format }}'
;