Gets Domains 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.
/radar/ranking/domain/{domain}
get
Radar Ranking
radar-get-ranking-domain-details
{
"business": true,
"enterprise": true,
"free": true,
"pro": true
} {
"enum": [
"com.cloudflare.api.user.read"
]
} [
{
"in": "path",
"name": "domain",
"required": true,
"schema": {
"example": "google.com",
"pattern": "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9])$",
"type": "string"
}
},
{
"in": "query",
"name": "limit",
"schema": {
"description": "Limit the number of objects in the response.",
"example": 5,
"type": "integer"
}
},
{
"in": "query",
"name": "rankingType",
"schema": {
"default": "POPULAR",
"description": "The ranking type.",
"enum": [
"POPULAR",
"TRENDING_RISE",
"TRENDING_STEADY"
],
"example": "POPULAR",
"type": "string"
}
},
{
"in": "query",
"name": "name",
"schema": {
"description": "Array of names that will be used to name the series in responses.",
"example": "main_series",
"items": {
"type": "string"
},
"type": "array"
}
},
{
"in": "query",
"name": "date",
"schema": {
"description": "Array of dates to filter the ranking.",
"example": "2022-09-19",
"items": {
"nullable": true,
"type": "string"
},
"type": "array"
}
},
{
"in": "query",
"name": "format",
"schema": {
"description": "Format results are returned in.",
"enum": [
"JSON",
"CSV"
],
"example": "json",
"type": "string"
}
}
] null {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"result": {
"properties": {
"details_0": {
"properties": {
"bucket": {
"description": "Only available in POPULAR ranking for the most recent ranking.",
"example": "2000",
"type": "string"
},
"categories": {
"items": {
"properties": {
"id": {
"example": 81,
"type": "number"
},
"name": {
"example": "Content Servers",
"type": "string"
},
"superCategoryId": {
"example": 26,
"type": "number"
}
},
"required": [
"superCategoryId",
"name",
"id"
],
"type": "object"
},
"type": "array"
},
"rank": {
"example": 3,
"type": "integer"
},
"top_locations": {
"items": {
"properties": {
"locationCode": {
"example": "US",
"type": "string"
},
"locationName": {
"example": "United States",
"type": "string"
},
"rank": {
"example": 1,
"type": "integer"
}
},
"required": [
"rank",
"locationName",
"locationCode"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"categories",
"top_locations"
],
"type": "object"
}
},
"required": [
"details_0"
],
"type": "object"
},
"success": {
"example": true,
"type": "boolean"
}
},
"required": [
"result",
"success"
],
"type": "object"
}
}
},
"description": "Successful Response"
},
"400": {
"content": {
"application/json": {
"schema": {
"properties": {
"errors": {
"items": {
"properties": {
"message": {
"type": "string"
}
},
"required": [
"message"
],
"type": "object"
},
"type": "array"
},
"result": {
"type": "object"
},
"success": {
"example": false,
"type": "boolean"
}
},
"required": [
"result",
"success",
"errors"
],
"type": "object"
}
}
},
"description": "Bad Request"
}
} [
{
"api_email": [],
"api_key": []
}
]