# Allocation History
This data call returns information supplied by IANA and RIRs for allocations and direct assignments of prefixes and AS numbers of time.
GET /data/allocation-history/data.json?resource=140.78/16&starttime=2020-12-12T12:00
# Parameters
Key | Value | Info | Required |
---|---|---|---|
resource | prefix, IP range or ASN | YES | |
starttime | ISO8601 or Unix timestamp | Defines the starttime for the query | NO |
endtime | ISO8601 or Unix timestamp | Defines the endtime for the query. If not set it falls back to "now". | NO |
# Data Output
Key | Info | ||||||
---|---|---|---|---|---|---|---|
results | Contains information on allocations and direct assignments by IANA and the RIR(s) authoritative for the resource. Each block has the following structure:
| ||||||
query_starttime | Defines the starttime the query covers | ||||||
query_endtime | Defines the endtime the query covers | ||||||
resource | Defines the resource used for the query |
# Code Examples
# Available versions for this data call:
1.0
Difference to 1.*: "resource" field for AS queries is with the "AS" prefix