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

Amfly: A deterministic simulation of six fruit fly connectomes in a reward loop

https://github.com/aravpanwar/amfly
1•Teever•1m ago•0 comments

Alternatives to milk are losing moomentum

https://www.economist.com/business/2026/09/17/alternatives-to-milk-are-losing-moomentum
1•andsoitis•2m ago•1 comments

Show HN: An open Add/Search evaluation framework for agent memory

https://agentmemoryleaderboard.ai/
1•IreneAI•3m ago•0 comments

A DeepSeek engineer just said the thing I've been feeling about AI for months

https://www.reddit.com/r/artificial/comments/1wi2zm9/a_deepseek_engineer_just_said_the_thing_ive_...
1•0xcrypto•4m ago•0 comments

Be alert: targeted attacks on prominent Rustaceans

https://blog.rust-lang.org/2026/09/17/targeted-attacks/
2•vinhnx•6m ago•0 comments

Hacking OpenAI

https://www.hacktron.ai/blog/hacking-openai
2•Handy-Man•7m ago•1 comments

Great Tea Race of 1866

https://en.wikipedia.org/wiki/Great_Tea_Race_of_1866
2•thunderbong•14m ago•0 comments

Cache-Tax

https://github.com/karanb192/claude-code-mods/tree/main/plugins/cache-tax
1•handfuloflight•14m ago•0 comments

Mova: Movement Analytics Platform

https://omid.al/projects/mova/
1•Quarterlyreport•14m ago•0 comments

Lodestar – Easier Communication with Agents

https://www.try-lodestar.com/
1•elushine•14m ago•1 comments

DDns: Endpoint-aware DNS resolution beyond IP addresses

https://docs.dhttp.net/en/docs/protocol/ddns
1•Arya_xiaofan•16m ago•0 comments

Republican bill would order ISPs, DNS providers, and VPNs to block piracy sites

https://arstechnica.com/tech-policy/2026/09/republican-bill-would-order-isps-dns-providers-and-vp...
2•mmh0000•16m ago•0 comments

Apple May Return to Server Market with Nvidia Technology

https://www.macrumors.com/2026/09/16/apple-may-return-to-server-market/
3•mgh2•22m ago•0 comments

Google auto-banned my Bug Hunter account for exposing their fake "Delete" button

https://medium.com/@istokovicsgyorgy79/google-auto-banned-my-bug-hunter-account-for-exposing-thei...
2•Bitu79•26m ago•0 comments

iPhone 18 Pro Camera Review: Dunton, Colorado

https://www.austinmann.com/trek/iphone-18-pro-camera-review-dunton
1•ValentineC•27m ago•0 comments

Low-Cost Servers for AI and Developers

https://rawhq.io
2•eulerpoolapi•29m ago•0 comments

Show HN: A directory of 164 Asian AI companies, ranked by disclosed scale

https://asiaai.fyi/tech-index/
1•ghernando•30m ago•0 comments

ComplianceSnap – Free Ada/WCAG risk scanner for Shopify/WooCommerce stores: C

https://shop.lumnika.com/compliancesnap/
1•deusautoai725•35m ago•0 comments

Antigravity-Preview-09-2026

https://aistudio.google.com/learn/managed-agents-updated-harness-files-credentials
2•tvvocold•36m ago•0 comments

Garbage trucks analyze homes with AI-powered cameras

https://www.popsci.com/technology/city-detect-garbage-trucks-cameras/
2•sippingabonedry•38m ago•0 comments

Pentagon weighs pulling nearly a third of U.S. forces from Europe

https://www.nbcnews.com/politics/national-security/pentagon-weighs-pulling-nearly-third-us-forces...
4•consumer451•40m ago•0 comments

The open source version of Claude Project that gives you the context ownershp

https://github.com/zqiren/Orbital
2•10keane•41m ago•0 comments

Essays of Dario Amodei are why people are worried about artificial intelligence

https://www.nytimes.com/2026/09/17/technology/dario-amodei-anthropic-essays-ai.html
5•Alien1Being•42m ago•1 comments

Jev plays Roulette Wars on its own

https://twitter.com/NicoSaraintaris/status/2100745151622664392
1•lafferty•42m ago•0 comments

LeanReact: Expressing Composable and Correct React Components in Lean

https://theoric.com/blog/leanreact_introduction/
1•hargup•47m ago•0 comments

Shapelearn Qwen 3.8 27B (13.1 GB VRAM)

https://byteshape.com/blogs/Qwen3.8-27B/
2•syntaxing•51m ago•0 comments

Minimal Phone 2

https://minimalcompany.com/
3•nashashmi•54m ago•0 comments

Ubuntu 26.10 Moves cp, mv and rm Over To Rust Coreutils For 100% Transition

https://www.phoronix.com/news/Ubuntu-Completes-Rust-Coreutils
6•thunderbong•55m ago•0 comments

AWS now supports spend limits

https://docs.aws.amazon.com/accounts/latest/reference/create-spend-limit.html
4•xyos•56m ago•0 comments

You can run Git on object storage if you re-make packfiles

https://www.tigrisdata.com/blog/objgit-packfiles/
2•zbentley•58m ago•1 comments