Cloudflare x402
cloudflare-x402
fields
chains
Base, Ethereum, Polygon, Optimism, Arbitrum, Avalanche, Solana, Aptos, Stellar, Sui; Base Sepolia (testnet); USDC primary2 revisions
developers.cloudflare.com2026-05-12
payment_protocols
x402 v1 and v2 (HTTP 402-based); Machine Payments Protocol (MPP, WWW-Authenticate: Payment header scheme); x402 Foundation co-founder2 revisions
developers.cloudflare.com2026-05-12
registry_endpoint
—
services
Agents SDK x402 client — https://developers.cloudflare.com/agents/agentic-payments/x402/pay-from-agents-sdk/ — withX402Client wraps MCP clients so Workers-based agents auto-pay 402 responses
paidTool MCP server — https://developers.cloudflare.com/agents/agentic-payments/x402/charge-for-mcp-tools/ — paidTool() decorator gates any MCP tool call behind an x402 micropayment
HTTP content gating (x402) — https://developers.cloudflare.com/agents/agentic-payments/x402/charge-for-http-content/ — Worker proxy that gates APIs, web pages, and files with x402 paywall
HTTP content gating (MPP) — https://developers.cloudflare.com/agents/agentic-payments/mpp/charge-for-http-content/ — Worker proxy with MPP (WWW-Authenticate: Payment) header support
pay-per-crawl — https://developers.cloudflare.com/ai-crawl-control/features/pay-per-crawl/ — Cloudflare-native deferred x402 payments for AI crawlers; daily batch settlement via card or stablecoin
x402 playground — https://playground.x402.cloudflare.com/ — Live demo environment with testnet USDC wallet provisioned per session
OpenCode plugin — https://developers.cloudflare.com/agents/agentic-payments/x402/pay-with-tool-plugins/ — x402-fetch tool plugin for OpenCode; intercepts 402 responses and retries with payment
Claude Code hook — https://developers.cloudflare.com/agents/agentic-payments/x402/pay-with-tool-plugins/ — PostToolUse hook for Claude Code that transparently handles 402 responses via @x402/fetch3 revisions
developers.cloudflare.com2026-05-12
auth_model
Permissionless x402 — client provides PAYMENT-SIGNATURE header; no accounts required; Cloudflare Workers authenticate via Coinbase CDP facilitator for settlement
blog.cloudflare.com2026-05-04
sdk_languages
TypeScript/JavaScript (x402-hono npm, @x402/fetch npm, @x402/evm npm, agents/x402 included in Cloudflare Agents SDK)
blog.cloudflare.com2026-05-04
pricing_model
Open-source SDKs; x402 has no protocol fee; Cloudflare Workers billing applies; pay-per-crawl deferred settlement via card/stablecoin
blog.cloudflare.com2026-05-04
announcement_url
developers.cloudflare.com2026-05-12
history · 14 fields · 23 revisions
name1 revision
“Cloudflare is partnering with Coinbase to create the x402 Foundation. Agents built using Cloudflare's Agent SDK can now pay for resources with x402, and MCP servers can expose tools to be paid for via x402.”
vendor1 revision
“Cloudflare is partnering with Coinbase to create the x402 Foundation. Agents built using Cloudflare's Agent SDK can now pay for resources with x402, and MCP servers can expose tools to be paid for via x402.”
category1 revision
“Cloudflare is partnering with Coinbase to create the x402 Foundation. Agents built using Cloudflare's Agent SDK can now pay for resources with x402, and MCP servers can expose tools to be paid for via x402.”
chains2 revisions
Base, Ethereum, Polygon, Optimism, Arbitrum, Avalanche, Solana, Aptos, Stellar, Sui; Base Sepolia (testnet); USDC primarycurrentdevelopers.cloudflare.com · 2026-05-12
“Cloudflare's Agents SDK supports agentic payments through two protocols built on HTTP 402: x402 and Machine Payments Protocol (MPP). Both follow the same core flow: request, 402 payment challenge, client fulfills payment, server verifies and returns resource.”
Base, Ethereum, Polygon, Optimism, Arbitrum, Avalanche, Solana, Aptos, Stellar, Sui; Base Sepolia (testnet); USDC primarysupersededblog.cloudflare.com · 2026-05-04
“Cloudflare is partnering with Coinbase to create the x402 Foundation. Agents built using Cloudflare's Agent SDK can now pay for resources with x402, and MCP servers can expose tools to be paid for via x402.”
payment_protocols2 revisions
x402 v1 and v2 (HTTP 402-based); Machine Payments Protocol (MPP, WWW-Authenticate: Payment header scheme); x402 Foundation co-foundercurrentdevelopers.cloudflare.com · 2026-05-12
“Cloudflare's Agents SDK supports agentic payments through two protocols built on HTTP 402: x402 and Machine Payments Protocol (MPP). Both follow the same core flow: request, 402 payment challenge, client fulfills payment, server verifies and returns resource.”
x402 (HTTP 402-based); exact scheme (fixed ERC-20/USDC transfer); upto scheme (EVM, max-authorize then settle-actual); deferred scheme (proposed — HTTP message signatures, batch/subscription settlement without per-tx on-chain)supersededblog.cloudflare.com · 2026-05-04
“Cloudflare is partnering with Coinbase to create the x402 Foundation. Agents built using Cloudflare's Agent SDK can now pay for resources with x402, and MCP servers can expose tools to be paid for via x402.”
api_base_url1 revision
“Cloudflare is partnering with Coinbase to create the x402 Foundation. Agents built using Cloudflare's Agent SDK can now pay for resources with x402, and MCP servers can expose tools to be paid for via x402.”
services3 revisions
Agents SDK x402 client — https://developers.cloudflare.com/agents/agentic-payments/x402/pay-from-agents-sdk/ — withX402Client wraps MCP clients so Workers-based agents auto-pay 402 responses
paidTool MCP server — https://developers.cloudflare.com/agents/agentic-payments/x402/charge-for-mcp-tools/ — paidTool() decorator gates any MCP tool call behind an x402 micropayment
HTTP content gating (x402) — https://developers.cloudflare.com/agents/agentic-payments/x402/charge-for-http-content/ — Worker proxy that gates APIs, web pages, and files with x402 paywall
HTTP content gating (MPP) — https://developers.cloudflare.com/agents/agentic-payments/mpp/charge-for-http-content/ — Worker proxy with MPP (WWW-Authenticate: Payment) header support
pay-per-crawl — https://developers.cloudflare.com/ai-crawl-control/features/pay-per-crawl/ — Cloudflare-native deferred x402 payments for AI crawlers; daily batch settlement via card or stablecoin
x402 playground — https://playground.x402.cloudflare.com/ — Live demo environment with testnet USDC wallet provisioned per session
OpenCode plugin — https://developers.cloudflare.com/agents/agentic-payments/x402/pay-with-tool-plugins/ — x402-fetch tool plugin for OpenCode; intercepts 402 responses and retries with payment
Claude Code hook — https://developers.cloudflare.com/agents/agentic-payments/x402/pay-with-tool-plugins/ — PostToolUse hook for Claude Code that transparently handles 402 responses via @x402/fetchcurrentdevelopers.cloudflare.com · 2026-05-12
“Cloudflare's Agents SDK supports agentic payments through two protocols built on HTTP 402: x402 and Machine Payments Protocol (MPP). Both follow the same core flow: request, 402 payment challenge, client fulfills payment, server verifies and returns resource.”
Agents SDK x402 client — https://developers.cloudflare.com/agents/agentic-payments/x402/pay-from-agents-sdk/ — withX402Client wraps MCP clients so Workers-based agents auto-pay 402 responses
paidTool MCP server — https://developers.cloudflare.com/agents/agentic-payments/x402/charge-for-mcp-tools/ — paidTool() decorator gates any MCP tool call behind an x402 micropayment
HTTP content gating — https://developers.cloudflare.com/agents/agentic-payments/x402/charge-for-http-content/ — Worker proxy that gates APIs, web pages, and files with x402 paywall
pay-per-crawl — https://developers.cloudflare.com/ai-crawl-control/features/pay-per-crawl/ — Cloudflare-native deferred x402 payments for AI crawlers; daily batch settlement via card or stablecoin
x402 playground — https://playground.x402.cloudflare.com/ — Live demo environment with testnet USDC wallet provisioned per session
OpenCode plugin — https://developers.cloudflare.com/agents/agentic-payments/x402/pay-with-tool-plugins/ — x402-fetch tool plugin for OpenCode; intercepts 402 responses and retries with payment
Claude Code hook — https://developers.cloudflare.com/agents/agentic-payments/x402/pay-with-tool-plugins/ — PostToolUse hook for Claude Code that transparently handles 402 responses via @x402/fetchsupersededdevelopers.cloudflare.com · 2026-05-07
“x402 is a payment standard built around HTTP 402 (Payment Required). Cloudflare Agents SDK, MCP servers, and coding tools (OpenCode plugin, Claude Code hook) support x402 payments.”
Agents SDK x402 client — https://developers.cloudflare.com/agents/agentic-payments/x402/pay-from-agents-sdk/ — withX402Client wraps MCP clients so Workers-based agents auto-pay 402 responses
paidTool MCP server — https://developers.cloudflare.com/agents/agentic-payments/x402/charge-for-mcp-tools/ — paidTool() decorator gates any MCP tool call behind an x402 micropayment
HTTP content gating — https://developers.cloudflare.com/agents/agentic-payments/x402/charge-for-http-content/ — Worker proxy that gates APIs, web pages, and files with x402 paywall
pay-per-crawl — https://developers.cloudflare.com/ai-crawl-control/features/pay-per-crawl/ — Cloudflare-native deferred x402 payments for AI crawlers; daily batch settlement via card or stablecoin
x402 playground — https://playground.x402.cloudflare.com/ — Live demo environment with testnet USDC wallet provisioned per sessionsupersededblog.cloudflare.com · 2026-05-04
“Cloudflare is partnering with Coinbase to create the x402 Foundation. Agents built using Cloudflare's Agent SDK can now pay for resources with x402, and MCP servers can expose tools to be paid for via x402.”
auth_model1 revision
Permissionless x402 — client provides PAYMENT-SIGNATURE header; no accounts required; Cloudflare Workers authenticate via Coinbase CDP facilitator for settlementcurrentblog.cloudflare.com · 2026-05-04
“Cloudflare is partnering with Coinbase to create the x402 Foundation. Agents built using Cloudflare's Agent SDK can now pay for resources with x402, and MCP servers can expose tools to be paid for via x402.”
sdk_languages1 revision
TypeScript/JavaScript (x402-hono npm, @x402/fetch npm, @x402/evm npm, agents/x402 included in Cloudflare Agents SDK)currentblog.cloudflare.com · 2026-05-04
“Cloudflare is partnering with Coinbase to create the x402 Foundation. Agents built using Cloudflare's Agent SDK can now pay for resources with x402, and MCP servers can expose tools to be paid for via x402.”
pricing_model1 revision
Open-source SDKs; x402 has no protocol fee; Cloudflare Workers billing applies; pay-per-crawl deferred settlement via card/stablecoincurrentblog.cloudflare.com · 2026-05-04
“Cloudflare is partnering with Coinbase to create the x402 Foundation. Agents built using Cloudflare's Agent SDK can now pay for resources with x402, and MCP servers can expose tools to be paid for via x402.”
status2 revisions
“Cloudflare's Agents SDK supports agentic payments through two protocols built on HTTP 402: x402 and Machine Payments Protocol (MPP). Both follow the same core flow: request, 402 payment challenge, client fulfills payment, server verifies and returns resource.”
“Cloudflare is partnering with Coinbase to create the x402 Foundation. Agents built using Cloudflare's Agent SDK can now pay for resources with x402, and MCP servers can expose tools to be paid for via x402.”
docs_url1 revision
“Cloudflare is partnering with Coinbase to create the x402 Foundation. Agents built using Cloudflare's Agent SDK can now pay for resources with x402, and MCP servers can expose tools to be paid for via x402.”
announcement_url3 revisions
https://developers.cloudflare.com/agents/agentic-payments/currentdevelopers.cloudflare.com · 2026-05-12
“Cloudflare's Agents SDK supports agentic payments through two protocols built on HTTP 402: x402 and Machine Payments Protocol (MPP). Both follow the same core flow: request, 402 payment challenge, client fulfills payment, server verifies and returns resource.”
https://developers.cloudflare.com/agents/agentic-payments/x402/pay-with-tool-plugins/supersededdevelopers.cloudflare.com · 2026-05-07
“New: OpenCode plugin and Claude Code hook for x402 payment handling added to Cloudflare x402 docs.”
“Cloudflare is partnering with Coinbase to create the x402 Foundation. Agents built using Cloudflare's Agent SDK can now pay for resources with x402, and MCP servers can expose tools to be paid for via x402.”
last_verified_at3 revisions
“Cloudflare's Agents SDK supports agentic payments through two protocols built on HTTP 402: x402 and Machine Payments Protocol (MPP). Both follow the same core flow: request, 402 payment challenge, client fulfills payment, server verifies and returns resource.”
“(no excerpt)”
“Cloudflare is partnering with Coinbase to create the x402 Foundation. Agents built using Cloudflare's Agent SDK can now pay for resources with x402, and MCP servers can expose tools to be paid for via x402.”