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•11mo 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•11mo ago
Time to kill the API key.
pestatije•11mo ago
standard X.402 (ISO/IEC 10021-2) does already exist
xinbenlv•11mo ago
Congrats Erik. We are launching something that support x402 soon. DM'ed you on LinkedIn
ruiseal•11mo 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•11mo 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•11mo ago
this looks great, gonna look into writing something to use with fastapi

Universe Expanding Faster Than Expected

https://www.vice.com/en/article/scientists-figured-out-how-fast-the-universe-is-expanding-but-the...
1•leecoursey•23s ago•0 comments

Smoglandia: We haven't always been smoggy, but we're built that way

https://www.latimes.com/california/story/2026-03-26/smoglandia-we-havent-always-been-smoggy-but-w...
1•PaulHoule•2m ago•0 comments

Ask HN: What's your experience working at xAI as an AI tutor?

1•xai-tutor•3m ago•0 comments

Physicists think they've resolved the proton size puzzle

https://arstechnica.com/science/2026/04/physicists-think-theyve-resolved-the-proton-size-puzzle/
3•rbanffy•4m ago•0 comments

Hermes Agent Self-Evolution System: A Detailed Similarity Analysis with Evolver

https://evomap.ai/blog/hermes-agent-evolver-similarity-analysis
1•tamnd•4m ago•0 comments

Sony Music vs. Udio over stream ripping from YouTube to train AI model [pdf]

https://storage.courtlistener.com/recap/gov.uscourts.nysd.623701/gov.uscourts.nysd.623701.156.0.pdf
2•ChrisArchitect•5m ago•0 comments

Mirax Trojan, spreads via Meta ads, infected 220k users so far

https://securityaffairs.com/190842/uncategorized/mirax-malware-campaign-hits-220k-accounts-enable...
1•lschueller•6m ago•0 comments

LIV Golf Facing Imminent Closure as Saudi Backers Weigh Pulling Funding

https://www.wsj.com/sports/golf/liv-golf-saudi-funding-e7c19130
2•JumpCrisscross•10m ago•0 comments

A One Word Meta Compiler (1994)

https://www.ultratechnology.com/meta2.html
2•mjdiloreto•15m ago•0 comments

AllBirds (the one that sells shoes) Goes All in on AI

https://12gramsofcarbon.com/p/tech-things-allbirds-goes-all-in
2•theahura•15m ago•1 comments

Show HN: A magic eraser that runs a 208MB ONNX model in the browser

https://www.allplix.com/en/magic-eraser
1•shadoxise•16m ago•0 comments

"How I built on-device-only architecture for Mac utilities (and why it matters)"

https://saneapps.com
1•SaneApps•18m ago•1 comments

Show HN: US keyboards don't have enough keys, so I switched to Japanese

https://simone.org/hyperjis/
1•smnrg•18m ago•0 comments

NIST narrows scope of CVE to keep up with rising tide of vulnerabilities

https://cyberscoop.com/nist-narrows-cve-analysis-nvd/
1•lschueller•23m ago•0 comments

When GPUs Fail Quietly: Observability-Aware Early Warning Beyond Telemetry

https://arxiv.org/abs/2603.28781
1•matt_d•24m ago•0 comments

Federated, End-to-End Encrypted Document Storage with Git

https://blog.foks.pub/posts/federated-e2e-encrypted-doc-storage-with-git/
1•maxtaco•25m ago•0 comments

Does Gas Town 'steal' usage from users' LLM credits to improve itself?

https://github.com/gastownhall/gastown/issues/3649
27•rektomatic•26m ago•6 comments

So, you want to be a darknet drug lord

https://pastebin.com/raw/GrV3uYh5
4•pRusya•26m ago•2 comments

Firefox appears to be bulk removing extensions with no explanation

https://discourse.mozilla.org/t/add-on-removed-without-explanation/147949
5•newswangerd•27m ago•1 comments

The Mythical Agent-Month

https://wesmckinney.com/blog/mythical-agent-month/
1•tchalla•29m ago•0 comments

Ticketmaster and Live Nation found Guilty of anticompetitive venue monopoly

https://apnews.com/article/live-nation-ticketmaster-antitrust-trial-f0ffdd20dd4f64e8b4bb9d97134b826f
2•randycupertino•29m ago•3 comments

V&A Museum deletes maps and images deemed sensitive by Beijing from publications

https://www.theguardian.com/culture/2026/apr/14/v-and-a-censored-catalogues-demands-chinese-printer
1•ilamont•30m ago•0 comments

US and Israel's war on Iran is a disaster for the environment, analysis shows

https://www.theguardian.com/world/2026/mar/21/middle-east-iran-conflict-environment-climate
2•PaulHoule•30m ago•0 comments

Trace: Capability-Targeted Agentic Training

https://scalingintelligence.stanford.edu/blogs/trace/
1•mbeissinger•30m ago•0 comments

DeepBlue Marine Unlocks Africa's Coastal Economy Through Premium Experience

https://deep-blue-marine-5f14a6b1.base44.app
1•DeepBlue_Marine•31m ago•0 comments

Jury finds Live Nation, Ticketmaster had anti-competitive monopoly

https://www.cbc.ca/lite/story/9.7164989
2•colinprince•31m ago•1 comments

Great Docs: Beautiful Documentation for Python Packages

https://opensource.posit.co/blog/2026-04-15_introduction/
1•dbaupp•32m ago•0 comments

Graphene just defied a fundamental law of physics

https://www.sciencedaily.com/releases/2026/04/260415042152.htm
2•HardwareLust•33m ago•0 comments

Show HN: Originary – emit signed records for MCP tools

https://github.com/peacprotocol/peac
1•jithinraj•33m ago•0 comments

Retrofitting JIT compilers into C interpreters with ykllvm

https://tratt.net/laurie/blog/2026/retrofitting_jit_compilers_into_c_interpreters.html
1•fanf2•34m ago•0 comments