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

TerminalWorld Multimodal: Agentic Terminal Use Is Visual

https://terminalworld.ai/multimodal
1•icecheese•1m ago•1 comments

How to Calculate MRR in SQL (PostgreSQL)

https://schemaweaver.dev/blog/how-to-calculate-mrr-in-sql-postgresql
1•Vivek-KY•2m ago•0 comments

Lean

https://lists.ugent.be/public/fom/2026-10/msg00004.html
1•jjgreen•3m ago•0 comments

Show HN: AlgebrixIdentity – Give Every AI Agent Identity, Governance and Mandate

https://identity.algebrix.co/signup/free
1•jahangir_d•3m ago•0 comments

Over 600 scientists warn against EU Chat Control

https://en.odfoundation.eu/a/729402,over-600-scientists-warn-against-eu-chat-control/
2•DeepLogin•4m ago•0 comments

'Going quiet': Read one of Warren Buffett's final letters to shareholders

https://www.cnn.com/2026/12/01/business/warren-buffett-final-letters-to-shareholders
1•vinnyglennon•5m ago•0 comments

I have daily driven Linux for almost 3 years

https://avery.is-a.dev/blog/2026-12-01-i-have-daily-driven-linux-for-3-years/
1•speckx•8m ago•0 comments

Show HN: Strata, a Proved Language for Agents

https://strata-lang.dev/
2•anonx3247•9m ago•0 comments

Is Curriculum Learning in LLM pre-training still a thing? I ran some experiments

https://miguelconner.substack.com/p/experiment-easy-to-hard-curriculum
1•dothereading•9m ago•0 comments

Felix86 26.12

https://felix86.com/felix86-26-12/
1•snvzz•11m ago•0 comments

Ask HN: How do you protect your brain from becoming slop?

2•unLuckyNumbers•12m ago•0 comments

Dormant black hole only 650 light years away

https://www.theguardian.com/science/2026/dec/02/goldmine-data-gaia-space-telescope-milky-way
1•geden•12m ago•0 comments

In 2014, I flew to Omaha to have lunch with Warren Buffett

https://twitter.com/bchesky/status/2127956794337366041
3•tosh•14m ago•0 comments

Show HN: Oystro – ship AI-written code without reading every line

https://oystro.com/
2•geokos•19m ago•1 comments

Warren Buffett's legacy – double gift/shades of gray [video]

https://www.youtube.com/watch?v=stxc1BPThaA
2•pshapiro99•22m ago•1 comments

You have a vision, a strategy, and a roadmap. so why isn't anything working?

https://www.leadinginproduct.com/p/product-strategy-alignment
1•benkan•24m ago•0 comments

Kepler – one screen for all your Claude Code sessions, with memory

https://github.com/trading-programmer/kepler
1•trading-program•27m ago•0 comments

Corleck Head

https://en.wikipedia.org/wiki/Corleck_Head
1•pchr8•29m ago•1 comments

My son was using too much paper for flying planes, so I built a simulator

https://paperplaneslab.com
1•mw67•29m ago•1 comments

Look at this: AI, ego and being first

https://kevinmcdonagh.posthaven.com/look-at-this-ai-ego-and-being-first
1•aEJ04Izw5HYm•30m ago•1 comments

Samsung Heavy expects order for 100-MW floating data center

https://www.heise.de/en/news/Samsung-Heavy-expects-order-for-100-MW-floating-data-center-11545400...
1•slow_typist•31m ago•0 comments

Show HN: KeyTone – Native macOS mechanical keyboard sound app

https://keytone.ravixstudio.com/
1•arpitchugh•31m ago•0 comments

Gemini Neon outclasses Opus 5.5 on an internal review benchmark

https://twitter.com/NicolasZimmer/status/2128086141501104627
1•runwithdata•32m ago•0 comments

Memorouter – Local-first memory router for ESP32 and desktop agents

https://www.indiegogo.com/en/projects/klaushahn/ai-software
1•klausnews•34m ago•0 comments

Windows updates trigger false firewall alarms and garble Autodesk downloads

https://www.theregister.com/os-platforms/2026/12/02/windows-updates-trigger-false-firewall-alarms...
3•beardyw•36m ago•1 comments

FAA's root cause analysis of nationwide ground stop may neglect bigger problem

https://arstechnica.com/gadgets/2026/12/us-plan-to-fix-root-cause-of-air-traffic-ground-stop-miss...
4•rbanffy•36m ago•0 comments

Samsung 500-layer 3D-NAND coming next year

https://www.blocksandfiles.com/flash/2026/11/30/samsung-500-layer-3d-nand-coming-next-year/5313408
1•rbanffy•37m ago•0 comments

WSM: Run macOS applications on your Windows desktop

https://github.com/mxhm11cr/WSM
1•htk•37m ago•0 comments

Linux Multikernel Effort Now Works on RISC-V, AMD Iommu Integration

https://www.phoronix.com/news/Linux-Multikernel-RISC-V
1•rbanffy•39m ago•0 comments

Show HN: Nvidia Nemotron 3 Diarization on Apple Core AI (Open Source)

https://bjnortier.com/articles/nemotron-3-diarization/
1•bjnortier•39m ago•0 comments