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

Teaching Coding When AI Can Write the Code

https://www.oreilly.com/radar/teaching-coding-when-ai-can-write-the-code/
1•pella•37s ago•0 comments

Ask HN: How do you go from writing code to deploying with agents?

1•sakuraiben•1m ago•0 comments

Lisp doesn't have just one syntax (or zero syntax); it has infinite syntax

https://www.reddit.com/r/ProgrammingLanguages/comments/1ejaowf/making_my_own_lisp_made_me_realize...
1•behnamoh•2m ago•0 comments

Some ways to navigate through 'Git blame' over time in GNU Emacs

https://utcc.utoronto.ca/~cks/space/blog/programming/EmacsGitBlameOverTime
1•birdculture•14m ago•0 comments

Neuromancer: The Graphic Novel, Volume 1

https://neuromancer.fandom.com/wiki/Neuromancer:_The_Graphic_Novel,_Volume_1
1•debo_•14m ago•0 comments

What Was the Internet? – Boston Review

https://www.bostonreview.net/articles/what-was-the-internet/
2•commonreader•16m ago•0 comments

HTTP Integrity Digests: Past, Present, and Future

https://lucaspardue.com/2026/08/08/http-integrity/
1•simmervigor•16m ago•0 comments

Os8088: A powerful Mac-like OS for the IBM XT, 286, 386

https://os8088.com/
1•jggonz•18m ago•1 comments

Things I learned about how people use AI after 1800 people

1•Ozzie-D•20m ago•0 comments

AFK – Command center for teams running coding agents

https://www.mooglest.com/
2•lcavadas•29m ago•1 comments

Show HN: Defcon and HN, the only two audiences I might find

1•ycombiredd•34m ago•0 comments

Flesh Eating Bacteria Kills 5 in Louisiana

https://www.nytimes.com/2026/08/08/us/louisiana-vibrio-vulnificus-outbreak-flesh-eating-bacteria....
2•jihadjihad•36m ago•0 comments

Title 7 Disparate Impact Liability Makes Almost Everything Presumptively Illegal

https://www.nyujll.com/volume-14/title-vii-disparate-impact-liability-makes-almost-everything-pre...
2•like_any_other•36m ago•0 comments

JDK 28 EA Build 10 Now Available with JEP 401: Value Objects (Preview)

https://jdk.java.net/28/
1•birdculture•36m ago•0 comments

Open Paper – Attention Is All You Need

https://openpaper.ai/paper/share/d9b26659-0368-4d29-a9ba-680c687f1f1f
1•vednig•37m ago•0 comments

Show HN: Faaah – Filesystem as an AI Handler

https://github.com/sebastiancarlos/faaah
1•httbs•42m ago•0 comments

Depression has tripled in the last 15 years. Arthur Brooks about the cause

https://bigthink.com/series/full-interview/meaning-crisis-brooks/
5•lschueller•47m ago•3 comments

I built a client-side HEIC converter using WebAssembly

https://heictools.io
2•suolex•47m ago•0 comments

GPT-4 finished training four years ago today

https://twitter.com/gdb/status/2086092396023120286
3•nekofneko•50m ago•0 comments

Dithered QR Codes

https://www.andrewt.net/dithered-qr-codes/wtf/
2•jmusall•50m ago•1 comments

Big Tech Changed Health Care. The System Must Keep Up

https://www.newsweek.com/big-tech-changed-health-care-the-system-must-keep-up-opinion-12291938
2•brandonb•54m ago•0 comments

Show HN: VD – TUI Password Manager and OTP Authenticator for Unix

https://github.com/ahmedhosssam/vd
2•ahmedhosssam•56m ago•0 comments

Ask HN: If Social network is created today, what do you want to see?

5•kocial•57m ago•14 comments

The Fool (Tarot Card)

https://en.wikipedia.org/wiki/The_Fool_(tarot_card)
1•jackhalford•1h ago•0 comments

How AI is breaking the British State

3•andsoitis•1h ago•1 comments

You can build an AI agent's memory layer with only Go's standard library

https://towardsdev.com/the-memory-efficient-ai-agent-building-a-context-engine-in-go-d4b7557c44d8...
2•cheikhdev•1h ago•0 comments

Google DeepMind enters a new era as co-founder Demis Hassabis shifts AI role

https://www.theguardian.com/technology/2026/aug/08/google-demis-hassabis-deepmind-shifts-role
3•flancian•1h ago•0 comments

Ask HN: Why is Open POWER Foundation a wasteland?

2•climate_denier_•1h ago•0 comments

My server is a phone now

https://seg6.space/posts/phone-server/
14•seg6•1h ago•5 comments

Show HN: Try Benzi – A coding harness/agent beating Claude Code itself on Sonnet

https://benzi.fly.dev/about
1•showhz•1h ago•0 comments