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

How to make my business survives it's first 5 years?

1•SSDIE•2m ago•0 comments

Every app on Earth is now open source whether it likes it or not [video]

https://www.youtube.com/watch?v=wajoP_5Cpw8
1•xkcd1963•3m ago•0 comments

Show HN: Gitsu.app – A Linear-alternative built on GitHub Projects

https://gitsu.app/
1•indhuja•3m ago•0 comments

Volta's $5B debt deal is a pulse check on the AI-financing boom

https://www.semafor.com/article/10/13/2026/voltas-5-billion-debt-deal-is-a-pulse-check-on-the-ai-...
3•ckelly•6m ago•0 comments

My AI Apps Are Bad in the Right Ways

https://medium.com/@simon-pitt/my-ai-apps-are-bad-in-exactly-the-right-ways-c4b43e8fd371
2•CodeyWhizzBang•8m ago•0 comments

Annotating Genomes via Unsupervised Deep Learning

https://github.com/gaius-augustus/vipsania
1•dtj1123•10m ago•0 comments

Anthropic thinks its AI might be conscious

https://www.bbc.com/future/article/20261014-the-strange-new-battle-over-ais-feelings
4•saikatsg•21m ago•0 comments

Tesla Roadster Unveiled – Elon Musk's Wildest Car Yet

https://www.youtube.com/watch?v=j8lbY_D7xcY
4•amanverasia•21m ago•1 comments

Codex Cloud TUI Can't Spawn Jobs

https://gist.github.com/xrl/b8b79be03d341fbb0acbe636ccf123d4
3•lrx•25m ago•0 comments

Friends don't let friends feed their data to AI agents

https://www.theverge.com/tech/1011938/muse-ai-data-friends-consent
2•saikatsg•27m ago•1 comments

From Dark Factories to Zero-Page Websites

https://lazytensor.com/news/websites-without-pages
1•sunnytisch•27m ago•0 comments

Last rites for Gentoo's Chromium package

https://lwn.net/Articles/1097760/
1•signa11•31m ago•0 comments

'Onion cartel' in Philippines fined $28M for price shock

https://www.bbc.com/news/articles/cmwyvwyp9dgro
1•aussieguy1234•32m ago•0 comments

The Folders Programming Language

https://danieltemkin.com/esolangs/folders
4•gurst•34m ago•0 comments

Show HN: Continuous Trunk Builds of Network Ups Tools (Nut) for Fedora/EL

https://copr.fedorainfracloud.org/coprs/karellen/nut-next/
1•arcivanov•38m ago•0 comments

Scientists vote to end leap seconds, redefining how the world keeps time

https://www.scientificamerican.com/article/scientists-vote-to-end-leap-seconds-redefining-how-the...
5•0in•47m ago•0 comments

Self-Evolving Agent Harness

https://arxiv.org/abs/2610.18813
2•axis_official•48m ago•0 comments

Greece drafts law requiring data centers source 60% of power from renewables

https://www.datacenterdynamics.com/en/news/greece-drafts-legislation-requiring-data-centers-sourc...
7•giuliomagnifico•52m ago•0 comments

Japan business manager visa holders leaving without reentry permits surge

https://japantoday.com/category/national/japan-business-manager-visa-holders-leaving-without-reen...
3•SenHeng•1h ago•0 comments

Instagram Reel and Video Downlaoder

https://socialsaver.net/instagram-downloader
1•M_Saqlain•1h ago•0 comments

No AI. Build your own tree directory viewer in C by hand

https://www.youtube.com/watch?v=tiMHtc6l7xM
3•hayyoth•1h ago•0 comments

Tesla makes cars that fly? [video]

https://www.youtube.com/watch?v=7p5LxFdc-Qg
31•merinpapz10•1h ago•8 comments

Chirp Pong – uses microphones and audio for networked game play

https://simonwillison.net/2026/Oct/15/chirp-pong/
1•havaloc•1h ago•1 comments

Faster Post-Quantum Cryptography with JDK Intrinsics

https://inside.java/2026/09/30/faster-post-quantum-cryptography-with-jdk-intrinsics/
1•ejboy•1h ago•0 comments

SPJ: A Taste of Verse (Programming Language) [video]

https://www.youtube.com/watch?v=I6fL66L3jPs
1•undecidabot•1h ago•0 comments

Modernizing the VS Code UI

https://code.visualstudio.com/blogs/2026/10/15/modern-ui
3•soheilpro•1h ago•0 comments

What does the (Fire)fox say?

https://blog.mozilla.org/en/firefox/new-firefox-sounds/
3•soheilpro•1h ago•1 comments

A College-by-College Guide to Which Majors Pay Off – Or Don't

https://www.nytimes.com/interactive/2026/10/07/your-money/college-degree-earnings-guide.html
2•gmays•1h ago•0 comments

Earthquake alert falsely reports magnitude 9.9 and intensity 7 in Japan

https://twitter.com/_TheoSteiner/status/2110943880900231439
4•theo-steiner•1h ago•2 comments

Show HN: Lobby Domains: Find Domains with Chrome's On-Device AI

https://lobby.domains/
1•dalemhurley•1h ago•0 comments