frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: X402 – an open standard for internet native payments

https://www.x402.org/
16•__erik•1y ago
Hi HN – excited to announce x402, initially developed by Coinbase (YC 12)

x402 lets any HTTP API charge per request without issuing API keys or storing credit cards. Buyers (humans or AI agents) keep funds in their own wallet and dynamically discover compatible endpoints, call them as usual, and automatically pay a microtransaction in USDC or other tokens to settle.

90 second demo: https://www.youtube.com/watch?v=PV-L2AfLhJg

Problem: Every time we want to use a new API we have to: find the service online create a developer account, copy a secret key into env vars, pre-fund or hand over a credit card

This flow blocks agents even more. They can’t solve CAPTCHAs or enter credit cards. It also hurts sellers: fraud, chargebacks, onboarding friction, and marketing to humans are huge pain points.

Why buyers care Zero setup – Hit a new endpoint immediately. Runtime discovery – Because every x402 service exists in a common registry, an agent can search, compare, and invoke in one loop. Self-assembling agents become practical. Easily create proxy servers – Want an endpoint that isn’t supported? You can use our proxy server template to spin up an x402-compatible instance yourself using traditional API keys, and monetize it for others wanting access.

Why sellers care Reach incremental demand – Long-tail bots, side projects, one-off scripts, all of which too small for an account/signup flow, can now pay you. Micropayments without fraud – All payments settle onchain, nothing for stolen credit cards or chargebacks to reverse. Embedded distribution – instead of marketing to humans, create a compelling service meeting demand for agents and watch the requests roll in.

How we got here Last year we launched AgentKit (wallets for AI agents). Tens of thousands of agents now hold onchain balances, but they can’t pay for most web services. We revived the long-unused HTTP 402 (“Payment Required”) status code and wrote a spec to make it real. Marc Andresseen calls the lack of native value transfer “the original sin of the internet,” and we see x402 as the absolution of this sin.

How it works: x402 specifies a standard response body to accompany a 402 status code. This response body contains machine understandable instructions for how to pay. Payments are signature based an included as an `X-PAYMENT` header in a subsequent request to the same API endpoint. The accepting server can verify and settle payment themselves, or delegate the onchain settlement to what we call a facilitator. This means you don't have to touch crypto as a developer, you can just integrate a middleware and start receiving stablecoin payments in as little as 1 line of code. Because x402 natively traverses your existing client / server requests, it can be implemented in any language, and doesn't require webhooks, or any other complex integration. Its literally this simple: `paymentMiddleware("0xYourAddress", {"/your-endpoint": "$0.01"})`

Ask HN API providers – does the one-line integration fit your stack? What’s missing? Agent / infra builders – if a service isn’t available is the proxy server template sufficient? File issues, PRs welcome Everyone – poke holes in the trust and fee model; we’d love to iterate with your feedback

Curious to learn more? Check out our documentation and repo for more information, and please don’t hesitate to reach out to get onboard.

https://github.com/coinbase/x402 https://x402.org https://x402.gitbook.io/x402/getting-started/quickstart-for-...

Comments

danxkim•1y ago
Time to kill the API key.
pestatije•1y ago
standard X.402 (ISO/IEC 10021-2) does already exist
xinbenlv•1y ago
Congrats Erik. We are launching something that support x402 soon. DM'ed you on LinkedIn
ruiseal•1y ago
So it's an "open standard" and you can use any chain that meets Coinbase's "acceptance criteria". So under this guise, their whole goal is to make themselves centralizing force.
__erik•1y ago
we will happy accept PRs the add support for any chains that can perform the payment flows in a safe, non-custodial way for the client, resource server and faciliator. Currently x402 works with any EVM chain, and we're working with several chains on integrating.
ricochet11•1y ago
this looks great, gonna look into writing something to use with fastapi

Open Source RUM (Real User Monitoring)

https://www.basicrum.com/
1•ssttoo•1m ago•0 comments

Yes I Understand How LLMs Work

https://kemendo.com/yes-i-understand-how-llms-work.html
1•AndrewKemendo•2m ago•0 comments

Microsoft barred from sponsoring foreign workers for US residency

https://arstechnica.com/tech-policy/2026/10/trump-administration-targets-microsoft-in-new-immigra...
2•rbanffy•3m ago•0 comments

Atticus – hold-to-talk voice assistant for macOS that runs on Claude -p

https://github.com/SaarthurR/atticus-mac
1•SaarthRanka•3m ago•0 comments

Tandem Himalaya Server S7000

1•combarbala•4m ago•0 comments

MASS: Recursive Self-Improvement Through Multi-Agent Self-Supervision

https://pub.sakana.ai/mass/?href=
1•jonbaer•6m ago•0 comments

Beijing residents dispose of drones ahead of ban on ownership

https://www.abc.net.au/news/2026-10-12/beijing-residents-dispose-drones-ahead-of-ban-on-ownership...
2•uxhacker•7m ago•0 comments

I made an open-source Boom 3D clone. Wanna check it out?

https://github.com/JVGS1111/open-boom
1•joaoviniciusgs•8m ago•1 comments

Models as Insider Risks in the Super Intelligence Era

https://twitter.com/satyanadella/status/2108931348857827686
2•MrBuddyCasino•10m ago•0 comments

Show HN: Preloop – GitHub Actions locally in microvms and SSH/pause failures

https://github.com/preloopdev/preloop
2•Bnjoroge•11m ago•0 comments

Beta.getmonero.org

https://www.getmonero.org/2026/09/08/announcing-the-getmonero-org-beta.html
2•Cider9986•11m ago•0 comments

Local Indexing to reduce tool calling and token usage

https://tedhaley.ca/pensieve/
2•TedHaley•14m ago•0 comments

HashiCorp archives the Boundary open source repo

https://github.com/hashicorp/boundary
2•vmatsiiako•15m ago•0 comments

Danny Ische draws pixels, cross-stitch and paperclips – all with a trusty pencil

https://www.creativeboom.com/work/danny-ische-draws-pixels-cross-stitch-and-paperclips-all-with-a...
2•andsoitis•17m ago•0 comments

Qt An E2EE post-quantum messenger core in Rust (10k connections on 124MB RAM

https://github.com/moral666/QT
2•moral666•26m ago•0 comments

Whatever became of holography? (2011)

https://www.americanscientist.org/article/whatever-became-of-holography
12•cainxinth•28m ago•0 comments

Show HN: Plimsoll, a self-hosted sandbox for code your AI agent writes

https://github.com/plimsollmark/plimsoll
3•cagster•30m ago•0 comments

X Once Again Marks the Spot

https://daringfireball.net/2026/10/x_once_again_marks_the_spot
2•neural_thing•31m ago•5 comments

I deploy my project easily

https://cx-shipd.netlify.app
2•CX-Designs•33m ago•0 comments

UTXO Bitcoin Composition Engine

https://github.com/Artur7897/bitcoin-composition-engine
2•hreczynski1984•37m ago•0 comments

Governments are mishandling the affordability crisis

https://www.economist.com/finance-and-economics/2026/10/08/governments-are-mishandling-the-afford...
7•andsoitis•38m ago•2 comments

OVI-Code – An extendable and keyboard-driven coding agent for your terminal

https://ovicorps.github.io/ovi-code/
2•ovicorps•39m ago•0 comments

Undersea cables: the battle for the ocean floor

https://www.ft.com/content/f5ca2cc7-dcbd-40cd-a173-9b9da94cb655
2•snarky-comments•40m ago•0 comments

The Oldest Bridge (archeology)

https://www.youtube.com/watch?v=HWSlI9HZqZQ
2•brudgers•40m ago•0 comments

Data Centers around the world (12,000+)

https://www.datacenters.com/locations
2•andsoitis•43m ago•0 comments

GE-RCV1: open the garage with the gate remote

https://blog.jacq.cc/guides/ge-rcv1-garage-gate-remote/
2•xx__yy•45m ago•0 comments

TeX Preview in VSCode with Overleaf Sync

https://marketplace.visualstudio.com/items?itemName=HemantBanke.tex-side-preview
2•Hyena0•51m ago•1 comments

Testing Your Website's Fonts with Tor Browser

https://ohaodha.ie/blog/tor-as-a-tool-for-testing-fonts/
2•ohaodha•55m ago•0 comments

Illustration Beyond Proof

https://terrytao.wordpress.com/2026/10/11/illustration-beyond-proof/
5•smilelamp•56m ago•0 comments

Show HN: BraiNOTES, handwritten notes on your lecture PDFs in a browser tab

https://github.com/swimmingbrain/brainotes
2•swimmingbrain•56m ago•0 comments