frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

https://www.x402.org/
16•__erik•10mo 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•10mo ago
Time to kill the API key.
pestatije•10mo ago
standard X.402 (ISO/IEC 10021-2) does already exist
xinbenlv•10mo ago
Congrats Erik. We are launching something that support x402 soon. DM'ed you on LinkedIn
ruiseal•10mo 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•10mo 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•10mo ago
this looks great, gonna look into writing something to use with fastapi

The first modern rocket launched 100 years ago

https://theconversation.com/the-first-modern-rocket-launched-100-years-ago-beginning-a-century-of...
1•geox•1m ago•0 comments

Calm: LLMs That Predict Vectors Instead of Tokens

https://shaochenze.github.io/blog/2025/CALM/
1•IndignantTyrant•3m ago•0 comments

Show HN: Quillium, Git for Writers

https://quillium.bryanhu.com/
1•thatxliner•4m ago•0 comments

Crunchyroll's customer analytics data breached via outsourcing partner Telus

https://twitter.com/IntCyberDigest/status/2035864555805413448
1•badcryptobitch•7m ago•0 comments

Show HN: ClauseGuard – AI contract review in 90s, finds risks, writes redlines

https://www.theclauseguard.com
1•ebuyan•8m ago•0 comments

Show HN: Plot-Hole.com a daily movie puzzle I made

https://www.plot-hole.com/
1•captaincrunch•11m ago•0 comments

Migrating the American Express Payment Network, Twice

https://americanexpress.io/migrating-the-payments-network-twice/
1•madflojo•11m ago•0 comments

PewPew – real-time SSH attack visualizer, single Go binary

https://github.com/awakeelectronik/pewpew
2•awakeelectronik•21m ago•0 comments

How do we build production-ready AI systems?

https://docs.struere.dev
2•MarcoKueks•22m ago•6 comments

Men are losing a key chromosome with age and it may be deadly

https://www.sciencedaily.com/releases/2026/03/260319044711.htm
2•bookofjoe•22m ago•0 comments

Obesity may come in 11 different types, each with their own cause

https://www.newscientist.com/article/2488744-obesity-may-come-in-11-different-types-each-with-the...
1•paulpauper•24m ago•0 comments

Iconic Australian-made pinball machines preserved for generations to come

https://www.abc.net.au/news/2026-03-12/pinball-machines-collected-nfsa-hankin/105971386
3•gnabgib•32m ago•0 comments

What if Elon built a decentralized AI network?

http://heatmine.ai/
1•scharf•34m ago•0 comments

Plexus – Unified API gateway for multiple AI providers

https://github.com/mcowger/plexus
1•indigodaddy•35m ago•0 comments

How HN: A geometric framework for NP-Intermediate classes (OM Theory)

https://github.com/jumapama/OM-Theory-A-Geometric-Framework-for-NP-Intermediate-Classes
1•jumapama•37m ago•0 comments

AskAlf – Self-hosted AI workforce that runs 24/7

https://github.com/askalf/askalf
1•jsprayberry87•39m ago•0 comments

The deep cave bacteria resistant to modern medicine

https://www.bbc.com/future/article/20260318-the-deep-cave-bacteria-resistant-to-modern-medicine
1•Teever•40m ago•1 comments

Unlocking 25 Gigabit/S on 10 GbE Direct Attach Copper

https://kohlschuetter.github.io/blog/posts/2026/03/22/unlock25/
3•kohlschuetter•42m ago•0 comments

Privacy Respecting Age Controls

https://gist.github.com/devinvs/e334f7fb92f8d9b41b821a1dc8a46fde
1•devinvs•47m ago•1 comments

Health: Science Outran the System

https://juliahawkins.substack.com/p/health-how-science-outran-the-system
1•brandonb•47m ago•1 comments

The solar-powered compact car driving Tunisia's electric vehicle revolution

https://www.cnn.com/world/africa/electric-vehicle-solar-tunisia-spc
7•mooreds•58m ago•0 comments

Apply video compression on KV cache to 10,000x less error at Q4 quant

https://github.com/cenconq25/delta-compress-llm
4•polymorph1sm•59m ago•0 comments

The Onion's Exclusive Interview with Sam Altman

https://theonion.com/the-onions-exclusive-interview-with-sam-altman/
1•mooreds•1h ago•0 comments

Zprof – a comptime-configurable and minimal memory profiler for Zig allocators

https://github.com/ANDRVV/zprof
2•andrvv•1h ago•0 comments

VercelNet: The internet but only Vercel apps

https://vercelnet.vercel.app
1•aquajet•1h ago•0 comments

ForgeKV – Redis-compatible KV server in Rust that scales with cores

https://github.com/ForgeKV/forgekv
1•forgekv•1h ago•0 comments

Judge dismisses lawsuit by Sam Altman's sister accusing him of sexual abuse

https://www.reuters.com/legal/government/judge-now-dismisses-lawsuit-by-sam-altmans-sister-accusi...
2•Teever•1h ago•0 comments

Polsia Leaking Customers Secrets

https://twitter.com/NKCSS/status/2035760976377598252
3•NKCSS•1h ago•1 comments

Why I Vibe in Go, Not Rust or Python

https://lifelog.my/episode/why-i-vibe-in-go-not-rust-or-python
6•riclib•1h ago•2 comments

Hawaii storms have caused $1B in damage, governor says

https://www.bbc.com/news/articles/czxrdxn6qwqo
5•tartoran•1h ago•2 comments