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

Ask HN: Books in 2025

1•huncyrus•2m ago•0 comments

Relatively open vegetation landscapes promoted early Pleistocene human evolution

https://www.nature.com/articles/s43247-025-02983-x
1•bryanrasmussen•3m ago•1 comments

Data Structures in Practice

https://github.com/djiangtw/data-structures-in-practice-public/blob/main/manuscript/chapters/chap...
1•atomlib•3m ago•0 comments

A Veteran of the Pusspenesian Wars

https://medium.com/luminasticity/a-veteran-of-the-pusspenesian-wars-937f0f5b6dcb
1•bryanrasmussen•8m ago•0 comments

Applying "make invalid states unrepresentable"

https://kevinmahoney.co.uk/articles/applying-misu/
1•fanf2•9m ago•0 comments

DreamQL → Better SQL?

https://www.nozdrenkov.com/dreamql/
1•whatever3•12m ago•1 comments

Show HN: Snipplle – an open-source snippet manager

https://github.com/snipplle/snipplle
1•alf_UMi•12m ago•0 comments

How do you validate video pipeline changes for ML models?

1•iamdani•23m ago•0 comments

Fight bad bot with SEC Fetch and Client Hints inconsistencies

https://blog.sicuranext.com/sec-fetch-and-client-hints-a-powerful-tool-against-automation/
1•emegeve83•27m ago•0 comments

LimeWire re-emerges in online rush to share pulled "60 Minutes" segment

https://arstechnica.com/tech-policy/2025/12/yo-what-limewire-re-emerges-in-online-rush-to-share-p...
3•smurda•27m ago•0 comments

Mostlymatter is a fork of Mattermost without users limit

https://framagit.org/framasoft/framateam/mostlymatter
2•simjue•34m ago•0 comments

How the world of work will change over the next 20 years

https://www.wsj.com/lifestyle/workplace/future-of-work-978509bf
1•hhs•35m ago•0 comments

EIG Letter: DHS Should Revise Proposed H-1B Weighted Lottery

https://eig.org/eig-letter-dhs-should-revise-proposed-h-1b-weighted-lottery-to-prioritize-top-tal...
1•Romanorum•42m ago•0 comments

Nuclear developer proposes using Navy reactors for data centres

https://financialpost.com/commodities/energy/developer-proposes-navy-reactors-for-data-centres
2•pseudolus•44m ago•1 comments

Nvidia to poach top staff from AI chip startup Groq in licensing deal

https://www.ft.com/content/3584197e-a99a-4a06-9386-dc65cf603f45
1•bookofjoe•48m ago•1 comments

Speed Act passes in House despite changes that threaten clean power projects

https://insideclimatenews.org/news/18122025/speed-act-passes-in-house-threatens-clean-power-proje...
1•pseudolus•49m ago•0 comments

The dollar game

https://www.imf.org/en/publications/fandd/issues/2025/12/cafe-economics-the-dollar-game-bruce-edw...
3•hhs•51m ago•1 comments

Dirlock

https://gitlab.steamos.cloud/holo/dirlock
1•birdculture•52m ago•0 comments

'I've been allergic to AI for a long time': an interview with Peter Thiel

https://spectator.com/article/ive-been-allergic-to-ai-for-a-long-time-an-interview-with-peter-thiel/
1•ksec•55m ago•0 comments

Internet sleuths are un-redacting some of the Epstein files

https://www.cbc.ca/news/world/epstein-files-unredacting-9.7027723
1•01-_-•55m ago•2 comments

One formula that demystifies 3D graphics [video]

https://www.youtube.com/watch?v=qjWkNZ0SXfo
2•todsacerdoti•57m ago•0 comments

Monetizers vs. manufactures: How the AI market could splinter in 2026

https://www.cnbc.com/2025/12/25/how-the-ai-market-could-splinter-in-2026-.html
1•pseudolus•58m ago•0 comments

Show HN: Neural Network Flies – train flies to find food

https://claude.ai/public/artifacts/504981f5-e975-45c1-ab28-336426c5dc76
1•logicallee•59m ago•1 comments

Santa Claus Through the Years: Vintage Photos from the Past

https://rarehistoricalphotos.com/santa-claus-vintage-photos/
1•Brajeshwar•59m ago•0 comments

Ask HN: Would a nonprofit cloud storage service make sense?

2•theaitch•1h ago•5 comments

The Sweeney Filming Locations – Olympia and W14 [video]

https://www.youtube.com/watch?v=1tPFNrP-xGQ
1•zeristor•1h ago•1 comments

When the World Logs in and Everything Breaks

https://comuniq.xyz/post?t=649
1•01-_-•1h ago•0 comments

Let boredom be the mother of invention

https://www.ft.com/content/20720f08-ba41-44e1-8ec0-4653d65d9757
1•hhs•1h ago•0 comments

Show HN: Play Riichi Mahjong Online

https://online-riichi.com
2•cerpins•1h ago•1 comments

How Claude Code is helping me as an open source maintainer

https://stanislas.blog/2025/12/claude-code-opus-open-source-maintenance/
1•angristan•1h ago•0 comments