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•12mo 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•12mo 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•12mo ago
this looks great, gonna look into writing something to use with fastapi

An SDK to accept payments from Agents

https://github.com/GTG-Labs/sangria
1•simantakDabhade•1m ago•0 comments

If AI cuts jobs, it would also threaten Social Security and Medicare

https://minnesotareformer.com/2026/04/17/if-ai-cuts-jobs-it-would-also-threaten-social-security-a...
1•littlexsparkee•2m ago•1 comments

Marco Rubio discovers he needs to take over Spirit Airlines

https://www.youtube.com/watch?v=whF9C5j7X8k
2•keepamovin•7m ago•0 comments

Show HN: Dreamwork – a job search site I made after Indeed fired my pregnant wif

https://www.dreamworkhq.com/
2•cojj25•7m ago•0 comments

Ridiculous Things I Utterly Love About Vampire Crawlers

https://kotaku.com/vampire-crawlers-survivors-garlic-poe-decks-chests-sponge-2000689719
3•PaulHoule•13m ago•0 comments

SpaceX IPO gives Musk unchecked power and forbids investor lawsuits

https://arstechnica.com/tech-policy/2026/05/report-spacex-ipo-gives-musk-unchecked-power-and-forb...
7•pzxc•25m ago•1 comments

Geography Is Four-Dimensional

https://sive.rs/4d
4•inatreecrown2•27m ago•1 comments

Nobody understands the point of hybrid cars

https://www.youtube.com/watch?v=KnUFH5GX_fI
3•incomplete•28m ago•0 comments

Cognitive Surrender

https://twitter.com/addyosmani/status/2052124873208799378
2•ayoisaiah•34m ago•0 comments

Kill SWITCH AGENDA: You'll own your car – until the government's AI

https://www.theblaze.com/align/kill-switch-agenda-youll-own-your-car-until-the-governments-ai-say...
3•bilsbie•44m ago•0 comments

The Vatican's Website in Latin

https://www.vatican.va/latin/latin_index.html
30•ks2048•46m ago•13 comments

Discord group guessed the URL to Anthropic's Mythos model before CISA used it

https://www.msn.com/en-us/technology/cybersecurity/discord-group-guessed-the-url-to-anthropic-s-m...
5•Imustaskforhelp•58m ago•5 comments

Alkaline-Activated Coal Gangue-Based Geopolymer Grouting Material

https://www.mdpi.com/1996-1944/19/9/1812
2•PaulHoule•1h ago•0 comments

Open weights are quietly closing up – and that's a problem

https://lobste.rs/s/jvvtif/open_weights_are_quietly_closing_up_s
5•maxloh•1h ago•2 comments

Six New High Severity CVEs for Next.js and 1 for React

https://github.com/vercel/next.js/releases/tag/v16.2.5
3•tkel•1h ago•2 comments

Show HN: Web client analyzing prediction market outcomes

https://o-u.ai
2•noplace1ikegone•1h ago•2 comments

Ask HN: GPTs, vs. Software Estimation

3•alaaalawi•1h ago•1 comments

How I made $350K from an open-source JavaScript library using dual licensing

https://www.paritydeals.com/blog/monetize-open-source-dual-licensing/
37•sachinneravath•1h ago•10 comments

PackRip – Browser-based Pokemon TCG pack opener (1999-2011)

https://www.packrip.co
2•liluzipert•1h ago•0 comments

The Global Effort to Figure Out Where Hantavirus Will Strike Next

https://www.wsj.com/health/hantavirus-contact-tracing-cruise-ship-3a9afe33
3•Anon84•1h ago•0 comments

What's the difference between a good thought experiment and a bad one?

https://philosophy.stackexchange.com/questions/138220/whats-the-difference-between-a-good-thought...
3•azeemba•1h ago•0 comments

Leaker: Why Apple Is Delaying the iPhone 18

https://www.macrumors.com/2026/05/06/this-is-why-apple-is-delaying-the-iphone-18/
2•mgh2•1h ago•0 comments

RSS Feeds Send Me More Traffic Than Google

https://shkspr.mobi/blog/2026/05/rss-feeds-send-me-more-traffic-than-google/
5•SpyCoder77•1h ago•1 comments

From a Harvard dropout to Oceanco visionary: 10 facts about Gabe Newell

https://www.boatinternational.com/features-reviews/who-is-gabe-newell-famous-for-valve-steam-oceanco
3•evo_9•1h ago•0 comments

What do you say when the AI asks "Let me know if you'd like me to proceed."

3•acquire9395•1h ago•3 comments

Was this Virginia office building built with missiles in mind?

https://www.washingtonpost.com/dc-md-va/2022/09/03/skyline-buildings-baileys-crossroads/
3•gnabgib•1h ago•2 comments

They don't look like me

https://niccolorastrelli.com/they-dont-look-like-me
21•cainxinth•1h ago•4 comments

OpenAI-Oracle data center construction proceeds despite Michigan town vote

https://fortune.com/2026/05/06/ai-data-center-michigan-saline-politics-farmland/
3•xyst•1h ago•0 comments

Hunk: Review-first terminal diff viewer for agentic coders

https://github.com/modem-dev/hunk
1•pella•1h ago•0 comments

Hourglass nanographenes unlock strong, robust multi-spin entanglement

https://phys.org/news/2026-05-hourglass-nanographenes-strong-robust-multi.html
1•WaitWaitWha•1h ago•0 comments