{"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,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","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},"links":{"run":"https://pullrow.dev/v1/apis/api_27bba9eacc600079755d2ce5/run","openapi":"https://pullrow.dev/v1/apis/api_27bba9eacc600079755d2ce5/openapi.json","contract":"https://pullrow.dev/v1/apis/api_27bba9eacc600079755d2ce5/contract.json","page":"https://pullrow.dev/catalog/ip-asn-lookup"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["An IP gives one record: routing facts (asn, holder, prefix) come from RIPEstat, ownership facts (network_name, network_range, org, country, registry, allocation_type) from the regional registry's public RDAP service.","An ASN gives one summary record with prefix_count; with include_prefixes it is followed by one record for each prefix it announces (a large network can have several thousand, one run returns at most 10,000 records).","Prefix records carry only the query, asn, holder and prefix; the ownership fields are filled on IP records.","An IP that is not announced in routing has no asn; announced is then false and prefix is the closest announced block.","org and country are often empty: registries show an organisation only when it is registered as one, and some give no country (ARIN often omits it).","Routes seen by very few routing collectors are left out, and routing data is a live view that changes during the day.","RIPEstat asks for fair use and the registries rate-limit RDAP, so large lists of IPs run slowly (about two requests a second at most).","Registry data is public network information, not data about private people; no contact details are returned."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"query","label":"Search words","description":"The IP, prefix or ASN you asked about.","group":"Basics","shown":true,"written":false},{"name":"asn","label":"Asn","description":"The autonomous system number (for an IP, the one announcing it).","group":"Basics","shown":true,"written":false},{"name":"holder","label":"Holder","description":"Name of the ASN's holder.","group":"Basics","shown":true,"written":false},{"name":"is_announced","label":"Announced","description":"Whether the address or ASN is announced in global routing.","group":"Basics","shown":true,"written":false},{"name":"prefix","label":"Prefix","description":"The announced prefix covering the IP, or one prefix announced by the ASN.","group":"Basics","shown":true,"written":false},{"name":"network_name","label":"Network name","description":"Registry name of the network block holding the IP.","group":"Basics","shown":true,"written":false},{"name":"network_range","label":"Network range","description":"First and last address of that block.","group":"Basics","shown":true,"written":false},{"name":"org","label":"Organisation","description":"Organisation registered as holder of the block, when the registry names one.","group":"Basics","shown":true,"written":false},{"name":"country","label":"Country","description":"Country code the registry gives for the block, when it gives one.","group":"Location","shown":true,"written":false},{"name":"registry","label":"Registry","description":"Regional registry that manages the block: ARIN, RIPE NCC, APNIC, LACNIC or AFRINIC.","group":"Basics","shown":true,"written":false},{"name":"allocation_type","label":"Allocation type","description":"Registry allocation type, such as DIRECT ALLOCATION or ASSIGNED PA.","group":"Basics","shown":true,"written":false},{"name":"prefix_count","label":"Prefix count","description":"On an ASN summary record, how many prefixes the ASN announces.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"ips","label":"Ips","help":"IPv4 or IPv6 addresses (or prefixes such as 8.8.8.0/24) to look up.","example":"8.8.8.8","written":false},{"name":"asns","label":"Asns","help":"Autonomous system numbers, such as AS13335 or 13335.","example":"AS13335","written":false},{"name":"include_prefixes","label":"Include prefixes","help":"For each ASN, also list every prefix it announces, one record each.","example":"true","written":false}]}},"incidents":[]}