{"uid":"cap_uM5TaN0jeJhcE7k3CXT_S","slug":"x-pay-payment-quote-27fbc733","name":"X Pay Payment Quote","description":"Payment quote with amount, asset, and merchant wallet","url":"https://www.api-xpay.com/x402/quote?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","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"quote":{"asset":"USDC","payTo":"0x589a2314a2E05F45e40C4823Da3Ba58D421dB3d8","amount":"0.005","network":"base","protocol":"x402","requestId":"req_abc123"},"service":"X Pay","success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_F2Srfkon1aP_br021EULY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a payment quote including amount, asset (USDC), network, and merchant wallet address for an x402 pay-per-request API call","exampleAgentPrompt":"Before I submit the USDC payment, can you get me an X Pay quote for a GET request so I know the exact amount, wallet address, and network I need to send to on Base?","exampleUseCases":[{"title":"Pre-payment cost check for API call","prompt":"Can you fetch me an X Pay payment quote for a GET request so I can confirm the USDC amount and the wallet address before I authorize the payment?"},{"title":"Building an x402 payment flow","prompt":"I'm setting up an automated x402 payment workflow — get me a quote from X Pay for a GET request so I can pull the payTo address, amount in USDC, and the Base network details I need to wire everything together."},{"title":"Auditing micropayment pricing","prompt":"I want to verify how much X Pay charges per GET request in USDC — can you pull a quote so I can see the exact amount and which wallet it goes to on Base?"}],"resultDescription":"Returns a JSON object containing: quote (with asset, payTo wallet address, USDC amount, Base network, x402 protocol, and requestId), service name, and a success boolean. The quote object provides all parameters needed to construct a valid x402 payment.","failureModes":["Missing or invalid 'input' object returns a 400 validation error","Invalid HTTP method value (only GET, HEAD, DELETE allowed) returns a schema validation error","Network or service downtime returns a 503 or connection error","Malformed query parameters may result in unexpected quote response"],"whenToPreferThis":"Use this endpoint when you need to retrieve current x402 payment parameters (amount, wallet address, network) before executing a micropayment for an X Pay API call. Prefer this over hardcoding payment values, as it ensures you have the latest quote and correct routing details. Ideal for automated agents building x402-compliant payment flows on Base with USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:26:32.872Z","isFirstParty":false,"canonicalSlug":"x-pay-payment-quote-27fbc733"}