Skip to content
Agents tracked: 504 Releases (7d): 733 Agent status: 2 with issuesSince last limit reset: Claude 12d · Codex 10d For AI agents: Markdown Updated Nov 23, 2026

x402

HTTP 402 payment protocol for paying APIs and agents with stablecoins.

Crypto and web3NPM

GitHubWebsiteAPI page

1. License

License from npm.

github.com/x402-foundation/x402

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

48 / 100
Gid Score, #2056 overall
649K
downloads a week, npm
6,814
GitHub stars
1
agent projects use it
x402: downloads per weeknpm, x402 648,670
x402: GitHub starsx402-foundation/x402 6,814

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

In 88.9% of its projects
In 72.2% of its projects
In 66.7% of its projects
In 50.0% of its projects
In 94.4% of its projects
In 22.2% of its projects
In 22.2% of its projects
In 16.7% of its projects

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

See all

More in Crypto and web3

Alternatives

x402 This page

Apache-2.0Gid 48649K/wk

Compare x402 with another tool

Get started

Install it.

npm install x402

No step-by-step start for x402 yet: we have not written its hand-checked card.