{"uid":"cap_lJ5RGR57NntfLdy-XsmaV","slug":"saylor-innovations-x402-whoami-echo-94670645","name":"Saylor Innovations x402 WhoAmI Echo","description":"Echo your public IP, user agent and payment as the server saw them - for debugging an x402 client","url":"https://saylorinnovations.com/api/x402/whoami?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","POST","PUT","PATCH","DELETE","HEAD"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["ip","payment","received_at"],"properties":{"ip":{"type":["string","null"],"description":"IP address"},"payment":{"type":"object"},"user_agent":{"type":["string","null"],"description":"User-agent the rules were evaluated for"},"received_at":{"type":"string","description":"Received at (UTC unless a time zone is given)"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9p7z2b1Av0EuY43YkdM3J","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Echoes the caller's public IP, user agent, and x402 payment details the server received, for debugging x402 client integrations.","exampleAgentPrompt":"Can you hit the Saylor Innovations x402 whoami endpoint and tell me what IP address, user agent, and payment details the server actually received from my client?","exampleUseCases":[{"title":"Verify x402 payment header delivery","prompt":"I just set up an x402 client and want to make sure my payment header is being transmitted correctly — can you call the Saylor Innovations whoami endpoint and show me exactly what payment details the server received?"},{"title":"Debug client IP visibility","prompt":"I need to know what public IP address the Saylor Innovations x402 server sees when my agent makes a request — can you call the whoami endpoint and report back?"},{"title":"Inspect user agent string server-side","prompt":"Can you call the Saylor Innovations x402 whoami endpoint so I can see what user agent string the server is picking up from my client?"}],"resultDescription":"A JSON object containing: the caller's public IP address (string or null), the user agent string (string or null), a payment object with the x402 payment details the server received, and a received_at ISO timestamp indicating when the request arrived.","failureModes":["Payment validation failure if x402 payment header is malformed or missing — server may reject with 402","Null IP or user agent if the server cannot determine those values from the request context","Network timeout if the endpoint is temporarily unavailable","Invalid payment amount or currency returns an error before echoing details"],"whenToPreferThis":"Use this endpoint specifically when debugging an x402 payment client integration — it is the only endpoint that reflects back both network identity (IP, user agent) AND the x402 payment object the server actually parsed, making it ideal for verifying end-to-end x402 payment header transmission. Prefer it over general HTTP echo services when payment protocol correctness is what you need to verify.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:42:38.617Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-x402-whoami-echo-94670645"}