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

Modern Linux on a 1986 Mac Plus

https://www.youtube.com/watch?v=66Vu42qfWV4
1•geerlingguy•25s ago•0 comments

Anthropic CEO outlines plan to put 'speed limit' on AI improving itself

https://www.reuters.com/business/anthropic-adopt-waiting-period-before-using-frontier-ai-improve-...
1•geox•43s ago•0 comments

China's Quest for Critical Minerals Comes with Abuse

https://www.genocidewatch.com/single-post/china-s-quest-for-critical-minerals-comes-with-abuse
1•andsoitis•4m ago•0 comments

Ask HN: How effective are your Software Factories?

1•rugsaw•8m ago•0 comments

Canada detects suspected AI-assisted cyberattack on government networks

https://www.canada.ca/en/treasury-board-secretariat/news/2026/11/statement-from-the-office-of-the...
1•elfigha•15m ago•0 comments

KeenWrite 3.7.1

https://keenwrite.com/
1•thangalin•16m ago•1 comments

Canadian Governenment says it has detected suspected AI-assisted cyberattack

https://www.cbc.ca/news/canada/federal-government-suspected-ai-cyberattack-9.7442795
2•petersonh•21m ago•0 comments

100% Incremental Rollback Netcode (Easel Dec 2026 Update)

https://easel.games/blog/2026-dec-update
1•BSTRhino•22m ago•1 comments

Show HN: Icey, a Highschooler's FPGA Board

https://github.com/darshg321/icey
1•darshg321•28m ago•0 comments

Show HN: Gantta-Claus

https://dawnofthe.dad/gantta-claus
1•userundefined•29m ago•0 comments

Advent of Chess (2026)

https://www.adventofchess.com/
1•autocorr•30m ago•0 comments

Rock Auto Stops Selling in Arizona

https://www.aztechcouncil.org/news/state-wants-11m-from-online-auto-parts-retailer-rockauto/
3•gscott•31m ago•1 comments

Perplexity AI's Comet collects browsing data after users try to restrict access

https://www.reuters.com/business/perplexity-ais-comet-browser-snoops-users-who-shut-off-tracking-...
3•bhrlady•36m ago•0 comments

Show HN: Termexo Fleet

https://github.com/gemron/Termexo-Fleet
2•gemron•48m ago•0 comments

The discipline required to create the life you want

https://ryanholiday.medium.com/the-discipline-required-to-create-the-life-you-want-117ed639e9a1
2•qikouki•57m ago•2 comments

Show HN: A game for learning computational neuroscience

https://spike.blackmetal.tech/
1•ixaxaar•57m ago•0 comments

Show HN: Adversarial Feed 100 fresh adversarial tests for AI agents every month

https://adversarialfeed.com/
1•AdamDiStefanoAI•1h ago•0 comments

Women's Preferences for Penis Size: A New Research Method Using 3D Models

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0133079
5•Jun8•1h ago•3 comments

OpenAI, Elon Musk's Wild Plan to Set Artificial Intelligence Free

https://www.wired.com/2016/04/openai-elon-musk-sam-altman-plan-to-set-artificial-intelligence-free/
6•nastynate•1h ago•2 comments

Polytoria Goes Open Source

https://blog.polytoria.com/polytoria-goes-open-source/
1•roludemaru•1h ago•0 comments

Artex may be dangerous, but it's also dumb enough to hack itself

https://www.theregister.com/security/2026/11/30/artex-may-be-dangerous-but-its-also-dumb-enough-t...
2•magoghm•1h ago•0 comments

What If Your Dog Could Talk

https://campedersen.com/talking-dog
3•ecto•1h ago•0 comments

Israel to Install 200k Nvidia Chips in Data Centers by 2030

https://finance.yahoo.com/technology/ai/articles/israel-install-200-000-nvidia-170000871.html
4•LopRabbit•1h ago•0 comments

The Tidelift lifter program is ending Dec 31

https://twitter.com/JoshuaKGoldberg/status/2127498095823056961
2•stubish•1h ago•1 comments

ModelOS: A bare-metal GPU OS for LLM inference and training

https://github.com/yunwei37/modelos
1•yunwei37•1h ago•0 comments

Claude silently prevents security camera code from describing ethnicity, age

https://twitter.com/anorthwall/status/2127113022972088758
12•United857•1h ago•4 comments

Cloudflare Clairic System One Extraction Models Are Now Open-Weight

https://blog.cloudflare.com/open-clairic/
11•reddmachine•1h ago•3 comments

Russet is an open-source Rust FUSE server for plain and encrypted APFS on Linux

https://github.com/thatjuan/russet
2•0x6A75616E•1h ago•0 comments

Show HN: GuestGate – Leak-proof transparent proxy for VMware VMs

https://github.com/threatexpert/GuestGate
1•gonc_cc•1h ago•0 comments

Show HN: Bakodo.jp – Free Online Barcode Generator (111 Formats)

https://bakodo.jp/
2•wasmgame845•1h ago•0 comments