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

An Algorithmic Reconstruction of Normalisation by Evaluation

https://yangzhixuan.github.io/NbE.html
1•matt_d•1m ago•0 comments

Global energy markets are on the verge of a disaster

https://www.economist.com/finance-and-economics/2026/04/21/global-energy-markets-are-on-the-verge...
1•petethomas•12m ago•0 comments

Moving a tenant across PostgreSQL instances

https://ananthakumaran.in/2026/04/22/moving-tenant-across-postgresql-instances.html
1•ananthakumaran•15m ago•0 comments

Can EVs kill off petrol cars in China?

https://www.ft.com/content/c78e0368-cc57-4f92-ad62-a073e01ba73d
1•petethomas•18m ago•0 comments

Code, your choice: Netlify's stance on AI training data

https://www.netlify.com/blog/stance-on-ai-training-data/
1•kristianp•20m ago•1 comments

Changes to GitHub Copilot Individual Plans

https://simonwillison.net/2026/Apr/22/changes-to-github-copilot/
2•omer_k•22m ago•0 comments

Bob Dylan – Murder Most Foul (Official Audio) [video]

https://www.youtube.com/watch?v=3NbQkyvbw18
1•hkhn•24m ago•0 comments

The Mattering Instinct: How Our Deepest Longing Drives Us and Divides Us

https://rebeccagoldstein.com/the-mattering-instinct/
1•hkhn•26m ago•0 comments

OpenBSD – LibreSSL 4.3.1 Released

https://www.undeadly.org/cgi?action=article;sid=20260420085845
2•peter_hansteen•26m ago•0 comments

Elon Musk's SpaceX Endgame

https://www.theatlantic.com/technology/2026/04/elon-musk-starlink-satellites/686877/
2•paulpauper•28m ago•0 comments

The State of the Human Rights: April 2026

https://www.amnesty.org/en/documents/pol10/0320/2026/en/
1•hkhn•29m ago•0 comments

Hundreds trying to storm Wisconsin beagle research facility

https://www.msn.com/en-us/news/world/hundreds-trying-to-storm-wisconsin-beagle-research-facility-...
1•rguiscard•29m ago•0 comments

Happiness Feels

https://passiveaggressionoftheworlds.substack.com/p/how-happiness-feels
1•bunson_burner•33m ago•0 comments

Microsoft's GitHub grounds Copilot account sign-ups amid capacity crunch

https://www.theregister.com/2026/04/20/microsofts_github_grounds_copilot_account/
2•gpi•34m ago•0 comments

Ask HN: What Would Make Stack Overflow Great Again?

3•nnurmanov•39m ago•1 comments

Claude 4.7 blocks cyber prompts: before the fact vs. after the fact

https://raxitlabs.com/blogs/claude-47-five-layers-cyber-blocking
2•agairola•41m ago•0 comments

Show HN: XTTV, the App to watch long video from Twitter/X on Apple TV

https://apps.apple.com/us/app/xttv/id6757870255
1•ShawFei•41m ago•0 comments

Cognition without brains? Learning and memory in microorganisms

https://www.sciencedirect.com/science/article/pii/S0966842X26000909
1•the-mitr•41m ago•0 comments

Agent Harness Engineering

https://addyosmani.com/blog/agent-harness-engineering/
3•tanelpoder•46m ago•0 comments

Benchmarking Cloud vs. Local LLMs Why back end choice matters more than quant

https://arxiv.org/abs/2604.18566
2•tleitch•47m ago•0 comments

Ask HN: Is the internet getting more jank?

2•taurath•47m ago•1 comments

Everyone should have the opportunity to build their own house

https://reveriesofahuman.com/everyone-should-have-the-opportunity-to-build-their-own-house/
1•dartharva•49m ago•0 comments

Deeply Rooted

https://oxfordamerican.org/oa-now/deeply-rooted
1•gmays•51m ago•0 comments

HackerFork – Surfaces HN posts that never make the front page

https://hackerfork.com
2•saadn92•52m ago•1 comments

Sys. Review: The Impact of Covid-19 Vaccination on Myocarditis Risk and Recovery

https://www.mdpi.com/2039-7283/16/4/77
1•cratermoon•53m ago•0 comments

Netflix's AI deal puts the global VFX workforce at risk

https://restofworld.org/2026/netflix-interpositive-vfx-ai-automation/
3•jackyli02•54m ago•1 comments

FPGA-based tiled matrix multiplication accelerator for self-attention

https://arxiv.org/abs/2503.16731
3•sha_rad•55m ago•0 comments

Show HN: Proton VPN expands to 145 countries: A technical look at infrastructure

1•anju-kushwaha•58m ago•0 comments

Show HN: Aide – A customizable Android assistant (voice, choose your provider)

https://aideassistant.com/
1•yincrash•59m ago•0 comments

Omacon keynote talk with DHH [video]

https://www.youtube.com/watch?v=sMxskir7Rug
2•nodesocket•1h ago•1 comments