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

The New York Times story on Mossad recruiting Ahmadinejad doesn't add up

https://www.middleeasteye.net/opinion/why-new-york-times-story-mossad-recruiting-ahmadinejad-does...
1•thisislife2•36s ago•0 comments

MapTap

https://maptap.gg/
1•bookofjoe•1m ago•0 comments

California produced over half its May electricity from solar, a world record

https://www.latimes.com/environment/story/2026-07-31/california-produced-over-half-its-may-electr...
1•giuliomagnifico•3m ago•0 comments

$0.09 and $290.12 are both the price of 1M output tokens

https://runinfra.ai/news/inference-cost-truth
1•OsamaJaber•4m ago•0 comments

Tlbic v9.0:A System Built on Vulnerability, Care Ethics, and Bottom‑Up Oversight

https://drive.google.com/file/d/1DLdrgENE3_udLDO4lgeNXr3EUTxevAfB/view?usp=drive_link
1•michikawa59•5m ago•1 comments

Hiring: Social media growth animal needed to promote socials

https://ugig.net/gigs/32071e16-b155-4720-8cd8-6207782d1dda
1•buffer_overlord•6m ago•0 comments

John Bell and the most obscure journal in physics

https://physicsworld.com/a/john-bell-and-the-most-obscure-journal-in-physics/
2•jruohonen•9m ago•0 comments

Quantum-secure open-source hardware wallet for EVM/Ethereum

https://github.com/EthereumPhone/PQ1
1•mhaaseth•10m ago•0 comments

Windows quality: an update on the commitment we made in March

https://blogs.windows.com/windows-insider/2026/07/31/windows-quality-an-update-on-the-commitment-...
1•tcfhgj•11m ago•0 comments

OSS Skills: agent skills for open source contributors and maintainers

https://github.com/naorpeled/awesome-oss-skills
1•thehecticbyte•11m ago•0 comments

Jcode: The Coding Agent That Raises the Skill Ceiling, vs. OpenCode and Pi

https://grigio.org/jcode-the-coding-agent-that-raises-the-skill-ceiling-vs-opencode-and-pi/
1•grigio•19m ago•0 comments

Accepting a Messy Git History

https://beza1e1.tuxen.de/git_two_users.html
1•montroser•22m ago•0 comments

Eye of Sauron – detect hidden cameras in hotel room – strobe lights / detect EM [pdf]

https://cse.msu.edu/~caozc/papers/security24-liu.pdf
1•lifeisstillgood•23m ago•0 comments

Ohio public meeting on data centres – insightful comment[video]

https://www.youtube.com/shorts/wpoEhVuaj_s
1•lifeisstillgood•35m ago•0 comments

Scotland's university procurement center confirms cybercrooks broke in

https://www.theregister.com/cyber-crime/2026/07/31/scotlands-university-procurement-center-confir...
1•bbg2401•38m ago•0 comments

Newspaper archives still trump answers generated by AI

https://www.thehindu.com/opinion/op-ed/newspaper-archives-still-trump-answers-generated-by-ai/art...
1•thisislife2•38m ago•1 comments

KDE Plasma 6.8 Performance Improvement

https://www.phoronix.com/news/KDE-Plasma-6.8-Faster-eGPU
1•ErenayDev•39m ago•1 comments

Most Australian teens still on social media despite landmark ban

https://news.sky.com/story/most-australian-teens-still-on-social-media-despite-landmark-ban-13568966
3•asdefghyk•43m ago•2 comments

Show HN: I'm tracking TikTok music charts across countries over time

https://trendingtiktoksongs.com
1•andersmyrmel•53m ago•0 comments

More than a metaphor: here are testable diagnostics for comprehension debt

https://www.fightforthehuman.com/we-need-more-than-a-metaphor-here-are-testable-diagnostics-for-c...
2•NeutralForest•54m ago•0 comments

Tamagotchi

https://en.wikipedia.org/wiki/Tamagotchi
2•tosh•55m ago•0 comments

I built a tracker and comparison platform for AI video models

https://videoall.ai
1•henryjinhao•55m ago•0 comments

Taboo "equilibrium": Less confused frames for research on AI bargaining

https://www.lesswrong.com/posts/KDq5aXwanvH5YoZYs/taboo-equilibrium-less-confused-frames-for-rese...
1•joozio•56m ago•0 comments

Decimen streams files through fountain-coded QR frames without pairing

https://runtimewire.com/article/decimen-fountain-coded-qr-file-transfer-claude-code
1•ms7892•57m ago•0 comments

Skin-Deep Bias: How Avatar Appearances Shape Perceptions of AI Hiring

https://dl.acm.org/doi/epdf/10.1145/3772318.3790379
1•casabonita•59m ago•0 comments

Lazarus FreePascal IDE: Gtk3 becomes default widgetset on Linux

https://forum.lazarus.freepascal.org/index.php?topic=74332.0
1•mariuz•1h ago•0 comments

Leaflet.js

https://leafletjs.com/
4•Eridanus2•1h ago•1 comments

gsxui (Shadcn for Go) now has a second style maia

https://ui.gsxhq.dev/theme
2•jackielii•1h ago•1 comments

I still think it is a pyramid scheme [video]

https://www.youtube.com/watch?v=zZiw15VgWoI
1•dp-hackernews•1h ago•0 comments

Milankovitch (Orbital) Cycles and Their Role in Earth's Climate

https://science.nasa.gov/science-research/earth-science/milankovitch-orbital-cycles-and-their-rol...
3•thunderbong•1h ago•0 comments