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

"Model Effort" Has It Backwards

https://diverging.run/checkpoints/human-effort-not-model-effort/
1•shay_ker•24s ago•0 comments

I compared Opus 4.8 vs. Opus 5 on 25 of my tasks to see what the difference was

https://www.stet.sh/blog/opus-4-8-vs-opus-5-same-score-different-routes
1•bisonbear•25s ago•0 comments

Chesslop.com: Every day I open Chess.com and there is a new UI

https://blog.seydina.dev/blog/2026-08-01-chesslop/
1•alphaisidore•1m ago•0 comments

Show HN: Remap – bike routing that builds loops from the best roads, on-device

https://remap.earth
1•basil•2m ago•1 comments

"Famous Deep Learning Papers", David Bau

https://papers.baulab.info/
1•ggcr•2m ago•0 comments

Prosody is a modern XMPP communication server

https://prosody.im/
1•Bluestein•2m ago•0 comments

News and listing for contemporary rare books

https://thebook.buzz
1•hardwareharry•3m ago•0 comments

Created my own LLM Agentic Coding App with a desktop client

https://apps.apple.com/us/app/pocket-grammer/id6762562983
1•StaatsOne•4m ago•1 comments

How kids feel about AI, in their own words

https://www.technologyreview.com/2026/08/13/1141410/how-kids-feel-about-ai-own-words/
1•kulpreet•5m ago•0 comments

My open source project's donations no longer go through my bank account

https://spliit.app/blog/spliit-funding-is-now-on-open-collective
2•scastiel•5m ago•0 comments

Specifications Don't Exist

https://www.galois.com/articles/specifications-dont-exist
1•surprisetalk•6m ago•0 comments

Do AI Models Have an Inner Monologue? – The J-Space –- Strad Slater [video]

https://www.youtube.com/watch?v=s_0rSqMSzss
1•mofosyne•6m ago•1 comments

Libera.Chat Bot/LLM policy update

https://libera.chat/news/bot-policy-update
1•Bluestein•6m ago•0 comments

Bill Gates calls for 'human reserved' jobs to protect labour force from AI

https://www.ft.com/content/42c449c6-03f6-4097-9eae-e119447e8aa5
1•tcp_handshaker•6m ago•0 comments

Show HN: Chapter Zero – the machines Kubernetes The Hard Way asks you to bring

https://github.com/cyb3ralbert/chapter-zero
2•cyb3ralbert•7m ago•1 comments

How EXXOGEN Just Upstaged the Elite Labs?

https://www.exxogen.hu/
2•kisnorbert•8m ago•0 comments

I'm an Amazon SVP. I hadn't coded in 25 years. AI helped me write 100k lines

https://www.aboutamazon.com/news/workplace/amazon-svp-ai-tools-employees-careers
1•tcp_handshaker•8m ago•0 comments

Coding Agent Has an Architecture Problem

https://www.catio.tech/blog/coding-agent-architecture-problem
1•lbw1215•8m ago•0 comments

Who Is Not Working and Why

https://flowingdata.com/2026/08/25/who-is-not-working-and-why/
1•RickJWagner•9m ago•0 comments

Unsloth/Qwen3.8-Flash-Next-GGUF

https://huggingface.co/unsloth/Qwen3.8-Flash-Next-GGUF
1•Philpax•9m ago•0 comments

How We Turn Millions of Log Lines into Patterns in One Streaming Pass

https://github.com/ctrlb-hq/ctrlb-decompose/blob/main/research-paper/ctrlb_decompose_research_pap...
6•ruhani_grover•10m ago•0 comments

Qwen/Qwen3.8-Flash-Next

https://huggingface.co/Qwen/Qwen3.8-Flash-Next
2•Philpax•10m ago•0 comments

A Russian Scientist's Plan to Save the Planet – Pleistocene Park (2023) [video]

https://www.youtube.com/watch?v=2ucmiJiEHJ4
2•KolmogorovComp•12m ago•0 comments

AI can now credibly complete most undergraduate assignments, MIT warns

https://www.washingtonpost.com/education/2026/08/25/ai-can-now-credibly-complete-most-undergradua...
1•lisper•13m ago•0 comments

Who bears the risk in Nvidia's $500B financing platform?

https://www.sascha-steffen.de/updates/nvidia-500bn-ai-financing-credit-risk
2•rwmj•14m ago•0 comments

Hot in Here: Heat Waves, Climate Change, and Disability

https://crystalprestonwatson.com/2026/08/23/hot-in-here-heat-waves-climate-change-and-disability-2/
1•speckx•16m ago•0 comments

Show HN: Music Puzzle Game on Steroids

https://bollywoodle.app/
2•galaboii•16m ago•1 comments

Is it legal to train AI models on copyrighted books?

https://techcrunch.com/2026/08/23/is-it-legal-to-train-ai-models-on-copyrighted-books-its-complic...
4•deepmem•17m ago•0 comments

Susan Kare: Designing Icons and Graphics for the Original Mac [video]

https://www.youtube.com/watch?v=YEvLKzsEwMw
1•tosh•19m ago•0 comments

My AI App Measures Success When People Stop Chatting with It

https://jaisenmathai.com/faith-and-ai/getting-people-out-of-chat-and-into-scripture/
1•jmathai•20m ago•0 comments