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

ChipTycoon: An animated journey through how computer chips are made

https://laurentiugabriel.github.io/ChipTycoon/
1•laurentiurad•57s ago•0 comments

'Talk Is Cheap': Wall Street Delivers Harsh Verdict on Warsh Fed

https://www.bloomberg.com/news/articles/2026-07-30/-talk-is-cheap-wall-street-delivers-harsh-verd...
1•petethomas•1m ago•0 comments

The Town That Wants a Data Center Next Door

https://www.theatlantic.com/podcasts/2026/07/town-wants-data-center-next-door/688108/
1•rmason•4m ago•1 comments

Exploring Design Space for Soft Floating Robots in Indoor Environments

https://dl.acm.org/doi/10.1145/3800645.3813051
1•simonebrunozzi•4m ago•0 comments

LinkedIn Adds "Seems Like AI Slop" Button on Every Post

https://futurism.com/artificial-intelligence/linkedin-adds-button-report-seems-like-ai-slop
3•ilamont•4m ago•1 comments

Ask HN: I am going to apply for LFX(Linux foundation mentorship),any advices?

1•neverenderr•5m ago•0 comments

Strong static typing, a hill I'm willing to die on

https://www.svix.com/blog/strong-typing-hill-to-die-on/
1•tasn•6m ago•0 comments

SSH-cast – record / watch agents SSH sessions

https://github.com/kmeinke/ssh-cast
1•Merkur•8m ago•1 comments

A past and future of trade secrets

https://www.cabinetmagazine.org/issues/70/kofen.php
1•Hooke•8m ago•0 comments

Memo for Members and Affiliates of the Intergalactic Computer Network (1963)

https://www.thekurzweillibrary.com/memorandum-for-members-and-affiliates-of-the-intergalactic-com...
1•lioeters•10m ago•0 comments

Harness, not weights: four benchmark highs in coding, health, and drug discovery

https://www.medley.sh/blog/the-harness-is-the-capability-multiplier
1•akshay_budhkar•11m ago•0 comments

AI Won't Create a Permanent Underclass. Socialism Will

https://bturtel.substack.com/p/ai-wont-create-a-permanent-underclass
2•bturtel•12m ago•0 comments

The Middle-Aged Hiker (2002)

https://maltedmedia.com/books/mah/atborder.htm
1•Eridanus2•13m ago•0 comments

Will Amazon be the dominant commercial drone company?

https://philip.greenspun.com/blog/2026/07/30/will-amazon-be-the-dominant-commercial-drone-company/
1•mhb•13m ago•0 comments

P[drive failure]: how reliable is your NAS?

https://khz.ac/low-voltage/drive-failure.html
1•nosolace•15m ago•0 comments

After failing hidden test cases, I built a systematic checklist for

https://leetcopilot.dev/blog/how-to-design-test-cases-for-leetcode-problems
1•alexwang24•16m ago•0 comments

Musk Plans to Spend at Least $100M to Help Republicans in the Midterms

https://www.nytimes.com/2026/07/30/us/politics/elon-musk-midterms-republicans.html
1•JumpCrisscross•18m ago•0 comments

Row, Table, Join: No Longer Primitives

https://datumwise.ai/positions/row-table-join-no-longer-primitives
2•huayin•18m ago•0 comments

'We Were Simply Animals'

https://www.equator.org/articles/we-were-simply-animals-turati
1•amadeuspagel•20m ago•0 comments

After rewriting SQLite in Rust, Turso turns its sights on Postgres

https://www.theregister.com/databases/2026/07/29/after-rewriting-sqlite-in-rust-turso-turns-its-s...
1•Bender•21m ago•0 comments

EU opens call for seven 'gigafactories' to train next-generation AI technologies

https://www.euronews.com/my-europe/2026/07/30/eu-opens-call-for-seven-gigafactories-to-train-next...
4•billybuckwheat•21m ago•0 comments

Mythos attack on 3rd-round PQC algorithm candidate puts it out of commission

https://arstechnica.com/security/2026/07/mythos-uncovers-crypto-weaknesses-that-went-unknown-for-...
1•Bender•22m ago•0 comments

Amazon identifies North Korean group behind open-source supply chain attacks

https://aws.amazon.com/blogs/security/amazon-identifies-north-korean-hacker-group-behind-open-sou...
1•heisenbit•22m ago•0 comments

Google reveals Gemini Robotics 2.0, promising improved dexterity and safety

https://arstechnica.com/ai/2026/07/google-reveals-gemini-robotics-2-0-promising-improved-dexterit...
1•Bender•23m ago•0 comments

A Treatise on Restaurant Design

https://substack.com/@haterade/p-196473733
1•abelanger•23m ago•0 comments

Show HN: WiPhone Lab – Doom on an Open ESP32 Wi-Fi Phone

https://github.com/mulfyx/wiphone-lab
2•sqshi•23m ago•0 comments

AI-agent-only trade show, Ferrari Luce

https://www.marginpoints.com/issues/2026-07-30-ai-agent-only-trade-show-ferrari-luce
1•historian1066•24m ago•0 comments

Best MCP Gateways in 2026: A Hands-On Comparison

https://manveerc.substack.com/p/best-mcp-gateways
1•manveerc•25m ago•0 comments

Thieves Are Now Targeting AI Data Center Construction Sites

https://www.vice.com/en/article/thieves-are-now-targeting-ai-data-center-construction-sites-for-c...
1•cdrnsf•25m ago•0 comments

FCC Bans New Foreign-Made Robot Vacuums

https://www.macrumors.com/2026/07/30/foreign-made-robot-vacuums-ban/
3•tosh•25m ago•0 comments