ips_top_ases
Creates, updates, deletes, gets or lists an ips_top_ases resource.
Overview
| Name | ips_top_ases |
| Type | Resource |
| Id | cloudflare.radar.ips_top_ases |
Fields
The following fields are returned by SELECT queries:
- list
Successful response.
| Name | Datatype | Description |
|---|---|---|
anchorTs | string (date-time) | |
asns | array | |
country | string | |
metric | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | date, limit, metric, country, format | Returns the top-N autonomous systems by announced IP space at the nearest 8-hour RIB boundary at or before the requested date. The snapped boundary is returned as anchor_ts. |
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 |
|---|---|---|
country | string | Optional ISO 3166-1 alpha-2 country filter. Omit for global top-N. |
date | string (date-time) | Filters results by the specified datetime (ISO 8601). |
format | string | Format in which results will be returned. |
limit | integer | Limits the number of objects returned in the response. |
metric | string | Ranking metric: IPv4 /24 count or IPv6 /48 count. |
SELECT examples
- list
Returns the top-N autonomous systems by announced IP space at the nearest 8-hour RIB boundary at or before the requested date. The snapped boundary is returned as anchor_ts.
SELECT
anchorTs,
asns,
country,
metric
FROM cloudflare.radar.ips_top_ases
WHERE date = '{{ date }}'
AND limit = '{{ limit }}'
AND metric = '{{ metric }}'
AND country = '{{ country }}'
AND format = '{{ format }}'
;