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

More emulation goodness, an Intel Itanium (IA-64) emulator that boots Windows

https://raymii.org/s/blog/Intel_Itanium_IA-64-Emulator_that_boots_Windows.html
1•jandeboevrie•1m ago•0 comments

Victora proposes new laws to target big tech and online trolls

https://www.abc.net.au/news/2026-07-19/victoria-social-media-big-tech-laws/106932668
1•aragilar•4m ago•0 comments

Anthropic runs large-scale code migrations with Claude Code

https://claude.com/blog/ai-code-migration
1•vinhnx•8m ago•0 comments

Ask HN: Is anyone else facing login issues on Facebook?

1•wasi0013•9m ago•1 comments

Protester calls out Amazon CTO for allowing Israel to use their AI towards Gaza

https://www.reddit.com/r/chaoticgood/s/4Pla2e38AV
2•trymas•9m ago•0 comments

Where I erred in my original post about Kimi and my views on open-weight AI

https://twitter.com/deanwball/status/2078619513575137330
2•tosh•10m ago•0 comments

When China's open-source AI is a trap

https://www.economist.com/international/2026/07/14/when-chinas-open-source-ai-is-a-trap
2•chvid•12m ago•1 comments

LG Monitors Caught Installing Adware and App with Access to All System Resources

https://www.privacyguides.org/news/2026/07/17/lg-monitors-caught-installing-adware-and-app-with-a...
2•taubek•12m ago•0 comments

DeepSeek routes your request to Fable5

https://twitter.com/synthwavedd/status/2078514339552628880
2•lijialjun•13m ago•0 comments

Refs: Mutable Arrays in jax

https://docs.jax.dev/en/latest/array_refs.html
1•cl3misch•14m ago•0 comments

We Merged with Machines a Long Time Ago – Futurology and Berggruen Institute [video]

https://www.youtube.com/watch?v=tDccIoz-SFI
1•lioeters•14m ago•0 comments

All the Cool Kids Are Birding

https://www.theatlantic.com/health/2026/07/birding-millennials-genz/687910/
1•ep_jhu•17m ago•0 comments

Show HN: OfflineTTS — Free browser-based TTS & STT that runs locally

https://offlinetts.com/
1•twainyoung•17m ago•0 comments

How to Start a Successful Freelance Business as a Software Developer (2017)

https://nickjanetakis.com/blog/how-to-start-a-successful-freelance-business-as-a-software-developer
1•downbad_•20m ago•1 comments

Sue (Dinosaur)

https://en.wikipedia.org/wiki/Sue_(dinosaur)
1•thunderbong•28m ago•0 comments

Mirror your GitHub repos to tangled.org automatically

https://synchub.to/
1•wertyk•32m ago•0 comments

The Mighty Big Array of Finn Jensen LA8YB

https://la0by.darc.de/LA8YB_EME_MBA.htm
1•kalehmann•33m ago•0 comments

Facebook Down

https://downdetector.co.uk/status/facebook/
6•RupertWiser•35m ago•1 comments

Perforce charges $500 for training training videos.. and it's AI narrated

https://training.perforce.com/learn/courses/535/p4-helix-core-user-basic
2•TZubiri•38m ago•1 comments

Ask HN: Are you building agents? What do they need access to?

1•asim•39m ago•1 comments

Ollama: All Aboard Open Models

https://ollama.com/blog/all-aboard-open-models
1•inferhaven•39m ago•0 comments

Wolfram LLM Benchmarking Project

https://www.wolfram.com/llm-benchmarking-project/
1•rzk•40m ago•0 comments

Breeze – A High-Performance Go Web Framework with a Built-In Developer Dashboard

https://github.com/nelthaarion/breeze
1•ethanwinters•42m ago•1 comments

The Model Race Hangover

https://adlrocha.substack.com/p/adlrocha-the-model-race-hangover
1•adlrocha•43m ago•0 comments

2026 EuroLLVM – Rust or CHERI?

https://www.youtube.com/watch?v=3YJn2VULv8E
1•pjmlp•43m ago•0 comments

OpenAI reduces Codex Model Context Size from 372k to 272k

https://github.com/openai/codex/pull/33972/files
1•AmazingTurtle•44m ago•0 comments

Some Observations on Kimi (OpenAI "Head of Strategic Futures")

https://xcancel.com/deanwball/status/2078133895766114412#m
1•vrganj•46m ago•1 comments

Show HN: Use the document. Not the personal data

https://www.dokmine.com/
1•not_wowinter13•47m ago•0 comments

FckSignups: Open-source tools. No accounts, emails, tracking–just tools

https://github.com/BraveOPotato/FckSignups
1•wertyk•48m ago•0 comments

Analogies in Nature (1856) [pdf]

https://mimno.infosci.cornell.edu/papers/maxwell-analogies.pdf
2•rzk•50m ago•0 comments