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

Streaming Is Raising Prices Faster Than Cable Ever Did

https://www.hollywoodreporter.com/business/business-news/streaming-inflation-raising-prices-cable...
1•thm•2m ago•0 comments

Chromium/Chrome team witholds support for Icelandic language in Intl API

https://issues.chromium.org/issues/40624456
1•saevarom•5m ago•0 comments

PromptCube

https://promptcube3.com/en/
1•lucascaijia•6m ago•0 comments

Firelight and the Origins of Spoken Language

https://royalsocietypublishing.org/rspb/article/293/2078/20260602/483174/Firelight-and-the-origin...
1•harscoat•10m ago•0 comments

Netflix Moves Toward Open Source Flink Autoscaler for 30k Streaming Jobs

https://www.infoq.com/news/2026/09/netflix-flink-autoscaler/
1•theanonymousone•13m ago•0 comments

Why getting your hands dirty is good for you

https://www.bbc.com/future/article/20260904-how-getting-your-hands-dirty-boosts-your-health-withi...
2•HatchedLake721•14m ago•0 comments

Quantum-Drive-Solver high-performance, memory-efficient optimization engine

https://github.com/blueray313164-a11y/Quantum-Drive-Solver
1•Bluestein•15m ago•0 comments

TLS fingerprinting: How Cloudflare spots your scraper before the HTTP request

https://igorkozlowski.substack.com/p/tls-fingerprinting-what-websites
1•igor-lemon•15m ago•0 comments

See live tracking data for the city buses in Ahmedabad, India

https://gods-eye.esdy.cc/
2•amanverasia•16m ago•2 comments

Ask HN: How to spend $100? (Claude vs. ChatGPT)

1•SiebeBaree•16m ago•0 comments

Antiquated HTML Snippets and Artefacts

https://vale.rocks/posts/html-relics
2•patadune•19m ago•0 comments

Home Hardware, Part 1: My Control4 Revenge Arc

https://blog.jessfraz.com/post/home-hardware-part-one/
1•tosh•22m ago•0 comments

Chinese tech giants Huawei and Xiaomi launch new foldable phones ahead of Apple

https://www.nbcnews.com/world/asia/chinese-tech-companies-huawei-xiaomi-launch-new-foldable-phone...
1•ksec•23m ago•0 comments

Finite time blowup with smooth forcing term for the incompressible porous medium

https://terrytao.wordpress.com/2026/09/07/finite-time-blowup-with-smooth-forcing-term-for-the-inc...
1•robinhouston•24m ago•0 comments

Ultra Instinct Claude Code

https://github.com/infiniV/ultra-instinct-claude-code/blob/main/llms.txt
1•Bluestein•25m ago•0 comments

The SaaS Subscription Trap: How "Forgot to Cancel" Became a Business Model

https://www.indiehackers.com/post/the-saas-subscription-trap-how-forgot-to-cancel-became-a-busine...
1•soltanov•27m ago•0 comments

Slime moulds and the bitter debate over the nature of intelligence

https://www.theguardian.com/news/ng-interactive/2026/sep/08/this-is-dangerous-slime-moulds-and-th...
1•tosh•28m ago•0 comments

Show HN: Wirebot – talk to your Codex in messengers

https://wirebot.ai/codex
2•sadfun•30m ago•1 comments

TrustFinder: Deep Search AI

https://play.google.com/store/apps/details?id=com.popyakter.cheaterbusterai&hl=en_US
2•pranto12345•30m ago•0 comments

1.5M lines of code: Software becomes a key factor in Porsche's new Formula E car

https://e-formula.news/news/formula-e-news/formula-e-news-detail/1-5-million-lines-of-code-softwa...
1•xeonmc•31m ago•0 comments

Show HN: I made Artle – a quick, daily art guessing game

https://artle.eu
2•steinvakt2•31m ago•0 comments

Try DuckDB v2.0-Alpha

https://duckdb.org/2026/09/02/try-duckdb-20-alpha
1•tamnd•31m ago•0 comments

Maak.el: Lisp machine command runner in Emacs, infinitely extensible and Scheme

https://codeberg.org/jjba23/maak.el
1•jjba23•34m ago•0 comments

PicWish – AI photo editing for product images

https://picwish.com/
1•VolaRmb•35m ago•0 comments

Ask HN: CLI vs. GUI, what's your preferred way of using coding agents?

1•pranshuchittora•36m ago•0 comments

The Computer Moves In (1983)

https://time.com/archive/6699317/the-computer-moves-in/
1•glimshe•37m ago•0 comments

Arguments in Favor of AI Fair Use

https://kevinkelly.substack.com/p/arguments-in-favor-of-ai-fair-use
2•jger15•40m ago•0 comments

Prolog knowledge base over HTTP/JSON API, with an OpenAPI description

https://github.com/Christopher22/charon
2•triska•40m ago•0 comments

A Digital Duty of Care for Australia

https://www.infrastructure.gov.au/department/media/publications/digital-duty-care-australia-devel...
1•falsepolymath•41m ago•0 comments

Use the Canvas API to speed up image uploads without losing EXIF data

https://ptrchm.com/posts/why-pixelpeeper-image-uploads-feel-fast/
1•pchm•45m ago•0 comments