Get ranges by ASN
GET https://ip-netblocks.whoisxmlapi.com/api/v2?asn=2544
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
asn | number | Get ranges by ASN (Autonomous System Number). | |
outputFormat | null | Response output format. Acceptable values: JSON | |
limit | null | Max count of returned records. Acceptable values: 1 - 1000. | |
from | null | The IP netblock range is used as an offset for the returned results. |
RESPONSES
status: OK
{"search":"2544","result":{"count":2,"limit":2,"from":"","next":"146.129.255.0-146.129.255.255","inetnums":[{"inetnum":"198.49.222.0 - 198.49.222.255","inetnumFirst":281474006900224,"inetnumLast":281474006900479,"inetnumFirstString":"281474006900224","inetnumLastString":"281474006900479","as":{"asn":2544,"name":"METRO-AS","type":"Cable/DSL/ISP","route":"198.49.222.0/24","domain":"http://www.kingcounty.gov"},"netname":"METRO-NET","nethandle":"NET-198-49-222-0-1","description":[],"modified":"2021-12-14T00:00:00Z","country":"US","city":"Seattle","address":["401 5th AVE","Suite 700"],"abuseContact":[{"id":"NOC2926-ARIN","role":"Network Operations Center","email":"networkengineering@kingcounty.gov\nnoc@kingcounty.gov\ntodd.berglund@kingcounty.gov","phone":"+1-206-263-7000","country":"US","city":"Seattle","address":["401 Fifth Ave suite 0700"]}],"adminContact":[],"techContact":[{"id":"NOC2926-ARIN","role":"Network Operations Center","email":"networkengineering@kingcounty.gov\nnoc@kingcounty.gov\ntodd.berglund@kingcounty.gov","phone":"+1-206-263-7000","country":"US","city":"Seattle","address":["401 Fifth Ave suite 0700"]}],"org":{"org":"MMS-7","name":"King County Gov","email":"networkengineering@kingcounty.gov\nnoc@kingcounty.gov\ntodd.berglund@kingcounty.gov","phone":"+1-206-263-7000","country":"US","city":"Seattle","postalCode":"98104","address":["401 5th AVE","Suite 700"]},"mntBy":[],"mntDomains":[],"mntLower":[],"mntRoutes":[],"remarks":[],"source":"ARIN"},{"inetnum":"146.129.255.0 - 146.129.255.255","inetnumFirst":281473139736320,"inetnumLast":281473139736575,"inetnumFirstString":"281473139736320","inetnumLastString":"281473139736575","parent":"146.129.0.0 - 146.129.255.255","as":{"asn":2544,"name":"METRO-AS","type":"Cable/DSL/ISP","route":"146.129.255.0/24","domain":"http://www.kingcounty.gov"},"netname":"METROSEA","nethandle":"NET-146-129-0-0-1","description":[],"modified":"2021-12-14T00:00:00Z","country":"US","city":"Seattle","address":["401 5th AVE","Suite 700"],"abuseContact":[{"id":"NOC2926-ARIN","role":"Network Operations Center","email":"networkengineering@kingcounty.gov\nnoc@kingcounty.gov\ntodd.berglund@kingcounty.gov","phone":"+1-206-263-7000","country":"US","city":"Seattle","address":["401 Fifth Ave suite 0700"]}],"adminContact":[],"techContact":[{"id":"NOC2926-ARIN","role":"Network Operations Center","email":"networkengineering@kingcounty.gov\nnoc@kingcounty.gov\ntodd.berglund@kingcounty.gov","phone":"+1-206-263-7000","country":"US","city":"Seattle","address":["401 Fifth Ave suite 0700"]}],"org":{"org":"MMS-7","name":"King County Gov","email":"networkengineering@kingcounty.gov\nnoc@kingcounty.gov\ntodd.berglund@kingcounty.gov","phone":"+1-206-263-7000","country":"US","city":"Seattle","postalCode":"98104","address":["401 5th AVE","Suite 700"]},"mntBy":[],"mntDomains":[],"mntLower":[],"mntRoutes":[],"remarks":[],"source":"ARIN"}]}}