# Cloudflare Edge IP & Connection Info Lookup

> Cloudflare Edge IP & Connection Info Lookup is a paid API for AI agents from x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-20).

Returns the caller's IP address and connection metadata as recorded by Cloudflare's edge (ASN, city, region, country, TLS version, HTTP protocol, user agent, etc.) without any external lookup.

## Facts

- Endpoint: GET https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/util/ip?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cloudflare-edge-ip-connection-info-lookup-6ec444d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MM9LfGYG9CMjrwZcuV48l

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability cloudflare-edge-ip-connection-info-lookup-6ec444d0
```

Example prompt: What IP address and connection details does the network see for this agent right now — including my ASN, country, city, TLS version, and which Cloudflare edge is handling the request?

## When to prefer this

Use this endpoint when you need to know the exact IP, ASN, geolocation, and connection properties (TLS, HTTP version) of the calling agent as seen by the Cloudflare network edge — without any additional external IP lookup latency. Prefer this over generic IP-info APIs when you want Cloudflare-native cf object fields (colo, continent, timezone) directly, or when you are already operating in a Cloudflare Workers environment.

## Known failure modes

- If the Cloudflare edge does not populate a field (e.g. city for certain IPs), it is returned as null rather than an error
- Worker availability issues could return 5xx errors
- Requests from certain proxies or VPNs may have incomplete geo data

## How this service works

An open index of the machine-to-machine (agent) economy. x402 routes: ranked discovery over the live x402 service market, every indexed service scored by real 30-day calls and paying-wallet bounds, with a receipt naming the snapshot hash and scoring revision. /economy routes, for Tempo MPP, Virtuals ACP, Olas, Masumi, ERC-8004 agent registries, Solana agent registries, Base agent contracts and MCP servers (Official MCP Registry): each protocol's published figures (agent or server counts, transactions or payment events; payers and USD volume only where the source publishes them: payers for x402 and Tempo MPP, USD volume for x402 and Virtuals ACP), each with its unit, window and source; units differ, so totals are not summed. L402 and per-service MPP listings are not covered.

## Output

A JSON object containing the caller's IP address, ASN number, AS organization name, city, region, country code, continent, timezone, Cloudflare colo (PoP), user agent string, TLS version, HTTP protocol version, and a timestamp of when the snapshot was taken. Fields the edge did not provide are returned as null.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ip": "203.0.113.7",
  "asn": 3320,
  "city": "Berlin",
  "colo": "FRA",
  "note": "What Cloudflare's edge recorded about this connection (request.cf), no external lookup; a field the edge did not provide is null.",
  "as_of": "2026-10-19T12:00:00.000Z",
  "region": "Berlin",
  "country": "DE",
  "timezone": "Europe/Berlin",
  "continent": "EU",
  "user_agent": "my-agent/1.0",
  "tls_version": "TLSv1.3",
  "http_protocol": "HTTP/2",
  "as_organization": "Deutsche Telekom AG"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cloudflare-edge-ip-connection-info-lookup-6ec444d0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev](https://www.zero.xyz/host/x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/llms.txt)
