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

OpenWhispr – Open-source, privacy-first voice-to-text with local AI

https://digitalescapetools.com/tools/tool.html?id=openwhispr
1•xabd•44s ago•0 comments

Orange hydrogen, Yilgarn Craton: production with carbon dioxide mineralization

https://www.sciencedirect.com/science/article/pii/S036031992602269X
1•defrost•49s ago•0 comments

Web-based interactive static pattern discovery tool to locate structures

https://github.com/HexLasso/FF-16-Web
1•HexLasso•1m ago•0 comments

Volkswagen says it is cutting 100k jobs by the end of the decade

https://techxplore.com/news/2026-09-volkswagen-jobs-decade.html
3•mdp2021•6m ago•0 comments

Large Blast Radius Coder Registry Hijack

https://www.optimuslabs.io/research/briefings/coder-registry-infrastructure-hijack
1•rickdeaconx•6m ago•1 comments

Where were you when reality died?

https://www.unite.ai/where-were-you-when-reality-died/
1•50kIters•7m ago•0 comments

Norway's Oil Fund Proposes Selling Roughly $80B in U.S. Treasurys

https://www.wsj.com/finance/investing/norways-oil-fund-proposes-cut-to-government-bond-holdings-d...
2•toomuchtodo•8m ago•0 comments

The Life of a Metric

https://victoriametrics.com/blog/the-life-of-a-metric/index.html
1•func25•8m ago•0 comments

AI engineer breaks part of RSA encryption protocol by hand

https://www.scientificamerican.com/article/whats-the-tech-behind-the-record-breaking-rsa-260-crack/
1•chc2889•8m ago•0 comments

ChatGPT now limits prompts per week, even on their most-expensive plans

https://help.openai.com/en/articles/20001354-gpt-56-and-gpt-6-pro-in-chatgpt
1•zof3•8m ago•0 comments

China's Rare Earths Duopoly

https://www.chinatalk.media/p/chinas-rare-earths-duopoly
1•baud147258•11m ago•0 comments

Keepalived Track Scripts for Application-Aware Failover

https://www.virtualizationhowto.com/2026/09/i-thought-keepalived-only-protected-my-home-lab-serve...
1•bleevht•11m ago•1 comments

To do your best work you need to work like a sculptor

https://livingsystems.substack.com/p/to-do-your-best-work-you-need-to
3•samuell•12m ago•0 comments

Dogpark is a message board for a handful of software agents and one human

https://github.com/pjlsergeant/dogpark
1•Bluestein•14m ago•0 comments

Scientists Find Worms in Almost Every Fish in a Tuna Haul – 96% Were Infected

https://www.sciencealert.com/scientists-find-parasites-in-almost-every-fish-from-a-recent-tuna-ha...
1•arto•15m ago•0 comments

The Corruption of Christianity

https://medium.com/freedomofthought/the-corruption-of-christianity-b05b7543baa6
1•raynchad•16m ago•0 comments

Will the AI Boom Price the Rest of the Economy Out of Capital?

https://publicemails.com/blog/display/659255/Will-the-AI-Boom-Price-the-Rest-of-the-Economy-Out-o...
1•arbuge•16m ago•0 comments

Colorlight 5A-75B: A dive into a popular low-cost ECP5 (FPGA) development board

https://blog.yosyshq.com/p/colorlight-part-1/
1•gregsadetsky•18m ago•0 comments

Buried underpants and a new definition of kissing win 2026 Ig Nobel prizes

https://www.nature.com/articles/d41586-026-02650-x
1•jhncls•19m ago•0 comments

Equal Earth (2018)

https://equal-earth.com/
1•turtleyacht•19m ago•0 comments

The Future of Security Compliance Is AI-Native

https://www.pentesty.co/blog/ai-native-compliance-infrastructure-continuous-security
1•josanjohnata•19m ago•0 comments

You Cannot Know the Future. You Can Only Model It

https://www.saul.at/posts/you-cannot-know-the-future
2•Essa•20m ago•0 comments

Tesla Cybercabs Hit Austin Streets in Expansion of Robotaxi Service

https://www.wsj.com/business/autos/tesla-cybercabs-hit-austin-streets-in-expansion-of-robotaxi-se...
2•bookofjoe•20m ago•2 comments

Reverse recruiting and the HR shift: what changes when talent also chooses

https://www.foxapply.com/blog/en/reverse-recruiting-hr-talent-also-chooses
1•johnzoro107•21m ago•0 comments

Beam Bots – Resilient Robotics with Elixir

https://beambots.dev
2•ahmaman•21m ago•0 comments

28-Hour Day App

https://apps.apple.com/us/app/28-hour-day/id6752815000
1•28HourDev•21m ago•0 comments

Navin

https://navin.live/en
1•esser•22m ago•0 comments

macOS Broke Python (2018) and it's still broken

https://www.wefearchange.org/2018/11/forkmacos.rst
2•joss82•22m ago•0 comments

Show HN: Reble – branching for Iceberg data warehouses (DuckDB or Spark)

https://github.com/satya1395/reble
3•satya1395•23m ago•0 comments

Where Solutions Don't Stay Small

https://medium.com/@gurvinder372/article-5-where-solutions-dont-stay-small-3f5edfed12c0
1•gps372•24m ago•0 comments