{"api":{"id":"api_27bba9eacc600079755d2ce5","slug":"ip-asn-lookup","name":"IP & ASN Network Lookup API","description":"Who runs an IP address or an autonomous system: for each IP the announcing ASN and holder, the network name, range, organisation, country and registry; for each ASN its holder, prefix count and optionally every prefix it announces.","kind":"ready_made","visibility":"public","domain":"stat.ripe.net","source_url":"https://stat.ripe.net/","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":12,"created_at":"2026-12-06T03:57:27.671Z","updated_at":"2026-12-06T03:57:27.671Z","runnable":true},"version":"1.0","contract_hash":"cabaff79a2260d7f15192a86cfe49919c63444e59d3ae71d13931f7b4d8a3b7f","fields":[{"name":"query","type":"string","description":"The IP, prefix or ASN you asked about.","required":true,"coverage":1,"example":"8.8.8.8"},{"name":"asn","type":"integer","description":"The autonomous system number (for an IP, the one announcing it).","required":false,"coverage":1,"example":15169},{"name":"holder","type":"string","description":"Name of the ASN's holder.","required":false,"coverage":1,"example":"GOOGLE - Google LLC"},{"name":"is_announced","type":"boolean","description":"Whether the address or ASN is announced in global routing.","required":false,"coverage":1,"example":true},{"name":"prefix","type":"string","description":"The announced prefix covering the IP, or one prefix announced by the ASN.","required":false,"coverage":0.8,"example":"8.8.8.0/24"},{"name":"network_name","type":"string","description":"Registry name of the network block holding the IP.","required":false,"coverage":0.4,"example":"GOGL"},{"name":"network_range","type":"string","description":"First and last address of that block.","required":false,"coverage":0.4,"example":"8.8.8.0 - 8.8.8.255"},{"name":"org","type":"string","description":"Organisation registered as holder of the block, when the registry names one.","required":false,"coverage":0.4,"example":"Google LLC"},{"name":"country","type":"string","description":"Country code the registry gives for the block, when it gives one.","required":false,"coverage":0.2,"example":"NL"},{"name":"registry","type":"string","description":"Regional registry that manages the block: ARIN, RIPE NCC, APNIC, LACNIC or AFRINIC.","required":false,"coverage":0.4,"example":"ARIN"},{"name":"allocation_type","type":"string","description":"Registry allocation type, such as DIRECT ALLOCATION or ASSIGNED PA.","required":false,"coverage":0.4,"example":"DIRECT ALLOCATION"},{"name":"prefix_count","type":"integer","description":"On an ASN summary record, how many prefixes the ASN announces.","required":false,"coverage":0.2,"example":5932}],"inputs":[{"name":"ips","type":"array","description":"IPv4 or IPv6 addresses (or prefixes such as 8.8.8.0/24) to look up.","example":["8.8.8.8"]},{"name":"asns","type":"array","description":"Autonomous system numbers, such as AS13335 or 13335.","example":["AS13335"]},{"name":"include_prefixes","type":"boolean","description":"For each ASN, also list every prefix it announces, one record each.","default":false,"example":true}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"allocation_type":{"description":"Registry allocation type, such as DIRECT ALLOCATION or ASSIGNED PA.","type":"string"},"asn":{"description":"The autonomous system number (for an IP, the one announcing it).","type":"integer"},"country":{"description":"Country code the registry gives for the block, when it gives one.","type":"string"},"holder":{"description":"Name of the ASN's holder.","type":"string"},"is_announced":{"description":"Whether the address or ASN is announced in global routing.","type":"boolean"},"network_name":{"description":"Registry name of the network block holding the IP.","type":"string"},"network_range":{"description":"First and last address of that block.","type":"string"},"org":{"description":"Organisation registered as holder of the block, when the registry names one.","type":"string"},"prefix":{"description":"The announced prefix covering the IP, or one prefix announced by the ASN.","type":"string"},"prefix_count":{"description":"On an ASN summary record, how many prefixes the ASN announces.","type":"integer"},"query":{"description":"The IP, prefix or ASN you asked about.","type":"string"},"registry":{"description":"Regional registry that manages the block: ARIN, RIPE NCC, APNIC, LACNIC or AFRINIC.","type":"string"}},"required":["query"],"title":"IP & ASN Network Lookup API","type":"object"},"samples":[{"query":"8.8.8.8","asn":15169,"holder":"GOOGLE - Google LLC","is_announced":true,"prefix":"8.8.8.0/24","network_name":"GOGL","network_range":"8.8.8.0 - 8.8.8.255","org":"Google LLC","country":null,"registry":"ARIN","allocation_type":"DIRECT ALLOCATION","prefix_count":null},{"query":"193.0.0.1","asn":3333,"holder":"RIPE-NCC-AS Reseaux IP Europeens Network Coordination Centre (RIPE NCC)","is_announced":true,"prefix":"193.0.0.0/21","network_name":"RIPE-NCC","network_range":"193.0.0.0 - 193.0.7.255","org":"Reseaux IP Europeens Network Coordination Centre (RIPE NCC)","country":"NL","registry":"RIPE NCC","allocation_type":"ASSIGNED PA","prefix_count":null},{"query":"AS13335","asn":13335,"holder":"CLOUDFLARENET - Cloudflare, Inc.","is_announced":true,"prefix":null,"network_name":null,"network_range":null,"org":null,"country":null,"registry":null,"allocation_type":null,"prefix_count":5932}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"allocation_type":0.67,"asn":1,"country":0.33,"holder":1,"is_announced":1,"network_name":0.67,"network_range":0.67,"org":0.67,"prefix":0.67,"prefix_count":0.33,"query":1,"registry":0.67},"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.671Z","activated_at":"2026-12-06T03:57:27.671Z","active":true,"contract_hash":"cabaff79a2260d7f15192a86cfe49919c63444e59d3ae71d13931f7b4d8a3b7f","fields_count":12}]}