This data call returns address space objects (inetnum, inet6num...) from the RIPE DB (whois) related (exact, more- and less-specific) to the queried resource. Less- and more-specific results are first-level only, further levels would have to be retrieved iteratively.
https://stat.ripe.net/data/address-space-hierarchy/data.<format>?<parameters>
e.g. https://stat.ripe.net/data/address-space-hierarchy/data.json?resource=193/21
For performance reasons, the data call is limited to 1000 returned object for each more- and less-specific results.
Key | Value | Info | Required |
---|---|---|---|
resource | prefix or IP range | The prefix or IP range the address space hierarchy should be returned for. | YES |
Key | Info |
---|---|
exact | A list containing exact matches for the queried resource. |
more_specific | A list containing first level more specific blocks underneath the queried resource. Some of these may be aggregated according to the 'aggr_levels_below' query parameter. |
less_specific | A list containing first level less specific (parent) blocks above the queried resource. |
rir | Name of the RIR where the results are from. Currently this datacall will only respond for resources under RIPE NCC IP space, so this field value will be "ripe". |
resource | Holds the resource the query was based on |
query_time | Holds the time the query was based on |
"data": { "query_time": "2019-01-28T14:17:47", "resource": "193.0.0.0/21", "rir": "ripe", "less_specific": [ { "status": "ALLOCATED PA", "created": "2012-03-09T15:03:38Z", "country": "NL", "mnt-lower": "RIPE-NCC-MNT", "mnt-by": "RIPE-NCC-HM-MNTRIPE-NCC-MNT", "last-modified": "2017-07-19T12:31:22Z", "tech-c": "OPS4-RIPE", "mnt-routes": "RIPE-NCC-MNT", "inetnum": "193.0.0.0-193.0.23.255", "netname": "NL-RIPENCC-OPS-990305", "remarks": "Amsterdam, Netherlands", "org": "ORG-RIEN1-RIPE", "admin-c": "BRD-RIPE", "source": "RIPE" } ], "more_specific": [], "exact": [ { "status": "ASSIGNED PA", "descr": "RIPE Network Coordination CentreAmsterdam, Netherlands", "created": "2003-03-17T12:15:57Z", "country": "NL", "mnt-by": "RIPE-NCC-MNT", "last-modified": "2017-12-04T14:42:31Z", "tech-c": "OPS4-RIPE", "inetnum": "193.0.0.0/21", "netname": "RIPE-NCC", "remarks": "Used for RIPE NCC infrastructure.", "org": "ORG-RIEN1-RIPE", "admin-c": "BRD-RIPE", "source": "RIPE" } ] }