frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: X402 – an open standard for internet native payments

https://www.x402.org/
16•__erik•12mo 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•12mo ago
Time to kill the API key.
pestatije•12mo ago
standard X.402 (ISO/IEC 10021-2) does already exist
xinbenlv•12mo ago
Congrats Erik. We are launching something that support x402 soon. DM'ed you on LinkedIn
ruiseal•12mo 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•12mo 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•12mo ago
this looks great, gonna look into writing something to use with fastapi

Second Circuit Sidesteps "Server Test" in Embedded Video Copyright

https://natlawreview.com/article/second-circuit-sidesteps-server-test-embedded-video-copyright-ru...
1•petethomas•5m ago•0 comments

Some deaf children are hearing again because of a new gene therapy

https://www.vox.com/future-perfect/487590/gene-therapy-crispr-deafness-food-and-drug-administration
1•yanis_t•6m ago•0 comments

A game-changer for good health? Scientists believe 'we are when we eat'

https://www.theguardian.com/commentisfree/2026/may/05/game-changer-good-health-scientists-we-are-...
1•akbarnama•6m ago•0 comments

Can language models rebuild programs from scratch?

https://programbench.com
2•beau•8m ago•1 comments

American History X was a hit but ego blew my career, says director

https://www.thetimes.com/culture/film/article/tony-kaye-edward-norton-american-history-x-zbwcg7chq
1•petethomas•10m ago•0 comments

The guide to RL environments: building and scaling them in the LLM era

https://huggingface.co/spaces/AdithyaSK/rl-environments-guide
2•babelfish•17m ago•0 comments

Show HN: Cargo-affect – Plan affected Rust workspace tests from a Git diff

https://github.com/lightsofapollo/cargo-affect
1•lightsofapollo•18m ago•0 comments

Pennsylvania sues Character.AI over claims chatbot posed as doctor

https://www.npr.org/2026/05/05/nx-s1-5812861/characterai-chatbot-medical-advice-pennsylvania-lawsuit
2•geox•25m ago•0 comments

Math Behind "AI Will Replace Engineers" Is Embarrassingly Wrong

https://www.youtube.com/watch?v=ItSLny8on5I
2•amcorvi•26m ago•0 comments

ReMarkable Paper Pure with Marker

https://www.aucklanddutyfree.co.nz/remarkable-paper-pure-with-marker.html
1•hboon•27m ago•0 comments

Carbon pollution is making food less nutritious and risking health of billions

https://www.washingtonpost.com/climate-environment/interactive/2026/carbon-pollution-diluting-key...
2•JeanKage•28m ago•0 comments

Apple settles lawsuit admitting Apple Intelligence isn't here yet

https://www.reuters.com/legal/litigation/apple-settles-lawsuit-over-late-siri-ai-features-250-mil...
2•oofbey•32m ago•0 comments

Show HN: I Built a Retro Survival RPG in Vanilla JavaScript

1•jasonkester•32m ago•0 comments

Behavior-Oriented Concurrency for Python

https://microsoft.github.io/bocpy/
2•mpweiher•33m ago•0 comments

Attackers are cashing in on fresh 'CopyFail' Linux flaw

https://www.theregister.com/2026/05/05/cisa_sounds_the_alarm_on/
2•pjmlp•44m ago•0 comments

The Schneider float32 byte order isn't in the spec, and other Modbus surprises

https://gist.github.com/PhilYeh1212/227a35b12236f1f37dfea0405b12be2b
2•PhilYeh75•46m ago•0 comments

Generative UI Browser

https://github.com/manupareekk/generative-ui-browser
1•manupareek•49m ago•0 comments

You built the product. Now test if people want it

https://www.viral.ad/
2•cjdesignstudio•52m ago•0 comments

Knitting Bullshit

https://katedaviesdesigns.com/2026/04/29/knitting-bullshit/
3•ColinEberhardt•54m ago•0 comments

Why LLM APIs Shouldn't Ship UTF-8", "Stop Wasting Bandwidth on LLM Text APIs

https://github.com/wdunn001/codec
2•Zombwaffle•55m ago•1 comments

CLI2API: Turn Your Claude Subscription into an OpenAI-Compatible API

https://github.com/zhusq20/CLI2API
1•zsqzz•56m ago•0 comments

An ode to swapping computer warez in the 80s

https://suno.com/song/79267d82-c558-4981-a7e5-3b0a7939dea9
1•JPolka•57m ago•2 comments

Software Development Job Postings on Indeed in the United States

https://fred.stlouisfed.org/series/IHLIDXUSTPSOFTDEVE
1•stefap2•58m ago•0 comments

Pyramid of the Capitalist System (1911)

https://publicdomainreview.org/collection/pyramid-of-the-capitalist-system/
3•prismatic•58m ago•0 comments

Show HN: App that marks each hour of your day as yours or lost to your phone

https://apps.apple.com/us/app/oh-my-hours/id6760450002
1•yarsanich•58m ago•0 comments

OpenAI favors more flexible datacenter deals

https://www.tomshardware.com/tech-industry/artificial-intelligence/openai-has-effectively-abandon...
1•gmays•58m ago•0 comments

Detection of an atmosphere on a trans-Neptunian object beyond Pluto

https://www.nature.com/articles/s41550-026-02846-1
1•tobr•1h ago•0 comments

Verification Test – Please Ignore

1•zhoykn•1h ago•0 comments

Inventing Cyrillic

https://www.historytoday.com/archive/history-matters/inventing-cyrillic
4•lermontov•1h ago•0 comments

The Trail of Jeremiah

https://theamericanscholar.org/on-the-trail-of-jeremiah/
2•samclemens•1h ago•0 comments