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

Ubuntu website and repositories outage due to DDoS

https://twitter.com/VECERTRadar/status/2049934376272810445
1•jtlebigot•2m ago•0 comments

Don't Delegate Understanding

https://stephango.com/understand
1•sebg•2m ago•0 comments

Apple's iPhone revenue jumps to $57B despite chip shortagesiPhone

https://www.theverge.com/tech/921527/apple-iphone-revenue-q2-2026-earnings
1•mgh2•2m ago•2 comments

Apple beats on Q2 earnings, thanks to China and iPhone sales

https://finance.yahoo.com/video/apple-beats-on-q2-earnings-thanks-to-china--iphone-sales-20405227...
2•mgh2•3m ago•1 comments

OxyContin maker Purdue Pharma dissolves after judge approves criminal sentence

https://apnews.com/article/oxycontin-purdue-pharma-criminal-sentence-settlement-b8aa94eaab3d9d8ef...
2•embedding-shape•7m ago•0 comments

Discovering Hard Disk Physical Geometry Through Microbenchmarking (2019)

https://blog.stuffedcow.net/2019/09/hard-disk-geometry-microbenchmarking/
1•TapamN•7m ago•0 comments

AI outperforms doctors in Harvard trial of emergency triage diagnoses

https://www.theguardian.com/technology/2026/apr/30/ai-outperforms-doctors-in-harvard-trial-of-eme...
3•pseudolus•10m ago•0 comments

Multi-agent systems as distributed software

https://fulcrum.inc/2026/04/30/multi-agent-as-distributed.html
2•etherio•10m ago•0 comments

Embodied AI: China's ambitious path to transform its robotics industry

https://merics.org/en/report/embodied-ai-chinas-ambitious-path-transform-its-robotics-industry
1•atlasunshrugged•13m ago•0 comments

Show HN: Pu.sh – a full coding-agent harness in 400 lines of shell

https://pu.dev/
6•nahimn•14m ago•0 comments

Mapping the U.S. Federal Government Ecosystem for Cybersecurity

https://strategyofsecurity.com/p/mapping-the-u-s-federal-government-ecosystem-for-cybersecurity-p...
2•mooreds•15m ago•0 comments

Big Tech will spend nearly $700B on AI this year

https://fortune.com/2026/04/30/big-tech-hyperscalers-will-spend-700-billion-on-ai-infrastructure-...
5•mgh2•16m ago•2 comments

Biological Weapons Convention

https://en.wikipedia.org/wiki/Biological_Weapons_Convention
2•dave1010uk•18m ago•0 comments

I'm Powered by Linux

https://forkingmad.blog/powered-by-linux/
1•SoniaPanda•18m ago•1 comments

Nothing Is Impossible in Software Engineering

https://twitter.com/ichebykin/status/2049948519096811525
1•mifydev•18m ago•0 comments

Running creative online bots with ten thousand followers

https://stefanbohacek.com/blog/on-running-creative-online-bots-with-ten-thousand-followers/
2•sieste•19m ago•0 comments

Pie Thieves

https://www.endnotes.net/pie-thieves/
1•zdw•20m ago•0 comments

SimpleX Channels, SimpleX Network Consortium and Community Crowdfunding

https://simplex.chat/blog/20260430-simplex-channels-v6-5-consortium-crowdfunding-freedom-of-speec...
1•pmw•20m ago•0 comments

Patch Your Kernel NOW: 732byte Python rootkit, cracks all distros since 2017

https://github.com/rootsecdev/cve_2026_31431
3•cednore•21m ago•1 comments

Hard budget enforcement for AI agents – blocks before the API call

https://awx-shredder.fly.dev
1•awxglobal•22m ago•0 comments

GCC 16.1 Released

https://lwn.net/Articles/1070649/
2•kazu11max17•22m ago•0 comments

Blue Origin certainly has ambitious launch targets for New Glenn

https://arstechnica.com/space/2026/04/blue-origin-certainly-has-ambitious-launch-targets-for-new-...
3•LorenDB•23m ago•0 comments

The most severe Linux threat to surface in years catches the world flat-footed

https://arstechnica.com/security/2026/04/as-the-most-severe-linux-threat-in-years-surfaces-the-wo...
3•AndrewDucker•24m ago•0 comments

Passlib 1.7.4 incompatible with bcrypt >= 4.3 ausing runtime warnings

https://bugs.launchpad.net/kolla-ansible/+bug/2150764
2•shayangeedook•25m ago•0 comments

Hackers are actively exploiting a bug in cPanel and WHM

https://techcrunch.com/2026/04/30/hackers-are-actively-exploiting-a-bug-in-cpanel-used-by-million...
4•dotmanish•25m ago•0 comments

Cerberus Anti-theft is stalkerware: a reverse engineering

https://hexproof.dev/datagrams/cerberus-stalkerware-re/
1•ImJasonH•27m ago•0 comments

Prolific Chinese State-Sponsored Contract Hacker Extradited from Italy

https://www.justice.gov/opa/pr/prolific-chinese-state-sponsored-contract-hacker-extradited-italy
5•737min•28m ago•1 comments

The Iran internet blackout has entered its second month

https://mastodon.social/@netblocks/116481109110598719
5•us321•33m ago•0 comments

iOS 27 to bring AI inside the Camera app, iPhone shutdown problem

https://9to5mac.com/2026/04/30/happy-hour-588/
1•omer_k•35m ago•0 comments

My Daughter Died at 32. My Devices Won't Let Me Rest

https://www.wsj.com/lifestyle/relationships/my-daughter-died-at-32-my-devices-wont-let-me-rest-50...
6•impish9208•35m ago•2 comments