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•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

Star Maker by Olaf Stapledon

https://philosophynow.org/issues/173/Star_Maker_by_Olaf_Stapledon
1•measurablefunc•4m ago•0 comments

Ghana proposes mandatory licensing for IT professionals and businesses [pdf]

https://www.nita.gov.gh/wp-content/uploads/2025/NITA-2008-act-2025-1.pdf
2•certyfreak•5m ago•1 comments

JWT is a scam and your app doesn't need it

https://www.dusanmalusev.dev/blog/jwt-is-a-scam-and-your-app-doesnt-need-it
1•CodeLieutenant•8m ago•0 comments

Effects of whole-body vibration training on sarcopenia in older adults

https://www.nature.com/articles/s41598-026-45710-y
1•bookofjoe•10m ago•0 comments

Beyond Nostalgia: 8-Bit Computing as Tech Critique

https://yadin.com/notes/nostalgia/
1•dryadin•10m ago•0 comments

Rocket Mail

https://en.wikipedia.org/wiki/Rocket_mail
1•aragonite•10m ago•0 comments

See great white shark swim between surfers at Pismo Beach pier. 'It's insane'

https://www.sanluisobispo.com/news/local/environment/article315841926.html
1•Bender•10m ago•0 comments

Zuck defends monitoring employees to win AI race in purported leaked audio

https://www.theregister.com/ai-ml/2026/05/22/zuck-defends-monitoring-employees-to-win-ai-race-in-...
1•Bender•12m ago•0 comments

Show HN: A simple app to visualize Apple Health workout logs

https://streakout.app/
1•toni88x•12m ago•0 comments

Show HN: Memory for LLM apps that cuts input tokens up to 80% (avg 68%)

https://github.com/Tem-Degu/streetai-memory
1•degutemesgen•12m ago•0 comments

It took 40 years for technology to catch up to this zipper design

https://news.mit.edu/2026/three-sided-y-zipper-design-0504
1•geox•12m ago•0 comments

Uber to make offer for German food delivery co DeliveryHero

https://www.reuters.com/business/delivery-hero-confirms-takeover-offer-uber-2026-05-23/
1•gigatexal•14m ago•1 comments

Piqo – a pi extension to collaborate with agents directly from your files

https://github.com/piqoni/pi-piqo
1•lexoj•19m ago•0 comments

One last trip to the internet in 2009 with The Rough Guide 14

https://www.planetjones.net/blog/19-04-2026/one-last-trip-to-the-internet-in-2009-with-the-rough-...
1•planetjones•23m ago•0 comments

Sharp Eyes: Mass surveillance of foreigners in China – Part 1

https://substack.com/@netaskari/p-196106121
1•Tomte•24m ago•0 comments

mvm – a fast virtual machine for Go

https://mvm.sh/
1•erdaniels•26m ago•0 comments

Ordinary WiFi can now identify people with near perfect accuracy

https://www.sciencedaily.com/releases/2026/05/260522023127.htm
3•Jimmc414•28m ago•0 comments

Show HN: AI Chess Coach

https://aichess.coach/
2•sleepypizza•30m ago•1 comments

5chan.org

https://www.youtube.com/watch?v=SCZI7fZJlgE
1•fagnerbrack•32m ago•0 comments

Lovable Changelog and Product Updates

https://docs.lovable.dev/changelog
1•doener•33m ago•0 comments

The biggest conspiracy on the internet right now... [video][18mins]

https://www.youtube.com/watch?v=A1XUtk2KN-I
2•Bender•33m ago•0 comments

Keep Your Slop to Yourself

https://davidgasquez.com/keep-your-slop-to-yourself
2•kalendos•35m ago•0 comments

KinetiX: An intra-inference hardware interlock for LLMs

https://github.com/johndoerch-eng/kinetix-latent-interlock
1•kinetix_system•37m ago•0 comments

The first benchmark to test AI agent's video editing capability

https://agenticvbench.com/
2•ameddserM•37m ago•1 comments

Just You Wait

https://shiflett.org/blog/2026/just-you-wait
2•bjhess•37m ago•1 comments

AltTab removed free features and deleted old GitHub releases in an update

https://old.reddit.com/r/MacOS/comments/1tlar67/psa_alttab_for_macos_removed_free_features_in_an/
1•speckx•38m ago•0 comments

Trump's 3,711 Trades Point to Multiple Stock-Market Strategies

https://www.bloomberg.com/news/features/2026-05-23/trump-s-3-711-trades-point-to-multiple-stock-m...
1•simonpure•43m ago•1 comments

Show HN: Gemini Omni flash video editor and generator

https://vivify.video/models/gemini-omni-flash
1•mixfox•45m ago•1 comments

Simulating Why One AI Always Wins: Formal Theory of the Singleton Attractor

https://github.com/ninjahawk/singleton-attractor
1•ninjahawk1•45m ago•0 comments

Triumph of the Nerds (1 of 3) 4K Upscaled [video]

https://www.youtube.com/watch?v=ACt6xsMt5Uk
1•evo_9•46m ago•0 comments