frontpage.
newsnewestaskshowjobs

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

Masayoshi Sun dismisses Musk's idea for orbital data centers

https://www.japantimes.co.jp/business/2026/06/23/companies/softbank-dismissal-musk-idea-data-cent...
1•anigbrowl•25s ago•0 comments

The Agent-Buyer Thesis – What Happens When AI Agents Are the Buyers

https://agentbuyer.gumroad.com/l/agent-buyer-thesis
1•P_Economics•2m ago•1 comments

The Glorious Revolution and the causes of the industrial revolution

https://www.worksinprogress.news/p/how-smashing-the-nimbys-created-modern
1•fanf2•2m ago•0 comments

Ukraine disguised a $20B sabotage mission as a 'porn film'

https://www.telegraph.co.uk/books/non-fiction/nord-stream-conspiracy-bojan-pancevski-review/
1•AureliusMA•3m ago•0 comments

Michael Burry: Billions in Nvidia Are Hidden Through Complex Financing Structure

https://finance.yahoo.com/markets/stocks/articles/michael-burry-calls-nvidia-ai-153103274.html
1•doener•4m ago•0 comments

Mozilla.org – The web is evolving. So are we

https://blog.mozilla.org/en/mozilla/news/announcing-mozilla-org-new-non-profit/
2•brycewray•6m ago•0 comments

Mind-Body Healing: An Exchange

https://statmodeling.stat.columbia.edu/2026/06/23/mind-body-healing-an-exchange/
1•u1hcw9nx•6m ago•0 comments

America Isn't Sweating Climate Change

https://www.theatlantic.com/science/2026/06/climate-ambivalence/687673/
1•littlexsparkee•8m ago•1 comments

The Geometry of Noise: Why Diffusion Models Don't Need Noise Conditioning

https://intuitivepapers.ai/geometry-of-noise/
1•skzv•10m ago•0 comments

We've seen AI hype cycles before. They didn't end well

https://www.narracomm.com/weve-seen-ai-hype-cycles-before-they-didnt-end-well/
1•thelonelyborg•10m ago•1 comments

Show HN: LinkedIn Unfiltered: Translate corpo to human

https://github.com/kjhq/linkedin-unfiltered
1•thunderdrag•12m ago•0 comments

Doesitstillwork.ai – community-verified status for AI tool features

https://doesitstillwork.ai
1•ASRDETYnFXDGh•12m ago•1 comments

Scars mark Britain's economy 10 years after Brexit vote

https://www.reuters.com/world/uk/scars-mark-britains-economy-10-years-after-brexit-vote-2026-06-23/
6•kaycebasques•14m ago•0 comments

Don't verify email addresses by sending spam to them

https://milek7.pl/mailverifyspam/
2•garaetjjte•20m ago•0 comments

Mitigating Shai-Hulud Attacks with Hermetic Builds

https://flox.dev/blog/mitigating-shai-hulud-attacks-with-hermetic-builds/
1•ronef•20m ago•1 comments

NanoClaw-webchat – Localhost chat for multi-agent NanoClaw forks

https://github.com/Artificer-Innovations/nanoclaw-webchat
1•ZappoMan•21m ago•0 comments

Beyond Enterprise-Managed Authorization for MCP

https://www.arcade.dev/blog/enterprise-managed-authorization-per-action-authorization-ai-agents/
1•manveerc•21m ago•0 comments

Orion 1.1 for macOS is out, with containers

https://orionbrowser.com/updates/versions/1.1
1•josephwegner•21m ago•0 comments

US announces $17.5B in loans for nuclear power supply chain

https://www.reuters.com/business/energy/us-announces-175-billion-conditional-loans-nuclear-power-...
3•alephnerd•22m ago•2 comments

Underarm Bowling Incident of 1981

https://en.wikipedia.org/wiki/Underarm_bowling_incident_of_1981
1•EndXA•23m ago•0 comments

Flight Recorder for AI Agents

https://stordai.com/
1•ishwantsingh•23m ago•1 comments

Why aren't there more FPGA companies?

https://www.zeroasic.com/blog/platypus-z1015-launch
1•adapteva•23m ago•0 comments

How to block IP addresses and whole countries on Cloudflare

https://ampliflare.com/blog/one-click-ip-region-blocking
1•powerpurple•24m ago•0 comments

Designing dev onboarding for an agent-first world

https://castform.com/blog/designing-dev-experience/
1•kumama•24m ago•0 comments

Show HN: Recitey, a local Whisper dictation app for Windows (no word caps)

https://recitey.com/
1•zxangan•25m ago•0 comments

P99 0 ms* autocomplete for 240M domain names

https://ruurtjan.com/articles/p99-0ms-autocomplete-for-240-million-domain-names
1•tahazsh•28m ago•0 comments

Show HN: ReflexConv2d – 57% less blur in image reconstruction

https://github.com/singam96/ReflexConv2D
1•singam96•29m ago•0 comments

Bot web traffic has overtaken human web traffic, data shows

https://www.nbcnews.com/tech/tech-news/bot-web-traffic-overtaken-human-web-traffic-data-shows-rcn...
2•RickJWagner•29m ago•1 comments

Gender of Connectors and Fasteners

https://en.wikipedia.org/wiki/Gender_of_connectors_and_fasteners
1•anonyonoor•29m ago•1 comments

Serving Large Language Models with a Minimalist Python CLI

https://flama.dev/blog/serving_llms_with_flama_cli/
3•vorticotech•29m ago•0 comments