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

Google employee charged with using inside information to make $1M on Polymarket

https://abcnews.com/US/google-employee-charged-inside-information-make-1-million/story?id=133350018
1•ortusdux•1m ago•0 comments

Biohub releases a world model of protein biology

https://biohub.org/news/world-model-of-protein-biology/
1•automatic-berry•3m ago•0 comments

Apple Developing iPhone Anti-Snatching Feature, Locking Stolen Phones Instantly

https://www.macrumors.com/2026/05/27/apple-anti-theft-iphone-feature/
1•mgh2•5m ago•0 comments

AIs don't like religion – particularly Jehovah's Witnesses, study claims

https://www.theregister.com/ai-ml/2026/05/27/ais-dont-like-religion-particularly-jehovahs-witness...
1•Bender•5m ago•0 comments

The email that fixed ReTab

https://lycheeisle.com/blog/adding-voiceover-to-retab/
2•hyouuu•6m ago•0 comments

Agent Accountability Gap: Why Network Policies, API Gateways, & RBAC Isnt Enough

https://www.tigera.io/blog/the-ai-agent-accountability-gap-why-network-policies-api-gateways-and-...
1•baroiall•9m ago•0 comments

Coding a Classical Robot Controller in the Age of Coding Agents

https://discourse.openrobotics.org/t/post-qualification-contribution-coding-a-classical-robot-con...
2•ttmacer•12m ago•0 comments

Apple working on iPhone anti-snatching feature that locks device automatically

https://9to5mac.com/2026/05/26/apple-working-on-iphone-anti-snatching-feature-that-locks-the-devi...
3•dabinat•13m ago•0 comments

Simpson's Gender-Equality Paradox

https://www.pnas.org/doi/10.1073/pnas.2422247122
4•doener•14m ago•0 comments

Show HN: I help founders kill doom scrolling and hook people's attention fast

https://stopclip.com
3•Odeh13•16m ago•0 comments

After Automation

https://every.to/p/after-automation
3•pfannl•18m ago•0 comments

Sony Launches Bravia 9 II and Bravia 7 II with 'True RGB'

https://www.flatpanelshd.com/news.php?subaction=showfull&id=1779897602
4•ksec•24m ago•0 comments

DNTerminal – Autonomous Domain Investment Agent

https://dnterminal.com
3•untitled-now•24m ago•0 comments

"Moving House" (and Offices, Apartments, etc.)

https://notoneoffbritishisms.com/2026/05/27/moving-house-and-offices-apartments-etc/
2•jjgreen•25m ago•0 comments

Top NJ and NY prosecutors announce investigation of World Cup ticket prices

https://www.politico.com/news/2026/05/27/nj-ny-world-cup-ticket-price-investigation-00937921
2•JumpCrisscross•25m ago•0 comments

Apex: A Fast, Specialized Model for React Native

https://www.callstack.com/blog/introducing-apex-a-fast-specialized-model-for-react-native
4•__natty__•33m ago•0 comments

Show HN: Fast CPU summarize, eli5, fact-check or translate any text

https://github.com/kouhxp/fftext
2•mrkn1•36m ago•0 comments

ClickStack Cloud: Serverless observability powered by ClickHouse

https://clickhouse.com/blog/clickstack-cloud-private-preview
2•samaysharma•37m ago•0 comments

CostBench: an open benchmark for data warehouse cost-performance

https://clickhouse.com/blog/costbench-data-warehouse-cost-performance
2•samaysharma•37m ago•0 comments

Sam Altman and Dario Amodei are walking back their AI jobs apocalypse prophecies

https://fortune.com/2026/05/26/sam-altman-dario-amodei-walking-back-ai-jobs-apocalypse-prophecies...
3•samaysharma•38m ago•0 comments

A Simple Makefile Tutorial (2008)

https://cs.colby.edu/maxwell/courses/tutorials/maketutor/
2•birdculture•38m ago•0 comments

Backyard Star Wars (2010)

https://spectrum.ieee.org/backyard-star-wars
4•Jtsummers•40m ago•1 comments

Extortion crews are visiting law firms pretending to be tech support, FBI warns

https://www.theregister.com/security/2026/05/27/fbi-crooks-enter-legal-offices-and-steal-data-via...
4•Bender•41m ago•0 comments

OpenAI readies cyber, misinformation defenses ahead of elections

https://www.axios.com/2026/05/27/openai-cyber-misinformation-defenses-elections
4•cdrnsf•43m ago•0 comments

Uncle Sam Awards $2B-Plus to Quantum Companies, but Wants a Cut

https://www.nextplatform.com/compute/2026/05/27/uncle-sam-awards-2-billion-plus-to-quantum-compan...
2•jonbaer•43m ago•0 comments

Ubuntu 26.10 Planning to Ship with the Linux 7.2 Kernel

https://www.phoronix.com/news/Ubuntu-26.10-With-Linux-7.2
1•Bender•44m ago•0 comments

Welcome Market research platform for founders

https://nicheiq.dev/
1•lucy_hnatchuk•44m ago•1 comments

Nvidia CUDA 13.3 Rolls Out CUDA Python 1.0, CUDA Tile for C++

https://www.phoronix.com/news/NVIDIA-CUDA-13.3-Released
1•Bender•44m ago•0 comments

Getting Claude to extract data from a 1997 football manager game

https://bennuttall.com/blog/2026/04/fsm97/
2•benn_88•44m ago•0 comments

America Is Missing Out on the Ultimate Mosquito Weapon

https://www.theatlantic.com/technology/2026/05/mosquito-lasers-china/687330/
1•Jtsummers•44m ago•0 comments