South Star

IP Address Toolkit IPv4 IPv6 Subnet CIDR Math Classification API

Free tier included · Tools
IPv4/IPv6 toolkit: parse, subnet math, CIDR containment, conversion, split, merge, and classification.

IP Address Toolkit API is a comprehensive engine for IPv4 and IPv6 network manipulation supporting subnets, VLSM, split/merge, and classification. Newly added v2 endpoints introduce advanced batch operations: split networks into equal subnets, aggregate CIDRs into supernets, merge overlapping ranges, summarize raw IP lists into minimal CIDRs, sort addresses numerically, and perform deep classification including IANA special-use blocks.

Designed for network administrators, security engineers, and infrastructure automation, this API eliminates the need to bundle complex networking libraries or maintain custom IP math scripts. Use it in 3-4 concrete scenarios: 1) Firewall automation — check if incoming request IPs fall within corporate CIDR blocks (`/contains`). 2) VPC and subnet planning — split large address spaces or merge fragmented ranges (`/v2/split`, `/v2/supernet`). 3) Log analysis and SIEM enrichment — classify, sort, and summarize thousands of raw IP logs in batch (`/v2/summarize`, `/v2/classify`). 4) IPAM integration — fetch exact network addresses, usable host ranges, and wildcard masks (`v2/subnet/full`).

The service is completely offline, stateless, and performs no request logging. Batch endpoints accept up to 100 items per request, while single-address and CIDR endpoints process instantaneously.

Endpoints

MethodPathWhat it does
GET/Root
GET/healthHealth
GET/parseParse
GET/subnetSubnet
GET/containsContains
GET/convertConvert
GET/v2/subnet/fullFull subnet details
GET/v2/parse/fullFull IP classification
POST/v2/splitSplit a network into subnets
POST/v2/supernetAggregate networks into a supernet
POST/v2/mergeMerge overlapping or adjacent networks
GET/v2/ranges/privatePrivate IP ranges
GET/v2/ranges/specialIANA special-use ranges
POST/v2/summarizeSummarize a list of IPs
POST/v2/sortSort a list of IPs
POST/v2/classifyClassify a list of IPs

Quick start

curl -X GET "https://iptool.p.rapidapi.com/parse?ip=8.8.8.8" \
  -H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
  -H "X-RapidAPI-Host: iptool.p.rapidapi.com"

FAQ

Are IPv6 addresses fully supported across all calculation endpoints?

Yes. All endpoints natively handle both IPv4 and IPv6 addresses and CIDR notations using Python's robust `ipaddress` standard library.

What is the maximum batch size for POST endpoints like summarize or sort?

Batch endpoints accept up to 100 items per request (`minItems: 1`, `maxItems: 100`).

Does this API make external requests or store my IP inputs?

No. All calculations and classifications are performed entirely offline using embedded IANA registries and standard algorithms. No logs or request states are stored.

How does `is_global` differ from standard library implementations?

It follows the IANA IPv4/IPv6 Special-Purpose Address Registry's "Globally Reachable" column for the most specific block, avoiding outdated built-in definitions.

Try IP Address Toolkit IPv4 IPv6 Subnet CIDR Math Classification free

Free tier on every plan. Get an API key and start calling in under a minute.

Open on RapidAPI

Related APIs