CodeBrowser / npm / @coinbase/x402
@coinbase/x402@2.1.0
// x402 Payment Protocol
$ npm install @coinbase/x402
downloads/wk
50,083
license
Apache-2.0
version
2.1.0
published
Dec 23, 2025
What is @coinbase/x402?
The @coinbase/x402 package implements the x402 Payment Protocol, which enables developers to set up HTTP 402 payment-required responses in their applications. Developers use this package to monetize APIs or services by requiring clients to make cryptocurrency payments before accessing protected resources. It handles the payment negotiation and validation flow between servers and clients.
Maintainers
coinbase-owner, coinbase-npm