APIHub
Back to Explore

ipstack

IPstack is a real‑time IP geolocation API that returns detailed information for any IP address, including location (city, region, country, latitude/longitude), currency, timezone, ISP and connection details, as well as security attributes such as VPN or proxy detection.

Geocoding
apiKeyQuery
HTTPS
CORS: Unknown
Description enriched
Visit official documentation

Latency

100ms p95

Uptime

100.0% 30d

Playground

Verified

live

Endpoints

REST · JSON
GET

/{ip}

Retrieve full geolocation, connection and security data for a given IP address.

  • ip (path, required) — The IP address (IPv4 or IPv6) to look up.
  • access_key (query, required) — Your API access key (required for authentication).
  • fields (query) — Comma‑separated list of specific data fields to include in the response (optional).
  • format (query) — Response format, either json (default) or xml (optional).

1 endpoint auto-detected

Authentication

This API uses an API key, passed as the "access_key" query parameter. No OAuth required.

curl -X GET \
  "https://ipstack.com//{ip}?access_key=YOUR_API_KEY"

ipstack.com · HTTPS only