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•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

Microsoft's MAI-Code-1-Flash Scores 51% SWE-Bench Pro with Just 5B Active Params

https://microsoft.ai/models/mai-code-1-flash/
1•EvanZhouDev•40s ago•0 comments

First commercial space station to launch early 2027

https://www.vastspace.com/haven-1
1•bookmtn•1m ago•0 comments

The Golden Age of Asking Questions

https://www.dropbox.com/scl/fi/mexrg6033i8y3ceqvz77r/golden-age-of-asking-questions.pdf?dl=0&nosc...
1•marojejian•1m ago•0 comments

MAI-Thinking-1 [pdf]

https://microsoft.ai/wp-content/uploads/2026/06/main_20260602_2.pdf
1•topsycatt•3m ago•0 comments

Only 54% of miles traveled by Waymos in California have a passenger onboard

https://findingspress.org/article/161870-millions-of-trips-waymo-empty-miles-california-s-first-t...
2•afavour•5m ago•0 comments

What happens when AI starts selling to AI?

https://www.computerworld.com/video/4180043/what-happens-when-ai-starts-selling-to-ai.html
1•speckx•5m ago•0 comments

1979: Will word processors start a revolution? – BBC Archive

https://www.youtube.com/watch?v=b6URa-PTqfA
1•asar•6m ago•0 comments

The HN shadowbanning situation is insane

1•shadowbanned_hn•8m ago•1 comments

MAI-Thinking-1

https://microsoft.ai/news/introducing-mai-thinking-1/
1•LER0ever•8m ago•1 comments

Show HN: Claude wrote FROG and now I don't know what to do with it

https://github.com/kmcnally5/FROG
1•froglang•8m ago•0 comments

Need a little help from everyone here

1•shashubansal247•9m ago•0 comments

SpaceX valued at just $780B by Morningstar

https://finance.yahoo.com/markets/article/spacex-valued-at-just-780-billion-by-morningstar-less-t...
1•m-hodges•9m ago•0 comments

European Parliament ditches Google for French search firm over privacy concerns

https://www.politico.eu/article/european-parliament-ditches-google-for-french-search-engine/
3•speckx•10m ago•0 comments

OpenAI models GPT-5.5 and GPT-5.4–and Codex–now on Amazon Bedrock

https://www.aboutamazon.com/news/aws/bedrock-openai-models
1•jaredwiener•11m ago•0 comments

People met in hotel lobbies (2017)

https://jasonlefkowitz.net/2017/05/people-met-in-hotel-lobbies/
3•downbad_•12m ago•0 comments

Roll your own Claude in 100 lines

https://github.com/yujqiao/100cc
1•rapiz•12m ago•0 comments

Cutting a photon in two creates an infinite swarm of particles

https://phys.org/news/2026-06-photon-infinite-swarm-particles.html
1•HardwareLust•13m ago•1 comments

Plainform

https://plainform.dev
1•eradon•14m ago•0 comments

The Painful Truth About Long Covid

https://www.wired.com/story/the-painful-truth-about-long-covid/
2•littlexsparkee•15m ago•1 comments

What Efforts to Cancel Richard Stallman Ought to Teach Us About the Media

https://techrights.org/n/2026/06/02/What_Efforts_to_Cancel_Richard_Stallman_Ought_to_Teach_Us_Abo...
3•amcclure•15m ago•0 comments

Show HN: icantmarket – A verified help exchange for devs who can't market

https://icantmarket.com/
1•pranabsarkar•17m ago•1 comments

StarMapper, see where your GitHub stargazers live on a map (free, OSS

https://starmapper.bruniaux.com
1•FlorianBruniaux•18m ago•0 comments

Apple has released an update to XProtect for all macOS

https://eclecticlight.co/2026/06/02/apple-has-released-an-update-to-xprotect-for-all-macos-35/
1•speckx•19m ago•0 comments

Microsoft's MAI-Image-2.5 is #3 on Image Arena

https://microsoft.ai/models/mai-image-2-5/
2•EvanZhouDev•19m ago•0 comments

Show HN: Lateos/NPM-scan – open-source NPM supply chain scanner, v0.18.3

https://www.npmjs.com/package/@lateos/npm-scan
1•lateos-ai•21m ago•0 comments

Ditching the agent sandbox for AWS S3 Files

https://falconer.com/notes/how-falconer-powers-agents-with-aws-s3-files/
8•iamgioh•22m ago•0 comments

Microsoft Releases MAI-Thinking-1 Reasoning Model

https://www.theverge.com/tech/941664/microsoft-ai-model-reasoning-mai-thinking-1-build-2026
3•EvanZhouDev•24m ago•0 comments

Netflix uses Java – 2026 Edition [video]

https://www.youtube.com/watch?v=ucJTPda_zx0
2•dzonga•25m ago•1 comments

Show HN: Map of 5000 YC Startups

https://platoseed.com/the-map
1•mdb19•26m ago•0 comments

Sharing the result of a single Windows Runtime IAsyncOperation

https://devblogs.microsoft.com/oldnewthing/20260527-00/?p=112361
1•ibobev•26m ago•0 comments