Convert an IPv4 or IPv6 address between notations
Convert an IPv4 or IPv6 address between notations: RFC 5952 compressed, expanded, integer, hex, binary, reverse DNS, NAT64.
Answeringour last check, 2026-10-21
1 of 1checks answered this week
406 msmedian answer time
$0.02listed price per call
$0.02price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://network-calc.x402tookit.com/ip-format
| Category | Everything else |
|---|---|
| Provider host | network-calc.x402tookit.com |
| Networks | eip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-21 | valid payment request | 402 | $0.02 | 406 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"ip": "2001:0db8:0000:0000:0000:ff00:0042:8329"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"ip": {
"description": "IPv4 (192.0.2.1) or IPv6 address, any valid form, for example 2001:0db8:0:0:0:ff00:42:8329",
"type": "string"
}
},
"required": [
"ip"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"addressType": {
"type": [
"null",
"string"
]
},
"asOf": {
"type": [
"null",
"string"
]
},
"binary": {
"type": [
"null",
"string"
]
},
"canonical": {
"type": [
"null",
"string"
]
},
"compressed": {
"type": [
"null",
"string"
]
},
"degraded": {
"type": [
"boolean",
"null"
]
},
"disclaimer": {
"type": [
"null",
"string"
]
},
"embeddedIpv4": {},
"expanded": {
"type": [
"null",
"string"
]
},
"hex": {
"type": [
"null",
"string"
]
},
"integer": {
"type": [
"null",
"string"
]
},
"ipv4Mapped": {},
"ipv4MappedHex": {},
"nat64": {},
"notChecked": {
"items": {
"type": "string"
},
"type": [
"array",
"null"
]
},
"reasons": {
"items": {
"type": "string"
},
"type": [
"array",
"null"
]
},
"reverseDns": {
"type": [
"null",
"string"
]
},
"sixToFourPrefix": {},
"source": {
"type": [
"null",
"string"
]
},
"summary": {
"type": [
"null",
"string"
]
},
"valid": {
"type": [
"boolean",
"null"
]
},
"verdict": {
"type": [
"null",
"string"
]
},
"version": {
"type": [
"null",
"number"
]
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}