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•11mo 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•11mo ago
Time to kill the API key.
pestatije•11mo ago
standard X.402 (ISO/IEC 10021-2) does already exist
xinbenlv•11mo 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

Show HN: Listen to Hacker News on the Go

https://hncast.com
1•ynarwal__•45s ago•0 comments

Supply Chain Security – Part 1

https://tinfoil.sh/blog/2026-05-01-supply-chain-client
1•3s•2m ago•0 comments

Warning over threat to birds after rat seen on Mousa

https://www.shetnews.co.uk/2026/04/30/warning-threat-birds-rat-seen/
1•latexr•3m ago•0 comments

A Deep Dive into Email Addresses

https://lasans.blog/articles/misc/email-addresses-deep-dive/
1•begoon•9m ago•0 comments

Fruit flies unexpectedly survived hypergravity and even reproduced

https://news.ucr.edu/articles/2026/04/30/under-crushing-hypergravity-flies-adapt-and-recover
1•giuliomagnifico•10m ago•0 comments

Show HN: "Woo", a multi-user world for agents

https://woo.hughpyle.workers.dev/
1•inguz•10m ago•0 comments

A new US phone network for Christians aims to block porn and gender-related con

https://www.technologyreview.com/2026/05/01/1136739/a-new-t-mobile-network-for-christians-aims-to...
1•joozio•17m ago•0 comments

Touch Typing Number Keys

https://susam.net/touch-typing-number-keys.html
1•susam•19m ago•0 comments

Apple accidentally left Claude.md files Apple Support app

https://xcancel.com/aaronp613/status/2049986504617820551
4•andruby•20m ago•0 comments

Your Website Is Not for You

https://websmith.studio/blog/your-website-is-not-for-you/
2•pumbaa•20m ago•0 comments

Show HN: Porting partially deobfuscated Old School Runescape to use LWJGL 3

https://github.com/stevefan1999-personal/void-client/tree/feat/native-to-java-port
1•stevefan1999•20m ago•0 comments

Turn Git commits and PRs into automated team updates (Slack/email)

https://gitmore.io
2•dmsozpepnc•21m ago•0 comments

The Network

https://www.citadel21.com/the-network
1•olalonde•21m ago•0 comments

New computer chip material inspired by the human brain could slash AI energy use

https://www.cam.ac.uk/research/news/new-computer-chip-material-inspired-by-the-human-brain-could-...
1•breve•22m ago•0 comments

Aaron Hsu: My favorite verbose programming technique [video]

https://www.youtube.com/watch?v=hkNwku81ehw
1•tosh•23m ago•0 comments

The Most Privacy-Respecting Search Engine

https://hister.org/posts/hister-the-most-privacy-respecting-search-engine
6•mstef•25m ago•0 comments

Company says nuclear fusion could power the grid – and soon

https://www.cnn.com/2026/04/30/climate/nuclear-fusion-real-world-electricity-grid
2•robtherobber•26m ago•0 comments

Parallel Pi coding agents in a sandbox

https://github.com/CelestoAI/SmolVM
2•theaniketmaurya•26m ago•3 comments

Show HN: Revdoku – visual document review with AI (open-source)

https://github.com/revdoku/revdoku
1•eummm•27m ago•0 comments

Notes on a non-profit indicted for bank fraud

https://www.bitsaboutmoney.com/archive/nonprofit-indicted-bank-fraud/
2•greyface-•27m ago•0 comments

Is this roadmap for back end realistic?

1•helloeveryone•28m ago•0 comments

Liar's Valuation

https://writing.nikunjk.com/p/liars-valuation
2•maxua•28m ago•0 comments

Show HN: Bitcoin Monitor Widget

https://btcwid.com
1•hda_ycombinator•36m ago•0 comments

TV Pickup

https://en.wikipedia.org/wiki/TV_pickup
3•piker•39m ago•0 comments

AI Mock Interviewer That Challenges You – LoopPass [video]

https://www.youtube.com/watch?v=a4oMH7spG8c
1•tomerbd•39m ago•0 comments

The AI Jailbreakers

https://www.theguardian.com/technology/2026/apr/29/meet-the-ai-jailbreakers-i-see-the-worst-thing...
1•saikatsg•45m ago•0 comments

Show HN: We Rebuilt AppAnne and Created Appkittie

https://www.appkittie.com
44•tadasg•47m ago•0 comments

Children Went from Worthless to Priceless (2013)

https://priceonomics.com/the-price-of-a-child/
1•downbad_•52m ago•1 comments

Show HN: Cloudwatch Insights tool for CLI users and agents

https://skagedal.tech/posts/2026-05-01-cloudwatch-insights-tool
2•simonkagedal•52m ago•0 comments

Mosaic: Local MCP server for agent memory

https://github.com/hexxla/mosaic
1•sploitzberg•52m ago•0 comments