# RIR Prefix Size Distribution


This data call returns the number of allocations and assignments (below the queried resource) according to registration data provided by Regional Internet Registries.

GET /data/rir-prefix-size-distribution/data.json?resource=140.0.0.0/8

# Parameters

Key Value Info Required
resource Prefix to query for - YES
query_time ISO8601 or Unix timestamp; note that every query_time passed will be normalized to midnight Defines the query time NO

# Data Output

Key Info
rirs A list of prefix size distributions grouped by RIR. Each item has the following structure:
rir AFRINIC, APNIC, ARIN, LACNIC or RIPE NCC
distribution A list of distributions grouped by prefix size. Each distribution has the following strucutre:
prefix_size The prefix size in bits
count The number of prefixes of this size
resource holds the resource this query based on
query_starttime/query_endtime defines the time period the query covers

# Code Examples

# Available versions for this data call:

0.6

This is the current and only version of this API call.

Last Updated: Tuesday, 16 November 2021