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•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

Metriplex – L1 blockchain where identity is a fractal attractor, not a number

https://github.com/NTellezM/Metriplex
1•ntellez•1m ago•0 comments

I built a C++20 graphics/game engine to understand rendering

https://github.com/farukalpay/Aster-Learning-Engine
1•InstantSurface•2m ago•0 comments

Articraft: An Agentic System for Scalable Articulated 3D Asset Generation

https://articraft3d.github.io/
1•armcat•3m ago•0 comments

The 52-Page Memo That Nearly Destroyed OpenAI: Ilya Sutskever's Deposition

https://medium.com/@prateekj24/the-52-page-memo-that-nearly-destroyed-openai-inside-ilya-sutskeve...
1•SilverElfin•4m ago•0 comments

The Information Wars: A Retrospective

https://thecarrierwave.substack.com/p/the-information-wars-a-retrospective
1•23j423j423hj•4m ago•1 comments

AI as Externalized Context – Regaining Personal Dev Momentum

https://www.plainlystated.com/2026/ai-as-externalized-context/
1•rellik•8m ago•0 comments

Agentic product discovery for AI apps and shopping agents

https://www.seekon.me/developers
2•mentormentat•9m ago•0 comments

The Apple macOS Security Update Review (3 macOS Versions; 82 Unique CVEs)

https://www.thezdi.com/blog/2026/5/12/the-apple-macos-security-update-review
2•alwillis•10m ago•0 comments

Humans VS AI.IO – Browser tower defence game

https://humansvsai.io
1•creatorcuffee•11m ago•0 comments

California bill would require patches or refunds when online games shut down

https://arstechnica.com/gaming/2026/05/bill-to-keep-online-games-playable-clears-key-hurdle-in-ca...
6•Lihh27•11m ago•0 comments

Why Is Everyone So Wrong About AI Water Use? – Hank Green [video]

https://www.youtube.com/watch?v=H_c6MWk7PQc
1•L0in•11m ago•0 comments

Show HN: Raybeam – A better way to screen share on macOS

https://raybeam.live/
1•fisc•11m ago•0 comments

UK reloads artillery plans with £1B remote-control howitzer order

https://www.theregister.com/offbeat/2026/05/15/uk-reloads-artillery-plans-with-1b-remote-control-...
1•Bender•12m ago•0 comments

This Museum Hides Secret Goods: The Swindon Museum of Computing

https://www.youtube.com/watch?v=mfl8poxJjPo
1•oldnetguy•13m ago•0 comments

The End of Software

https://docs.google.com/document/d/103cGe8qixC7ZzFsRu5Ww2VEW5YgH9zQaiaqbBsZ1lcc/edit?tab=t.0
1•realtalk_sp•13m ago•1 comments

Load testing in your infra, not cloud

1•vitalicset•13m ago•0 comments

LocalSend puts your sneakernet out of business

https://www.theregister.com/personal-tech/2026/05/15/localsend-puts-your-sneakernet-out-of-busine...
1•Bender•14m ago•0 comments

Connect Grok to Hermes Agent

https://x.ai/news/grok-hermes
1•surprisetalk•14m ago•0 comments

Nobody believes the criminals and scumbags who hacked Canvas deleted data

https://www.theregister.com/cyber-crime/2026/05/14/security-pros-doubt-canvas-attackers-really-de...
3•Bender•15m ago•1 comments

ArXiv to Ban Researchers for a Year If They Submit AI Slop

https://www.404media.co/new-arxiv-rules-ai-generated-papers-ban/
2•cdrnsf•17m ago•0 comments

What rebuilding AlphaGo teaches us about self-play, RL, and future of LLMs [video]

https://www.youtube.com/watch?v=X_ZVSPcZhtw
2•mfiguiere•19m ago•0 comments

Your AI Use Is Breaking My Brain

https://www.404media.co/your-ai-use-is-breaking-my-brain/
6•bonsai_spool•21m ago•1 comments

Meta to receive $3.3B in tax breaks for its $10B Louisiana data center

https://fortune.com/2026/05/14/meta-data-center-tax-break-hyperion-louisiana/
10•logickkk1•27m ago•2 comments

Claude FM

https://www.youtube.com/watch?v=YmQ7jRgf4f0
2•arishi•32m ago•0 comments

Judge Bars Kars4Kids from Broadcasting 'Misleading' Ads in California

https://www.nytimes.com/2026/05/15/us/kars4kids-advertising-banned-california.html
27•xnx•32m ago•1 comments

Hotel check-in system exposed 1M passports and driver's licenses

https://techcrunch.com/2026/05/15/a-hotel-check-in-system-left-a-million-passports-and-drivers-li...
3•p_stuart82•33m ago•0 comments

Ask an Astronaut: 333 hours of Q&A footage with astronauts

https://askanastronaut.issinrealtime.org/
1•gaws•34m ago•0 comments

Obsidian Radar Plugin

https://github.com/lfcipriani/obsidian-radar
2•lfcipriani•34m ago•0 comments

The founder's playbook: Building an AI-native startup

https://claude.com/blog/the-founders-playbook
2•shenli3514•34m ago•0 comments

Fedora Hummingbird: Taking the Hummingbird model to the full operating system

https://fedoramagazine.org/fedora-hummingbird-linux-taking-the-hummingbird-model-to-the-full-os/
1•abdelhousni•35m ago•1 comments