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
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 561 ms | $0.005 |
| 6 h ago | Passed | 402 | 205 ms | $0.005 |
| 10 h ago | Passed | 402 | 318 ms | $0.005 |
| 13 h ago | Passed | 402 | 321 ms | $0.005 |
| 17 h ago | Passed | 402 | 343 ms | $0.005 |
| 21 h ago | Passed | 402 | 310 ms | $0.005 |
| 24 h ago | Passed | 402 | 360 ms | $0.005 |
| 29 h ago | Passed | 402 | 233 ms | $0.005 |
| 32 h ago | Passed | 402 | 223 ms | $0.005 |
| 35 h ago | Passed | 402 | 247 ms | $0.005 |
| 40 h ago | Passed | 402 | 316 ms | $0.005 |