# Ipregistry Batch IP and ASN Intelligence

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.

Documentation: https://openany.si/ipregistry/ipregistry-batch-ip-and-asn-intelligence/51a97e20-1ee4-454e-8c4d-402506132a0b/
API ID: 51a97e20-1ee4-454e-8c4d-402506132a0b
Provider: ipregistry
Contract revision: 2
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/ipregistry/
Page update time: 2026-12-03T02:49:10.626Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.000667 base + $0.000667 / billing unit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:10.265Z. This is not a price-change timestamp.
```json
{
  "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": []
  }
}
```

## Usage and limits
## 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.

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

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Ipregistry Batch IP and ASN Intelligence request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "hostname": {
          "type": "boolean",
          "description": "Resolve the reverse DNS hostname when true. Omit to retain the native default; enabling it may increase latency."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "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"
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "carrier": {
            "type": "object",
            "properties": {
              "mcc": {
                "type": "null"
              },
              "mnc": {
                "type": "null"
              },
              "name": {
                "type": "null"
              }
            }
          },
          "company": {
            "type": "object",
            "properties": {
              "domain": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "type": {
                "type": "string"
              }
            }
          },
          "connection": {
            "type": "object",
            "properties": {
              "asn": {
                "type": "integer"
              },
              "domain": {
                "type": "string"
              },
              "is_anycast": {
                "type": "boolean"
              },
              "organization": {
                "type": "string"
              },
              "route": {
                "type": "string"
              },
              "type": {
                "type": "string"
              }
            }
          },
          "currency": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "format": {
                "type": "object",
                "properties": {
                  "decimal_separator": {
                    "type": "string"
                  },
                  "group_separator": {
                    "type": "string"
                  },
                  "negative": {
                    "type": "object",
                    "properties": {
                      "prefix": {
                        "type": "string"
                      },
                      "suffix": {
                        "type": "string"
                      }
                    }
                  },
                  "positive": {
                    "type": "object",
                    "properties": {
                      "prefix": {
                        "type": "string"
                      },
                      "suffix": {
                        "type": "string"
                      }
                    }
                  }
                }
              },
              "name": {
                "type": "string"
              },
              "name_native": {
                "type": "string"
              },
              "plural": {
                "type": "string"
              },
              "plural_native": {
                "type": "string"
              },
              "symbol": {
                "type": "string"
              },
              "symbol_native": {
                "type": "string"
              }
            }
          },
          "hostname": {
            "type": "null"
          },
          "ip": {
            "type": "string"
          },
          "location": {
            "type": "object",
            "properties": {
              "city": {
                "type": "string"
              },
              "continent": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  }
                }
              },
              "country": {
                "type": "object",
                "properties": {
                  "area": {
                    "type": "integer"
                  },
                  "borders": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "calling_code": {
                    "type": "string"
                  },
                  "capital": {
                    "type": "string"
                  },
                  "code": {
                    "type": "string"
                  },
                  "flag": {
                    "type": "object",
                    "properties": {
                      "emoji": {
                        "type": "string"
                      },
                      "emoji_unicode": {
                        "type": "string"
                      },
                      "emojitwo": {
                        "type": "string"
                      },
                      "noto": {
                        "type": "string"
                      },
                      "twemoji": {
                        "type": "string"
                      },
                      "wikimedia": {
                        "type": "string"
                      }
                    }
                  },
                  "languages": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "native": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "name": {
                    "type": "string"
                  },
                  "population": {
                    "type": "integer"
                  },
                  "population_density": {
                    "type": "number"
                  },
                  "tld": {
                    "type": "string"
                  }
                }
              },
              "in_eu": {
                "type": "boolean"
              },
              "language": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "native": {
                    "type": "string"
                  }
                }
              },
              "latitude": {
                "type": "number"
              },
              "longitude": {
                "type": "number"
              },
              "postal": {
                "type": "string"
              },
              "region": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "security": {
            "type": "object",
            "properties": {
              "is_abuser": {
                "type": "boolean"
              },
              "is_anonymous": {
                "type": "boolean"
              },
              "is_attacker": {
                "type": "boolean"
              },
              "is_bogon": {
                "type": "boolean"
              },
              "is_cloud_provider": {
                "type": "boolean"
              },
              "is_proxy": {
                "type": "boolean"
              },
              "is_relay": {
                "type": "boolean"
              },
              "is_residential_proxy": {
                "type": "boolean"
              },
              "is_threat": {
                "type": "boolean"
              },
              "is_tor": {
                "type": "boolean"
              },
              "is_tor_exit": {
                "type": "boolean"
              },
              "is_vpn": {
                "type": "boolean"
              }
            }
          },
          "time_zone": {
            "type": "object",
            "properties": {
              "abbreviation": {
                "type": "string"
              },
              "current_time": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "in_daylight_saving": {
                "type": "boolean"
              },
              "name": {
                "type": "string"
              },
              "offset": {
                "type": "integer"
              }
            }
          },
          "type": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
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"
]'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "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
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

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

## Available implementations
- ipregistry: https://openany.si/ipregistry/ipregistry-batch-ip-and-asn-intelligence/51a97e20-1ee4-454e-8c4d-402506132a0b/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
