We’ve updated the ASN API.
A few additions that have been on the request list for a while:
Prefix objects now include:
size— number of IPs in the prefixstatus— RIR allocation status (e.g.ALLOCATED PA,ALLOCATED-BY-RIRetc.)domain— domain associated with the prefixrpki_status— RPKI validation state (valid,invalid:origin,invalid:originornot_found.)
New top-level fields:
peers— ASNs peering with this networkupstreams— upstream transit providersdownstreams— downstream customers
One thing worth noting: size on IPv6 prefixes is returned as a string. IPv6 address counts exceed the JavaScript safe integer range, so we made that call to avoid silent precision loss.
Full updated schema is in the docs: ASN API | IPinfo.io