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

Scotland becomes first UK country to legalise water cremations

https://www.theguardian.com/society/2026/mar/02/scotland-becomes-first-uk-country-to-legalise-wat...
1•gscott•2m ago•0 comments

Loom vs. Linear: A tale of two AI-cities

https://jamespember.substack.com/p/loom-vs-linear-a-tale-of-two-ai-cities
1•jep888•3m ago•0 comments

Reese's changed its chocolate because of climate change

https://www.fooddive.com/news/hershey-reeses-ingredients-chocolate-climate-change-oped/813903/
1•del82•4m ago•1 comments

Financial group probed by congressional committee over Chinese stock scams

https://www.ft.com/content/49f541f8-c73d-4268-9621-f8604f1a8141
1•petethomas•4m ago•0 comments

Boredom Is the Price We Pay for Meaning

https://www.theatlantic.com/ideas/2026/02/boredom-parenthood-father/686158/
1•myth_drannon•5m ago•0 comments

Something feels weird about this economy

https://www.noahpinion.blog/p/something-feels-weird-about-this
1•paulpauper•5m ago•0 comments

Phonyhuman

https://github.com/manav03panchal/phonyhuman
1•manavpanchal•7m ago•0 comments

Ask HN: What game engine would you recommend for vibe coding?

1•general_reveal•8m ago•0 comments

American Prairie Grows Again with 2k+ Acres of Critical Wetland Habitat

https://americanprairie.org/the-latest/american-prairie-grow-again-with-2k-acres-of-critical-wetl...
1•gametorch•10m ago•0 comments

Emergent Quantization from a Dynamic Vacuum

https://journals.aps.org/prresearch/abstract/10.1103/l8y7-r3rm
1•Rover222•21m ago•2 comments

High-throughput phenomics of global ant biodiversity

https://www.nature.com/articles/s41592-026-03005-0
1•bookofjoe•22m ago•0 comments

The Deadliest Animals

https://ourworldindata.org/deadliest-animals
1•gmays•22m ago•0 comments

Fast and Powerful Code Editor

https://lap.dev/lapce/
3•arthurz•24m ago•1 comments

The greatest unsolved problem in computer science

https://www.youtube.com/watch?v=x36UmiSiEzc
1•ArturoNereu•27m ago•0 comments

China Deploys 30k-Ton Liaowang-1 "Floating Supercomputer" to Gulf of Oman

https://defencesecurityasia.com/en/china-liaowang-1-spy-ship-gulf-of-oman-us-israel-iran-war-surv...
4•swed420•28m ago•1 comments

Family of Tumbler Ridge shooting victim suing OpenAI

https://www.cbc.ca/news/canada/british-columbia/openai-sued-tumbler-ridge-victim-9.7121635
2•stygiansonic•29m ago•0 comments

Show HN: Open-source, model-agnostic alternative to Claude Code Review

https://github.com/kodustech/kodus-ai
3•edvaldodfreitas•32m ago•0 comments

Trump cancels sanctions against countries buying Russian oil

https://unn.ua/en/news/trump-cancels-sanctions-against-countries-buying-russian-oil
2•testing22321•33m ago•0 comments

Show HN: CLI for Atlassian

https://github.com/chinmaymk/acli
3•_chinmaymk•34m ago•0 comments

The Custodian Shift

https://igorschwarzmann.com/strategyasprotocol/custodian-shift/
2•doener•34m ago•0 comments

How to Get Free Email for Your Custom Domain

https://timleland.com/how-to-get-free-email-for-your-custom-domain/
2•TimLeland•35m ago•0 comments

Corporateapology.com – Accountability at Scale

https://corporateapology.com
1•drawbars•38m ago•1 comments

Karpathy: Autoresearch

https://github.com/karpathy/autoresearch/blob/master/README.md
3•champagnepapi•40m ago•1 comments

The CIA's attempt to make Havana Syndrome disappear

https://theins.press/en/inv/290088
2•FergusArgyll•41m ago•0 comments

Against the Orthogonality Thesis Part 2 – Alignment

https://jonasmoman.substack.com/p/against-the-orthogonality-thesis-f99
3•paulpauper•45m ago•0 comments

Finding Remote Work as a Drone Operator

https://nathankyoung.substack.com/p/finding-remote-work-as-a-drone-operator
2•paulpauper•45m ago•0 comments

Cybertruck in Autopilot mode tried to drive off Houston bridge, suit says

https://www.chron.com/culture/article/cybertruck-houston-lawsuit-21965298.php
2•zzzeek•46m ago•0 comments

LLM Integrity During Inference in Llama.cpp

https://bednarskiwsieci.pl/en/blog/integrity-llm-inference-tampering/
1•piotrbednarsalt•49m ago•1 comments

The iPhone 17e

https://daringfireball.net/2026/03/the_iphone_17e
1•chmaynard•51m ago•0 comments

The Requirements Layer Your AI System Is Missing

https://kiln.tech/blog/requirements_layer_your_ai_system_is_missing
1•samfierro•52m ago•1 comments