Suganthan Mohanadasan makes Claude Code pay to crawl his site using x402
A working proof of concept revives HTTP 402 and turns crawler access into a priced transaction.
Suganthan Mohanadasan has wired the x402 protocol into his own site and given Claude Code a wallet with spending limits. The agent requested content, the site returned HTTP 402 Payment Required, the agent paid, and the content unlocked. He posted the experiment on LinkedIn on 15 September 2026.
The payments are tiny and run on testnet, so this is a demonstration rather than a revenue stream. Mohanadasan notes that Google is testing ways to pay publishers whose content feeds AI answers, and Cloudflare is building infrastructure around pay-per-crawl and agentic payments.
What a paid tier actually gives a publisher
Publishers facing crawlers have had two options, allow or block. A priced tier adds a third response and changes what the decision produces. Every request now carries a yes, a no, or a number.
We think the payment is the less interesting half of the mechanism. The more useful output is price discovery. Which agents proceed at a given price, and which walk away, tells a publisher what a retriever thinks the content is worth.
How to read it if you try it
This is one practitioner's proof of concept on testnet, so treat any numbers from it as directional. The value in running your own version is the log, not the wallet balance.
Record the refusals with the same care as the payments. A refusal at €0.001 and a refusal at €0.01 mean different things about how a given agent values your pages, and that signal only exists if you keep it. Vary the price across sections of the site and watch which agents change behaviour where.
None of this substitutes for being the source a retriever wants to reach in the first place. Metering tells you what your content is worth to an agent that has already decided to fetch it. Earning that decision is still the prior question.