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

Meet the Sad Wives of AI

https://www.wired.com/story/meet-the-sad-wives-of-ai/
1•pypt•3m ago•1 comments

Are We XLibre Yet? · X11Libre/Xserver Wiki

https://github.com/X11Libre/xserver/wiki/Are-We-XLibre-Yet%3F
1•xbmcuser•3m ago•0 comments

Six Million Selections Later: How the DMA Is Giving People Browser Choice

https://blog.mozilla.org/netpolicy/2026/05/11/six-million-selections-later-how-the-dma-is-giving-...
2•naves•8m ago•0 comments

Making Deep Learning Go Brrrr from First Principles

https://horace.io/brrr_intro.html
1•tosh•8m ago•0 comments

Electronics engineer – neurotech – London (hybrid/remote)

https://netholabs.com/electronics_engineer_812
1•catubc•11m ago•1 comments

Why Stanford Says AI Agents Become Marxist

https://www.flyingpenguin.com/why-stanford-says-ai-agents-become-marxist/
2•feigewalnuss•17m ago•0 comments

Palestinians forced to demolish own homes to make way for Israeli theme park

https://www.theguardian.com/world/2026/may/16/palestinians-demolish-family-homes-jerusalem-kings-...
3•hebelehubele•18m ago•0 comments

A message from kurdistan – my love for China and DeepSeek

https://old.reddit.com/r/DeepSeek/comments/1tadbm6/a_message_from_kurdistan_my_love_for_china_and/
1•chewz•20m ago•0 comments

Your VPS Is a Sitting Duck

https://github.com/rockballslab/vps-secure
1•rockballslab•22m ago•0 comments

Is Bitwarden Getting Enshitified?

https://www.fastcompany.com/91542655/bitwarden-scrubs-always-free-and-inclusion-values-from-its-w...
1•bobek•29m ago•1 comments

Experience Layer for AI

https://cortexdb.ai/blog/v1
1•prmalik•32m ago•0 comments

Pretext – pure-arithmetic text measurement for proportional fonts

https://somnai-dreams.github.io/pretext-demos/
2•Teever•37m ago•0 comments

TunnelForge, a L2TP client for Android 12

https://github.com/evokelektrique/tunnel-forge
1•femdiya•37m ago•0 comments

The Whitepaper Thunderdome: HAGE vs. Storage Is Not Memory

https://medium.com/@vektormemory/the-whitepaper-thunderdome-hage-vs-storage-is-not-memory-8a76fd6...
1•vektormemory•45m ago•0 comments

Why birth rates are falling everywhere all at once

https://www.ft.com/content/fba35eca-df3a-4ad6-b42d-eb08eb7c9ad3
2•quick_brown_fox•48m ago•0 comments

Trump warns Taiwan against declaring independence

https://www.bbc.com/news/articles/ce8p61v7l68o
2•vrganj•49m ago•1 comments

$2B Conflict: Sam Altman "Side Hustles" Are Now Center of a Legal Warzone

https://www.gadgetreview.com/the-2-billion-conflict-sam-altmans-side-hustles-are-now-the-center-o...
1•g42gregory•50m ago•0 comments

Sense Humans with WiFi – Ruview

https://cognitum.one/RuView#capabilities
1•unixhero•51m ago•0 comments

Goodbye Travel Agents, Hello AI Agents

https://blog.denv.it/posts/goodbye-travel-agents-hello-ai-agents/
3•denysvitali•51m ago•0 comments

Do High-Quality EDC Knives Justify Their Price Gap?

https://www.paragon-knives.com/
1•bgzlsxaz•53m ago•0 comments

Jjw: A Workspace Manager for Jj

https://aran.dev/posts/introducing-jjw-jj-workspace-manager/
1•aranw•58m ago•0 comments

Show HN: New release of jd-GUI-duo 2.0.112 is out

https://github.com/nbauma109/jd-gui-duo/releases/tag/2.0.112
1•nbauma109•58m ago•0 comments

InclusionAI/Ring-2.6-1T is now open-sourced

https://huggingface.co/inclusionAI/Ring-2.6-1T
1•gainsurier•1h ago•0 comments

The Quiet Renovation at Bitwarden

https://blog.ppb1701.com/the-quiet-renovation-at-bitwarden
1•RyeCombinator•1h ago•0 comments

OXP – Write one WASM extension, run natively in VS Code, JetBrains, and Neovim

https://oxp.sh/
2•aldgar•1h ago•0 comments

The Download: deepfake porn's stolen bodies and AI sharing private numbers

https://www.technologyreview.com/2026/05/14/1137257/the-download-deepfake-porn-bodies-ai-exposing...
3•joozio•1h ago•0 comments

Frontier AI has broken the open CTF format

https://kabir.au/blog/the-ctf-scene-is-dead
50•frays•1h ago•24 comments

QuantumGuard – Free Quantum

https://quantumguard.site
1•pavan6599•1h ago•0 comments

Nested Callbacks (2013)

https://blog.michellebu.com/2013/03/21-nested-callbacks/
1•cod1r•1h ago•0 comments

Global News Reporting Briefs

https://www.worldbrief.info
1•reader9274•1h ago•0 comments