{"uid":"cap_ozVQr-WrG0ppNECuky0_6","slug":"x402-ip-echo-api-0d74c460","name":"x402 IP Echo API","description":"Returns the public IP address of the caller as seen by the server - egress-IP checks for agents running behind proxies or VPNs","url":"https://workspace-x402-paywall.onrender.com/utils/ip?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false}}},"responseSchema":{"type":"object"},"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_FKeywqPFy06IhYwPKIcfS","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 public IP address for $0.001 USDC per call via x402 micropayment on Base or Solana","exampleAgentPrompt":"What's the public IP address this request is coming from? Return it as JSON.","exampleUseCases":[{"title":"Agent self-IP discovery","prompt":"What public IP address is my agent running from right now? Give me the answer as JSON."},{"title":"Server egress IP check","prompt":"Can you tell me what outbound IP address my backend server is using when it makes external requests? I need it in JSON format."},{"title":"Network debugging for deployed app","prompt":"I need to know the public-facing IP of my deployed service — can you echo back the IP address in text format so I can whitelist it?"}],"resultDescription":"Returns the public IP address of the calling client, either as a JSON object with an IP field or as a plain text string, depending on the requested format.","failureModes":["Payment not included or invalid x402 payment header — returns 402 Payment Required","Unsupported format value — may default or return error","Service temporarily unavailable on Render free tier — returns 503"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call, no-subscription IP echo with micropayment via USDC over x402 on Base or Solana — ideal for agents that need occasional IP detection without managing API keys or monthly billing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-28T12:43:18.316Z","isFirstParty":false,"canonicalSlug":"x402-ip-echo-api-0d74c460"}