{"uid":"cap_jdekjC2dYm7IYMQer10zI","slug":"x402-demo-api-quote-endpoint-f2d8fc70","name":"x402 Demo API – Quote Endpoint","description":"Paid API with real data: AI/LLM, crypto prices, web search, translation, trending topics, sentiment analysis, aggregator, and more. All endpoints use x402 protocol on Base mainnet.","url":"https://x402-demo-api-theta.vercel.app/api/quote?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"unknown","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Jzcncp8zrfdlfRFFRs5T8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a price quote for a selected data service (AI/LLM, crypto prices, web search, translation, trending topics, sentiment analysis, etc.) before executing the paid call via x402 protocol on Base mainnet.","exampleAgentPrompt":"Before I commit to paying, can you get me a price quote for calling the crypto price endpoint on the x402 Demo API so I know exactly how much USDC it'll cost me?","exampleUseCases":null,"resultDescription":"Returns a quote object containing the estimated USDC cost for the requested service call on Base mainnet, along with relevant metadata about the endpoint being quoted, enabling the agent to confirm pricing before executing the actual paid request.","failureModes":["Invalid or unsupported service type returns 400 error","Missing required query parameters returns 400 with validation error","x402 payment infrastructure unavailable returns 503","Rate limiting or quota exceeded returns 429","Malformed request body returns 400"],"whenToPreferThis":"Use this endpoint when you need to check the cost of a specific data service call before committing to a payment. It is a pre-flight quote step in the x402 micropayment flow — call this before executing the actual paid endpoint to confirm pricing and avoid unexpected charges.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T06:40:54.589Z","isFirstParty":false,"canonicalSlug":"x402-demo-api-quote-endpoint-f2d8fc70"}