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

Show HN: Sparse kernel delivering 36% higher training throughput

https://huggingface.co/JakCwi/eugen-sparse
1•jakcwi•1m ago•0 comments

I vibe coded an alternative to splitwise free

https://sharebucks.app/
1•ish-xyz•2m ago•1 comments

Show HN: CodeAIHQ – High-performance technical analysis of cinema VFX pipelines

https://codeaihq.com/dawn-of-the-planet-of-the-apes-vfx-pipeline/
1•CodeAIHQ•5m ago•0 comments

Show HN: Omni Verify, my AI agent can't post until Kane checks every promise

https://github.com/DainoJung/omni-verify
1•wjdekdls3693•12m ago•0 comments

Google has officially turned these Nest thermostats back into dumb thermostats

https://www.makeuseof.com/google-nest-thermostats-unsupported/
1•gnabgib•12m ago•0 comments

Chá 茶 and Chán 禅 are one

https://www.chachan.co/home
2•laybak•13m ago•0 comments

America Has Lost 200k of Jobs in Media, Film and the Arts. How Much Is AI?

https://www.apricitas.io/p/ai-and-the-fall-of-the-creative-class
1•gnabgib•15m ago•0 comments

Ming dynasty statue unearthed in WA returns to China

https://www.abc.net.au/news/2026-10-13/ming-dynasty-buddha-statue-returned-chinese-officials/1072...
2•Gaishan•21m ago•0 comments

Be a Tech Bro

https://world.hey.com/dhh/be-a-tech-bro-30db1962
2•jensgk•24m ago•2 comments

What we learned making 12 apps usable by AI agents with WebMCP

https://mindoodb.com/blog/2026/10/27.10.2026090000KLEAGT/
1•klehmann•27m ago•0 comments

AI Generated launch videos are starting to get insane

https://motioncrackers.com
1•Adam-Hincu•29m ago•1 comments

Wild Version 0.11.0 Released

https://github.com/wild-linker/wild/releases/tag/0.11.0
1•birdculture•29m ago•0 comments

What's in a Name?

https://medium.com/@orlorodriguez/whats-in-a-name-nomen-est-omen-from-ancient-belief-to-literary-...
1•andsoitis•31m ago•0 comments

Free Software Is a Failure

http://www.paritybit.ca/blog/free-software-is-an-abject-failure/
8•gum_wobble•32m ago•6 comments

Why Drug Companies Are Rushing to Market Ketamine Medicines

https://www.nytimes.com/2026/10/20/science/ketamine-fda-spravato-ketafree.html
3•bookofjoe•38m ago•1 comments

What's It Like Inside a Data Center?

https://www.thenation.com/article/society/inside-a-data-center-hyperscale/
3•cdrnsf•38m ago•0 comments

SDF Public Access Unix System – Internet Gopher Club Underground Syndicate

https://gopher.muffinlabs.com/sdf.org
1•andsoitis•39m ago•0 comments

Pencil 4.0

https://github.com/evolus/pencil/releases/tag/v4.0.0
2•pentagrama•42m ago•0 comments

Show HN: DeepSearch – Search engine built on DeepSeek API

https://deepsearch.ing/
2•try-working•42m ago•2 comments

A 1k-mile cloud on Mars may reveal physics never seen in nature

https://www.wired.cz/clanky/tajemny-mrak-na-marsu-merici-az-1-800-kilometru-odhalil-exoticke-fyzi...
2•ViktorRay•44m ago•1 comments

Bambu Lab CLI for slicing and printing 3D models

https://github.com/voska/bambu
1•voska•44m ago•0 comments

My mother donated her body to science. I wasn't prepared for what came next

https://www.theguardian.com/wellness/ng-interactive/2026/oct/24/body-donation-science
1•ColinWright•45m ago•0 comments

Zephium Browser – Thoughtfully Built Open Source Arc Replacement

https://www.youtube.com/watch?v=QbSarcWspvw
1•SpyCoder77•45m ago•0 comments

AI Is Planning to Kill You

https://hanzo.blog/2026-10-16-your-ai-is-planning-to-kill-you/
1•AgentiLoopAgent•46m ago•0 comments

RoboJev: Jev, but to Grade Robot Data

https://robo-jev.com/
4•josefchen•51m ago•0 comments

Airbnb Sets New Rules That Limit Checkout Chores

https://www.airbnb.com/help/article/4168
1•chirau•54m ago•1 comments

Building an AmigaOS Development Environment in 2026

https://turtleware.eu/posts/Building-an-AmigaOS-Development-Environment-in-2026.html
2•andsoitis•55m ago•0 comments

Canadian cyber executive charged in federal hacking case

https://www.politico.com/news/2026/10/09/canadian-cyber-executive-charged-in-federal-hacking-case...
1•paulpauper•58m ago•1 comments

Kevlar = MCP Firewall for LLM's

https://github.com/Ablation-Tool/kevlar
2•zellkernel•1h ago•0 comments

The Hackening

https://thezvi.substack.com/p/the-hackening
5•paulpauper•1h ago•1 comments