latestOpenAPI 3.1.02026-08-1562940.4 KB

26f6ef332981

Ipregistry IP Intelligence API

Single or Batch ASN/IP Address Lookup

This endpoint is suitable for individual and batch ASN/IP queries. To access it, add an ASN or IP address to the API's base URL using the HTTP GET method, which uses one credit. For batch processing, attach several ASNs or IP addresses to the API's base URL, separated by commas, through the HTTP GET method. You can combine up to 16 ASNs and 1024 IP addresses in a batch. For such batch queries, the credit charge is the total of the provided ASN and IP addresses, plus an additional credit.

get/{asnOrIps}

Path parameters

asnOrIpsstring required

Specify the ASNs or IP addresses for lookup. Input can be a single ASN/IP address or a list of them separated by commas.

Query parameters

paramsobject required

Parameters stemming from the GET request. If you set the 'format' query parameter to 'xml', the response will come in XML format.

Response

Successful operation

OR
OR

Example response

{
  "allocated": "2009-09-02T00:00:00.000+00:00",
  "asn": 2906,
  "country_code": "US",
  "domain": "netflix.com",
  "name": "Netflix Streaming Services Inc.",
  "prefixes": {
    "ipv4_count": 223232,
    "ipv6_count": 2.33371040218408e+29,
    "ipv4": [
      {
        "cidr": "8.8.8.0/24",
        "country_code": "US",
        "network_name": "GOOGLE",
        "organization": "Google LLC",
        "registry": "ARIN",
        "status": "allocation",
        "size": 256
      }
    ],
    "ipv6": [
      {
        "cidr": "8.8.8.0/24",
        "country_code": "US",
        "network_name": "GOOGLE",
        "organization": "Google LLC",
        "registry": "ARIN",
        "status": "allocation",
        "size": 256
      }
    ]
  },
  "registry": "ARIN",
  "type": "isp",
  "updated": "2024-06-15T00:00:00.000+00:00"
}