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

WebKit Features for Safari 26.6

https://webkit.org/blog/18178/webkit-features-for-safari-26-6/
1•ksec•27s ago•0 comments

The Sticky Mark-Bit Algorithm for GCs

https://wingolog.org/archives/2022/10/22/the-sticky-mark-bit-algorithm
1•achierius•28s ago•0 comments

Home Office used 'AI hallucinated' information to refuse asylum claim, judge

https://www.theguardian.com/uk-news/2026/jul/28/home-office-used-ai-hallucinated-information-to-r...
2•sbulaev•2m ago•0 comments

Show HN: A search engine for one-word .com domains

https://www.muffin-company.com/word-domains
2•garyhbutton•3m ago•0 comments

Please, Don't Screw Up Neuromancer

https://freddiedeboer.substack.com/p/please-dont-screw-up-neuromancer
4•paulpauper•4m ago•0 comments

Debating Housing and More with Steve Hilton

https://www.richardhanania.com/p/debating-housing-and-more-with-steve
3•paulpauper•4m ago•0 comments

I showed an AI an image it couldn't see – then caught it lying about what it saw

https://paulshepherd.com/conversations/session-1.html
3•LifeWithGlee•5m ago•1 comments

Paged Out – Issue #9

https://pagedout.institute/webview.php?issue=9&page=1
3•birdculture•5m ago•0 comments

Claude Opus 5: Model Welfare

https://thezvi.substack.com/p/claude-opus-5-model-welfare
4•paulpauper•5m ago•0 comments

Model Context Protocol Grows Up

https://techstrong.ai/articles/model-context-protocol-grows-up/
3•CrankyBear•6m ago•0 comments

Built Once, Serves Many: How We Rebuilt Experiment Analysis Platform at Roku

https://engineering.roku.com/built-once-serves-many-how-we-rebuilt-experiment-analysis-platform-a...
3•milindnandankar•6m ago•1 comments

Removing Apache Log Noise

https://j11g.com/removing-apache-log-noise
2•speckx•7m ago•0 comments

You Could Have Come Up with Kimi Delta Attention

https://blog.doubleword.ai/you-could-have-come-up-with-kimi-delta-attention
2•AnhTho_FR•7m ago•0 comments

Agentic Permissions Policy Algebra for Taint Confinement in LLM Agents

https://arxiv.org/abs/2607.24625
2•zhinit•8m ago•0 comments

Pay Gruber

https://ninjasandrobots.com/pay-gruber
3•nate•10m ago•0 comments

Mysterious Human Relative Was Bigger Than Previously Thought

https://nautil.us/mysterious-human-relative-was-bigger-than-previously-thought-1283071
2•Brajeshwar•12m ago•0 comments

How Do I Profile eBPF Code?

https://naveensrinivasan.com/posts/2026-07-22-how-do-i-profile-ebpf-code/
7•snaveen•13m ago•0 comments

Show HN: XY – Fast, composable, GPU-accelerated charts, written in Rust

https://github.com/reflex-dev/xy
12•apetuskey•14m ago•1 comments

'It sounds like someone set up a vacuum ': Michigan residents sue AI DC

https://www.tomshardware.com/tech-industry/data-centers/it-sounds-like-someone-set-up-a-vacuum-li...
3•LaSombra•15m ago•0 comments

The making of Don Matrelli's Legacy, a mod for Grand Prix Circuit (part I)

https://marnetto.net/2026/07/18/dml-making-of-1
2•speckx•15m ago•0 comments

Code for Real: Teach kids to program with drag and drop blocks

https://code-for-real.pages.dev/get
2•eappleby•15m ago•2 comments

Efficient code for inverting the (log) gamma function

https://www.johndcook.com/blog/2026/07/28/inverse-factorial-improved/
2•ibobev•17m ago•0 comments

Draft: Complete redesign ( 349) · GNOME / Document Scanner

https://gitlab.gnome.org/GNOME/simple-scan/-/merge_requests/349
2•LaSombra•17m ago•0 comments

A Crosswording Miscellany

https://quuxplusone.github.io/blog/2026/07/28/puzzle-miscellany/
2•ibobev•17m ago•0 comments

The inliner is yielding benefits for ZJIT

https://railsatscale.com/2026-07-28-the-inliner-is-yielding-benefits/
2•ibobev•17m ago•0 comments

Delayed Gratification – Proud to Be 'Last to Breaking News'

https://www.slow-journalism.com/
3•speerer•18m ago•0 comments

Building a long‑term base on the Moon will require extensive planning

https://theconversation.com/building-a-long-term-base-on-the-moon-will-require-extensive-planning...
3•DemiGuru•20m ago•1 comments

Show HN: Is your Odyssey screening cropped? A tool to check your theater format

https://niamey-seven.vercel.app
3•theanswa•20m ago•0 comments

Kimi K3 Architecture Overview and Notes

https://sebastianraschka.com/blog/2026/kimi-k3-architecture-notes.html
3•ModelForge•20m ago•0 comments

Sam Altman – How to Start a Startup [video]

https://www.youtube.com/watch?v=Vv3CEAS_w34
2•HelloUsername•21m ago•0 comments