Ask any question, get a cited answer
www.carsonbot402.dev/api/ask
Ask any question, get a cited answer: x402 debugging & troubleshooting Q&A. HTTP 402 payment required, facilitator verify & settle (CDP @coinbase/cdp-sdk), Bazaar discovery metadata & listing, x402 protocol docs, Next.js paid routes: @x402/core @x402/next @x402/express @x402/hono @x402/fastify @x402/fetch @x402/axios @x402/mcp; Gin; FastAPI/Flask. Exact scheme, authorization flow: charged only aft
POST
https://www.carsonbot402.dev/api/askUptime100% of 5 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://www.carsonbot402.dev/api/ask", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"question":"How do I debug x402 facilitator verify and settle failures after HTTP 402 Payment Required on Base, and attach Bazaar discovery metadata to a Next.js paid POST route?"}),
});
console.log(await res.json());Example input
{
"question": "How do I debug x402 facilitator verify and settle failures after HTTP 402 Payment Required on Base, and attach Bazaar discovery metadata to a Next.js paid POST route?"
}