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

Hyperclay: Where your team's HTML files belong

https://hyperclay.com/
1•orangea•39s ago•0 comments

Jaab – AI Job Hunt Copilot

https://chromewebstore.google.com/detail/jaab-ai-job-hunt-copilot/anpjlacmlihooopakbogefcdffpibpll
1•cheikhdev•14m ago•0 comments

"Why Tailscale? (Open-sourcing my cover letters)"

https://thoward37.me/blog/articles/why-tailscale/
1•thoward37•15m ago•0 comments

The Coming Patent Storm in AI Hardware

https://www.troutman.com/insights/the-coming-patent-storm-in-ai-hardware-what-the-capital-flows-t...
1•peter_d_sherman•16m ago•0 comments

From Object to Infrastructure: Apple's Rhetorical Canon

https://medium.com/@smoking2man/from-object-to-infrastructure-apples-rhetorical-canon-and-the-str...
1•Aldus551•19m ago•0 comments

Ask HN: Dropbox privacy policy, cause for concern?

3•herodoturtle•21m ago•0 comments

Remote work increases sleep and reduces physical activity

https://www.utu.fi/en/news/press-release/remote-work-increases-sleep-and-reduces-physical-activit...
2•rohanm93•22m ago•0 comments

Patch clock now starts before disclosure

https://buttondown.com/nclawdev/archive/your-patch-clock-now-starts-before-disclosure/
1•nadiasora•23m ago•0 comments

Free the Software: M68K Genesis ROM Tracing and CC0 Album

https://archive.org/details/full_album
1•Assembly_LKE•23m ago•1 comments

Lawyer upgrades eight-V100 private AI server to run 80% of DeepSeek v4.1 Flash

https://www.tomshardware.com/tech-industry/artificial-intelligence/lawyer-upgrades-eight-v100-pri...
1•peter_d_sherman•30m ago•0 comments

Stonebrook Quill: full-featured AI-authored fantasy font

https://swordcoastmap.com/font
1•elliotbnvl•32m ago•0 comments

Show HN: Quilt – a bright, modern take on identicons

https://quilt.id/
1•carlsverre•33m ago•0 comments

IBM Spyre AI Accelerator Card (75W PCIe Card with 128GB of LPDDR5)

https://www.ibm.com/docs/en/systems-hardware/zsystems/9175-ME1?topic=introduction-spyre-accelerator
1•peter_d_sherman•35m ago•0 comments

Made a Firefox addon to swap and inspect fonts

https://addons.mozilla.org/en-US/firefox/addon/typeshift-font-inspector/
1•DarthSisyphus•38m ago•0 comments

My Quest to Find the Crispest Apple in America

https://www.wsj.com/arts-culture/food-cooking/crisp-apple-varieties-test-c12940ba
4•impish9208•49m ago•1 comments

How the cure for scurvy was found, then lost(2010)

https://idlewords.com/2010/03/scott_and_scurvy.htm
1•somat•50m ago•0 comments

Beau – An AI boyfriend app focused on everyday conversations

https://play.google.com/store/apps/details?id=com.beau.aiboyfriend&hl=en_US
2•prevanisupport•54m ago•0 comments

A Perfect SimCity

https://www.jeffquast.com/post/a-perfect-simcity/
2•mariuz•54m ago•0 comments

Bill Gates has earned billions investing in climate-polluting landfills

https://www.cnn.com/2026/11/14/climate/bill-gates-landfills-propublica
4•rawgabbit•1h ago•1 comments

I borrowed the query planner from databases to fix a multi-index RAG agent

https://medium.com/@sankeerthan.kasilingam/i-borrowed-the-query-planner-from-databases-to-fix-a-m...
1•sankeerthan•1h ago•0 comments

BrowserDo·Embiody – a browser built for AI agents

https://embiody.com/blog/embiody-0-9-preview/
1•junlongzhai•1h ago•0 comments

Human land use drives microplastic abundance in terrestrial wildlife

https://www.nature.com/articles/s41586-026-11285-x
2•bryanrasmussen•1h ago•0 comments

Disk encryption on NetBSD – achieving secrecy

https://netbsd.org/~nia/disk-encrypt/
2•jaypatelani•1h ago•0 comments

The elites just went into hiding [video]

https://www.youtube.com/watch?v=qAd1myPXrRk
3•Bender•1h ago•1 comments

Reading and Working for Salon

https://www.typebarmagazine.com/on-reading-and-working-for-salon/
2•rdmuser•1h ago•1 comments

B.C. arbitrator imposes first union contract for Amazon workers in North America

https://www.cbc.ca/news/canada/british-columbia/amazon-union-contract-b-c-first-north-america-9.7...
11•Teever•1h ago•2 comments

96.0% on LongMemEval: what retrieval does for long-term memory

https://www.papr.ai/blog/papr-longmemeval-96
1•amirkabbara•1h ago•0 comments

Confessions of an AI Skeptic

https://daniel-azuma.com/blog/2026-11-12-ai-skeptic/
3•gashad•1h ago•0 comments

Show HN: Four bite-sized chess puzzle games built on micro-boards

2•navalsaini•1h ago•0 comments

Turing Complete: Learn CPU architecture with puzzles

https://store.steampowered.com/app/1444480/Turing_Complete/
2•totallymike•1h ago•1 comments