{"uid":"cap_MM9LfGYG9CMjrwZcuV48l","slug":"cloudflare-edge-ip-connection-info-lookup-6ec444d0","name":"Cloudflare Edge IP & Connection Info Lookup","description":"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.","url":"https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/util/ip?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"required":{"type":"string"},"properties":{"type":"string"}}},"responseSchema":{"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"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hsOo7NODFrMKOAiNCtzU_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Agent egress IP verification","prompt":"What public IP address is my agent currently making requests from, and what ASN and ISP organization does it belong to?"},{"title":"TLS and protocol compliance check","prompt":"Can you confirm what TLS version and HTTP protocol version my agent is using for outbound requests right now?"},{"title":"Geolocation routing sanity check","prompt":"Which country and city does the network think my agent is located in, and which Cloudflare PoP is handling its traffic?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:38:39.458Z","isFirstParty":false,"canonicalSlug":"cloudflare-edge-ip-connection-info-lookup-6ec444d0"}