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

Def3r/haka: A lightweight, fast and plugable hotkey utility

https://github.com/def3r/haka
1•ankitg12•4m ago•0 comments

Beer.drv.drv.drv

https://fzakaria.com/2026/11/14/beer-drv-drv-drv
1•birdculture•4m ago•0 comments

Ops Needs Friction

https://www.jeffgeerling.com/blog/2026/ops-needs-friction/
1•dverlaeckt80•4m ago•0 comments

OpenAI sued by California over Hugging Face attack

https://www.bbc.com/news/articles/c6wy4xv2mxglo
1•vrganj•5m ago•0 comments

Brian Eno's idea of Scenius – visualised

https://www.neil-scott.com/scenius/
1•f91w•5m ago•0 comments

Quality IMAP, Part 1: Your Mailbox Is a Database

https://aerogramme.deuxfleurs.fr/blog/2026-quality-imap-part-1/
1•dverlaeckt80•5m ago•0 comments

Show HN: Call Nara. An AI voice companion built with older people in mind

https://apps.apple.com/au/app/call-nara/id6794990805
1•anthonyjg_sec•7m ago•0 comments

The founder of Teenage Engineering opens up to his creative space (2022)

https://scandinavianmind.com/human-touch-interview-jesper-kouthoofd-teenage-engineering/
1•tosh•9m ago•0 comments

Try Pragtical – Fast, extensible C and Lua code editor in the browser

https://pragtical.dev/try-it
1•rd07•10m ago•0 comments

Leak of 15M Deutsche Bank files exposes systemic failures

https://www.ft.com/content/df518845-ed97-4a38-8a38-7fa9d4d24003
2•petethomas•10m ago•0 comments

Coding Agents Underestimate the Cost of Code They Own

https://ben3d.ca/blog/coding-agents-underestimate-the-cost-of-code
1•sebg•19m ago•0 comments

A new evolution of databases: Self learning Databases

https://heatherdb.com/
1•nguthiru•20m ago•0 comments

Oxide Integrates Micron Memory and Storage into Its Cloud Computer

https://oxide.computer/blog/oxide-micron-second-generation-cloud-computer
1•tosh•24m ago•0 comments

OVH announces Olala mini 7A1B

https://corporate.ovhcloud.com/en-ie/newsroom/news/ovh-olala-mini/
4•Nico2706•29m ago•1 comments

Ask HN: Syncthing

2•bikvfeee•29m ago•0 comments

Building trade desk – Using agents to trade all possible markets

https://www.sayantan.sh/blog/hood-agent
1•sayantan317•31m ago•1 comments

The METR Graph, Updated

https://twitter.com/ben_j_todd/status/2122318704260403562/photo/1
2•simonebrunozzi•32m ago•0 comments

Joyce in Bloom (2011)

https://www.vanityfair.com/culture/2004/06/hitchens-200406
1•hamonrxe•35m ago•0 comments

Meta built TLX, a GPU compiler extension for Triton

https://engineering.fb.com/2026/11/10/open-source/tlx-a-hardware-native-gpu-compiler-for-producti...
1•fourfire•35m ago•0 comments

Redict Is Deprecated

https://redict.io/posts/2026-11-17-redict-deprecated/
2•progval•36m ago•0 comments

Show HN: AI Agent Infrastructure and Memory Compaction Specifications

https://github.com/grfdsasdvef/awesome-ai-agent-infrastructure
1•snowdensay•40m ago•0 comments

Run your FreeBSD services from one console

https://jailops.net/
2•root420•43m ago•0 comments

A Deep Dive into Building the Pylyzer-Zed Language Server Extension

https://medium.com/@therealcomtom/extending-zed-a-deep-dive-into-building-the-pylyzer-zed-languag...
1•comtom•43m ago•0 comments

Show HN: Lantern – desktop app that maps your repo and reviews AI-written PRs

https://github.com/MobileReality/lantern
2•gitsad•44m ago•0 comments

Chasing Ghosts in the Machine: Debugging a File Descriptor Leak in Exchangelib

https://medium.com/@therealcomtom/chasing-ghosts-in-the-machine-debugging-a-file-descriptor-leak-...
1•comtom•45m ago•0 comments

Detroit bus drivers get training to accommodate horses

https://apnews.com/video/city-of-detroit-says-drivers-will-get-additional-training-after-horses-w...
3•illidan1000•47m ago•2 comments

Autopilot: Use whichever AI model you want, with one coding-agent interface

https://github.com/directionally-local/autopilot
1•doppp•48m ago•0 comments

C++ Proposal: break label; and continue label;

https://eisenwave.github.io/cpp-proposals/break-continue-label.html
1•qtqtqt•48m ago•0 comments

Trump: I don't take any responsibility

https://bsky.app/profile/atrupar.com/post/3n2grgyw3u32e
1•o_-_o•48m ago•0 comments

What should an agent memory leaderboard measure beyond recall?

https://x.com/AgentMemoryL/
1•SndOfViento•50m ago•1 comments