New middleware lets APIs charge AI bots per request instead of just blocking them
AI crawlers like GPTBot, ClaudeBot, and PerplexityBot now account for a measurable share of API traffic for many SaaS platforms, generating real infrastructure costs with no ad, subscription, or conversion revenue in return. Two emerging standards — Web Bot Auth (RFC 9421) and HTTP 402 with x402 — now allow servers to cryptographically verify bot identities and issue machine-readable payment demands that AI agents can settle automatically. A developer has released an open-source Node.js middleware called Wayleave that implements both standards, enabling API owners to charge verified bots per call, rate-limit unverified ones, and serve human users without any interruption. The tool is available now on npm under an MIT license with zero dependencies, while a companion hosted billing and metering service is still in the concept stage pending developer interest. The project's author is gauging demand via a waitlist at wayleave.dev before deciding whether to build the ledger and reconciliation layer.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in