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

Making JsDelivr's Origin More Reliable at Scale

https://www.jsdelivr.com/blog/making-jsdelivrs-origin-more-reliable-at-scale/
1•jimaek•1m ago•0 comments

Breaking the M365 Copilot Sandbox with ChatMate

https://zerolabs.rubrik.com/blog/breaking-m365-copilot-sandbox-chatmate
1•shivanshuag•2m ago•0 comments

Show HN: PicPocket – Dedicated 'chats' for photo-sharing (share to organize)

https://picpocket.io/
1•amr_shawky•2m ago•0 comments

A dating app inside Claude Code

https://terminal.dating
1•welshpony•2m ago•0 comments

We migrated off Enzyme in 2 weeks. It should have taken five years

https://asana.com/inside-asana/migrating-off-enzyme-2-weeks
1•pspeter3•3m ago•0 comments

China Bets on AI Stocks as It Races Against US for Chip, Tech Dominance

https://www.bloomberg.com/news/features/2026-08-09/china-bets-on-ai-stocks-as-it-races-against-us...
2•evo_9•5m ago•0 comments

Frost-GKR: a global trace protocol for batched Poseidon2B

https://lab.parano1d.org/research/frost-gkr-global-trace-protocol/
2•ignotusnemo•9m ago•0 comments

Exploiting System Management Mode with a very long interrupt

https://github.com/xoreaxeaxeax/smiiiiiiiiiiiiiiii
2•WhiteDawn•9m ago•0 comments

GLP-1 drugs linked to bigger jump in women’s employment than a college degree

https://finance.yahoo.com/healthcare/articles/harvard-study-links-glp-1-123000637.html
5•metadat•10m ago•0 comments

Kyverno Policies to Secure Your Kubernetes Cluster

https://medium.com/@devarshidev/5-kyverno-policies-to-secure-your-kubernetes-cluster-9fdbf971b7b2
2•devarshishimpi•11m ago•0 comments

Autoscaling MirageOS Unikernels in Mollymawk

https://blog.robur.coop/articles/2026-07-08-Autoscaling-MirageOS-unikernels-in-Mollymawk.html
3•andrewstetsenko•12m ago•0 comments

Trust is all you need, and all we've lost

https://r5d.me/trust-and-the-lack-thereof/
3•solaire_oa•13m ago•0 comments

Show HN: Ante, a coding agent in a single binary that runs offline

https://github.com/AntigmaLabs/ante
3•ubermon•13m ago•1 comments

Back to the Future of Handwriting Recognition

https://jackschaedler.github.io/handwriting-recognition/
3•at1as•14m ago•0 comments

Historical Discoveries That Reshaped Modern Historical Understanding

https://thehistoricalinsights.page/2026/08/historical-discoveries.html
2•historical1234•17m ago•0 comments

A macOS app for customizing which browser to start

https://github.com/johnste/finicky
2•mooreds•17m ago•0 comments

The Tragedy of the Cognitive Commons

https://arxiv.org/abs/2607.29380
2•jmintz•17m ago•0 comments

Show HN: Bio Tools – install drug design tools easily

https://github.com/David-OConnor/bio_tools
2•the__alchemist•17m ago•0 comments

Midlife Vascular Risk Burden and Dementia-Free Survival Years

https://www.neurology.org/doi/10.1212/WN9.0000000000000152
2•bookofjoe•18m ago•0 comments

Automatia Update: Next of Kin

https://libriscv.no/blog/next-of-kin/
2•fwsgonzo•18m ago•0 comments

A California Program Is Bringing Down the Cost of Heat Pumps by Buying Bulk

https://www.wired.com/story/california-group-buy-bringing-down-heat-pump-costs/
2•Brajeshwar•19m ago•0 comments

4 hours and 37 minutes of serving nothing

https://koleslaw.ai/blog/running-a-30b-model-on-spot-gpus
3•murphman•19m ago•0 comments

The Great Chinese Oil Mystery

https://www.theatlantic.com/economy/2026/07/china-iran-usa-oil-prices/688086/
3•alphabetatango•19m ago•1 comments

Show HN: MergeImage – merge and stitch images locally in the browser

https://mergeimage.app/
2•lby910722•19m ago•0 comments

Extreme 220GHz+Broadband Silicon Capacitor X2SC 0201M 22nF BV11

https://pim.murata.com/asset/pim4/siliconCapacitor/SICAP_X2SC422522_PDF_SILICONCAPACITOR
2•peter_d_sherman•19m ago•0 comments

Why Open Source Matters for AI: Models should be infrastructure, not appliances

https://oreillyradar.substack.com/p/why-open-source-matters-for-ai
2•dbreunig•21m ago•0 comments

Japan and the US Supported the Yen Last Week

https://www.emergingtrajectories.com/lh/us-japan-yen-intervention/
2•cl42•22m ago•2 comments

We Got Better at Keeping You Alive. Not at Keeping You Healthy

https://julienreszka.com/blog/we-got-better-at-keeping-you-alive-not-at-keeping-healthy/
2•julienreszka•22m ago•0 comments

Controversial Bitcoin fork BIP-110 mines two blocks, then stops

https://www.coindesk.com/tech/2026/08/09/controversial-bitcoin-fork-bip-110-mines-two-blocks-then...
3•HardwareLust•22m ago•0 comments

China-Free Batteries Made from Salt Are Finally Here

https://www.wsj.com/business/energy-oil/china-free-batteries-made-from-salt-are-finally-here-cc1c...
3•inferhaven•22m ago•2 comments