agent402-tollbooth
https://www.npmjs.com/package/agent402-tollboothPay-per-crawl gate for site owners. Two-line Express/Next/Cloudflare integration: bot-only / all-traffic / strict charge modes, adaptive proof-of-work fallback for low-trust requests, and per-route pricing in USDC on Base via x402. Ships `gate.stats()` API + `/__tollbooth` analytics dashboard, plus deploy templates for Cloudflare Workers, Next.js middleware, and Docker. Defaults preserve original site behavior — drop-in, no rewrite required. Also available as a managed service ([Tollbooth Cloud](https://agent402.tools/tollbooth/cloud)) and a [WordPress plugin](https://agent402.tools/tollbooth/wordpress). ([npm](https://www.npmjs.com/package/agent402-tollbooth)) ([GitHub](https://github.com/MikeyPetrillo/Agent402/tree/main/tollbooth))
Quality grade
How grading works- ✗ Answers a real HTTP 402 challenge
- ✗ Publishes a /.well-known/x402 descriptor
- ✗ Payment address on record
- ✗ Settlement network declared
- ✗ Price declared
How to call
curl -X POST https://www.npmjs.com/package/agent402-tollbooth
Listed in
Directories this entry was found in.