# x402 isn’t good (yet) — Jan Curn, Apify <!-- ref: @content/youtube/aie/x402-isn-t-good-yet-jan-curn-apify tags: [x402, agent payments, HTTP 402, micropayments, double spending, batch settlement, MCP, agent marketplaces] version: 3 updated_at: 2026-11-24T04:29:42.026Z --> **[Watch on YouTube](https://www.youtube.com/watch?v=h6mi88VrPtQ)** # x402 isn’t good (yet) — Jan Curn, Apify *Synthesized from Jan Curn's talk on AI Engineer, 2026-09-01.* Jan Curn presents as founder and CEO of Apify, which he describes as the largest marketplace for AI tools. The talk is a single presentation with no host. ## Core Thesis Jan argues that x402, Coinbase's protocol that uses HTTP 402 for machine payments, is a real opening for agent payments but is not ready. He says it has a double-spend window, collides with MCP's authentication flow, and assumes fixed per-call prices that do not fit metered tools. Apify's workaround is an agent-facing service called AGI. ## Key Insights - **Why Apify cares.** Its marketplace holds about 45,000 tools, called actors, and community creators earn over $1 million a month from them. Its x402 integration with Coinbase added about 20,000 tools, which he says raised the x402 tool market tenfold. - **Crowded field.** He lists more than a dozen competing agent-payment standards from card networks, crypto projects and large platforms. - **Why crypto, in his view.** Card and bank rails are too expensive for microtransactions, and disputes are unworkable when the agent on the other side cannot be identified. He says Coinbase's x402 is about 20 times the transaction volume of Stripe's MPP. - **Double spending.** The server must do the work and only later settle on-chain, so a buyer can reuse the same funds for many signed requests. Workarounds are to do the work after settlement, which risks non-payment, or to charge a fixed fee and refund the rest, which means two on-chain transactions and trust in the server. - **Protocol conflict.** The x402 spec requires a 402 response, while he says MCP's auth flow expects a 401. Teams work around this with separate payment hostnames, which he calls an anti-pattern. He argues the protocol should use headers instead. - **Scheme mismatch.** The "exact" scheme suits a fixed fee per call. Apify actors can run for seconds or hours and bill by usage, and the later "up to" scheme did not fix the double-counting problem. - **Batch settlement.** Coinbase's newer scheme has the client deposit funds into escrow and sign off-chain vouchers for micropayments, which are settled in batches. Apify says it is implementing this. - **AGI.** agi.apify.com is a plain markdown document of instructions for agents. An agent buys a prepaid token and then calls Apify's API or MCP. Because agents read the latest version, Apify can change it quickly. His live demo failed, and he says setup takes about 10 minutes. ## Actionable Takeaways 1. Before putting x402 in front of a metered tool, decide how you prevent double spending: settle before work, work before settlement with fixed prices, or sell prepaid tokens. 2. Avoid a separate payment hostname per provider if you can; the duplication is the anti-pattern he describes. 3. Consider a prepaid-token endpoint with agent-readable instructions as a stopgap, since agents pick up changes immediately. 4. Watch batch settlement with escrow and off-chain vouchers for workloads with many small metered calls. ## Notable Quotes > "This status code has been patiently waiting for 30 years for someone to pick it up." — Jan Curn > "It's like imagining that you need amazon.com for different credit cards." — Jan Curn --- *Related: `@content/youtube/yifan-bth/we-are-missing-the-point-of-mcp-its-not-just-about-tools` · `@content/youtube/tiago-forte/i-connected-claude-to-everything-then-i-saw-the-gap` · `@content/youtube/every-inc/microsofts-vision-for-an-internet-made-for-agents-with-cto-kevin-scott-best-of-the-pod` · `@content/youtube/tiago-forte/i-connected-my-entire-business-to-claude` · `@content/youtube/cole-medin/anthropic-just-dropped-a-masterclass-on-building-agent-harnesses-for-large-codebases`* --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*