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

Dha Best

http://kitchencooking.42web.io/
1•agasto•1m ago•0 comments

Ask HN: What is the most useful thing AI has done for you?

1•yitchelle•2m ago•0 comments

Show HN: Cwist; a hobby-grade C17 web framework that keeps your app simple

https://github.com/c4punks/cwist
1•gg582•2m ago•0 comments

Letters with 'suspicious substances' sent to US senators and election offices

https://www.bbc.com/news/articles/cmq8n513x523o
1•geox•4m ago•0 comments

Veda: An Operating System with Soul

https://github.com/vahmoh25/Veda/blob/main/documentation/images/paint.png
1•saeedmh100•6m ago•0 comments

Wernelo – Discover Communities, Creators and Projects

https://www.wernelo.com
1•koleemendov•7m ago•0 comments

Ukraine's data centre strikes have thrown Russia into turmoil

https://www.ft.com/content/dc21da0b-25b7-402e-8dbe-e7d9f7431b93
1•uxhacker•9m ago•0 comments

How an agentic chat interface can break

https://astralbeam.ai/blog/ten-agentic-chat-interface-failures
1•aakashns•11m ago•0 comments

Dependently Sorted Syntax and its Semantics – Carlo Angiuli [video]

https://www.youtube.com/watch?v=tTZFKkyJEtw
1•matt_d•12m ago•0 comments

Existential Risk from AI: An Exposition for Mathematicians

https://alkjash.github.io/ai-risk/
1•reasonableklout•16m ago•0 comments

The 39 pictures that changed the way we see men (for good and for bad)

https://www.theguardian.com/society/2026/oct/17/39-pictures-that-changed-the-way-we-see-men-for-g...
1•mellosouls•18m ago•0 comments

El Niño: Chief Minister 'prays' to farmers to save drinking water

https://www.downtoearth.org.in/amp/story/climate-change/super-el-ni%C3%B1o-telangana-chief-minist...
2•erbdex•18m ago•1 comments

Claude CRISPR-like sequence may be a parallel discovery of unpublished research

https://recul.ai/news/claude-viral-dna-pattern-priority-dispute/
1•opello•19m ago•1 comments

Networking problems after the October Windows update? NTLM might be to blame

https://www.theregister.com/security/2026/10/16/networking-problems-after-the-october-2026-window...
1•wondersky•20m ago•0 comments

Sterile Knowledge: Artificial Intelligence, and the Genealogy of Understanding

https://medium.com/@smoking2man/sterile-knowledge-artificial-intelligence-models-and-the-genealog...
1•Aldus551•22m ago•0 comments

Israeli settlers attack olive framers & Washington Post journalist in West Bank

https://www.theguardian.com/world/2026/oct/16/israeli-settlers-attack-olive-farmers-west-bank-was...
8•0x54MUR41•24m ago•0 comments

Mapping the China AI Ecosystem with Rui Ma [video]

https://www.youtube.com/watch?v=-RDpqweadlE
1•hunglee2•32m ago•0 comments

MIT Scientist (Sabatini) Wins $6M in Sexual Harassment Defamation Suit

https://www.nytimes.com/2026/10/16/us/mit-scientist-sexual-harassment-defamation-lawsuit-david-sa...
2•osnium123•36m ago•0 comments

Ask HN: For those who left Big Tech for early-stage startups, do you regret it?

2•Peaceful-Hours•38m ago•0 comments

Are we sleepwalking into World War III?

https://www.ft.com/content/3a56575e-ecfb-4fa9-af70-01aebd869729
5•JumpCrisscross•39m ago•2 comments

The life and tools of H. C. Fackelman

https://journal.spencerwnelson.com/entries/who_is_fackelman.html
1•spenczar5•40m ago•0 comments

Maybe some hope for the future

https://kadhirvelm.dev/blogs/maybe-some-hope
1•kadhirvelm•44m ago•0 comments

Archive of Our Own

https://archiveofourown.org/
2•debo_•45m ago•0 comments

The Opposite of Love

https://acoup.blog/2026/10/16/teaching-paradox-hearts-of-iron-iv-part-iiib-the-opposite-of-love/
1•Tomte•52m ago•0 comments

Vercat – Vercel on the Go

https://www.vercat.dev
1•kuoxinbuild•53m ago•1 comments

Decoding base64 in Python at 10 gigabytes per second

https://lemire.me/blog/2026/10/17/decoding-base64-in-python-at-10-gigabytes-per-second/
2•smilelamp•53m ago•0 comments

EPGM: Execution Provenance for Budgeted Agent Memory Retrieval

https://arxiv.org/abs/2609.25913
2•axis_official•56m ago•0 comments

Huge Pages can improve Postgres performance

https://clickhouse.com/blog/huge-pages-clickhouse-managed-postgres
3•saisrirampur•59m ago•0 comments

Adversarial stress-testing of long-horizon multi-agent systems

https://arxiv.org/abs/2609.17320
1•anigbrowl•59m ago•0 comments

ASI existential risk: reconsidering alignment as a goal

https://michaelnotebook.com/xriskbrief/
2•reasonableklout•1h ago•0 comments