IP Analyzer
The /ip endpoint analyzes an IPv4 or IPv6 address and returns its type, class, binary representation, decimal value, and reverse DNS notation. If no address is provided, the client's own IP is analyzed.
Use Cases
Determine whether an IP is public or private, inspect the binary and decimal form of an address, generate the reverse DNS record for PTR lookups, or identify the address class for network planning.
curl -X GET \ "https://api.moxon.dev/v4/ip"Send the request to see the response here.
addressstringoptionalIPv4 or IPv6 address to analyze. Defaults to the client's IP.
ipstringThe analyzed IP address
version"IPv4"|"IPv6"IP protocol version
typestringAddress type:
public,private,loopback,link-local,multicast, orbroadcastclassstringIPv4 address class only:
A,B,C,D, orErangestringCIDR range the address belongs to (IPv4 private/special ranges)
binarystringBinary representation of the address
decimalnumberDecimal representation (IPv4 only)
reversestringReverse DNS notation (
.in-addr.arpafor IPv4,.ip6.arpafor IPv6)
- 400
Invalid IP address.Theaddressparameter is not a valid IPv4 or IPv6 address
Last updated on May 11, 2026