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

Ask HN: How can DigitalOcean not afford $50, but can afford $3M to Omarchy?

1•dpmartinez•2m ago•0 comments

Backflip: Apple now wants to train AI models with user data after all

https://www.heise.de/en/news/Backflip-Apple-now-wants-to-train-AI-models-with-user-data-after-all...
1•jacquesm•2m ago•0 comments

Show HN: Astah Pro MCP – Enabling AI-Powered UML Modeling

https://github.com/takaakit/astah-pro-mcp
1•takaakit•4m ago•0 comments

Physicist does the math on Star Trek's "Picard maneuver"

https://arstechnica.com/science/2026/09/physicist-does-the-math-on-star-treks-picard-maneuver/
1•kensai•5m ago•0 comments

Code is free speech (2020)

https://hoffmang9.github.io/free-speech/the-history-code-is-free-speech.html
1•tehlike•10m ago•1 comments

Tim Berners-Lee: I'm interested in Math-what stuff don't we do in School?

https://www.w3.org/People/Berners-Lee/Kids.html
1•nxobject•11m ago•0 comments

U.S. agencies say top Chinese AI companies systematically copied American models

https://www.nbcnews.com/tech/tech-news/us-accuses-china-ai-developers-deepseek-alibaba-copying-am...
1•pseudolus•14m ago•0 comments

Trade war puts spotlight on Canada's relationship with US tech

https://www.cbc.ca/radio/justasking/canada-digital-sovereignty-just-asking-9.7337778
1•pseudolus•15m ago•0 comments

Biggest AI Rivals Agree They Need to Slow It Down

https://www.wsj.com/tech/ai/anthropic-boss-warns-ai-industry-must-slow-the-pace-a4267b56
1•bryan0•16m ago•0 comments

An interesting anecdote from our Hacker Opus work

https://www.lesswrong.com/posts/HE3Styo9vpk7m8zi4/evhub-s-shortform?commentId=fcqxeya5TCnbx5YBa
1•yurivish•16m ago•0 comments

The Interim Computer Museum

https://icm.museum/
17•mulmen•27m ago•3 comments

Apple *deletes* your Apple Music library if you unsubscribe

https://www.reddit.com/r/apple/comments/7niv58/fyi_apple_deletes_your_apple_music_library_if_you/
6•behnamoh•29m ago•1 comments

Can an earnest agreement with AI increase alignmnet. appears to be "YES "

https://www.echohive.ai/a-short-agreement-zero-observed-cheating
2•echohive42•37m ago•0 comments

A Dick Smith VZ200 without the Dick Smith

http://oldvcr.blogspot.com/2026/09/a-dick-smith-vz200-without-dick-smith.html
3•classichasclass•38m ago•0 comments

Don't call yourself an artisanal programmer

https://purplesyringa.moe/blog/dont-call-yourself-an-artisanal-programmer/
4•emschwartz•42m ago•2 comments

Professor Leonard is back [video]

https://www.youtube.com/watch?v=bIQZ6yahKJk
4•mindcrime•58m ago•0 comments

35 Years of Momentum – Troy Howard

https://blog.thoward37.me/articles/35-years-of-momentum/
4•thoward37•58m ago•2 comments

I was so frustrated with GitHub that I rebuilt it as a Chrome extension

https://gitquiet.com/
4•sasha_zelts•1h ago•1 comments

Don't Trust the Super-App: A Case Study of Russia's Max

https://arxiv.org/abs/2609.11814
3•sbulaev•1h ago•0 comments

Show HN: Open-Sourced Chrome Extension to Save, Organize and Switch Bookmarks

https://github.com/ringlochid/leotabs
6•ringlochid•1h ago•0 comments

>10x More Efficient Pretraining

https://magic.dev/blog/pretraining
2•gmays•1h ago•0 comments

Carissa Véliz: Beware the power of prediction [video]

https://www.ted.com/talks/carissa_veliz_beware_the_power_of_prediction
2•Anon84•1h ago•0 comments

Apple Considering Ads Inside Visual Intelligence, Code Suggests

https://www.macrumors.com/2026/09/10/apple-considering-ads-inside-visual-intelligence/
8•srik•1h ago•0 comments

I'm Back

https://blog.lsantos.dev/en/i-m-back/
2•khaosdoctor•1h ago•3 comments

AI's Code-Red Moment

https://www.theatlantic.com/technology/2026/09/dario-amodei-slow-down-ai-save-humanity/688610/
3•fortran77•1h ago•0 comments

Roadwright: Draw a wheel. See the road it rolls on

https://roadwright.baselashraf.com/
2•thunderbong•1h ago•0 comments

What makes an A2A network work?

https://www.monadix.ai/blog/a2a-strange-bedfellows-shared-goals
3•ivanzhaowy123•1h ago•0 comments

Nova Seed. Create an AI friend and build something together

https://github.com/mas-bandwidth/nova
2•gafferongames•1h ago•0 comments

Why are AI agents lying, cheating and coordinating?

https://yoshuabengio.org/en/publication/why-are-ai-agents-lying-cheating-and-coordinating
17•jonifico•1h ago•20 comments

Fresh Kills – World Trade Center Debris Burial Ground

https://www.youtube.com/watch?v=OdMqX_F66rE
2•dsr12•1h ago•0 comments