Recipe: Pay-Per-Call API in 12 Minutes
Transcript
Recipe to charge AI agents per API call. Twelve minutes. Save this. Ingredients — Vercel. The x402 dash mcp package. A Coinbase Base wallet. One USDC for the test. Step one — install x402 dash mcp from npm. Step two — wrap any function with server dot paidTool. Set the price in dollars. One cent per call is the market rate. Step three — set your wallet as the recipient in the handler config. Step four — deploy to Vercel as a single default export. Step five — list the endpoint on Circle Agent Marketplace. Five hundred tools, live this week. Garnish — mix free and paid tools in the same server. Server dot tool for free. Server dot paidTool for paid. Agents try free, upgrade to paid. Conversion jumps. Save this recipe. Drop your function variant in the comments. Part two next — the multi-tool build.