# Address Space Hierarchy

This data call returns address space objects (inetnum or inet6num) from the RIPE Database related to the queried resource. Less- and more-specific results are first-level only, further levels would have to be retrieved iteratively.

GET /data/address-space-hierarchy/data.json?resource=193/21

# Parameters

Key Value Info Required
resource prefix or IP range The prefix or IP range the address space hierarchy should be returned for. YES

# Data Output

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

# Code Examples

# Available versions for this data call:

deprecated - 1.2
current - 1.3
Last Updated: Tuesday, 16 November 2021