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

Claude Pro subscribers get $100 promotional credit for Fable 5

https://old.reddit.com/r/ClaudeAI/comments/1uzjhhn/fable_so_100_credit_for_pro_user/
1•JumpCrisscross•2m ago•0 comments

Now on the American Road: Bulletproof Cars

https://www.nytimes.com/2026/07/20/style/armored-cars-bulletproof-american-drivers.html
1•cdrnsf•7m ago•0 comments

Show HN: Relay – a self-hosted LLM gateway with eval-gated routing

https://github.com/llmrelay/relay
1•olopadef•7m ago•0 comments

The Fedora project grapples with change

https://lwn.net/SubscriberLink/1081557/cde56e450fe4bf10/
1•chmaynard•7m ago•0 comments

Jellyfin founder Andrew leaves team

https://forum.jellyfin.org/t-project-leadership-changes
2•swat535•9m ago•0 comments

Is Open Weight AI Decelerationist?

https://fragileequilibrium.substack.com/p/is-open-weight-ai-decelerationist
3•brandoncarl•10m ago•0 comments

BI 303470 a GLP-1/GIP/NPY2 triple agonist in Phase 2 What the heck is an NPY2?

https://xcancel.com/i/article/2079304056548495593
1•hnburnsy•11m ago•0 comments

Internet Freedom is Here: FreeSocks v2

https://unredacted.org/blog/2026/07/internet-freedom-is-here-freesocks-v2/
1•lunarthegrey•14m ago•0 comments

The Crowley-Atlantic Cadence and Celebrity Success

https://drive.google.com/file/d/1A2rk86a3AX62WejHwDb1I-mk7k467N8d/view
1•nvader•15m ago•0 comments

Vibe-coded a simplistic multiplayer game

https://eldermyr-production.up.railway.app/
1•josiahturnq•16m ago•1 comments

AI consciousness is a red herring in the safety debate

https://www.theguardian.com/technology/2026/jan/06/ai-consciousness-is-a-red-herring-in-the-safet...
4•teleforce•17m ago•0 comments

Cursor, Codex, Gemini CLI, Antigravity hit by sandbox escapes

https://www.bleepingcomputer.com/news/security/cursor-codex-gemini-cli-antigravity-hit-by-sandbox...
2•sbulaev•18m ago•0 comments

The biggest schools training America's doctors are in the Caribbean

https://www.economist.com/the-americas/2026/07/16/the-biggest-schools-training-americas-doctors-a...
1•bookofjoe•18m ago•1 comments

Americans hate AI so much that politicians are losing their jobs over it

https://fortune.com/2026/07/14/voters-ai-backlash-politicians-lose-seats/
3•arto•19m ago•0 comments

What I got wrong about FIRE

https://www.businessinsider.com/fire-movement-followers-modern-work-hustle-culture-solution-2026-7
1•petethomas•19m ago•0 comments

Carmakers Don't Think They Should Have to Fix Blindingly Bright Headlights

https://www.thedrive.com/news/carmakers-dont-think-they-should-have-to-fix-blindingly-bright-head...
1•randycupertino•23m ago•0 comments

Opaque, Interoperable Passkey Records (and a Go API)

https://words.filippo.io/passkey-record/
3•gnabgib•24m ago•0 comments

Gavin Newsom's return-to-office rules are stricter than many states

https://calmatters.org/politics/2026/07/newsom-return-to-office-states/
1•cdrnsf•24m ago•0 comments

Colibrì proof-of-concept gains frontier-level 1.5-TB AI model

https://www.tomshardware.com/tech-industry/artificial-intelligence/colibri-proof-of-concept-gains...
1•smoyer•26m ago•0 comments

Show HN: A Job Board for European Defence Companies

https://www.defencejobseu.com/
1•Collusus96•26m ago•0 comments

Throw, Result, or Neither?

https://www.architecture-weekly.com/p/throw-result-or-neither
3•birdculture•27m ago•0 comments

I asked Claude one question and accidentally built an intervention

https://claudeholic.me/
1•jgalego•27m ago•0 comments

Show HN: Internet Speed Atlas, a browser-measured ranking of 119 countries

https://speedof.me/internet-speed/
2•lastmile•29m ago•1 comments

Natural raises $30M to reinvent payments for AI agents – and take on Stripe

https://techcrunch.com/2026/07/20/natural-raises-30m-to-reinvent-payments-for-ai-agents-and-take-...
1•simonpure•30m ago•0 comments

Extreme Value Theory: Looking for the unusual (2021)

https://www.lancaster.ac.uk/stor-i-student-sites/owen-li/2021/02/14/extreme-value-theory-looking-...
1•gone35•35m ago•0 comments

Claude Code now has a screen reader mode

https://twitter.com/i/status/2079315549163778366
1•Hussain04•37m ago•0 comments

Is there a global loneliness epidemic? Research paints a complex picture

https://theconversation.com/is-there-really-a-global-loneliness-epidemic-research-reveals-a-more-...
4•billybuckwheat•39m ago•0 comments

InvisiCaps: The Fil-C Capability Model

https://fil-c.org/invisicaps
2•birdculture•40m ago•1 comments

Anecdotes Everywhere, Evidence Almost Nowhere (The State of AI in Mid-2026)

https://secondthoughts.ai/p/impact-of-ai
1•Kotlopou•45m ago•0 comments

The Trust Ceiling: The invisible limit on what AI is allowed to do

https://williamtp.substack.com/p/the-ai-trust-ceiling
1•williamtp•47m ago•1 comments