Latest / Developer tools

x402

github.com · Open source · Active

Open standard for HTTP payments across crypto and fiat networks

Visit github.com ↗Share

Stars
6.8k
Forks
2.3k
Open issues
446
Last commit
Found
21 months ago

GitHub figures as of . They are context, not a ranking.

x402 is an open standard that lets HTTP endpoints request payment before serving a response. The project ships TypeScript, Go, Python and Solidity packages, with middleware for common web frameworks; it suits developers who want to charge for APIs or content over HTTP.

Repository description on GitHub: “A payments protocol for the internet. Built on HTTP.”

What it does

  • Payment middleware for Express, Fastify, Hono and Next
  • Chain packages for EVM, Aptos, Stellar, Hedera and other networks
  • Go and Python implementations alongside the TypeScript SDK

Good for

  • Add a payment requirement to an HTTP endpoint with one middleware call
  • Build a client that pays for an endpoint using the x402 fetch package
  • Extend a chain implementation in the TypeScript, Go or Python SDK

Suits: Developers adding pay-per-request APIs or content to web services.

What you can try

Install the TypeScript packages with npm and add the payment middleware to an existing HTTP server.

Install

npm install x402
pip install x402

Confirmed against the package registry. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw x402 on , when x402-foundation created its repository on GitHub. GitHub listed no published releases for x402-foundation/x402 when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: x402-foundation/x402
  2. Found: x402-foundation created its repository on GitHub. GitHub
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was x402 released?
No dated release record is available. Kip found it on GitHub on 21 Feb 2025.
Is x402 open source?
Its source is public on GitHub at x402-foundation/x402 under the Apache-2.0 licence.
What does x402 run on?
Library, API.
Is x402 free?
It is open source, so the code is free to read and run; check the licence for terms.
Is x402 still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
GitHublisting
official API record
GitHub repositoryx402-foundation/x402
REST API record
GitHub Releasesrelease list
REST API record

Stable ID github-936374955. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.