HTTP 402 Payment Required Protocol
Web3 Micropayments
Made Simple
Access premium APIs with instant on-chain payments. No subscriptions, pay only for what you use.
Live Demo
Try fetching Polkadot news with X402 payments
Connect Wallet
X402 Protocol
HTTP 402 standard for web payments. Request → Pay → Access in one flow.
On-Chain Verification
Every payment is verified on Polkadot blockchain for trustless transactions.
Pay Per Use
Micro-transactions for API calls. No subscriptions, only pay for what you consume.
About This Project
What is Polkax402?
A production-ready implementation of the HTTP 402 Payment Required protocol, combining Polkadot blockchain payments with premium API access. Built with:
- X402 Protocol: HTTP standard for web payments
- Polkadot: On-chain payment verification
- Firecrawl: News aggregation via HTTPayer
- OpenAI: LLM processing for summaries
How It Works
- 1Client requests protected API endpoint
- 2Server responds with 402 Payment Required + instructions
- 3Client signs payment with Polkadot wallet
- 4Payment verified on-chain via facilitator
- 5Access granted, response returned with payment receipt
MIT License • Built with ❤️ for Web3