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

Show HN: RL environment for complex ML Development

https://blazerops.ai
1•jiminseo•2m ago•0 comments

Show HN: Askdown – A plain-text format for forms

https://askdown.dev/
2•treve•5m ago•0 comments

Cometlink: An old-school chat room you sign on to in the browser

https://cometlink.rip/
1•AfterHrsBuild•8m ago•0 comments

Leave your (Apple) watch at the door

https://jamespember.substack.com/p/leave-your-apple-watch-at-the-door
1•jep888•9m ago•0 comments

China's Weakening Economy Is Creating a Lost Generation

https://www.wsj.com/world/china-economy-gen-z-f9058941
3•kaycebasques•15m ago•0 comments

I used an AI QA agent to test Hacker News

https://hitest.ai/blog/demo-hacker-news
1•easilyjs•17m ago•0 comments

Show HN: Planning software for startup teams

https://weeklywe.com
1•aminaghakazemi•20m ago•0 comments

Ask HN: Now that AI makes the execution easy, do ideas matter more?

1•amichail•20m ago•0 comments

Is AI the End of Math as We Know It?

https://www.quantamagazine.org/is-ai-the-end-of-math-as-we-know-it-20261005/
1•maxall4•24m ago•1 comments

Leading Chinese mathematicians unite behind use of AI in research

https://www.scmp.com/news/china/science/article/3370492/leading-chinese-mathematicians-unite-behi...
2•E-Reverance•28m ago•0 comments

A.I. Music Fraudster Who Drew Millions in Royalties Is Sentenced to 18 Months

https://www.nytimes.com/2026/10/07/arts/music/ai-music-fraud-royalties-sentence.html
1•lxm•34m ago•0 comments

Normal Bad Work

https://terrytao.wordpress.com/2026/10/12/this-is-normal-bad-work/
2•smilelamp•34m ago•1 comments

In 5 years, 95% of tokens used by AI agents will be for tasks humans never did

https://twitter.com/levie/status/1986620885592113218
5•andsoitis•36m ago•0 comments

Available now: 0.5 MW of colo capacity for B300s

https://ardus.ai/
1•nasim_nosiroff•36m ago•0 comments

Ontology SDK

https://www.palantir.com/docs/foundry/ontology-sdk/overview
2•enjoyyourlife•42m ago•0 comments

Learn LEAN 4 Theorem Proving in an easy game

https://adam.math.hhu.de/#/g/leanprover-community/NNG4
2•samagra14•44m ago•0 comments

When to Use Vulnerability Assessments, Pentesting, Red Teams, and Bug Bounties

https://danielmiessler.com/blog/when-vulnerability-assessments-pentesting-red-team-bug-bounties
2•tknisley•46m ago•0 comments

The Most Overlooked Taste in the World [video]

https://www.youtube.com/watch?v=zC1v19wfoTA
1•pinkmuffinere•49m ago•0 comments

Multiplayer Pong over SSH

https://antics.gg/ssh
3•thatslast•51m ago•0 comments

No More Camera Glasses – Even Realities

https://www.evenrealities.com/blogs/stories/no-more-camera-glasses-by-will-wang-founder-ceo-even-...
2•tash_2s•54m ago•0 comments

NAZA: Netanyahu orders identification and prosecution of film's interviewees

https://www.theguardian.com/film/2026/oct/12/naza-netanyahu-orders-identification-prosecution-int...
37•hebelehubele•57m ago•2 comments

OpenAI algorithm for the FFT is less a breakthrough and more a malicious exploit

https://www.argmin.net/p/faster-fourier-transforms
21•mochomocha•1h ago•4 comments

Climate Finder

https://weather.theojaffee.net/
3•bonefishgrill•1h ago•0 comments

Why does checking for software updates often take so long?

5•nick_•1h ago•1 comments

Lüften, or 'home burping,' yields sweet smell of success for your home

https://www.cpr.org/2026/06/24/home-burping-brings-outdoor-air-inside/
2•andsoitis•1h ago•0 comments

Leaving Tech

https://ryanbigg.com/2026/10/leaving-tech
114•jonahx•1h ago•91 comments

Kioxia, SanDisk show off the tiny chip which could go in first 1 PB SSD

https://www.techradar.com/pro/kioxia-sandisk-show-off-the-tiny-chip-which-could-go-in-worlds-firs...
6•peter_d_sherman•1h ago•0 comments

Woman who rescued injured crow keeps getting 'thank-you gifts' from birds [video]

https://www.youtube.com/watch?v=sjNpfz4UzqU
6•johnnyApplePRNG•1h ago•0 comments

Show HN: BellRun. Gamified Stock Trading

https://bellrun.com/office
3•twism•1h ago•0 comments

IsEven API

https://isevenapi.xyz/
5•basilikum•1h ago•3 comments