zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
On this page
  • Playground
  • Code examples
  • Full reference
  • Related APIs
Dev Tools/IP Geolocation
Logo IP Geolocation

IP Geolocation

IP geolocation lookup — country, region, city, ISP, ASN, koordinat untuk IPv4 dan IPv6.

Endpoints
1
Requests
10
Updated
3 months ago
For LLMs
llms.txt
Endpoint health19 hours ago
  • lookuppassing, 0.1s
1/1 passingdaily 01:00 WIB

Playground

1 endpoint
GET/v1/dev-tools:ip-geo/lookup5m cache1 paramchecking key…
Parameters
ipstringrequired

IP address (IPv4 atau IPv6)

·
Response
EXAMPLE
{
  "ip": "8.8.8.8",
  "asn": "AS15169 Google LLC",
  "isp": "Google LLC",
  "org": "Google Public DNS",
  "zip": "20149",
  "city": "Ashburn",
  "region": "VA",
  "source": "geo",
  "country": "United States",
  "latitude": 39.03,
  "timezone": "America/New_York",
  "longitude": -77.5,
  "regionName": "Virginia",
  "countryCode": "US"
}

Code examples

Lookup
zpi-sdkrecommended
// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";

const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });

const data = await client.run("dev-tools:ip-geo", "lookup", {
  "ip": "8.8.8.8"
});
console.log(data);
Full SDK reference →
request.sh
curl -X GET "https://api.zpi.web.id/v1/dev-tools:ip-geo/lookup?ip=8.8.8.8" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Full reference

1 endpoint · plain text
GETLookup/v1/dev-tools:ip-geo/lookupPerform lookup dengan input yang diberikan.

Parameters

ipstringrequired
IP address (IPv4 atau IPv6)

Request

curl -X GET "https://api.zpi.web.id/v1/dev-tools:ip-geo/lookup?ip=8.8.8.8" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "ip": "8.8.8.8",
  "asn": "AS15169 Google LLC",
  "isp": "Google LLC",
  "org": "Google Public DNS",
  "zip": "20149",
  "city": "Ashburn",
  "region": "VA",
  "source": "geo",
  "country": "United States",
  "latitude": 39.03,
  "timezone": "America/New_York",
  "longitude": -77.5,
  "regionName": "Virginia",
  "countryCode": "US"
}

Related APIs

More in dev-tools

CF Sitekey Extractor

dev-tools/cf-sitekey

Mengekstrak Cloudflare Turnstile sitekey dari halaman web dengan multiple fetch mode.

35 calls·1h cache

DNS Lookup

dev-tools/dns-lookup

Query DNS records (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA) via secure DNS-over-HTTPS resolver.

20 calls·5m cache

WHOIS Lookup

dev-tools/whois-lookup

WHOIS / RDAP domain lookup — registrar, registration & expiry dates, nameservers, status, registrant contact.

13 calls·5m cache

Meta/OG Preview

dev-tools/meta-preview

Fetch link preview metadata dari URL — Open Graph, Twitter Card, favicon, canonical, theme color (kayak WhatsApp/Slack link preview).

6 calls·5m cache

SSL Labs

dev-tools/ssl-labs

Retrieve SSL/TLS analysis report for a hostname.

6 calls·5m cache

HTTP Headers Inspector

dev-tools/http-headers

Inspect HTTP response headers and redirect chain for any URL.

4 calls·5m cache
Browse APIsPricingDocsMCP serverGet an API key
zapi.One key, one response shape.
TermsPrivacyCookiesAUPRefunds© 2026