Amazon Web Services on Monday flipped the switch on a new feature inside its Web Application Firewall that lets website owners charge AI crawlers and bots per request, settling payments in stablecoins through Coinbase's x402 protocol. The move marks the first time a hyperscale cloud provider has embedded onchain settlement directly into its infrastructure — specifically inside CloudFront and WAF.
Stablecoin Payment for AI Traffic
The system works through AWS WAF, the security layer that sits in front of CloudFront, Amazon's content delivery network. Website operators can now set a per-request fee for AI agents that want to scrape or access their content. When an AI bot sends a request, AWS WAF checks for authorization and, if the fee applies, triggers a micropayment via the x402 protocol. The payment clears in stablecoins, avoiding the volatility of cryptocurrencies like Bitcoin or Ether.
Coinbase's x402 protocol is designed for machine-to-machine payments — small, automated transactions that don't require human approval. By integrating it directly into WAF, AWS gives site owners a way to monetize the growing flood of AI crawlers without building their own payment infrastructure.
First Hyperscale Onchain Integration
No other major cloud provider — not Microsoft Azure, not Google Cloud — has offered onchain settlement directly inside its security or delivery tools. AWS's move puts it ahead on a frontier that's been mostly theoretical until now: charging AI agents at the network edge. The feature is available immediately to any AWS customer using CloudFront and WAF, though pricing details for the settlement layer itself weren't disclosed.
The timing lines up with a broader push by AI companies to crawl the open web for training data, and by publishers to push back. Some sites have blocked bots entirely; others now charge licensing fees. AWS's approach lets anyone with a CloudFront distribution set their own price per request, turning the firewall into a tollbooth for AI traffic.
What Site Operators Need to Know
Enabling the feature requires turning on AWS WAF and configuring a rule that applies to AI user agents. The site operator decides the fee — say, $0.001 per request — and the bot's owner must have a wallet capable of paying via x402. If the bot doesn't pay, the request is blocked or redirected. AWS handles the settlement logic inside the WAF rule engine.
The system only works for AI agents that cooperate by presenting themselves as such. Malicious scrapers that disguise their user agent won't be charged — they'll be blocked by other WAF rules. That means the monetization feature is best suited for legitimate AI crawlers, like those from search engines or research outfits, that want to access content legally.
Whether large AI companies will accept per-request fees remains an open question. So far, no major AI firm has publicly committed to using the system. But with AWS effectively lowering the barrier to charging bots, site owners now have a tool they didn't have a week ago.




