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

Building a distributed training framework from first principles

https://www.youtube.com/watch?v=XoGvCBRnwLs
1•zainhsn•1m ago•0 comments

If Star Wars had a $10 Budget [video]

https://www.youtube.com/watch?v=0qy8Bnb9C1o
1•latchkey•6m ago•0 comments

A/B testing LLMs in production

https://www.together.ai/blog/a-b-test-models-in-production
2•zagwdt•8m ago•0 comments

New York utilities now want to build solar and wind farms

https://gothamist.com/news/banned-from-owning-power-plants-ny-utilities-now-want-to-build-solar-a...
2•geox•14m ago•0 comments

Thesis – Agentic PE: mature software as the cash cow

https://research.oguzbilgic.com/theses/agentic-pe
1•obilgic•17m ago•0 comments

Visibility, Transparency and Trust (Peter Diamandis 2026)

https://metatrends.substack.com/p/visibility-transparency-and-trust
1•King-Aaron•17m ago•0 comments

I don't enjoy the Internet any more

https://btao.org/posts/2026-08-17-i-dont-enjoy-the-internet/
21•g0xA52A2A•19m ago•7 comments

Honey loses over 7M users and 7k stores following YouTuber's viral expose

https://www.dexerto.com/youtube/honey-loses-over-7-million-users-and-7000-stores-following-youtub...
2•thunderbong•20m ago•0 comments

Show HN: TextCompare – Local-first diff tools for text, files, and code

https://compare-text.org/
1•JoheyDev888•29m ago•0 comments

Protecting chilli pepper crops: Managing chilli pepper pests and diseases

https://bioprotectionportal.com/resources/protecting-chilli-pepper-crops-managing-chilli-pepper-p...
2•teleforce•38m ago•0 comments

Goody-2, the most responsible AI model (2024)

https://www.goody2.ai/
2•science4sail•39m ago•1 comments

At least 62 YC startups with over $1.9B in funding are hosting on Replit

https://runtimewire.com/article/at-least-62-yc-startups-with-over-1-9-billion-in-funding-are-host...
2•ryanmerket•43m ago•0 comments

Exercise intensity modulates interorgan communication and is associated with

https://www.cell.com/cell-reports-medicine/fulltext/S2666-3791%2826%2900405-2?_returnURL=https%3A...
2•newsomix9xl•45m ago•1 comments

Learning-Rust.Github.io: Labs: Project 1 – RESTful API Workspace

https://learning-rust.github.io/labs/building-a-containerized-restful-api/
1•dumindunuwan•47m ago•0 comments

Text Watermarking: How It Works

https://watermarking.mochi.is
3•k1m•48m ago•0 comments

I've been doing endurance testing on microSD cards for the last 3 years

https://www.reddit.com/r/raspberry_pi/s/ciRiOgBwyU
2•trymas•49m ago•1 comments

LLM Speedrun: Architecture

https://layog.io/blog/llm-speedrun-arch/
1•layog•50m ago•0 comments

Vetted AI code is hard to justify

https://amoffat.github.io/blog/vetting-burnout.html
1•Curiositry•53m ago•0 comments

Saudi wealth fund scales back 'fantastical' plans for Neom

https://www.thetimes.com/business/companies-markets/article/saudi-wealth-fund-scales-back-fantast...
2•petethomas•57m ago•0 comments

One Base Currency. Every Rate You Care About

https://medium.com/@chris.ahrweiler/one-base-currency-every-rate-you-care-about-f4fa436dede9
1•docjojo•57m ago•0 comments

Seatd – We flipped the economics of restaurant reservations

https://seatd.net
1•ursaeast•58m ago•1 comments

Is Your Mailbox Full? Duplicate Emails May Be the Reason

https://medium.com/@chris.ahrweiler/is-your-mailbox-full-duplicate-emails-may-be-the-reason-eec27...
1•docjojo•58m ago•0 comments

Compression and Encryptionto Email

https://medium.com/@chris.ahrweiler/compression-and-encryption-built-into-email-a3e71e306385
1•docjojo•58m ago•0 comments

A Japan without 'katsudon'? New forecast reveals 2050 heat crisis

https://www.asahi.com/ajw/articles/16812647
2•rawgabbit•58m ago•0 comments

AI Stock Research Assistant · Streamlit

https://ai-stock-research-kiaan.streamlit.app
1•KiaanKothari•1h ago•0 comments

Running Qwen3.8-27B on DGX Spark

https://blog.kubesimplify.com/qwen3-8-27b-on-dgx-spark
1•saiyampathak•1h ago•0 comments

China Hunts for Scientific Talent. The U.S. Is Making It Easier

https://www.nytimes.com/2026/08/17/business/china-scientific-talent-competition.html
2•occamschainsaw•1h ago•0 comments

DeepSeek-V4-Pro outperforms Fable 5 after fixing runtime inference control

https://github.com/Tiger3807861189/DeepSeek-V4-J-Space-Capability-Realization-Report
7•DarenWatson•1h ago•1 comments

Monty Hall Problem

https://en.wikipedia.org/wiki/Monty_Hall_problem
1•efilife•1h ago•0 comments

GGUF Quantization Compared: Q4_K_M vs. IQ4_XS vs. IQ4_NL

https://kaitchup.substack.com/p/choosing-a-gguf-model-k-quants-i
3•peter_d_sherman•1h ago•0 comments