78trust / 100

Lookup

by IP Geolocation Lookup in Weather & location

x402 APIPassing, checked 3 h ago

Resolve any public IPv4/IPv6 address (or hostname) to geolocation for analytics, fraud, and ops agents. Returns ISO country code, region, city, IANA timezone, latitude/longitude, EU membership flag, and the matched network range. Backed by an embedded MaxMind GeoLite2 dataset (no external API calls). Private and reserved IP ranges are rejected; no shell access.

GET https://geoip.bip-rep.com/lookup

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
316 ms typical, 360 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://geoip.bip-rep.com/lookup?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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fgeoip.bip-rep.com%2Flookup
const res = await pay("https://geoip.bip-rep.com/lookup?ip=8.8.8.8");
console.log(await res.json());

Example input

{
  "ip": "8.8.8.8"
}

Example output

{
  "area": 1000,
  "city": "Mountain View",
  "country": "US",
  "eu": false,
  "found": true,
  "ip": "8.8.8.8",
  "latency_ms": 1,
  "location": {
    "lat": 37.405992,
    "lon": -122.078515
  },
  "metro": 807,
  "range": [
    134744064,
    134744319
  ],
  "region": "CA",
  "timezone": "America/Los_Angeles"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402561 ms$0.005
6 h agoPassed402205 ms$0.005
10 h agoPassed402318 ms$0.005
13 h agoPassed402321 ms$0.005
17 h agoPassed402343 ms$0.005
21 h agoPassed402310 ms$0.005
24 h agoPassed402360 ms$0.005
29 h agoPassed402233 ms$0.005
32 h agoPassed402223 ms$0.005
35 h agoPassed402247 ms$0.005
40 h agoPassed402316 ms$0.005