83trust / 100

Ip Geo Locate

by NetIntel in Weather & location

x402 APIPassing, checked 3 h ago

IP geolocation lookup (geoip / IP location API) — geolocate any IPv4 or IPv6 address to city, region, country, latitude/longitude, timezone, and ISP/ASN as structured JSON so agents can localize content and enrich user records without a paid geolocation subscription. For proxy/VPN/anonymizer or hosting/datacenter detection, use /ip-risk/score or /ip-reputation/analyze.

GET https://netintel.dev/ip-geo/locate

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
178 ms typical, 178 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://netintel.dev/ip-geo/locate?ip=8.8.8.8"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fnetintel.dev%2Fip-geo%2Flocate
const res = await pay("https://netintel.dev/ip-geo/locate?ip=8.8.8.8");
console.log(await res.json());

Example input

{
  "ip": "8.8.8.8"
}

Example output

{
  "asn": "AS15169",
  "city": "Ashburn",
  "country": "United States",
  "country_code": "US",
  "findings": [],
  "grade": "A",
  "ip": "8.8.8.8",
  "isp": "Google LLC",
  "latitude": 39.0438,
  "longitude": -77.4874,
  "organization": "Google LLC",
  "region": "VA",
  "region_name": "Virginia",
  "score": 100,
  "timezone": "America/New_York",
  "zip": "20149"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402178 ms$0.002