Use when an agent needs to know how it is seen from outside
x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/util/ip
Use when an agent needs to know how it is seen from outside: its public IP plus the country, region, city, ASN, AS organization, Cloudflare colo and TLS/HTTP version recorded by Cloudflare's edge for this connection. No external lookup. $0.001 per call (USDC or USDT). Or pay by stablecoin transfer with a one-time quote: see /pay.
GET
https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/util/ipUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/util/ip");
console.log(await res.json());Example input
{}