x402
HTTP 402 payment protocol for paying APIs and agents with stablecoins.
2. Maintained
github.com/x402-foundation/x4023. Used by agents' projects
Dependency in 1 public GitHub projects set up for AI coding agents that we scanned (0.0%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What x402 does
HTTP 402 payment protocol for paying APIs and agents with stablecoins.
x402 popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How x402 is used
- x402 joined the catalog on its public numbers (648,670 downloads a week on npm and 6,814 GitHub stars), not on our project count: it is a dependency in 18 public GitHub projects of our scan, 1 of them set up for AI coding agents.
- Projects that use it most often also use viem (88.9%), tsx (72.2%), dotenv (66.7%).
Often used with
More about x402
Agent Skills for it
- x402: x402 agentic payments (Coinbase's HTTP 402 protocol). Custody-free tools to pay x402-protected endpoints (build the EIP-3009 transferWithAut
Alternatives
x402 This page
Get started
Install it.
npm install x402No step-by-step start for x402 yet: we have not written its hand-checked card.