OpenAny
Get API keyAPI Key
APIDataDeveloper

ipregistry logo
Ipregistry Batch IP & ASN Lookup API

Get Ipregistry Batch IP & ASN Lookup data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Ipregistry, configure supported query parameters and filters, and retrieve structured data including structured JSON records, identifiers, and response metadata for network enrichment, and asn investigation, ready for production pipelines and AI agent automation.

Selected price
$0.000667 base + $0.000667 / billing unit Published pricing
Sellers / APIs
1 / 1
Requests · 30d
1Selected implementation · last 30 days
Success rate · 30d
100.00%Selected implementation · last 30 days
USE THIS API

Ipregistry Batch IP & ASN Lookup API

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
API
Pricing
Connect your agent
On this page

Overview

Overview
Ipregistry Batch IP & ASN Lookup API

Ipregistry Batch IP & ASN Lookup API

POST a root JSON array with 1–1,024 public IPv4/IPv6 addresses or AS-prefixed ASN identifiers, including at most 16 ASNs. Responses wrap lookup records in results; IP and ASN records have different field sets. Optional hostname enables reverse DNS resolution.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs Root JSON array: 1–1,024 public IP or AS-prefixed ASN strings; at most 16 ASNs. Optional hostname query.
Selected implementation ipregistry · Ipregistry Batch IP and ASN Intelligence
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Network enrichment: Attach returned network context to a prepared set of public IP addresses.
  • ASN investigation: Review autonomous system identities alongside IP lookup records.

Documented Response Fields

Field Meaning
results[].ip Queried IP address for an IP result
results[].connection.asn Autonomous system number for an IP result
results[].connection.organization Network organization for an IP result
results[].location.country.code Country code for an IP result
results[].security.is_vpn Reported VPN indicator for an IP result

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request POST \
  https://api.openany.si/v1/agent-apis/ipregistry/ \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  -H "Content-Type: application/json" \
  --data-raw '["8.8.8.8","1.1.1.1"]'

Request and Response Examples

The response example is a documentation reference; values may be historical and optional fields depend on the request. The request is an independent calling template, so match returned resource identifiers to your target.

Published Ipregistry Batch IP & ASN Lookup API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

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

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
ipregistryCurrent
Ipregistry Batch IP and ASN Intelligence · POST · View API reference
$0.000667 base + $0.000667 / billing unit1
100.00%successP5076ms
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
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.openany.si/v1/agent-apis/ipregistry/
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

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

ParameterLocationTypeRequiredDescription
bodyJSON request bodybodyarrayYes

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.

minItems: 1 · maxItems: 1024

Nested fields and variants

body[] · Array item · string

hostnameURL query parametersquerybooleanNo

Resolve the reverse DNS hostname when true. Omit to retain the native default; enabling it may increase latency.

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

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

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.

Download MDView API Markdown

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.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

Should the JSON body be an object or an array?

Use a root JSON array of strings, not an object with an ips field. Submit public IP addresses or complete AS-prefixed identifiers.

How many values can I include?

This profile accepts 1–1,024 total items and at most 16 ASN entries. Mixed IP and ASN inputs follow these same limits.

Do all results have the IP field structure?

No. IP results contain location, connection and security data; ASN results describe autonomous systems and network prefixes. Inspect each result’s identity and fields.

Is batch pricing a single flat per-call amount?

The current selected rule includes a request base charge and a quantity charge measured from the response results array. Check the pricing area and response-based quantity terms before batching.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

Use Ipregistry Batch IP & ASN Lookup API with your agent

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