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

6th-grade Peano arithmetic broke OpenAI's $100B Yang-Mills mass gap proof

https://github.com/Dr-Logvinovich/round-square/blob/main/README.md
1•DRLogvinovich•2m ago•0 comments

The Credit Card

https://phonecardmuseum.com/articles/banking-cards/the-credit-card/
1•thunderbong•5m ago•0 comments

Being a line cook without talking to AI

https://knhash.in/no-ai-line-cook/
1•knhash•10m ago•0 comments

NASA is looking for new astronauts to help grow its Artemis program

https://www.nbcnews.com/science/space/nasa-is-looking-for-new-astronauts-rcna608025
1•TMWNN•10m ago•0 comments

Category Theory Illustrated

https://abuseofnotation.github.io/category-theory-illustrated/
1•rramadass•11m ago•0 comments

Show HN: Ferrule – copy-in React Native UI components for iOS, Android and web

https://leoanimesh.github.io/ferrule/
1•leoanimesh•11m ago•0 comments

Investing vs. gambling: how to tell the difference

https://www.cfainstitute.org/insights/articles/investing-vs-gambling
1•throwaway2037•17m ago•0 comments

The Rise of Microdramas

https://www.bbc.com/news/articles/cm87zv70jg9no
1•sarreph•17m ago•0 comments

Show HN: Hacker News Column View

https://hn.orbitalchicken.com
1•y1n0•24m ago•0 comments

The Great GOP Dummymander of 2026

https://www.nationalreview.com/corner/the-great-gop-dummymander-of-2026/
1•carabiner•26m ago•0 comments

I Won't Hire People Who Use Poor Grammar. Here's Why

https://hbr.org/2012/07/i-wont-hire-people-who-use-poo
1•arbayi•28m ago•1 comments

Is Opus 5.5 nerfed? Thinking patterns changed on November 3

https://twitter.com/shanemelaugh/status/2119192075505893695
1•rzk•30m ago•0 comments

Autonomous Dynamics Runtime (ADR) – Zero-copy C++20 execution spec

https://github.com/EvaReinar2356/AS3D-/blob/main/README.md
1•EvaDeville•34m ago•0 comments

My Grok Bot Started Vendor Locking Me

https://twitter.com/RoyOsherove/status/2119327808778313824
1•royosherove•40m ago•0 comments

Unattended reboots with encrypted disks (ZFS)

https://blogsystem5.substack.com/p/zkeys-intro
1•Maledictus•42m ago•0 comments

Show HN: Ramen – an AI agent that has to earn its own rent

https://usdt-kit-production.up.railway.app/ramen
1•showang•47m ago•0 comments

Never Gonna Print You Up

https://dixken.de/blog/never-gonna-print-you-up
2•ta988•1h ago•0 comments

Crypto industry braces for reckoning over Trump ties

https://www.ft.com/content/f1b98a61-4103-447c-bb9a-3dccc0819f61
2•JumpCrisscross•1h ago•1 comments

WaveDudeNext 2D Wave Simulator

https://github.com/graealex/WaveDudeNext
2•sweetdingoes•1h ago•0 comments

In Praise of Cash (2017)

https://aeon.co/essays/if-plastic-replaces-cash-much-that-is-good-will-be-lost
1•germanrabbit•1h ago•0 comments

There's No Such Thing as a Stock-Market Bubble

https://www.wsj.com/opinion/theres-no-such-thing-as-a-stock-market-bubble-159ea117
2•gmays•1h ago•0 comments

Ask HN: LLM-Resistant Publishing Strategies

2•negura•1h ago•2 comments

Show HN: SEC Fundamentals – free financial API

https://www.quotelinks.com/api/sec-fundamentals/
1•chartwidgets•1h ago•0 comments

James Barnor: Outstanding Contribution to Photography 2027

https://www.worldphoto.org/blogs/05-11-26/10-things-know-about-james-barnor-outstanding-contribut...
3•Tomte•1h ago•0 comments

Windows Are Absurd (From an engineering standpoint)

https://practical.engineering/blog/2026/11/3/windows-are-absurd
2•vismit2000•1h ago•0 comments

Lens – The Browser Your iPhone Deserves

https://lens.maximos.work/
3•microflash•1h ago•0 comments

Fourteen MB Hinglish STT pWER 29, stary words 2.3/100

https://hitl.systems/models/lipi-hn/
3•gamebit07•1h ago•0 comments

Show HN: ScrivenSpell

https://memalign.github.io/m/spell/
2•memalign•1h ago•0 comments

The message format that was already in ASCII

https://openbohemians.org/blog/the-message-format-in-ascii/
3•tabtom•1h ago•0 comments

BYD's electric hypercar hits 312 MPH, first production car over 500 km/h

https://electrek.co/2026/11/06/byd-yangwang-u9-xtreme-first-production-car-500-km-h/
2•toomuchtodo•1h ago•1 comments