This service allows you to query the prefixes associated with a given autonomous system. Its data come from Routeviews.
Endpoints:
/ip: Query prefixes.
Parameters:
as (required): comma-separated list of autonomous system numbers to query
family (optional): either “4”, “6”, or “46”, indicating the family or families of addresses you would like. Defaults to “4”.
format (optional): either “cidr” or “name-cidr”, indicating the style of output you would like. Defaults to “cidr”, which simply lists the prefixes; “name-cidr” includes the AS number and name on each line.