{"api":{"id":"api_f475063b7f77f99ae32180b6","slug":"network-as-rank","name":"Network (ASN) Rank & Customer Cone API","description":"Internet network rankings from CAIDA AS Rank: for any AS number or the top N networks, the rank, country, customer cone size (ASNs, prefixes, addresses) and counts of customers, peers and providers.","kind":"ready_made","visibility":"public","domain":"api.asrank.caida.org","source_url":"https://asrank.caida.org/","category":"developer","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":14,"created_at":"2026-12-06T03:57:27.687Z","updated_at":"2026-12-06T03:57:27.687Z","runnable":true},"version":"1.0","contract_hash":"0d05c497f9c025b85f2790c313f86275799990af6b91c50269dfe898ec2e73fb","fields":[{"name":"id","type":"string","description":"The AS number as text.","required":true,"coverage":1,"example":"13335"},{"name":"asn","type":"integer","description":"AS number.","required":false,"coverage":1,"example":13335},{"name":"as_name","type":"string","description":"Network name registered for the AS.","required":false,"coverage":1,"example":"CLOUDFLARENET"},{"name":"rank","type":"integer","description":"CAIDA AS Rank by customer cone size; 1 is the largest.","required":false,"coverage":1,"example":61},{"name":"country","type":"string","description":"Two-letter country code of the network.","required":false,"coverage":1,"example":"US"},{"name":"organization_id","type":"string","description":"CAIDA's id of the organisation that owns the AS.","required":false,"coverage":1,"example":"e62eae750a"},{"name":"customer_cone_asns","type":"integer","description":"Number of networks in the customer cone.","required":false,"coverage":1,"example":1064},{"name":"customer_cone_prefixes","type":"integer","description":"Number of IP prefixes in the customer cone.","required":false,"coverage":1,"example":44598},{"name":"customer_cone_addresses","type":"integer","description":"Number of IP addresses in the customer cone.","required":false,"coverage":1,"example":50474136},{"name":"degree_total","type":"integer","description":"Total number of neighbouring networks.","required":false,"coverage":1,"example":1554},{"name":"degree_customer","type":"integer","description":"Number of customer networks.","required":false,"coverage":1,"example":1063},{"name":"degree_peer","type":"integer","description":"Number of peer networks.","required":false,"coverage":1,"example":393},{"name":"degree_provider","type":"integer","description":"Number of upstream provider networks.","required":false,"coverage":1,"example":98},{"name":"is_clique_member","type":"boolean","description":"True when the network is in the top-tier clique of the internet.","required":false,"coverage":1,"example":true}],"inputs":[{"name":"asns","type":"array","description":"AS numbers to look up, such as 13335 or AS13335.","example":["13335","577"]},{"name":"top_n","type":"integer","description":"Instead of asns: list the top N networks by rank (1 is the largest).","example":100}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"as_name":{"description":"Network name registered for the AS.","type":"string"},"asn":{"description":"AS number.","type":"integer"},"country":{"description":"Two-letter country code of the network.","type":"string"},"customer_cone_addresses":{"description":"Number of IP addresses in the customer cone.","type":"integer"},"customer_cone_asns":{"description":"Number of networks in the customer cone.","type":"integer"},"customer_cone_prefixes":{"description":"Number of IP prefixes in the customer cone.","type":"integer"},"degree_customer":{"description":"Number of customer networks.","type":"integer"},"degree_peer":{"description":"Number of peer networks.","type":"integer"},"degree_provider":{"description":"Number of upstream provider networks.","type":"integer"},"degree_total":{"description":"Total number of neighbouring networks.","type":"integer"},"id":{"description":"The AS number as text.","type":"string"},"is_clique_member":{"description":"True when the network is in the top-tier clique of the internet.","type":"boolean"},"organization_id":{"description":"CAIDA's id of the organisation that owns the AS.","type":"string"},"rank":{"description":"CAIDA AS Rank by customer cone size; 1 is the largest.","type":"integer"}},"required":["id"],"title":"Network (ASN) Rank & Customer Cone API","type":"object"},"samples":[{"id":"13335","asn":13335,"as_name":"CLOUDFLARENET","rank":61,"country":"US","organization_id":"e62eae750a","customer_cone_asns":1064,"customer_cone_prefixes":44598,"customer_cone_addresses":50474136,"degree_total":1554,"degree_customer":1063,"degree_peer":393,"degree_provider":98,"is_clique_member":true},{"id":"577","asn":577,"as_name":"BACOM","rank":131,"country":"CA","organization_id":"aa908bf77e","customer_cone_asns":441,"customer_cone_prefixes":28817,"customer_cone_addresses":23784329,"degree_total":322,"degree_customer":255,"degree_peer":61,"degree_provider":6,"is_clique_member":true},{"id":"3356","asn":3356,"as_name":"LEVEL3","rank":1,"country":"US","organization_id":"589f9199b0","customer_cone_asns":52579,"customer_cone_prefixes":955630,"customer_cone_addresses":2263051601,"degree_total":6626,"degree_customer":6545,"degree_peer":81,"degree_provider":0,"is_clique_member":true}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"as_name":1,"asn":1,"country":1,"customer_cone_addresses":1,"customer_cone_asns":1,"customer_cone_prefixes":1,"degree_customer":1,"degree_peer":1,"degree_provider":1,"degree_total":1,"id":1,"is_clique_member":1,"organization_id":1,"rank":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:57:27.687Z","activated_at":"2026-12-06T03:57:27.687Z","active":true,"contract_hash":"0d05c497f9c025b85f2790c313f86275799990af6b91c50269dfe898ec2e73fb","fields_count":14}]}