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•12mo 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•12mo ago
Time to kill the API key.
pestatije•12mo ago
standard X.402 (ISO/IEC 10021-2) does already exist
xinbenlv•12mo 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

Behavioral Sink

https://en.wikipedia.org/wiki/Behavioral_sink
1•smusamashah•51s ago•0 comments

Chinese Court Rules Firms Can't Lay Off Workers on AI Grounds

https://www.bloomberg.com/news/articles/2026-05-02/chinese-court-rules-firms-can-t-lay-off-worker...
1•watchdogtimer•1m ago•0 comments

Approaching Zero Bugs?

https://daniel.haxx.se/blog/2026/04/30/approaching-zero-bugs/
1•01-_-•1m ago•0 comments

California to begin ticketing driverless cars that violate traffic laws

https://www.bbc.com/news/articles/clypjx3rg2go
2•geox•1m ago•0 comments

You Have No Idea How Much You Still Use BlackBerry

https://www.wsj.com/tech/blackberry-qnx-software-cars-bf2a2280
1•Brajeshwar•4m ago•0 comments

Ask HN: Where do you promote your writing in 2026?

1•rickcarlino•5m ago•0 comments

Is China decoupling on food? [yes]

https://www.ft.com/content/637215a5-4814-49c4-ae24-c6a96adb56cf
1•alecco•10m ago•1 comments

Was physical education as bad as people remember it? A Qualitative Thematic Rev

https://journals.uol.edu.pk/the-sky/article/view/2071/1020
1•adrianhon•10m ago•0 comments

Transport for London Interchange Signs Standard [pdf]

https://content.tfl.gov.uk/tfl-interchange-signs-standard.pdf
1•susam•11m ago•0 comments

Databasus: Free, open source tool to backup PostgreSQL

https://databasus.com
1•sea-gold•12m ago•1 comments

Agentic coding is burning me out

https://0xsid.com/blog/agentic-coding-fatigue
2•croemer•15m ago•1 comments

Is the Scientific Enterprise Too Risk-Averse?

https://support.opentodebate.org/event/is-the-scientific-enterprise-too-risk-averse/e784659
1•paulpauper•15m ago•0 comments

Combat LLM spam by building a web of trust

https://blog.tangled.org/vouching/
1•birdculture•15m ago•0 comments

Cortisone Changed Art and Became the Blueprint for Modern Medicine

https://tinamarshdalton.substack.com/p/how-cortisone-changed-art-and-became
1•paulpauper•16m ago•0 comments

Microsoft: "we expect headcount will decrease year over year"

https://timesofindia.indiatimes.com/technology/tech-news/microsoft-cfo-amy-hood-makes-it-clear-ou...
3•indigodaddy•17m ago•0 comments

AI may be coming to Windows 11's Clock app as Microsoft turns it into focus tool

https://www.windowslatest.com/2026/04/29/new-clock-app-focus-sessions/
1•Topfi•17m ago•0 comments

convention.sh – Stop AI agents from writing sloppy TypeScript

https://convention.sh
1•rhuellen•18m ago•0 comments

Show HN: IP Lookup Extension

1•TemporaryMail•19m ago•0 comments

Bash with No Letters (2024)

https://jrb.nz/posts/bash-tricks/
1•thunderbong•20m ago•0 comments

Do_not_track

https://donottrack.sh/
3•RubyGuy•20m ago•0 comments

The Consensus Draft Board Debate Is Sports Culture War at Its Worst

https://freddiedeboer.substack.com/p/the-consensus-draft-board-debate
1•paulpauper•21m ago•0 comments

Swiss plan to cap population gains ground ahead of referendum

https://www.ft.com/content/07498115-c96a-458c-a259-ce3413b210e2
2•JumpCrisscross•21m ago•0 comments

Squaring the Circle on Employee Equity

https://blog.baldassari.me/employee-equity/
1•fra•23m ago•0 comments

MicroGPT Running at 50k Tkps on Cyclone V FPGA (Pure Hardware)

https://github.com/Luthiraa/TALOS-V2
2•friedeggsunday•24m ago•0 comments

Show HN: ChameleonDB – A database toolkit with auditable schema versioning

https://www.chameleondb.dev/
1•ChameleonDB•27m ago•0 comments

Videolan Dav2d

https://code.videolan.org/videolan/dav2d
1•dabinat•28m ago•0 comments

Flue is a TypeScript framework for building the next generation of agents

https://flueframework.com/
1•momentmaker•28m ago•0 comments

Spirit Airlines Ticket Holders Should Not Go to the Airport

https://www.washingtonpost.com/politics/2026/05/02/spirit-airlines-flights-shutdown/
4•bookofjoe•32m ago•3 comments

MIT AI expert warns automating Gen Z entry-level jobs could backfire

https://fortune.com/2026/05/01/automating-gen-z-entry-level-jobs-could-backfire-mit-ai-researcher...
2•1vuio0pswjnm7•33m ago•1 comments

Welcome to Hell Developer

https://noahclements.com/Wahoo-Bolt-Hidden-Debug-Mode/
2•denysvitali•35m ago•0 comments