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
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
On this page
Overview
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
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
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
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
ipregistryCurrent Ipregistry Batch IP and ASN Intelligence · POST · View API reference | $0.000667 base + $0.000667 / billing unit | 1 | 100.00%successP5076ms |
- 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
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
body | JSON request bodybody | array | Yes | 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
|
hostname | URL query parametersquery | boolean | No | 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
resultsobject[]carrierobjectmccnullmncnullnamenull
companyobjectdomainstringnamestringtypestring
connectionobjectasnintegerdomainstringis_anycastbooleanorganizationstringroutestringtypestring
currencyobjectcodestringformatobjectdecimal_separatorstringgroup_separatorstringnegativeobjectprefixstringsuffixstring
positiveobjectprefixstringsuffixstring
namestringname_nativestringpluralstringplural_nativestringsymbolstringsymbol_nativestring
hostnamenullipstringlocationobjectcitystringcontinentobjectcodestringnamestring
countryobjectareaintegerbordersstring[]calling_codestringcapitalstringcodestringflagobjectemojistringemoji_unicodestringemojitwostringnotostringtwemojistringwikimediastring
languagesobject[]codestringnamestringnativestring
namestringpopulationintegerpopulation_densitynumbertldstring
in_eubooleanlanguageobjectcodestringnamestringnativestring
latitudenumberlongitudenumberpostalstringregionobjectcodestringnamestring
securityobjectis_abuserbooleanis_anonymousbooleanis_attackerbooleanis_bogonbooleanis_cloud_providerbooleanis_proxybooleanis_relaybooleanis_residential_proxybooleanis_threatbooleanis_torbooleanis_tor_exitbooleanis_vpnboolean
time_zoneobjectabbreviationstringcurrent_timestringidstringin_daylight_savingbooleannamestringoffsetinteger
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 item | Price | Metering source | When | Quantity limit |
|---|---|---|---|---|
| Lookup items | $0.000667 / billing unit | Response · /results · Array length | Always | 1024 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.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Documentation example
Published documentation example. Verify the actual response after an approved call.
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 / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'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 · cURLcurl \ '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" ]'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" } ] }