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

Ask HN: Why don't winter gloves have mechanical fingers?

1•amichail•45s ago•0 comments

Show HN: The one-stop-place for gen-alpha events

https://www.bloxrn.com
1•claude_sh_1959•51s ago•0 comments

The New "Full Stack"

https://twitter.com/ray_daze/status/2014813876878262301
1•alexjray•2m ago•0 comments

EquipmentShare (YC W15) goes public

https://www.ycombinator.com/blog/congratulations-to-equipmentshare/
2•subsequent•2m ago•0 comments

Show HN: Free Top Font Library: Bestfonts.co – Find Free Top Fonts in Seconds

https://bestfonts.co
1•LetsBuildThis•2m ago•0 comments

Tim O'Reilly – AI and the Next Economy

https://www.oreilly.com/radar/ai-and-the-next-economy/
1•rmason•2m ago•0 comments

Tiny Sand Grains May Solve 5k-Year-Old Stonehenge Mystery

https://studyfinds.org/sand-may-solve-stonehenge-mystery/
1•rmason•4m ago•0 comments

Show HN: CIE – Open-source code intelligence engine for AI coding assistants

https://github.com/kraklabs/cie
1•kraklabs•4m ago•0 comments

Urjo

https://urjo.com/
2•wawayanda•5m ago•0 comments

Breath carries clues to gut microbiome health

https://medicine.washu.edu/news/breath-carries-clues-to-gut-microbiome-health/
1•gmays•5m ago•0 comments

Wine 11.1 – Run Windows Applications on Linux, BSD, Solaris and macOS

https://gitlab.winehq.org/wine/wine/-/releases/wine-11.1
1•neustradamus•6m ago•0 comments

Winapp, the Windows App Development CLI – Windows Developer Blog

https://blogs.windows.com/windowsdeveloper/2026/01/22/announcing-winapp-the-windows-app-developme...
1•MaysonL•8m ago•0 comments

North America divided into regions of 1M people

https://www.anita.garden/assets/na1m.png
1•owodc•10m ago•0 comments

Akin to believing light beer is a solution to alcoholism: My time at Patagonia

https://arestlesstransplant.substack.com/p/akin-to-believing-light-beer-is-a
1•chaseadam17•11m ago•0 comments

AI is poisoning itself and pushing LLMs toward collapse,but there's a cure

https://www.zdnet.com/article/ai-is-poisoning-itself-model-collapse-cure/
1•CrankyBear•16m ago•0 comments

Interfaces and Traits in C

https://antonz.org/interfaces-in-c/
2•weinzierl•22m ago•0 comments

Fear to speak in public to investors and coworkers

https://apps.apple.com/us/app/speaking-coach-spechai/id6755611866
1•javierbuilds•22m ago•1 comments

The Maintenance Race

https://worksinprogress.co/issue/the-maintenance-race/
1•MintyPyro•23m ago•0 comments

Ask HN: Have you seen your Palantir file?

11•roschdal•23m ago•0 comments

We built a pre-index backlink audit because post-index SEO tools were too late

https://verifybacklinks.com/
1•voxRovis•23m ago•1 comments

Bringing Optical Color to Ultrasound

https://www.caltech.edu/about/news/bringing-optical-color-to-ultrasound
1•geox•24m ago•0 comments

Trusting AI Without Line-by-Line Review

https://aibuddy.software/trusting-ai-without-line-by-line-review/
1•freediver•26m ago•0 comments

NYT investigation on an ice raid [video]

https://www.youtube.com/watch?v=9ws1r6CaSXs
6•marysminefnuf•26m ago•1 comments

The Tragedy of the Agentic Commons

https://www.strangeloopcanon.com/p/the-tragedy-of-the-agentic-commons
1•gmays•26m ago•0 comments

Convert ePub files to audiobooks using qwen3-TTS

https://github.com/khimaros/autiobook
2•khimaros•26m ago•1 comments

Microsoft collects passwords and scans password-protected zip files (2023)

https://arstechnica.com/information-technology/2023/05/microsoft-is-scanning-the-inside-of-passwo...
5•user_account•27m ago•0 comments

Donald Knuth – The Patron Saint of Yak Shaves

https://yakshav.es/the-patron-saint-of-yakshaves/
1•susam•27m ago•0 comments

Mental Models (2018)

https://fs.blog/mental-models/
4•hahahacorn•27m ago•2 comments

RedwoodSDK Tutorial with Test2Doc

https://www.test2doc.com/docs/tutorial-1/
1•dethstrobe•30m ago•1 comments

Successfully Adopting AI Part I (Insights from the MIT GenAI Study)

https://keithalexanderashe.substack.com/p/successfully-adopting-ai-part-i
1•kaa2102•31m ago•0 comments