78trust / 100

Ip Geolocation

by mcpfax-utility.bowling-anthony.workers.dev in Weather & location

x402 APIPassing, checked 2 h ago

IP geolocation — IP address → location, ASN, ISP.

GET https://mcpfax-utility.bowling-anthony.workers.dev/v1/ip-geolocation

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://mcpfax-utility.bowling-anthony.workers.dev/v1/ip-geolocation?ip=IPv4+or+IPv6+address+%E2%80%94+required+%E2%80%94+e.g.+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%2Fmcpfax-utility.bowling-anthony.workers.dev%2Fv1%2Fip-geolocation
const res = await pay("https://mcpfax-utility.bowling-anthony.workers.dev/v1/ip-geolocation?ip=IPv4+or+IPv6+address+%E2%80%94+required+%E2%80%94+e.g.+8.8.8.8");
console.log(await res.json());

Example input

{
  "ip": "IPv4 or IPv6 address — required — e.g. 8.8.8.8"
}

Example output

{
  "city": "Ashburn",
  "country": "United States",
  "countryCode": "US",
  "ip": "8.8.8.8",
  "latitude": 39.03,
  "longitude": -77.5,
  "region": "Virginia"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402216 ms$0.005
6 h agoPassed402218 ms$0.005
10 h agoPassed402201 ms$0.005
13 h agoPassed402236 ms$0.005
17 h agoPassed402165 ms$0.005
20 h agoPassed402115 ms$0.005
23 h agoPassed402197 ms$0.005
27 h agoPassed402206 ms$0.005
31 h agoPassed402197 ms$0.005
35 h agoPassed402178 ms$0.005
38 h agoPassed402187 ms$0.005
42 h agoPassed402155 ms$0.005
45 h agoPassed402113 ms$0.005
2 days agoPassed402177 ms$0.005