x402 Paywall for AI Agents
Each article answers agent requests with an HTTP 402 and on-chain payment terms. Agents pay per read in USDC — set a price per article or a sitewide default.
NanoTrans is a WordPress plugin that turns your articles into discoverable, agent-payable resources. Earn USDC the moment an AI agent reads your content — settled trustlessly on-chain.
x402 Payment Flow
The Problem
Each article answers agent requests with an HTTP 402 and on-chain payment terms. Agents pay per read in USDC — set a price per article or a sitewide default.
Structured Bazaar metadata lists your content in the Coinbase CDP catalog and agent marketplaces, so AI agents can actually find it.
A standard plugin with a paywall metabox and Gutenberg sidebar. Install, set your wallet, publish — no blockchain code required.
An immutable NanoTransSplitter contract divides every payment automatically. You keep 90%+ — no custody, no manual payouts.
One click sends a first payment to register your site in the discovery catalog, then a built-in monitor tracks your indexing status.
The Solution
Every payment splits directly on an immutable on-chain contract. NanoTrans never holds, routes, or can touch your USDC.
Payment credentials live only in the Cloudflare Worker — never in your WordPress database, options, or files.
Your Splitter has a deterministic address and a verified code hash, checked before any payment settles. Nothing hidden.
A WordPress plugin that handles x402 payments, Bazaar discovery, and on-chain settlement end to end.
ChatGPT · Perplexity · Claude …
x402 · Bazaar · Splitter
verify · settle · discover
Inside the plugin
Discover
An AI agent finds your article in the CDP & agent discovery catalog
GET /discovery/merchant
402 Payment Required
Your article responds with price, payment terms, and Bazaar info
HTTP 402 + x402
★Sign & Pay
The agent signs a USDC payment authorization on Base
sign · USDC on Base
Verify & Settle
NanoTrans verifies and settles the payment through Coinbase CDP
verify · settle
Read & Split
Content is delivered and commission splits on-chain — you keep 90%+
200 OK · split on-chain
Discover
An AI agent finds your article in the CDP & agent discovery catalog
GET /discovery/merchant
402 Payment Required
Your article responds with price, payment terms, and Bazaar info
HTTP 402 + x402
★Sign & Pay
The agent signs a USDC payment authorization on Base
sign · USDC on Base
Verify & Settle
NanoTrans verifies and settles the payment through Coinbase CDP
verify · settle
Read & Split
Content is delivered and commission splits on-chain — you keep 90%+
200 OK · split on-chain
// 1. Install the NanoTrans plugin and activate it
// 2. wp-admin → NanoTrans → Settings:
// • Wallet address (your USDC payout on Base)
// • Commission 3–10%, then "Deploy Splitter"
// 3. Edit any post → enable the Paywall metabox,
// set a price, and write a Bazaar description
// 4. Click "Bazaar Indexing" once to list your
// site in the agent discovery catalog
//
// Done. AI agents can now discover, pay, and read —
// USDC settles to your on-chain Splitter automatically. HTTP/1.1 402 Payment Required
{
"x402Version": 2,
"error": "payment required",
"accepts": [
{
"scheme": "exact",
"network": "base",
"maxAmountRequired": "10000",
"resource": "/wp-json/nt-acg/v1/article/42",
"description": "Korea's 2026 stablecoin policy, explained",
"mimeType": "application/json",
"payTo": "0xYourSplitter…",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"maxTimeoutSeconds": 60
}
],
"extensions": {
"bazaar": {
"info": {
"input": { "type": "http", "method": "GET",
"pathParams": { "id": "42" } },
"output": { "type": "json" }
},
"routeTemplate": "/wp-json/nt-acg/v1/article/:id"
}
}
} The x402 economy
Pay-per-request payments are compounding across the x402 protocol — and growing fast.
Your articles plug into this same market. Source: x402scan · agentic.market (2026-06 snapshot)
Roadmap
One plugin, one codebase. New capabilities arrive as opt-in version upgrades — your settings, pricing, and contract carry forward.
NanoTrans v0.1.0 launches this June. Be ready for the agentic web.
Built on Base · Settled in USDC · GPL-2.0 open source