frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: X402 – an open standard for internet native payments

https://www.x402.org/
16•__erik•10mo 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•10mo ago
Time to kill the API key.
pestatije•10mo ago
standard X.402 (ISO/IEC 10021-2) does already exist
xinbenlv•10mo ago
Congrats Erik. We are launching something that support x402 soon. DM'ed you on LinkedIn
ruiseal•10mo 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•10mo 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•10mo ago
this looks great, gonna look into writing something to use with fastapi

Show HN: A Claude Skill that teaches Rails conventions for LLM calls

https://github.com/rubyonai/rails-llm-integration
1•nagstler•41s ago•0 comments

(Media over QUIC) on a Boat

https://moq.dev/blog/on-a-boat/
1•mmcclure•1m ago•0 comments

Monty Python Got It Wrong About Medieval Disease

https://www.sciencedaily.com/releases/2026/03/260313002645.htm
1•bookmtn•2m ago•0 comments

Mega-OS – 38-agent operating system that runs inside Claude Code

https://github.com/sly-the-fox/mega-os-public
1•slythefox•3m ago•1 comments

$2B nonprofit grants traced to find who's behind age verification bills

https://old.reddit.com/r/linux/comments/1rshc1f/i_traced_2_billion_in_nonprofit_grants_and_45/
1•spaghetdefects•6m ago•0 comments

Elon Musk's Ketamine Use Can't Be Probed in OpenAI Fraud Trial

https://www.bloomberg.com/news/articles/2026-03-13/elon-musk-s-ketamine-use-can-t-be-probed-in-op...
1•caaqil•6m ago•0 comments

Show HN: SupplementDEX – The Evidence-Based Supplement Database

https://supplementdex.com/
1•richarlidad•7m ago•0 comments

Show HN: I built an interactive 3D three-body problem simulator in the browser

https://structuredlabs.github.io/threebodyproblem/
1•amrutha_•8m ago•0 comments

The Egg (2009)

https://www.galactanet.com/oneoff/theegg_mod.html
1•basilikum•8m ago•0 comments

What happens when an autonomous robotaxi gets into an accident?

https://twitter.com/seventensuited/status/2032134435924295805
1•paulnpace•9m ago•0 comments

The Collapse of the Incentive to Make

https://www.carlos-menezes.com/posts/collapse-of-the-incentive-to-make
1•carlos-menezes•11m ago•0 comments

Spotify Silently Updates Itself (and How to Stop It)

https://duckass.bearblog.dev/how-spotify-silently-updates-itself-and-how-to-stop-it/
1•lschueller•12m ago•1 comments

Let the Code Do the Talking

https://sunilpai.dev/posts/after-wimp/
1•aratahikaru5•14m ago•0 comments

RAM: WTF? (2025)

https://gamersnexus.net/news/ram-wtf
1•pabs3•16m ago•0 comments

Sniffer dogs can detect wildlife trafficking via shipping container air samples

https://phys.org/news/2026-02-sniffer-dogs-wildlife-trafficking-shipping.html
1•PaulHoule•17m ago•0 comments

Instagram to discontinue end-to-end encryption for DMs

https://www.androidpolice.com/instagram-is-getting-rid-of-end-to-end-encryption-for-dms/
1•zugi•18m ago•0 comments

Gallo-Roman dodecahedron: twelve faces, zero answers?

https://nunc.ch/en/gallo-roman-dodecahedron-twelve-faces-zero-answers/
1•az09mugen•19m ago•0 comments

What Does Extreme Wealth Do to the Brain?

https://nymag.com/intelligencer/article/what-does-extreme-wealth-do-to-the-brain.html
1•pseudolus•20m ago•1 comments

Microplastics that accumulate in the body may 'clog up' immune cells

https://www.livescience.com/health/microplastics-that-accumulate-in-the-body-may-clog-up-immune-c...
1•jhncls•21m ago•0 comments

Our Experience with I-Ready

https://moultano.wordpress.com/2026/03/12/our-experience-with-i-ready/
2•barry-cotter•22m ago•1 comments

New gel-based system allows bacteria to act as bioelectrical sensors

https://news.rice.edu/news/2026/new-gel-based-system-allows-bacteria-act-bioelectrical-sensors
1•geox•22m ago•0 comments

Prairieland 19 Case Update

https://www.wewillfreeus.org/prairieland-19-case-update/
1•pabs3•22m ago•0 comments

AMD: WTF? [video]

https://www.youtube.com/watch?v=uJcf2UGCH1w
2•pabs3•25m ago•0 comments

Benchmarking Language Modeling for Lossless Compression of Full-Fidelity Audio

https://arxiv.org/abs/2603.08683
2•ogurechny•25m ago•0 comments

How we compare model quality in Cursor

https://cursor.com/blog/cursorbench
1•gmays•27m ago•0 comments

Show HN: Pixel Press – Fast Image Converter for Windows (WebP / AVIF)

1•ghostlyInc•29m ago•0 comments

In Search of Banksy

https://www.reuters.com/investigates/special-report/global-art-banksy/
2•skibz•29m ago•0 comments

Show HN: I wrote my first neural network

https://github.com/stupid-genius/Perceptron
2•allenng•30m ago•0 comments

Show HN: Commute home, hit the banana, feel nice

https://banana-car.netlify.app/
1•whothatcodeguy•30m ago•0 comments

Show HN: Monetize your APIs by injecting agent targeted instructions

https://github.com/daninge/ad-injector
2•dinge•30m ago•0 comments