Straightforward, no-nonsense IP address data. Open to everyone. Supports bulk queries, XML, YAML and JSON.
Compatible with any stack that speaks HTTP. No SDKs, no bloat. Copy, paste, and ship.
Base URL: https://api.ipquery.io
/
Returns your current IP address. If no specific format is requested, this endpoint defaults to returning plain text.
/{ip}
Returns full intelligence data for a specific IP address including location, ISP, and risk scoring.
/{ip},{ip}...
Bulk query multiple IP addresses in a single request. Comma separated. Results are returned as a list.
Batch limit: 10,000 IPs per request. Results are returned in order.
| country | String | Full name of the country. |
| country_code | String | Two-letter ISO 3166-1 alpha-2 country code. |
| city | String | City name. |
| state | String | Region or state name. |
| zipcode | String | Postal code. |
| timezone | String | Timezone identifier. |
| is_mobile | Boolean | True if associated with cellular network. |
| is_vpn | Boolean | True if belongs to a known VPN provider. |
| is_tor | Boolean | True if is a known Tor exit node. |
| is_proxy | Boolean | True if is a known public proxy. |
| risk_score | Integer | 0-100 score indicating malicious activity likelihood. |
| Code | Description |
|---|---|
| 400 | Bad Request - Invalid IP format or query parameters. |
| 429 | Too Many Requests - You have exceeded the rate limit. |
| 500 | Internal Server Error - Something went wrong on our end. |
Yes. We offer a public, free-tier API that covers most developer use-cases. We believe in open access to basic infrastructure data.
No. All our data is aggregated and processed on our own infrastructure. You only rely on us, not third-party resolvers.
Absolutely. You can integrate ipquery into commercial applications, SaaS products, and internal tools without restriction.
We only log transient data for caching and abuse prevention (rate limiting). We do not sell query data to third parties.