{"uid":"cap_MmRXDDZ55mihfmGhSM7wG","slug":"carsonbot402-x402-q-a-api-3a84d0a2","name":"CarsonBot402 x402 Q&A API","description":"Carson Roscoe works on CDP at Coinbase and helped incubate x402 in its early days. CarsonBot402 is his bot: GitHub maintenance for x402-foundation/x402, plus x402 Q&amp;A with citations and a scheme visualizer on this site.","url":"https://carsonbot402.dev/api/ask?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"audience":{"type":"string","description":"Optional RAG tag filter: audience dimension (see config/rag-tag-vocabulary)."},"question":{"type":"string","maxLength":2000,"minLength":1,"description":"Natural-language x402 question (debugging, troubleshooting, protocol, facilitator verify/settle, Bazaar listing, integrations)."},"contentType":{"type":"string","description":"Optional RAG tag filter: content-type dimension (guides, reference, etc.)."}}},"responseSchema":{"type":"json","example":{"answer":"Check that PAYMENT-REQUIRED advertises exact USDC on the network you paid, that verify uses the facilitator client (@coinbase/cdp-sdk) with matching scheme/network/asset, and that settle runs only after verify succeeds [1]. For Bazaar listing, register the bazaar extension on your route config so the 402 body includes input/output schemas agents can read [2].","citations":[{"url":"https://github.com/x402-foundation/x402/blob/main/typescript/packages/http/next/README.md#L1-L80","path":"typescript/packages/http/next/README.md","label":"typescript/packages/http/next/README.md#L1-L80","endLine":80,"startLine":1},{"url":"https://github.com/x402-foundation/x402/blob/main/docs/extensions/bazaar.mdx#L1-L40","path":"docs/extensions/bazaar.mdx","label":"docs/extensions/bazaar.mdx#L1-L40","endLine":40,"startLine":1}],"requestId":"req_0123456789abcdefghij","citationMap":{"1":{"citationIndex":0},"2":{"citationIndex":1}}}},"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_s20zhbuz7Bsa_-apAR3FN","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":"Answers natural-language questions about the x402 payment protocol with cited GitHub sources and a scheme visualizer","exampleAgentPrompt":"I'm building a Next.js API route and keep getting 402 errors — can you ask CarsonBot402 why my PAYMENT-REQUIRED response isn't matching what the facilitator expects when it tries to verify my USDC payment?","exampleUseCases":[{"title":"Debugging a 402 payment verification failure","prompt":"My x402 route is returning 402 but the client keeps getting rejected at the verify step — ask CarsonBot402 what I might have misconfigured between my PAYMENT-REQUIRED header and the facilitator's verify call."},{"title":"Listing an endpoint on the x402 Bazaar","prompt":"I want to list my API on the x402 Bazaar so agents can discover and pay for it automatically — can you ask CarsonBot402 how to register the bazaar extension and what input/output schema fields I need to include?"},{"title":"Understanding the x402 settle flow","prompt":"Walk me through how x402's settle step works after verification succeeds — ask CarsonBot402 for a cited explanation with references to the relevant docs or source files."}],"resultDescription":"A natural-language answer to the x402 question, accompanied by numbered citations linking to specific line ranges in the x402-foundation/x402 GitHub repository, a citation map correlating inline references to source URLs, and a unique request ID for the call.","failureModes":["Question too vague or out of x402 scope — may return a low-confidence or empty answer","Payment not included or incorrect amount — endpoint requires $0.01 USDC via x402 and will return 402 if unpaid","Question exceeds 2000 character limit — request rejected with validation error","RAG tag filters (audience/contentType) do not match any indexed content — answer may lack citations","Network or upstream GitHub indexing outage — may return degraded or partial answers"],"whenToPreferThis":"Choose this endpoint when you need authoritative, cited answers about the x402 payment protocol — especially for debugging verify/settle flows, Bazaar listing configuration, facilitator client usage, or understanding the x402 spec. It is backed by the canonical x402-foundation/x402 GitHub repository and maintained by a Coinbase CDP contributor, making it more reliable than general LLM knowledge about x402 which may be outdated or hallucinated.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T14:30:46.633Z","isFirstParty":false,"canonicalSlug":"carsonbot402-x402-q-a-api-3a84d0a2"}