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

Predicting When RL Training Breaks Chain-of-Thought Monitorability

https://www.lesswrong.com/posts/SvxaKP5KdkksZPcG7/predicting-when-rl-training-breaks-chain-of-tho...
1•gmays•37s ago•0 comments

Device code phishing attacks surge 37x as new kits spread online

https://www.bleepingcomputer.com/news/security/device-code-phishing-attacks-surge-37x-as-new-kits...
1•Brajeshwar•2m ago•0 comments

Show HN: Autocrit – automated persona-based UX prototyping and evaluation

https://github.com/adiun/pi-autocrit
1•4di•2m ago•0 comments

Phone-free bars and restaurants on the rise across the U.S.

https://www.axios.com/2026/04/05/phone-free-restaurants-bars-bans-restrictions-offline
1•Brajeshwar•2m ago•0 comments

I'm Worried About the Helpless AI Disruptors of the Future

https://gizmodo.com/im-worried-about-the-helpless-ai-disruptors-of-the-future-2000742589
1•Brajeshwar•3m ago•0 comments

How to build internal AI tools without compliance blocking the project

https://comply-tech.co.uk/blog/internal-ai-tool-compliance.html
1•ComplyTechAPI•4m ago•0 comments

Testing Is Systems Thinking

https://testpappy.wordpress.com/2026/04/05/testing-is-systems-thinking/
1•gpi•6m ago•0 comments

Fair coins tend to land on the same side they started

https://arxiv.org/abs/2310.04153
1•DeathArrow•7m ago•0 comments

Ask HN: Best pivot for SWE to work on satisfying engineering challenges?

2•conqrr•8m ago•0 comments

EPA Official in Charge of Methane Regs Wrote Oil Industry Argument Against Them

https://www.propublica.org/article/trump-epa-methane-deregulation-aaron-szabo-oil-gas-axpc
4•Jimmc414•10m ago•0 comments

Show HN: A Common Lisp implementation in development

https://savannah.nongnu.org/news/?id=10876
1•andreamonaco•10m ago•0 comments

Why Lean?

https://leodemoura.github.io/blog/2026-4-2-why-lean/
1•kachnuv_ocasek•15m ago•0 comments

Banray.eu: Raising awareness of the terrible idea that is always-on AI glasses

https://banray.eu/en/index.html
3•ChrisArchitect•17m ago•1 comments

Ask HN: Is it time to stop putting the version in package.json?

1•xDmytri•17m ago•0 comments

I learned to solve a Rubik's Cube and it was incredibly disappointing

https://www.atomic14.com/2026/04/05/rubiks-cube
1•iamflimflam1•18m ago•0 comments

Claude Code builds a system prompt

https://www.dbreunig.com/2026/04/04/how-claude-code-builds-a-system-prompt.html
1•dbreunig•19m ago•0 comments

AI on Canvas

https://www.trydraft.app/
1•0xNishchit•24m ago•0 comments

Roogle: a Rust API search engine

https://github.com/roogle-rs/roogle
1•fanf2•24m ago•0 comments

2001: A Space Odyssey originally had a 20-foot-tall green alien, a 'crap' script

https://www.polygon.com/2001-space-odyssey-first-draft-alien-leopard-zebra-story/
2•thunderbong•27m ago•0 comments

Trump uses expletive-ridden social media post to threaten Iran's infrastructure

https://www.theguardian.com/world/live/2026/apr/05/middle-east-crisis-live-iran-israel-us-war-tru...
11•SanjayMehta•29m ago•1 comments

SPF/PC v4 for MS-DOS, FreeDOS, x86

https://github.com/moshix/SPFPC
6•hggh•29m ago•2 comments

Trinity-Large-Thinking: Scaling an Open Source Frontier Agent

https://www.arcee.ai/blog/trinity-large-thinking
2•gmays•30m ago•0 comments

Will there still be professional software developers?

https://grady.io/will-there-still-be-pro-devs/
2•gradys•30m ago•0 comments

Google Speaks on Quantum Hackers and the Threat to Crypto [video]

https://www.youtube.com/watch?v=mrLVk7RW5mA
1•mgh2•31m ago•0 comments

The generation vs. verification delta explains why LLM's are useful

https://simianwords.bearblog.dev/the-generation-vs-verification-delta-explains-why-llms-are-useful/
1•simianwords•33m ago•0 comments

California could have a republican governor

https://www.cnn.com/2026/04/05/politics/california-governor-election-democrats-analysis
1•Cider9986•37m ago•3 comments

Japanese, French and Omani Vessels Cross Strait of Hormuz

https://japantoday.com/category/politics/japanese-french-and-omani-vessels-cross-the-strait-of-ho...
28•vrganj•38m ago•0 comments

Nanocode: The best Claude Code that $200 can buy in pure JAX on TPUs

https://github.com/salmanmohammadi/nanocode/discussions/1
2•desideratum•45m ago•0 comments

AriaLabs -Private Intel Terminal- LiveGlobalFeeds,30 Osint Tools,LocalAI,NoCloud

https://github.com/Bardockthegreat/AriaLabs
1•Bardockthegreat•46m ago•0 comments

Raise and Release (2025)

https://jensrantil.github.io/posts/raise-and-release/
1•mooreds•48m ago•0 comments