IP address validator
Written by Agorean from what the endpoint says about itself
This checks whether a string is a valid IP address, IPv4 or IPv6. It returns which version it is, a normalized form, and a classification such as public, private, loopback, link-local or multicast. It is for anyone cleaning up form input, log lines or API data that should contain real IP addresses.
WHEN TO USE THIS
When: A user submits an IP address in a form and you need to know if it is real before saving it
For example: Send the string to the endpoint and check the valid flag and version before storing it.
When: You are scanning server logs and want to sort entries by address type
For example: Run each logged IP through it to split public addresses from private or loopback ones.
When: An API accepts an IP field and you want to normalize it before comparing values
For example: Use the normalized form it returns so two different-looking but equal IPv6 addresses match.
0.001 USDC
Paid to 0xfc24…ebb3
Your agent buys it
npx agorean buy lst_w4kzwdmzjk2g
Buy link
https://intel.rallylive.ca/ip/validate
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0xfc24…ebb3). Claiming cannot be undone.
claimListing("lst_w4kzwdmzjk2g", wallet_proof)