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 Raise a Martian

https://bryancurtis.substack.com/p/how-to-raise-a-martian
1•ero5004•39s ago•0 comments

Robots are coming for your housecleaner's job

https://twitter.com/alexkoch_ai/status/2115871971393331663
1•bigwheels•49s ago•0 comments

Canada buy stake in Cohere via $7B Series E at $36B valuation

https://betakit.com/canada-to-invest-up-to-1-6-billion-in-ai-firm-cohere/
1•ziptron•2m ago•0 comments

Proton CEO Andy Yen: "This will be the last year that we hire engineers."

https://twitter.com/LayoffAI/status/2115871654366642624
2•101008•3m ago•0 comments

Patrick Stewart Dies at 86

https://www.yahoo.com/entertainment/celebrity/article/patrick-stewart-star-of-x-men-and-star-trek...
2•emrah•3m ago•0 comments

Intel Reports Third-Quarter 2026 Financial Results

https://www.intc.com/news-events/press-releases/detail/1786/intel-reports-third-quarter-2026-fina...
1•tekdude•3m ago•0 comments

Constraint as Language: The Aesthetics of New Media and the Fate of the Image

https://medium.com/@smoking2man/constraint-as-language-the-aesthetics-of-new-media-and-the-fate-o...
1•Aldus551•4m ago•0 comments

$20 silent speech interface

https://asashepard.com/silent-speech
1•asashepard•4m ago•0 comments

Patrick Stewart Dead: Star Trek and X-Men Actor Was 86

https://variety.com/2026/tv/news/patrick-stewart-dead-star-trek-picardx-men-xavier-1236934412/
1•thm•5m ago•0 comments

Show HN: CatalogKite – Product catalogs and line sheets buyers can order from

https://catalogkite.com/
1•xalgord•5m ago•0 comments

Show HN: Concordia, a 21 km rotating space city you can walk in the browser

https://concordia.davidveksler.com/
1•HeroicLife•7m ago•0 comments

Polymarket Halts Trading as Users Report $1.4M Drained

https://finance.yahoo.com/markets/crypto/articles/polymarket-halts-trading-users-report-183518883...
1•ck2•7m ago•0 comments

The Surprising Popularity of AI

https://www.economist.com/international/2026/10/22/the-surprising-popularity-of-ai
1•Gander5739•7m ago•1 comments

Does Sabrina Pasterski's holographic theory make her the next Einstein?

https://www.newscientist.com/article/2594010-does-sabrina-pasterskis-holographic-theory-make-her-...
2•alchemist1e9•8m ago•0 comments

Different Gemini model setups for agentic video analysis: Deep vs. Lite

https://jorgecolonconsulting.com/deep-vs-lite-different-model-reasoning-level-different-benefits/
1•2upmedia•8m ago•1 comments

We interrupt our usual programming to inform you that I was never hired

https://statmodeling.stat.columbia.edu/2026/10/27/we-interrupt-our-usual-programming-to-inform-yo...
2•jruohonen•8m ago•0 comments

Amazon.com Announces Q3 2026 Results [pdf]

https://ir.aboutamazon.com/files/doc_earnings/2026/q3/earnings-result/AMZN-Q3-2026-Earnings-Relea...
3•mfiguiere•10m ago•0 comments

Covenant-72B

https://huggingface.co/1Covenant/Covenant-72B
1•cobbzilla•11m ago•0 comments

Don't Tell Your Customers You Don't Trust Them

https://spicermatthews.com/blog/dont-tell-your-customers-you-dont-trust-them/
1•cloudmanic•13m ago•0 comments

Ask HN: Are Knuth's Stanford Pages Down?

3•weinzierl•14m ago•0 comments

The AI cost of JavaScript frameworks

https://nolanlawson.com/2026/10/28/the-ai-cost-of-javascript-frameworks/
1•rmason•15m ago•0 comments

Quines, and Brainfuck

https://coral.shoes/blogs/brainfuck-quine.html
1•num42•15m ago•0 comments

Patrick Stewart Dies at 86

https://www.bbc.co.uk/news/live/cq23dve8dgv9t
3•evgen•15m ago•1 comments

Refract – One note in, a native post for every social network

https://refract.social/
1•AnpsThemes•17m ago•0 comments

A Catalog of AI Failure Modes

https://lagomor.ph/indieweb/20261029/1313-note/
1•ChilledTonic•17m ago•0 comments

Reconstructing dietary history of bears through stable isotope analysis of hair

https://link.springer.com/article/10.1007/s10344-026-02163-y
1•bushwart•18m ago•0 comments

Ask HN: Should Flocking Become a Verb?

1•verdverm•18m ago•0 comments

Patrick Stewart, 'Star Trek' Captain and 'X-Men' Superhero, Dies at 86

https://www.hollywoodreporter.com/movies/movie-news/patrick-stewart-dead-star-trek-x-men-1236742932/
4•cdrnsf•20m ago•1 comments

Show HN: Ward – reliable face unlock for Linux login, sudo and polkit

https://github.com/0ctave/ward
1•0ctave•23m ago•0 comments

Fault a Theoretical Alternative to Result

https://paul.blasuc.ci/posts/fault-report.html
1•nozzlegear•23m ago•0 comments