AI agents – assistants, research tools, crawlers – read websites for their users. With this plugin they pay you for it.
When an AI agent opens a post you made paid, your site answers 402 Payment Required with a price. The agent pays in USDC and gets the post. The money goes straight to your wallet, in the same second. This is the open x402 standard, supported by agents built on Coinbase, Cloudflare, AWS and others.
People visiting your site see nothing different. Search engines are never asked to pay.
Setup takes a minute
- Install and activate.
- Paste your wallet address (a wallet on the Base network that receives USDC).
- Choose what agents pay for – all posts, some categories, single posts – and the price.
- Save.
No account, no API key, no WooCommerce. Nothing to install on your server beyond this plugin.
What it costs
The plugin is free. Agents pay in one of two ways, and you do not have to choose:
- Pay per page: P2Flux keeps 1% of each payment, at least 0.003 USDC, and you receive the rest at once. For a 0.05 USDC page you receive 0.047.
- Prepaid balance: the agent puts at least 1 USDC aside once, in the standard x402 escrow, and then pays each page with a signature – no transaction per page. You receive the money in one payout when it reaches 2 USDC, or weekly. P2Flux keeps 3%. For a 0.05 USDC page you receive 0.0485.
Fees are taken by smart contracts on the way to your wallet; P2Flux never holds your money. An agent’s unused prepaid balance stays its own and can always be withdrawn.
What you get
- A price for all posts, for chosen categories, or per post (a box in the editor). 0 makes a post free.
- Files in the Media Library can have a price too – a PDF, a dataset, an image.
- Your own REST API routes can be paid too, for sites that sell data.
- In lists, feeds, search and the REST API, agents see the price instead of the text of paid posts.
- Earnings on the settings page: today, this month, all time, and the last payments with a link to each transaction.
- A listing in the P2Flux directory, so AI agents looking for content to buy can find your site.
- “Check my setup”: one button that opens your newest paid post as an AI agent would, and tells you if a page cache or CDN is giving it away.
- Agents that sign their requests (Web Bot Auth, used by ChatGPT agent and others) are recognised whatever their user agent says, and named in your payment list.
- For your own AI assistant (WordPress 6.9+, Abilities API): “what did agents pay me this month?”, “make this post cost 0.10”.
- A test mode on Base Sepolia with test USDC, to see it work before real money moves.
External services
This plugin connects to the P2Flux API (https://api.p2flux.com, or https://api-test.p2flux.com in test mode) to ask what an agent must pay and to settle payments.
- When an AI agent opens a paid page: your wallet address and the price are sent, to get the payment requirement. It is cached for up to an hour.
- When an agent sends a payment: your wallet address, the price, the address of the page and the agent’s payment are sent, and P2Flux settles it on the Base network.
- When you save the settings: your wallet address is sent, to check it.
- If “List my site in the P2Flux directory” is ticked (it is by default): your site address is sent, and P2Flux then reads the public document your site serves at /.well-known/x402 – site name, tagline, price, what is paid and the titles of up to ten latest paid posts – and lists it so AI agents can find you. Untick the box and the listing is removed.
When an AI agent that signs its requests (Web Bot Auth) pays, the plugin reads that agent’s public keys from the address the agent names (https:///.well-known/http-message-signatures-directory), to check the signature. Nothing is sent there but the request itself; the keys are cached for an hour.
Nothing about your visitors is sent. P2Flux terms: https://p2flux.com/terms.html – privacy: https://p2flux.com/privacy.html