IPRout

Look Up a Specific IP Address

Append the IPv4 or IPv6 address to /ip/ when you need to inspect a known address. For example, GET /ip/8.8.8.8 returns data for 8.8.8.8 rather than the caller. Invalid addresses return HTTP 422 instead of silently falling back to caller lookup.

Last updated August 10, 2026

How do I look up 8.8.8.8?

Pass the address as the final path segment and authenticate the request.

curl -H "Authorization: Bearer YOUR_API_KEY" https://api.iprout.com/ip/8.8.8.8

Does this endpoint use my caller IP?

No. Once an address is present in the path, IPRout resolves that explicit address only.

How should invalid input be handled?

Validate obvious formatting errors before calling the API and handle HTTP 422 for addresses the endpoint cannot accept.

  • Encode IPv6 addresses correctly in the URL path
  • Do not retry a permanent 422 error
  • Log validation failures without logging API keys