Expand / compress IPv6
Return both the fully-expanded (eight 4-hex groups) and canonical compressed (RFC 5952) forms of an address. IPv4 is returned unchanged in both fields.
- Category
- Other services
- Starting price
- $0.002
- Paid calls · 30 days
- 13
- Unique payers · 30 days
- 12
Paid endpoints
4 endpoints, sorted by usage. Prices are per request.
- POST/v1/expand
Return both the fully-expanded (eight 4-hex groups) and canonical compressed (RFC 5952) forms of an address. IPv4 is returned unchanged in both fields.
$0.002Base7calls / 30d - POST/v1/contains
Test whether an IP address falls within a CIDR block. A well-formed address of a different family (or simply outside the block) returns contains=false — not an error.
$0.002Base2calls / 30d - POST/v1/parse
Parse an IPv4 or IPv6 address and classify it — version, normalized form and RFC range (unicast, private, loopback, linkLocal, multicast, uniqueLocal, ipv4Mapped, …). Detects IPv4-mapped IPv6.
$0.002Base2calls / 30d - POST/v1/subnet
Compute network details of a CIDR block — network & broadcast address, usable host range, total and usable address counts. Works for IPv4 and IPv6 (counts returned as strings for large IPv6 blocks). Honours RFC 3021 for /31.
$0.002Base2calls / 30d