APIDataDeveloper

Ipregistry Batch IP and ASN Intelligence

Use the Ipregistry Batch IP and ASN Intelligence API to investigate multiple public addresses or autonomous systems in one synchronous request. Submit a JSON array of IPv4 addresses, IPv6 addresses, or complete AS-prefixed ASN identifiers to receive results in input order. IP entries return location, network ownership, and security signals; ASN entries return registration details, announced ranges, and BGP relationships. This profile accepts up to 1,024 entries, including at most 16 ASNs. Use it to enrich access logs or compare infrastructure networks. The detail page includes IP-only and ASN-only request examples, response guidance, and usage pricing.

Selected price
$0.000667 base + $0.000667 / billing unit Published pricing
Sellers / APIs
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...
USE THIS API

Ipregistry Batch IP and ASN Intelligence

Prepare your request, then continue with your agent.

Pricing

$0.000667 base + $0.000667 / billing unit

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Provider
Pricing
Connect your agent
On this page

Overview

Overview

Ipregistry Batch IP and ASN Intelligence

Use the Ipregistry Batch IP and ASN Intelligence API to investigate multiple public addresses or autonomous systems in one synchronous request. Submit a JSON array of IPv4 addresses, IPv6 addresses, or complete AS-prefixed ASN identifiers to receive results in input order. IP entries return location, network ownership, and security signals; ASN entries return registration details, announced ranges, and BGP relationships. This profile accepts up to 1,024 entries, including at most 16 ASNs. Use it to enrich access logs or compare infrastructure networks. The detail page includes IP-only and ASN-only request examples, response guidance, and usage pricing.

Ipregistry Batch IP and ASN Intelligence

Use the Ipregistry Batch IP and ASN Intelligence API to investigate multiple public addresses or autonomous systems in one synchronous request. Submit a JSON array of IPv4 addresses, IPv6 addresses, or complete AS-prefixed ASN identifiers to receive results in input order. IP entries return location, network ownership, and security signals; ASN entries return registration details, announced ranges, and BGP relationships. This profile accepts up to 1,024 entries, including at most 16 ASNs. Use it to enrich access logs or compare infrastructure networks. The detail page includes IP-only and ASN-only request examples, response guidance, and usage pricing.

Input

POST a JSON root array of IPv4, IPv6, or AS-prefixed ASN strings. This profile accepts 1–1,024 total entries, with at most 16 ASN entries. Results retain input order. IP-only and ASN-only requests were tested; mixed input is supported by the official documentation.

IP batch request

json
["8.8.8.8", "1.1.1.1"]

ASN batch request

json
["AS15169", "AS13335"]

ASN response example (abbreviated)

Only long prefix and relationship arrays are shortened below. The default request/response example on this page shows the complete IP-only result.

json
{
  "results": [
    {
      "allocated": "2000-03-30T00:00:00.000Z",
      "asn": 15169,
      "country_code": "US",
      "domain": "google.com",
      "name": "Google LLC",
      "prefixes": {
        "ipv4_count": 1136896,
        "ipv6_count": 793045666260639821573853806592,
        "ipv4": [
          {
            "cidr": "8.8.4.0/24",
            "country_code": "US",
            "network_name": "GOGL",
            "organization": "Google LLC",
            "registry": "ARIN",
            "status": "allocation",
            "size": 256
          },
          {
            "cidr": "8.8.8.0/24",
            "country_code": "US",
            "network_name": "GOGL",
            "organization": "Google LLC",
            "registry": "ARIN",
            "status": "allocation",
            "size": 256
          }
        ],
        "ipv6": [
          {
            "cidr": "2001:4860::/32",
            "country_code": "US",
            "network_name": "GOOGLE-IPV6",
            "organization": "Google LLC",
            "registry": "ARIN",
            "status": "allocation",
            "size": 79228162514264337593543950336
          },
          {
            "cidr": "2001:4860:4820::/48",
            "country_code": "US",
            "network_name": "GOOGLE-IPV6",
            "organization": "Google LLC",
            "registry": "ARIN",
            "status": "allocation",
            "size": 1208925819614629174706176
          }
        ]
      },
      "registry": "ARIN",
      "relationships": {
        "downstreams": [
          16766,
          19527,
          32381,
          33715,
          36040
        ],
        "peers": [
          286,
          293,
          513,
          553,
          559
        ],
        "upstreams": [
          3356,
          6453,
          6797,
          12956,
          39686
        ]
      },
      "type": "hosting",
      "updated": "2012-02-24T00:00:00.000Z"
    },
    {
      "allocated": "2010-07-14T00:00:00.000Z",
      "asn": 13335,
      "country_code": "US",
      "domain": "cloudflare.com",
      "name": "Cloudflare, Inc.",
      "prefixes": {
        "ipv4_count": 1796097,
        "ipv6_count": 3051684193193438643115104665600,
        "ipv4": [
          {
            "cidr": "1.0.0.0/24",
            "country_code": "AU",
            "network_name": "APNIC-LABS",
            "organization": "Apnic Research And Development",
            "registry": "APNIC",
            "status": "ASSIGNED PORTABLE",
            "size": 256
          },
          {
            "cidr": "1.1.1.0/24",
            "country_code": "AU",
            "network_name": "APNIC-LABS",
            "organization": "Apnic Research And Development",
            "registry": "APNIC",
            "status": "ASSIGNED PORTABLE",
            "size": 256
          }
        ],
        "ipv6": [
          {
            "cidr": "2001:500:210::/48",
            "country_code": "US",
            "network_name": "DNS-DOTGOV",
            "organization": ".gov Tld",
            "registry": "ARIN",
            "status": "allocation",
            "size": 1208925819614629174706176
          },
          {
            "cidr": "2001:501:210::/48",
            "country_code": "US",
            "network_name": "DNS-DOTGOV",
            "organization": ".gov Tld",
            "registry": "ARIN",
            "status": "allocation",
            "size": 1208925819614629174706176
          }
        ]
      },
      "registry": "ARIN",
      "relationships": {
        "downstreams": [
          31,
          49,
          112,
          125,
          823
        ],
        "peers": [
          42,
          286,
          293,
          513,
          553
        ],
        "upstreams": [
          174,
          260,
          1221,
          1299,
          1680
        ]
      },
      "type": "hosting",
      "updated": "2017-02-17T00:00:00.000Z"
    }
  ]
}

Usage pricing

(N + 1) × $0.000667. Two entries cost $0.002001. Successful responses use HTTP 200. Request field hostname is optional for reverse DNS lookup; output is JSON. Response-field filtering is not exposed by this profile.

Official endpoint documentation

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
body*array

body

JSON root array of public IPv4/IPv6 addresses or full AS-prefixed ASN identifiers. This profile accepts at most 1,024 total items, including at most 16 ASNs. Native mixed inputs are documented; only the IP-only and ASN-only examples were runtime tested.
Resolve the reverse DNS hostname when true. Omit to retain the native default; enabling it may increase latency.

Sample response

{
  "results": [
    {
      "carrier": {
        "mcc": null,
        "mnc": null,
        "name": null
      },
      "company": {
        "domain": "google.com",
        "name": "Google LLC",
        "type": "isp"
      },
      "connection": {
        "asn": 15169,
        "domain": "google.com",
        "is_anycast": true,
        "organization": "Google LLC",
        "route": "8.8.8.0/24",
        "type": "hosting"
      },
      "currency": {
        "code": "USD",
        "format": {
          "decimal_separator": ".",
          "group_separator": ",",
          "negative": {
            "prefix": "-$",
            "suffix": ""
          },
          "positive": {
            "prefix": "$",
            "suffix": ""
          }
        },
        "name": "US Dollar",
        "name_native": "US Dollar",
        "plural": "US dollars",
        "plural_native": "US dollars",
        "symbol": "$",
        "symbol_native": "$"
      },
      "hostname": null,
      "ip": "8.8.8.8",
      "location": {
        "city": "Mountain View",
        "continent": {
          "code": "NA",
          "name": "North America"
        },
        "country": {
          "area": 9629091,
          "borders": [
            "CA",
            "MX"
          ],
          "calling_code": "1",
          "capital": "Washington D.C.",
          "code": "US",
          "flag": {
            "emoji": "🇺🇸",
            "emoji_unicode": "U+1F1FA U+1F1F8",
            "emojitwo": "https://cdn.ipregistry.co/flags/emojitwo/us.svg",
            "noto": "https://cdn.ipregistry.co/flags/noto/us.png",
            "twemoji": "https://cdn.ipregistry.co/flags/twemoji/us.svg",
            "wikimedia": "https://cdn.ipregistry.co/flags/wikimedia/us.svg"
          },
          "languages": [
            {
              "code": "en",
              "name": "English",
              "native": "English"
            },
            {
              "code": "es",
              "name": "Spanish",
              "native": "español"
            },
            {
              "code": "fr",
              "name": "French",
              "native": "français"
            }
          ],
          "name": "United States",
          "population": 341784857,
          "population_density": 35.5,
          "tld": ".us"
        },
        "in_eu": false,
        "language": {
          "code": "en",
          "name": "English",
          "native": "English"
        },
        "latitude": 37.40552,
        "longitude": -122.07746,
        "postal": "94043",
        "region": {
          "code": "US-CA",
          "name": "California"
        }
      },
      "security": {
        "is_abuser": false,
        "is_anonymous": false,
        "is_attacker": false,
        "is_bogon": false,
        "is_cloud_provider": true,
        "is_proxy": false,
        "is_relay": false,
        "is_residential_proxy": false,
        "is_threat": false,
        "is_tor": false,
        "is_tor_exit": false,
        "is_vpn": false
      },
      "time_zone": {
        "abbreviation": "PST",
        "current_time": "2026-11-18T04:29:49-08:00",
        "id": "America/Los_Angeles",
        "in_daylight_saving": false,
        "name": "Pacific Standard Time",
        "offset": -28800
      },
      "type": "IPv4"
    },
    {
      "carrier": {
        "mcc": null,
        "mnc": null,
        "name": null
      },
      "company": {
        "domain": "apnic.net",
        "name": "Apnic Research And Development",
        "type": "hosting"
      },
      "connection": {
        "asn": 13335,
        "domain": "cloudflare.com",
        "is_anycast": true,
        "organization": "Cloudflare, Inc.",
        "route": "1.1.1.0/24",
        "type": "hosting"
      },
      "currency": {
        "code": "AUD",
        "format": {
          "decimal_separator": ".",
          "group_separator": ",",
          "negative": {
            "prefix": "-$",
            "suffix": ""
          },
          "positive": {
            "prefix": "$",
            "suffix": ""
          }
        },
        "name": "Australian Dollar",
        "name_native": "Australian Dollar",
        "plural": "Australian dollars",
        "plural_native": "Australian dollars",
        "symbol": "A$",
        "symbol_native": "$"
      },
      "hostname": null,
      "ip": "1.1.1.1",
      "location": {
        "city": "Brisbane",
        "continent": {
          "code": "OC",
          "name": "Oceania"
        },
        "country": {
          "area": 7686850,
          "borders": [],
          "calling_code": "61",
          "capital": "Canberra",
          "code": "AU",
          "flag": {
            "emoji": "🇦🇺",
            "emoji_unicode": "U+1F1E6 U+1F1FA",
            "emojitwo": "https://cdn.ipregistry.co/flags/emojitwo/au.svg",
            "noto": "https://cdn.ipregistry.co/flags/noto/au.png",
            "twemoji": "https://cdn.ipregistry.co/flags/twemoji/au.svg",
            "wikimedia": "https://cdn.ipregistry.co/flags/wikimedia/au.svg"
          },
          "languages": [
            {
              "code": "en",
              "name": "English",
              "native": "English"
            }
          ],
          "name": "Australia",
          "population": 27614411,
          "population_density": 3.59,
          "tld": ".au"
        },
        "in_eu": false,
        "language": {
          "code": "en",
          "name": "English",
          "native": "English"
        },
        "latitude": -27.46792,
        "longitude": 153.02809,
        "postal": "4000",
        "region": {
          "code": "AU-QLD",
          "name": "Queensland"
        }
      },
      "security": {
        "is_abuser": false,
        "is_anonymous": false,
        "is_attacker": false,
        "is_bogon": false,
        "is_cloud_provider": true,
        "is_proxy": false,
        "is_relay": false,
        "is_residential_proxy": false,
        "is_threat": false,
        "is_tor": false,
        "is_tor_exit": false,
        "is_vpn": false
      },
      "time_zone": {
        "abbreviation": "AEST",
        "current_time": "2026-11-18T22:29:49+10:00",
        "id": "Australia/Brisbane",
        "in_daylight_saving": false,
        "name": "Australian Eastern Standard Time",
        "offset": 36000
      },
      "type": "IPv4"
    }
  ]
}

Response result

Response structure

Inferred from examples
  • resultsobject[]
    • carrierobject
      • mccnull
      • mncnull
      • namenull
    • companyobject
      • domainstring
      • namestring
      • typestring
    • connectionobject
      • asninteger
      • domainstring
      • is_anycastboolean
      • organizationstring
      • routestring
      • typestring
    • currencyobject
      • codestring
      • formatobject
        • decimal_separatorstring
        • group_separatorstring
        • negativeobject
          • prefixstring
          • suffixstring
        • positiveobject
          • prefixstring
          • suffixstring
      • namestring
      • name_nativestring
      • pluralstring
      • plural_nativestring
      • symbolstring
      • symbol_nativestring
    • hostnamenull
    • ipstring
    • locationobject
      • citystring
      • continentobject
        • codestring
        • namestring
      • countryobject
        • areainteger
        • bordersstring[]
        • calling_codestring
        • capitalstring
        • codestring
        • flagobject
          • emojistring
          • emoji_unicodestring
          • emojitwostring
          • notostring
          • twemojistring
          • wikimediastring
        • languagesobject[]
          • codestring
          • namestring
          • nativestring
        • namestring
        • populationinteger
        • population_densitynumber
        • tldstring
      • in_euboolean
      • languageobject
        • codestring
        • namestring
        • nativestring
      • latitudenumber
      • longitudenumber
      • postalstring
      • regionobject
        • codestring
        • namestring
    • securityobject
      • is_abuserboolean
      • is_anonymousboolean
      • is_attackerboolean
      • is_bogonboolean
      • is_cloud_providerboolean
      • is_proxyboolean
      • is_relayboolean
      • is_residential_proxyboolean
      • is_threatboolean
      • is_torboolean
      • is_tor_exitboolean
      • is_vpnboolean
    • time_zoneobject
      • abbreviationstring
      • current_timestring
      • idstring
      • in_daylight_savingboolean
      • namestring
      • offsetinteger
    • typestring

Sellers

SellerPricingRequests · 30dPerformanceAccess
ipregistryCurrent
Ipregistry Batch IP and ASN Intelligence · POST · View API reference
$0.000667 base + $0.000667 / billing unit—
—successP50—
Loading...
Selected pricing · ipregistryUSD
Pricing
$0.000667 base + $0.000667 / billing unit

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 2. Price update time: not supplied.

API

Method
POST
Endpoint
https://api-dev.openany.si/v1/agent-apis/ipregistry/
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
  'https://api-dev.openany.si/v1/agent-apis/ipregistry/' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '[
  "8.8.8.8",
  "1.1.1.1"
]'

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
hostnameURL query parametersquerybooleanNoResolve the reverse DNS hostname when true. Omit to retain the native default; enabling it may increase latency.
bodyJSON request bodybodyarrayYesJSON root array of public IPv4/IPv6 addresses or full AS-prefixed ASN identifiers. This profile accepts at most 1,024 total items, including at most 16 ASNs. Native mixed inputs are documented; only the IP-only and ASN-only examples were runtime tested.

minItems: 1 · maxItems: 1024

Nested fields and variants

body[] · Array item · string

Required markers inside a nested object or variant apply when that object or variant is used.

Sample response

Sample response · Documented HTTP 200 Published documentation example. Verify the actual response after an approved call.

Documentation example
{
  "results": [
    {
      "carrier": {
        "mcc": null,
        "mnc": null,
        "name": null
      },
      "company": {
        "domain": "google.com",
        "name": "Google LLC",
        "type": "isp"
      },
      "connection": {
        "asn": 15169,
        "domain": "google.com",
        "is_anycast": true,
        "organization": "Google LLC",
        "route": "8.8.8.0/24",
        "type": "hosting"
      },
      "currency": {
        "code": "USD",
        "format": {
          "decimal_separator": ".",
          "group_separator": ",",
          "negative": {
            "prefix": "-$",
            "suffix": ""
          },
          "positive": {
            "prefix": "$",
            "suffix": ""
          }
        },
        "name": "US Dollar",
        "name_native": "US Dollar",
        "plural": "US dollars",
        "plural_native": "US dollars",
        "symbol": "$",
        "symbol_native": "$"
      },
      "hostname": null,
      "ip": "8.8.8.8",
      "location": {
        "city": "Mountain View",
        "continent": {
          "code": "NA",
          "name": "North America"
        },
        "country": {
          "area": 9629091,
          "borders": [
            "CA",
            "MX"
          ],
          "calling_code": "1",
          "capital": "Washington D.C.",
          "code": "US",
          "flag": {
            "emoji": "🇺🇸",
            "emoji_unicode": "U+1F1FA U+1F1F8",
            "emojitwo": "https://cdn.ipregistry.co/flags/emojitwo/us.svg",
            "noto": "https://cdn.ipregistry.co/flags/noto/us.png",
            "twemoji": "https://cdn.ipregistry.co/flags/twemoji/us.svg",
            "wikimedia": "https://cdn.ipregistry.co/flags/wikimedia/us.svg"
          },
          "languages": [
            {
              "code": "en",
              "name": "English",
              "native": "English"
            },
            {
              "code": "es",
              "name": "Spanish",
              "native": "español"
            },
            {
              "code": "fr",
              "name": "French",
              "native": "français"
            }
          ],
          "name": "United States",
          "population": 341784857,
          "population_density": 35.5,
          "tld": ".us"
        },
        "in_eu": false,
        "language": {
          "code": "en",
          "name": "English",
          "native": "English"
        },
        "latitude": 37.40552,
        "longitude": -122.07746,
        "postal": "94043",
        "region": {
          "code": "US-CA",
          "name": "California"
        }
      },
      "security": {
        "is_abuser": false,
        "is_anonymous": false,
        "is_attacker": false,
        "is_bogon": false,
        "is_cloud_provider": true,
        "is_proxy": false,
        "is_relay": false,
        "is_residential_proxy": false,
        "is_threat": false,
        "is_tor": false,
        "is_tor_exit": false,
        "is_vpn": false
      },
      "time_zone": {
        "abbreviation": "PST",
        "current_time": "2026-11-18T04:29:49-08:00",
        "id": "America/Los_Angeles",
        "in_daylight_saving": false,
        "name": "Pacific Standard Time",
        "offset": -28800
      },
      "type": "IPv4"
    },
    {
      "carrier": {
        "mcc": null,
        "mnc": null,
        "name": null
      },
      "company": {
        "domain": "apnic.net",
        "name": "Apnic Research And Development",
        "type": "hosting"
      },
      "connection": {
        "asn": 13335,
        "domain": "cloudflare.com",
        "is_anycast": true,
        "organization": "Cloudflare, Inc.",
        "route": "1.1.1.0/24",
        "type": "hosting"
      },
      "currency": {
        "code": "AUD",
        "format": {
          "decimal_separator": ".",
          "group_separator": ",",
          "negative": {
            "prefix": "-$",
            "suffix": ""
          },
          "positive": {
            "prefix": "$",
            "suffix": ""
          }
        },
        "name": "Australian Dollar",
        "name_native": "Australian Dollar",
        "plural": "Australian dollars",
        "plural_native": "Australian dollars",
        "symbol": "A$",
        "symbol_native": "$"
      },
      "hostname": null,
      "ip": "1.1.1.1",
      "location": {
        "city": "Brisbane",
        "continent": {
          "code": "OC",
          "name": "Oceania"
        },
        "country": {
          "area": 7686850,
          "borders": [],
          "calling_code": "61",
          "capital": "Canberra",
          "code": "AU",
          "flag": {
            "emoji": "🇦🇺",
            "emoji_unicode": "U+1F1E6 U+1F1FA",
            "emojitwo": "https://cdn.ipregistry.co/flags/emojitwo/au.svg",
            "noto": "https://cdn.ipregistry.co/flags/noto/au.png",
            "twemoji": "https://cdn.ipregistry.co/flags/twemoji/au.svg",
            "wikimedia": "https://cdn.ipregistry.co/flags/wikimedia/au.svg"
          },
          "languages": [
            {
              "code": "en",
              "name": "English",
              "native": "English"
            }
          ],
          "name": "Australia",
          "population": 27614411,
          "population_density": 3.59,
          "tld": ".au"
        },
        "in_eu": false,
        "language": {
          "code": "en",
          "name": "English",
          "native": "English"
        },
        "latitude": -27.46792,
        "longitude": 153.02809,
        "postal": "4000",
        "region": {
          "code": "AU-QLD",
          "name": "Queensland"
        }
      },
      "security": {
        "is_abuser": false,
        "is_anonymous": false,
        "is_attacker": false,
        "is_bogon": false,
        "is_cloud_provider": true,
        "is_proxy": false,
        "is_relay": false,
        "is_residential_proxy": false,
        "is_threat": false,
        "is_tor": false,
        "is_tor_exit": false,
        "is_vpn": false
      },
      "time_zone": {
        "abbreviation": "AEST",
        "current_time": "2026-11-18T22:29:49+10:00",
        "id": "Australia/Brisbane",
        "in_daylight_saving": false,
        "name": "Australian Eastern Standard Time",
        "offset": 36000
      },
      "type": "IPv4"
    }
  ]
}

Composite rule pricing

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Base fee: $0.000667. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.

Fee itemPriceMetering sourceWhenQuantity limit
Lookup items$0.000667 / billing unitResponse · /results · Array lengthAlways1024 billing unit · Decimal places: 0

Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.683675.

Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.

Pricing parameters and defaults
[]

Agent integration

Copy the resource contract without sharing an API key.

View API Markdown
API Markdown
# Ipregistry Batch IP and ASN Intelligence

Use the Ipregistry Batch IP and ASN Intelligence API to investigate multiple public addresses or autonomous systems in one synchronous request. Submit a JSON array of IPv4 addresses, IPv6 addresses, or complete AS-prefixed ASN identifiers to receive results in input order. IP entries return location, network ownership, and security signals; ASN entries return registration details, announced ranges, and BGP relationships. This profile accepts up to 1,024 entries, including at most 16 ASNs. Use it to enrich access logs or compare infrastructure networks. The detail page includes IP-only and ASN-only request examples, response guidance, and usage pricing.
## Available implementations
ipregistry · Ipregistry Batch IP and ASN Intelligence: https://openany.si/markets/apis/capabilities/ipregistry-batch-ip-and-asn-intelligence?offering=4d60e22d-2391-46ae-a1a1-640d9b589c6f · $0.000667 base + $0.000667 / billing unit

## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/ipregistry-batch-ip-and-asn-intelligence
Method: POST
Endpoint: https://api-dev.openany.si/v1/agent-apis/ipregistry/
Price: $0.000667 base + $0.000667 / billing unit
Provider: ipregistry
Contract revision: 2
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.

Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.

## Prepared request
```bash
curl \
  'https://api-dev.openany.si/v1/agent-apis/ipregistry/' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '[
  "8.8.8.8",
  "1.1.1.1"
]'
```

## API contract
```json
{
  "resource_type": "api",
  "name": "Ipregistry Batch IP and ASN Intelligence",
  "endpoint": "https://api-dev.openany.si/v1/agent-apis/ipregistry/",
  "method": "POST",
  "content_type": "application/json",
  "execution_mode": "sync",
  "authentication": {
    "type": "bearer",
    "environment_variable": "OPENANY_API_KEY"
  },
  "inputs": [
    {
      "description": "Resolve the reverse DNS hostname when true. Omit to retain the native default; enabling it may increase latency.",
      "location": "query",
      "name": "hostname",
      "nullable": false,
      "required": false,
      "type": "boolean"
    },
    {
      "description": "JSON root array of public IPv4/IPv6 addresses or full AS-prefixed ASN identifiers. This profile accepts at most 1,024 total items, including at most 16 ASNs. Native mixed inputs are documented; only the IP-only and ASN-only examples were runtime tested.",
      "json_schema": {
        "contains": {
          "pattern": "^AS[0-9]+$",
          "type": "string"
        },
        "description": "JSON root array of public IPv4/IPv6 addresses or full AS-prefixed ASN identifiers. This profile accepts at most 1,024 total items, including at most 16 ASNs. Native mixed inputs are documented; only the IP-only and ASN-only examples were runtime tested.",
        "items": {
          "anyOf": [
            {
              "format": "ipv4"
            },
            {
              "format": "ipv6"
            },
            {
              "maxLength": 12,
              "minLength": 3,
              "pattern": "^AS[0-9]+$"
            }
          ],
          "type": "string"
        },
        "maxContains": 16,
        "maxItems": 1024,
        "minContains": 0,
        "minItems": 1,
        "type": "array"
      },
      "location": "body",
      "name": "body",
      "nullable": false,
      "pointer": "",
      "required": true,
      "type": "array"
    }
  ],
  "billing": {
    "currency": "USD",
    "mode": "rules",
    "parameters": [],
    "policy_version": 2,
    "sale": {
      "addons": [],
      "base_price_micro_usd": "667",
      "max_cost_micro_usd": "683675",
      "quantities": [
        {
          "id": "items",
          "label": "Lookup items",
          "max_quantity": "1024",
          "measure": "array_length",
          "pointer": "/results",
          "price_micro_usd": "667",
          "quantity_scale": 0,
          "source": "response",
          "unit": "lookup",
          "unit_quantity": "1"
        }
      ],
      "rounding": "ceil",
      "variants": []
    }
  },
  "examples": [
    {
      "http_status": 200,
      "name": "Documentation example",
      "request": {
        "body": [
          "8.8.8.8",
          "1.1.1.1"
        ],
        "headers": {},
        "path": {},
        "query": {}
      },
      "response_body": {
        "results": [
          {
            "carrier": {
              "mcc": null,
              "mnc": null,
              "name": null
            },
            "company": {
              "domain": "google.com",
              "name": "Google LLC",
              "type": "isp"
            },
            "connection": {
              "asn": 15169,
              "domain": "google.com",
              "is_anycast": true,
              "organization": "Google LLC",
              "route": "8.8.8.0/24",
              "type": "hosting"
            },
            "currency": {
              "code": "USD",
              "format": {
                "decimal_separator": ".",
                "group_separator": ",",
                "negative": {
                  "prefix": "-$",
                  "suffix": ""
                },
                "positive": {
                  "prefix": "$",
                  "suffix": ""
                }
              },
              "name": "US Dollar",
              "name_native": "US Dollar",
              "plural": "US dollars",
              "plural_native": "US dollars",
              "symbol": "$",
              "symbol_native": "$"
            },
            "hostname": null,
            "ip": "8.8.8.8",
            "location": {
              "city": "Mountain View",
              "continent": {
                "code": "NA",
                "name": "North America"
              },
              "country": {
                "area": 9629091,
                "borders": [
                  "CA",
                  "MX"
                ],
                "calling_code": "1",
                "capital": "Washington D.C.",
                "code": "US",
                "flag": {
                  "emoji": "🇺🇸",
                  "emoji_unicode": "U+1F1FA U+1F1F8",
                  "emojitwo": "https://cdn.ipregistry.co/flags/emojitwo/us.svg",
                  "noto": "https://cdn.ipregistry.co/flags/noto/us.png",
                  "twemoji": "https://cdn.ipregistry.co/flags/twemoji/us.svg",
                  "wikimedia": "https://cdn.ipregistry.co/flags/wikimedia/us.svg"
                },
                "languages": [
                  {
                    "code": "en",
                    "name": "English",
                    "native": "English"
                  },
                  {
                    "code": "es",
                    "name": "Spanish",
                    "native": "español"
                  },
                  {
                    "code": "fr",
                    "name": "French",
                    "native": "français"
                  }
                ],
                "name": "United States",
                "population": 341784857,
                "population_density": 35.5,
                "tld": ".us"
              },
              "in_eu": false,
              "language": {
                "code": "en",
                "name": "English",
                "native": "English"
              },
              "latitude": 37.40552,
              "longitude": -122.07746,
              "postal": "94043",
              "region": {
                "code": "US-CA",
                "name": "California"
              }
            },
            "security": {
              "is_abuser": false,
              "is_anonymous": false,
              "is_attacker": false,
              "is_bogon": false,
              "is_cloud_provider": true,
              "is_proxy": false,
              "is_relay": false,
              "is_residential_proxy": false,
              "is_threat": false,
              "is_tor": false,
              "is_tor_exit": false,
              "is_vpn": false
            },
            "time_zone": {
              "abbreviation": "PST",
              "current_time": "2026-11-18T04:29:49-08:00",
              "id": "America/Los_Angeles",
              "in_daylight_saving": false,
              "name": "Pacific Standard Time",
              "offset": -28800
            },
            "type": "IPv4"
          },
          {
            "carrier": {
              "mcc": null,
              "mnc": null,
              "name": null
            },
            "company": {
              "domain": "apnic.net",
              "name": "Apnic Research And Development",
              "type": "hosting"
            },
            "connection": {
              "asn": 13335,
              "domain": "cloudflare.com",
              "is_anycast": true,
              "organization": "Cloudflare, Inc.",
              "route": "1.1.1.0/24",
              "type": "hosting"
            },
            "currency": {
              "code": "AUD",
              "format": {
                "decimal_separator": ".",
                "group_separator": ",",
                "negative": {
                  "prefix": "-$",
                  "suffix": ""
                },
                "positive": {
                  "prefix": "$",
                  "suffix": ""
                }
              },
              "name": "Australian Dollar",
              "name_native": "Australian Dollar",
              "plural": "Australian dollars",
              "plural_native": "Australian dollars",
              "symbol": "A$",
              "symbol_native": "$"
            },
            "hostname": null,
            "ip": "1.1.1.1",
            "location": {
              "city": "Brisbane",
              "continent": {
                "code": "OC",
                "name": "Oceania"
              },
              "country": {
                "area": 7686850,
                "borders": [],
                "calling_code": "61",
                "capital": "Canberra",
                "code": "AU",
                "flag": {
                  "emoji": "🇦🇺",
                  "emoji_unicode": "U+1F1E6 U+1F1FA",
                  "emojitwo": "https://cdn.ipregistry.co/flags/emojitwo/au.svg",
                  "noto": "https://cdn.ipregistry.co/flags/noto/au.png",
                  "twemoji": "https://cdn.ipregistry.co/flags/twemoji/au.svg",
                  "wikimedia": "https://cdn.ipregistry.co/flags/wikimedia/au.svg"
                },
                "languages": [
                  {
                    "code": "en",
                    "name": "English",
                    "native": "English"
                  }
                ],
                "name": "Australia",
                "population": 27614411,
                "population_density": 3.59,
                "tld": ".au"
              },
              "in_eu": false,
              "language": {
                "code": "en",
                "name": "English",
                "native": "English"
              },
              "latitude": -27.46792,
              "longitude": 153.02809,
              "postal": "4000",
              "region": {
                "code": "AU-QLD",
                "name": "Queensland"
              }
            },
            "security": {
              "is_abuser": false,
              "is_anonymous": false,
              "is_attacker": false,
              "is_bogon": false,
              "is_cloud_provider": true,
              "is_proxy": false,
              "is_relay": false,
              "is_residential_proxy": false,
              "is_threat": false,
              "is_tor": false,
              "is_tor_exit": false,
              "is_vpn": false
            },
            "time_zone": {
              "abbreviation": "AEST",
              "current_time": "2026-11-18T22:29:49+10:00",
              "id": "Australia/Brisbane",
              "in_daylight_saving": false,
              "name": "Australian Eastern Standard Time",
              "offset": 36000
            },
            "type": "IPv4"
          }
        ]
      }
    }
  ]
}
```

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Documentation example

Published documentation example. Verify the actual response after an approved call.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 2

    Review these request fields before running. Keep the published provider and request method unchanged.

    hostname
    Resolve the reverse DNS hostname when true. Omit to retain the native default; enabling it may increase latency.
    body
    JSON root array of public IPv4/IPv6 addresses or full AS-prefixed ASN identifiers. This profile accepts at most 1,024 total items, including at most 16 ASNs. Native mixed inputs are documented; only the IP-only and ASN-only examples were runtime tested.
    Terminal · cURL
    curl \
      'https://api-dev.openany.si/v1/agent-apis/ipregistry/' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      --data-raw '[
      "8.8.8.8",
      "1.1.1.1"
    ]'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "results": [
        {
          "carrier": {
            "mcc": null,
            "mnc": null,
            "name": null
          },
          "company": {
            "domain": "google.com",
            "name": "Google LLC",
            "type": "isp"
          },
          "connection": {
            "asn": 15169,
            "domain": "google.com",
            "is_anycast": true,
            "organization": "Google LLC",
            "route": "8.8.8.0/24",
            "type": "hosting"
          },
          "currency": {
            "code": "USD",
            "format": {
              "decimal_separator": ".",
              "group_separator": ",",
              "negative": {
                "prefix": "-$",
                "suffix": ""
              },
              "positive": {
                "prefix": "$",
                "suffix": ""
              }
            },
            "name": "US Dollar",
            "name_native": "US Dollar",
            "plural": "US dollars",
            "plural_native": "US dollars",
            "symbol": "$",
            "symbol_native": "$"
          },
          "hostname": null,
          "ip": "8.8.8.8",
          "location": {
            "city": "Mountain View",
            "continent": {
              "code": "NA",
              "name": "North America"
            },
            "country": {
              "area": 9629091,
              "borders": [
                "CA",
                "MX"
              ],
              "calling_code": "1",
              "capital": "Washington D.C.",
              "code": "US",
              "flag": {
                "emoji": "🇺🇸",
                "emoji_unicode": "U+1F1FA U+1F1F8",
                "emojitwo": "https://cdn.ipregistry.co/flags/emojitwo/us.svg",
                "noto": "https://cdn.ipregistry.co/flags/noto/us.png",
                "twemoji": "https://cdn.ipregistry.co/flags/twemoji/us.svg",
                "wikimedia": "https://cdn.ipregistry.co/flags/wikimedia/us.svg"
              },
              "languages": [
                {
                  "code": "en",
                  "name": "English",
                  "native": "English"
                },
                {
                  "code": "es",
                  "name": "Spanish",
                  "native": "español"
                },
                {
                  "code": "fr",
                  "name": "French",
                  "native": "français"
                }
              ],
              "name": "United States",
              "population": 341784857,
              "population_density": 35.5,
              "tld": ".us"
            },
            "in_eu": false,
            "language": {
              "code": "en",
              "name": "English",
              "native": "English"
            },
            "latitude": 37.40552,
            "longitude": -122.07746,
            "postal": "94043",
            "region": {
              "code": "US-CA",
              "name": "California"
            }
          },
          "security": {
            "is_abuser": false,
            "is_anonymous": false,
            "is_attacker": false,
            "is_bogon": false,
            "is_cloud_provider": true,
            "is_proxy": false,
            "is_relay": false,
            "is_residential_proxy": false,
            "is_threat": false,
            "is_tor": false,
            "is_tor_exit": false,
            "is_vpn": false
          },
          "time_zone": {
            "abbreviation": "PST",
            "current_time": "2026-11-18T04:29:49-08:00",
            "id": "America/Los_Angeles",
            "in_daylight_saving": false,
            "name": "Pacific Standard Time",
            "offset": -28800
          },
          "type": "IPv4"
        },
        {
          "carrier": {
            "mcc": null,
            "mnc": null,
            "name": null
          },
          "company": {
            "domain": "apnic.net",
            "name": "Apnic Research And Development",
            "type": "hosting"
          },
          "connection": {
            "asn": 13335,
            "domain": "cloudflare.com",
            "is_anycast": true,
            "organization": "Cloudflare, Inc.",
            "route": "1.1.1.0/24",
            "type": "hosting"
          },
          "currency": {
            "code": "AUD",
            "format": {
              "decimal_separator": ".",
              "group_separator": ",",
              "negative": {
                "prefix": "-$",
                "suffix": ""
              },
              "positive": {
                "prefix": "$",
                "suffix": ""
              }
            },
            "name": "Australian Dollar",
            "name_native": "Australian Dollar",
            "plural": "Australian dollars",
            "plural_native": "Australian dollars",
            "symbol": "A$",
            "symbol_native": "$"
          },
          "hostname": null,
          "ip": "1.1.1.1",
          "location": {
            "city": "Brisbane",
            "continent": {
              "code": "OC",
              "name": "Oceania"
            },
            "country": {
              "area": 7686850,
              "borders": [],
              "calling_code": "61",
              "capital": "Canberra",
              "code": "AU",
              "flag": {
                "emoji": "🇦🇺",
                "emoji_unicode": "U+1F1E6 U+1F1FA",
                "emojitwo": "https://cdn.ipregistry.co/flags/emojitwo/au.svg",
                "noto": "https://cdn.ipregistry.co/flags/noto/au.png",
                "twemoji": "https://cdn.ipregistry.co/flags/twemoji/au.svg",
                "wikimedia": "https://cdn.ipregistry.co/flags/wikimedia/au.svg"
              },
              "languages": [
                {
                  "code": "en",
                  "name": "English",
                  "native": "English"
                }
              ],
              "name": "Australia",
              "population": 27614411,
              "population_density": 3.59,
              "tld": ".au"
            },
            "in_eu": false,
            "language": {
              "code": "en",
              "name": "English",
              "native": "English"
            },
            "latitude": -27.46792,
            "longitude": 153.02809,
            "postal": "4000",
            "region": {
              "code": "AU-QLD",
              "name": "Queensland"
            }
          },
          "security": {
            "is_abuser": false,
            "is_anonymous": false,
            "is_attacker": false,
            "is_bogon": false,
            "is_cloud_provider": true,
            "is_proxy": false,
            "is_relay": false,
            "is_residential_proxy": false,
            "is_threat": false,
            "is_tor": false,
            "is_tor_exit": false,
            "is_vpn": false
          },
          "time_zone": {
            "abbreviation": "AEST",
            "current_time": "2026-11-18T22:29:49+10:00",
            "id": "Australia/Brisbane",
            "in_daylight_saving": false,
            "name": "Australian Eastern Standard Time",
            "offset": 36000
          },
          "type": "IPv4"
        }
      ]
    }

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use Ipregistry Batch IP and ASN Intelligence with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.