IP LOCATION API

Free IP Geolocation API — fast IP lookup & location data

Instant IP lookup with accurate IP geolocation, country, city, coordinates, timezone, currency, and more. Supports IPv4 and IPv6. Subscriptions from Rp 19,000/month (Starter 20,000 hits). Start free with 25 hits/month.

Accurate IP geolocation for fraud checks, personalization, and analytics

Use this Free IP Geolocation API to turn any IPv4 or IPv6 address into structured location data: country, city, state/province, postal code, latitude/longitude, timezone, currency, and country metadata. Perfect for fraud detection, content localization, compliance, and analytics.

Get predictable JSON, minute-fast responses, and global coverage. Ideal for security (login anomaly checks), payments (geo validation), personalization (language/currency), and BI (traffic by region). Start free and scale as you grow.

🌍

Global Coverage

Accurate IP geolocation worldwide, IPv4 & IPv6.

⚡

Low Latency

CDN-backed delivery with predictable JSON output.

🛡️

Fraud & Security

Detect anomalies by country/region for auth & payments.

🎯

Localization

Serve the right language, currency, or content automatically.

Pick a Tier for Your Volume

Start free with 25 hits/month, or subscribe for higher volume. Monthly subscription with clear hit quotas. Starter Rp 19.000 (20,000 hits), Pro Rp 49.000 (100,000 hits), Business Rp 99.000 (unlimited).

Free

Rp 0

/ month • 25 free hits

  • • Try the API without subscribing
  • • IPv4 & IPv6 geolocation
  • • 0 points per hit

Get Started Free

Starter

Rp 19.000

/ month • 20,000 hits

  • • IPv4 & IPv6 geolocation
  • • Country, city, timezone data
  • • 0 points per hit

Subscribe Starter

Business

Rp 99.000

/ month • Unlimited

  • • All Pro features
  • • High-volume production
  • • Priority support

Subscribe Business

Note: Subscription applies per product. No per-hit fees within your monthly tier quota. Subscribe from the dashboard.

IP Geolocation API docs

Single endpoint, rich IP location fields, clean JSON.

GET
{{base-url}}/location/ip-geolocation?ip=8.8.8.8

Lookup any IPv4 or IPv6 address and return location, currency, and country metadata.

Property Value
Base URL {{base-url}}
Auth x-api-co-id: YOUR_API_KEY
Method GET
Query ip (required) — IPv4 or IPv6 address
Pricing Starter Rp 19,000 (20,000 hits) • Pro Rp 49,000 (100,000 hits) • Business Rp 99,000 (unlimited) • 25 free hits/month • 0 points per hit
Example Response
{
  "is_success": true,
  "message": "Success",
  "data": {
    "ip": "8.8.8.8",
    "location": {
      "continent_code": "NA",
      "continent_name": "North America",
      "country_code2": "US",
      "country_name": "United States",
      "state_prov": "California",
      "city": "Mountain View",
      "zipcode": "94043",
      "latitude": "37.4224",
      "longitude": "-122.0842",
      "timezone": "America/Los_Angeles",
      "country_emoji": "🇺🇸"
    },
    "country_metadata": {
      "calling_code": "+1",
      "tld": ".us",
      "languages": ["en-US", "es-US"]
    },
    "currency": {
      "code": "USD",
      "name": "US Dollar",
      "symbol": "$"
    }
  }
}

Pertanyaan seputar IP geolocation

Jawaban singkat soal parameter, isi response, dukungan IPv6, dan kuota.

Bagaimana cara melakukan lookup IP?▼

Panggil GET /location/ip-geolocation dengan parameter ip berisi alamat yang ingin diperiksa, dan sertakan API key di header x-api-co-id.

Apakah IPv6 didukung?▼

Ya. Endpoint yang sama menerima alamat IPv4 maupun IPv6.

Data apa saja yang dikembalikan?▼

Objek location memuat benua, country_code2, country_name, state_prov, city, zipcode, latitude, longitude, dan timezone. Ada pula country_metadata berisi kode telepon, TLD, dan daftar bahasa, serta objek currency berisi kode, nama, dan simbol mata uang.

Untuk apa API ini biasanya dipakai?▼

Deteksi anomali login dan pengecekan fraud, validasi geografis pada pembayaran, personalisasi bahasa dan mata uang, serta analitik trafik per wilayah.

Berapa kuota gratisnya?▼

25 hit per bulan tanpa berlangganan, memakai 0 points per hit.

Berapa harga tiap tier langganan?▼

Starter Rp 19.000 per bulan untuk 20.000 hit, Pro Rp 49.000 untuk 100.000 hit, dan Business Rp 99.000 tanpa batas hit. Tidak ada biaya per hit selama masih di dalam kuota tier.

Apakah langganannya berlaku lintas produk?▼

Tidak. Langganan berlaku per produk, jadi kuota IP geolocation terpisah dari produk lain di akun yang sama.

Bergabung dengan 8.000+ pengguna yang sudah mengandalkan API kami untuk operasional bisnis.

8.000+
Pengguna
100+
Bisnis
8jt+
Panggilan API
99,9%
Uptime SLA

Dipercaya oleh 100+ bisnis di berbagai industri

Dari instansi pemerintah, teknologi, dan pendidikan sampai kesehatan dan telekomunikasi, mencakup 8 sektor industri di seluruh Indonesia.

Launch IP location in days, not months

Start with 25 free hits/month, then subscribe from Rp 19,000/month when you need more volume.

Get Your API Key

Ditinjau oleh CTO Api.co.idDiperbarui 27 Agustus 2026
Scroll to Top