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

Good developers learn to program. Most courses teach a language

https://evilgeniuslabs.ca/blog/good-developers-learn-to-program-not-a-language
1•andsoitis•42s ago•0 comments

Probability Sampling

https://www150.statcan.gc.ca/n1/edu/power-pouvoir/ch13/prob/5214899-eng.htm
1•firasd•1m ago•0 comments

History of Visual Basic (Chapter 1)

https://evilgeniuslabs.ca/books/visual-basic-history
1•andsoitis•1m ago•0 comments

A Physics Engine with Incremental Rollback for Multiplayer Games

https://easel.games/blog/2026-rollback-physics
1•BSTRhino•3m ago•1 comments

What did you love about VB6?

https://evilgeniuslabs.ca/blog/vb6-modern-dotnet-question
2•andsoitis•6m ago•0 comments

London's First RL Long Horizon Hackathon [video]

https://www.youtube.com/watch?v=oYFWsYcd0NY
1•dominiconorton•8m ago•0 comments

Notes on a non-profit indicted for bank fraud

https://www.bitsaboutmoney.com/archive/nonprofit-indicted-bank-fraud/
1•Redoubts•10m ago•0 comments

Show HN: Passages – Read long-form articles on you E-Ink

https://www.passages.ink/
1•tbueno•14m ago•0 comments

U.S. to Withdraw 5k Troops from Germany, Pentagon Says

https://www.nytimes.com/2026/05/01/us/politics/us-troops-germany.html
8•mikhael•22m ago•1 comments

uget – stupid get-file-over-HTTP program/function

https://github.com/troglobit/uget
1•peter_d_sherman•25m ago•1 comments

Visual Studio 2026 still ships the form designer Alan Cooper drew in 1987

https://evilgeniuslabs.ca/blog/winforms-still-ships-in-visual-studio-2026
3•jordand•30m ago•0 comments

Oregon's Non-Affiliated Surge and the Socialist Realignment Nobody Talks About

https://fullstack.ing/posts/the-flight-from-party-oregons-non-affiliated-surge-and-the-socialist-...
2•fullstacking•38m ago•0 comments

Humanity on the Page

https://www.commonwealmagazine.org/writing-artificial-intelligence-ai-rand-richards-cooper
1•cainxinth•38m ago•0 comments

Show HN: TTS Studio: AI-Powered Text-to-Speech Tool

https://tts.haroun.dev/
2•shmayro•39m ago•0 comments

I got infected with a crypto-miner via misconfigured qBittorrent

https://blog.vasi.li/well-i-got-hacked/
2•vsviridov•43m ago•0 comments

What Software Engineers Can Learn from the Aviation Industry

https://mwalterskirchen.dev/blog/piloting-agentic-engineering/
3•pseudolus•47m ago•0 comments

NASA's Curiosity and Perseverance rovers capture Mars panoramas [video]

https://www.space.com/astronomy/mars/nasas-curiosity-and-perseverance-rovers-capture-sweeping-mar...
2•teleforce•50m ago•0 comments

A Report on Burnout in Open Source Software Communities (2025) [pdf]

https://mirandaheath.website/static/oss_burnout_report_mh_25.pdf
3•susam•51m ago•0 comments

New v2 UALink specification aims to catch up to NVLink

https://www.networkworld.com/article/4155357/new-v2-ualink-specification-aims-to-catch-up-to-nvli...
2•mindcrime•51m ago•0 comments

Keep Android Open: Why Free Android Matters

https://tux.re/forum/viewtopic.php?t=203
4•tux033•51m ago•0 comments

On Taste

https://endler.dev/2026/taste/
2•lwhsiao•55m ago•0 comments

Palantir Workers Are Finally Noticing the Skulls on Their Caps

https://www.techdirt.com/2026/04/30/palantir-workers-are-finally-noticing-the-skulls-on-their-caps/
10•throawayonthe•56m ago•4 comments

WolfCOSE: Zero alloc, PQC, MISRA-C, FIPS 140-3 built with wolfCrypt

https://github.com/aidangarske/wolfCOSE
2•aidangarske•57m ago•0 comments

AI Companies Can't Regulate Themselves. They Should Regulate Each Other

https://www.lawfaremedia.org/article/ai-companies-can-t-regulate-themselves-they-should-regulate-...
1•nedruod•58m ago•0 comments

Pentagon officials broadly detail $55B drone plan under DAWG

https://breakingdefense.com/2026/04/pentagon-officials-broadly-detail-55-billion-drone-plan-under...
1•thegdsks•59m ago•0 comments

Show HN: News on the Go

https://hncast.com/
3•ynarwal__•1h ago•0 comments

Industrial Policy for the Intelligence Age [pdf]

https://cdn.openai.com/pdf/561e7512-253e-424b-9734-ef4098440601/Industrial%20Policy%20for%20the%2...
1•avaer•1h ago•0 comments

A Programmer's Guide to Common Lisp

https://archive.org/details/a-programmers-guide-to-common-lisp
9•jellinek•1h ago•1 comments

Running a custom trained Piper TTS model on Raspberry Pi Zero 2W

https://old.reddit.com/r/LocalLLM/comments/1t0xho8/running_a_custom_trained_piper_tts_model_on/
1•yakkomajuri•1h ago•0 comments

Disabling the new AF_ALG by default in gnulib (from 2018)

https://lists.gnu.org/archive/html/coreutils/2018-06/msg00034.html
2•dxdxdt•1h ago•0 comments