A starting point for your research.
Enrich login events with country, city and ISP data for a security audit log.
The example request below was called on 2 Oct 2026 and responded (it needs your key to return data). Pricing, rate limits, and terms come from the provider; check its documentation before you build on it.
Know before you build
Imported from a community catalog. Only the example request below has been tested; pricing, rate limits, and terms have not been individually checked. Confirm requirements in the provider documentation before integration.
Check current provider documentation ↗Your first request
This request responded with HTTP 401 when we called it on 2 Oct 2026. Replace YOUR_API_KEY with a key from the provider. The provider did not send CORS headers, so the browser playground may be blocked; the cURL command works from a terminal.
curl --request GET 'https://api.ip2location.com/v2/?ip=8.8.8.8&key=YOUR_API_KEY&package=WS25&format=json'Practical questions
What can I build with IP2Location?+
Enrich login events with country, city and ISP data for a security audit log.
Does IP2Location need authentication?+
The example request needs a key: without one, the endpoint answered HTTP 401 in our test on 2 Oct 2026. Get a key from the provider and paste it into the playground.
Can I call IP2Location from a browser?+
In our test the provider did not send CORS headers, so browsers will probably block the playground request; use the cURL command instead. Browser access depends on the provider’s CORS policy for your origin, method, and headers. The playground makes a direct request and cannot bypass those restrictions.
Sources & confidence
This listing was imported on 16 September 2026. Its example request was called on 2 Oct 2026; that is a one-time check, not uptime monitoring.
- HTTPS (reported)
- Yes
- CORS (reported)
- Unknown
Source catalogs can become outdated. Read our review and attribution policy.