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

Substantial under-detection of human rabies cases in the United States

https://www.nature.com/articles/s44528-026-00031-4
1•bookofjoe•50s ago•0 comments

A Comprehensive Study of Native Code Bugs in Python Applications

https://arxiv.org/abs/2608.29851
1•runningmike•4m ago•1 comments

Infinite Slop: An endless AI-generated TV channel

https://infiniteslop.ai
1•rzk•12m ago•1 comments

Stonehenge – From Restoration to Conservation

https://www.english-heritage.org.uk/visit/places/stonehenge/history-and-stories/history/conservat...
1•red369•14m ago•0 comments

CAA Has Been Mandatory Since 2017 but 93.1% of Company Domains Skip It

https://ciphercue.com/blog/caa-records-mandatory-since-2017-93-percent-missing
2•adulion•14m ago•0 comments

Russian missile uses Nvidia AI chip to help target Ukraine

https://www.theregister.com/offbeat/2026/08/14/russian-missile-uses-nvidia-ai-chip-to-help-target...
1•lambdaone•15m ago•1 comments

Rustc_codegen_JVM: Compile Rust to Java bytecode and runnable JARs

https://github.com/IntegralPilot/rustc_codegen_jvm
1•metrofun•19m ago•0 comments

The economics come before the code: architecting a real-time pipeline

https://xroot.dev/blog/solana-pipeline-part-1
1•SulimanMukhtar•22m ago•0 comments

Google Maps renames "Lake Ontario" to "Lake America" faster than US Government

https://arstechnica.com/gadgets/2026/08/google-maps-renames-lake-ontario-to-lake-america-even-fas...
3•Levitating•23m ago•0 comments

Is it just me, or has Claude Opus gotten worse recently?

2•de6u99er•24m ago•2 comments

Two months too late (Linux kernel 1day)

https://djnn.sh/posts/2months2late/
1•justusw•26m ago•0 comments

Operation Binder: Secrets of Inter-Process Communication [video]

https://www.youtube.com/watch?v=Fb4UoqXPEtI
1•Bluestein•27m ago•0 comments

Stanisław Lem foretold the current LLM mania in 1964

https://nibblestew.blogspot.com/2026/08/stanisaw-lem-foretold-current-llm-mania.html
3•latexr•31m ago•0 comments

Fal.live – AI television directed by everyone

https://fal.live
1•abersager•35m ago•0 comments

Show HN: ChooseCompute – Clean NAS and hard drive database for AI

https://choosecompute.com/
1•HumphreyZ•36m ago•0 comments

Helius – Personal Finance in One SQLite File, with a Rust CLI and TUI

https://github.com/Helius-Finance/helius-finance-tracker
2•stvr393•39m ago•0 comments

Trading Journal for Trade Tracking and Performance Analysis|TradeBB

https://www.tradebb.ai/
2•tradebb•39m ago•0 comments

One trie, three jobs, zero benchmarks won

https://akesson.io/wordtree/
1•lukastyrychtr•41m ago•0 comments

Reducing Java memory usage by 43% with joint JVM and container tuning

https://www.cloudpilot.ai/blog/java-workload-optimization/
1•jwcesign•42m ago•0 comments

Palmer Luckey's Rant on Paul Graham

https://twitter.com/PalmerLuckey/status/2094125479813070877
5•jakubadamw•43m ago•4 comments

Quasar 438B: Intelligence, Performance and Price Analysis

https://artificialanalysis.ai/models/quasar-438b
1•theanonymousone•43m ago•0 comments

Deskhop: Fast Desktop Switching Device

https://github.com/hrvach/deskhop
2•birdculture•44m ago•0 comments

Why the Future of Agentic Commerce May Belong to Websites

https://nekuda.substack.com/p/google-doubles-down-on-webmcp-at
2•amai•48m ago•0 comments

Show HN: PromptLab – Local-first Chrome sidepanel for LLM prompt testing

https://github.com/timgioh/PromptLab-Local-First-LLM-Prompt-Testing-in-Your-Browser
1•Konstantinsio•48m ago•0 comments

Anthropic sued over alleged theft of 'thousands' of songs

https://www.theguardian.com/business/2026/aug/31/aanthropic-sued-alleged-theft-songs-ai-train-claude
3•lastdong•49m ago•0 comments

Engagement-driven curation can trap culture consumers in 'overfamiliarity,'

https://www.rotman.utoronto.ca/news-events-and-ideas/news-and-stories/2026/july-2026/engagement-d...
2•downbad_•49m ago•0 comments

Show HN: Strunk – revise Google Docs from Claude without breaking comments

https://strunk.io
1•tadaslabudis•50m ago•0 comments

Leaving Gmail? Get your own domain first

https://eualternative.eu/guides/first-step-leaving-gmail/
2•sparkling•51m ago•0 comments

US irks G20 ministers by bringing back Russia, barring journalists

https://www.reuters.com/world/china/g20-host-us-pushes-growth-agenda-allay-debt-market-concerns-2...
3•vrganj•52m ago•0 comments

Trump Mocks Data-Center Opponents as Wanting to Stay 'Backwards and Poor'

https://www.nytimes.com/2026/08/31/us/politics/trump-data-centers.html
6•dkobia•58m ago•2 comments