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

Copyright Scammers Weaponized Meta's Rights Manager with Backdating Exploit

https://torrentfreak.com/copyright-scammers-weaponized-metas-rights-manager-with-backdating-exploit/
1•Brajeshwar•3m ago•0 comments

Let the Browser Do the Math Or: How I Learned to Stop Worrying and Love the DOM

https://www.olafalders.com/2026/07/27/designing-social-cards-in-html/
1•oalders•4m ago•0 comments

Should We Make Daylight Saving Time Permanent?

https://www.nytimes.com/2026/07/27/science/daylight-saving-time-health-safety.html
1•donohoe•4m ago•0 comments

MLVC: An open-source real-time neural video codec for consumer NPUs

https://github.com/microsoft/mlvc
1•andosa•4m ago•0 comments

Show HN: Telegram bot that spins up Claude Code/Codex agents on their own VMs

https://agenticcloudcomputer.com/
2•adambaialiev•6m ago•0 comments

Clifford Sosin on X: "Maybe Intelligence Ain't All That" / X

https://twitter.com/CliffordSosin/status/2078594661359194500
1•bilsbie•8m ago•0 comments

Leadership Lessons from the Odyssey

https://danielmangum.com/posts/odyssey-leadership-lessons/
1•hasheddan•9m ago•0 comments

Show HN: Otlet – Local LLM inference "inside" Postgres

https://github.com/joshmeek/otlet
1•josmek•9m ago•0 comments

Batteries: Varta files for bankruptcy – Apple's departure takes its toll

https://en.ilsole24ore.com/art/varta-batteries-files-for-bankruptcy-apples-departure-takes-its-to...
2•ksec•9m ago•0 comments

Show HN: Taetype-WASM – Pure Rust, browser-only font engine in WebAssembly

https://github.com/silly-tae/taetype-wasm
1•silly-tae•10m ago•0 comments

Claude-video – Give Claude the ability to watch any video

https://github.com/bradautomates/claude-video
1•opwizardx•13m ago•0 comments

The Third Magic (2025)

https://www.noahpinion.blog/p/the-third-magic-23f
1•bookofjoe•13m ago•0 comments

Thymus-derived hormone may help suppress age-related inflammation

https://keck.usc.edu/news/thymus-derived-hormone-may-help-suppress-age-related-inflammation/
2•gmays•13m ago•0 comments

China begins making homegrown DUV chipmaking tools

https://www.reuters.com/world/china/china-begins-making-homegrown-duv-chipmaking-tools-informatio...
6•scrlk•13m ago•1 comments

Combat Readiness: The Future of Defense Tech in Silicon Valley

https://proliberal.substack.com/p/combat-readiness
1•mtsteiner•16m ago•0 comments

Why $550M Medical Debt only Cost $5.5M

https://idiallo.com/byte-size/550-million-only-cost-5-million
1•Brajeshwar•17m ago•0 comments

Tryon 3D cross platform virtual fittingroom

https://tryon.global/
1•RevanDaldaban•18m ago•0 comments

MemU – Personal Memory Shared by Codex, Claude Code, and Hermes

https://github.com/NevaMind-AI/memU
2•DanielWen666•18m ago•0 comments

I scanned 495 big EU sites for the AI Act's chatbot rule. It's invisible

https://article50ready.com
1•techartdev•20m ago•0 comments

How does a Grand Piano work? [video]

https://www.youtube.com/watch?v=NDvS2V7HbnY
1•0x1ceb00da•21m ago•0 comments

The Jac Programming Language

https://jaclang.org/wait-wuuut
1•thunderbong•21m ago•0 comments

Show HN: An unofficial Qwen image generator

https://qwenimage3.com/
1•marcushuang4595•22m ago•1 comments

Apple Will 'Watch Everything Burn' When the AI Bubble Bursts

https://www.macrumors.com/2026/07/27/ed-zitron-apple-watch-it-burn-ai-bubble-bursts/
3•thm•23m ago•0 comments

The robots programmed by kids to speak their Indigenous languages

https://www.npr.org/2026/07/26/nx-s1-5825798/robot-speaks-endangered-native-american-languages
1•andsoitis•25m ago•0 comments

Kimi K3: Its Capabilities and Related Discontents

https://thezvi.wordpress.com/2026/07/20/on-kimi-k3-its-capabilities-and-related-discontents/
2•gmays•29m ago•0 comments

Can LLMs identify 16 cards in 45 bit-queries?

https://snwagh.com/blog/2026/open-problem/
4•napping_penguin•29m ago•0 comments

MD to PDF Converter – Free Convert Markdown to PDF

https://ilovemardown.com/
1•dulcedeleche•31m ago•0 comments

Nvidia Object-Oriented Agents: An agent is a Python class

https://github.com/NVIDIA-NeMo/labs-OO-Agents
1•nvad00•31m ago•0 comments

Ilya Sutskever's SSI and Nvidia Announce Long-Term Strategic Partnership

https://nvidianews.nvidia.com/news/ilya-sutskevers-safe-superintelligence-inc-and-nvidia-announce...
4•lanakei•32m ago•0 comments

EU to make more money from fining US tech companies than taxing its own

https://twitter.com/levelsio/status/2080314960656159018
4•JumpCrisscross•32m ago•1 comments