How do I make my first request?
Use the production base URL over HTTPS and keep your API key in an environment variable.
curl -H "Authorization: Bearer YOUR_API_KEY" https://api.iprout.com/ip/8.8.8.8Which endpoint should I choose?
Use /ip when your application needs the requester's public address. Add an address to the path when you already know which IP you need to inspect.
- GET /ip: resolve the authenticated caller
- GET /ip/{ip}: resolve the supplied IPv4 or IPv6 address
What should I do next?
Add timeout and error handling, then review response fields and quota behavior before shipping your integration.
- Treat location as approximate
- Handle 401, 422, 429, and 500 responses
- Never expose a secret key in public client code