Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Lite (/lite) is free and unlimited: country, continent and ASN only. Core (/lookup) needs a paid plan and returns city-level geo plus network flags.
- Paid plans have a monthly request quota; past it calls return 429 unless metered billing is on. No per-second throttling.
- Use ‘me’ as the IP to look up the caller’s own address.
Endpoints
Look up an IP’s country and ASN (Lite)
Get one Lite field for an IP
- Answers plain text, not JSON.
Look up an IP’s location and network (Core)
- Needs a Core plan or higher; counts against the monthly quota.