frontpage.
newsnewestaskshowjobs

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

Powered by muscle cells, a paper-thin robot swims through watery maze

https://news.mit.edu/2026/powered-by-muscle-cells-paper-thin-robot-swims-through-watery-maze-0929
1•gmays•2m ago•0 comments

SpiritFone Session

http://spirititc.org/2026/11/06/spiritfone-in-action/
1•pkshadygrove•4m ago•0 comments

17776 (2017)

https://www.sbnation.com/a/17776-football
1•akkartik•4m ago•0 comments

Connect ChatGPT or Claude to Wordpress.com, Free in November

https://wordpress.com/blog/2026/11/03/free-chatgpt-claude/
1•rdmuser•6m ago•0 comments

California Voters Reject Billionaire Wealth Tax, DDHQ Projects

https://www.bloomberg.com/news/articles/2026-11-07/california-voters-reject-billionaire-tax-ddhq-...
2•madihaa•6m ago•0 comments

Naval Ravikant: The Beginning of Infinity [video]

https://www.youtube.com/watch?v=yAj5EnyuakI
1•jakeogh•7m ago•0 comments

Just turned my car into a Tesla Roadster

https://roadster-chi.vercel.app/
1•aaron_dutta•10m ago•0 comments

Meta Employees 'Interacted' with Pirated Copies of Adult Films, Filing Shows

https://torrentfreak.com/meta-employees-interacted-with-pirated-copies-of-adult-films-filing-shows/
2•gslin•11m ago•0 comments

A barbarian tribe's mythic origin story is true, ancient DNA reveals

https://www.science.org/content/article/barbarian-tribe-s-mythic-origin-story-true-ancient-dna-re...
1•benbreen•19m ago•0 comments

Code Matters: Reflections on Rust in the LLM Age – Bryan Cantrill – Rust NYC [video]

https://www.youtube.com/watch?v=5D7QPOIZ7gY
2•vismit2000•19m ago•0 comments

Show HN: Help me pick a logo animation for my in-browser AI creature game

https://id-le.com/review/intro-logo-animation
1•nico•20m ago•0 comments

We Engineer Safer Agents

https://www.perplexity.ai/hub/blog/how-we-engineer-safer-agents
1•gmays•21m ago•0 comments

Quantum Computers Are Poised to Crack Encryption. AI Could Beat Them to It

https://www.wsj.com/tech/ai/ai-math-online-encryption-quantum-computers-57926bb2
1•fortran77•34m ago•0 comments

Exploring Janet and the HTTPF web framework

https://nick.gs/blog/2026-11/exploring-janet-and-the-httpf-web-framework/
1•veqq•35m ago•0 comments

F2FS: A New File System for Flash Storage (2015) [pdf]

https://www.usenix.org/system/files/conference/fast15/fast15-paper-lee.pdf
1•vismit2000•38m ago•0 comments

Show HN: We tested our prompt injection filter in public

https://hodor.gatebolt.com/blog/secret-leak-test
1•junayedmizan5•41m ago•0 comments

MCP-server-AutoCAD-Lisp-helper

https://github.com/radwanalmsora/mcp-server-autocad-lisp-helper
1•radwanAlmsora•43m ago•0 comments

The AI Business Model Just Collapsed

https://www.honest-broker.com/p/the-ai-business-model-just-collapsed
3•paulpauper•43m ago•1 comments

Why do people see colours differently? Sometimes, it's the display's fault

https://physicsworld.com/a/why-do-people-see-colours-differently-sometimes-its-the-displays-fault/
1•EA-3167•44m ago•1 comments

GLP-1 Prescriptions for People with No Medical Need Are Climbing

https://www.nytimes.com/2026/09/22/well/ozempic-glp1-medical-reason.html
2•paulpauper•47m ago•1 comments

The Pangram Backlash Unfolding on College Campuses

https://www.theatlantic.com/technology/2026/09/college-professors-ai-detectors-pangram/688727/
2•paulpauper•49m ago•0 comments

US believes Nvidia's Huang had romantic relationship with alleged Chinese spy

https://www.ft.com/content/a55a2a22-4479-4f93-a445-6147a5c6d790
5•robbiet480•50m ago•0 comments

Adding proper security to your vibecoded Linux GUI apps

https://akitaonrails.com/en/2026/11/06/adding-proper-security-to-your-vibecoded-linux-gui-apps/
1•ayanb9440•51m ago•0 comments

HomeMinerProxy: home dashboard and Stratum proxy for Bitcoin lottery mining

https://github.com/Modanez/HomeMinerProxy
1•modanez•59m ago•0 comments

What do workers want in a leader? New study challenges stereotypes

https://newsroom.haas.berkeley.edu/research/what-do-workers-really-want-in-a-leader-new-study-cha...
3•rohanm93•59m ago•0 comments

SpaceX's $2T Bet Has a Physics Problem [video]

https://www.youtube.com/watch?v=S1umCJfbJ0w
1•mkesper•1h ago•0 comments

Show HN: S3mail – Serverless personal email on AWS with JMAP

https://github.com/zero11-0203/s3mail
1•zero11-0203•1h ago•0 comments

Killer App, the thrilling story about the rise of Telegram

https://www.faber.co.uk/journal/faber-set-to-publish-killer-app-the-thrilling-story-about-the-ris...
1•elies•1h ago•0 comments

Geometry, Kinematics, Statics, and DYNAMICS(2018) [pdf]

http://ruina.tam.cornell.edu/Courses/ME4730%20Fall%202018/books/Dynamics_Book_Bernstein__Goel__An...
1•pillars•1h ago•0 comments

Show HN: Promptcheckup – pass/fail check for prompt changes, with 95% intervals

https://github.com/gael55x/promptcheckup
1•gael55x•1h ago•0 comments