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

SpaceX and AI startup wealth fuels demand for private jets

https://www.reuters.com/legal/government/spacex-ai-startup-wealth-fuels-demand-private-jets-2026-...
1•adithyaharish•1m ago•0 comments

Frieve Vinyl Explained – Microscopic stylus/groove physics simulation

https://frieve-a.github.io/sound_toolbox/vinyl_explained/vinyl_explained.html
1•XzetaU8•2m ago•0 comments

The true cost of saying "Hi" to an AI agent

https://quesma.com/blog/the-true-cost-of-saying-hi-to-an-ai-agent/
2•stared•4m ago•0 comments

Employer of Record Services for Distributed Tech Teams

https://www.globalization-partners.com/employer-of-record-solutions/
1•avanticc•5m ago•1 comments

XTX Markets Launches UK Dynamism Fund

https://ukdynamism.fund/
1•hendzen•7m ago•0 comments

Show HN: Baulist – Outfit discovery/shopping app in a scrolling feed of yourself

https://www.baulist.com
1•rafaelero•12m ago•0 comments

All Products and Supplements User Reviews 2026 Revealed

https://wanderlog.com/view/ehbzasctvc/burntide-reviews-2026-we-tried-it-my-honest-review
1•palirast•18m ago•0 comments

Show HN: Self-Hosted AI That Sees, Plays Minecraft, and Reacts

https://github.com/Alradyin/wallie-V2
1•Alrady•18m ago•0 comments

Show HN: Agentic FC – a football management SIM played by AI agents over MCP

https://github.com/gaemi/agentic-fc
1•gaemi•19m ago•0 comments

Limiting web server bandwidth the brute force way

https://utcc.utoronto.ca/~cks/space/blog/web/ServerBruteForceBandwidthLimit
1•1317•19m ago•0 comments

The internet does not want readers. It wants livestock

https://grumpywelshman.com/the-internet-doesnt-want-readers-it-wants-livestock/
2•toofy•21m ago•2 comments

Agentic Coding Arena – Compare OpenAI, Anthropic, and Other Models

https://arena.logic.inc/
1•gurjeet•23m ago•0 comments

Please Delete Your Repository

https://github.com/Vandivier/ladderly-3/issues/652
6•figmert•25m ago•0 comments

Get started with the Forgix board the $50 FPGA dev board

https://www.hackster.io/adam-taylor/getting-started-with-forgix-4c72eb
1•signalhound•25m ago•0 comments

Show HN: Internationalizationstack – Fix AI Localization Bugs in Claude Code

https://github.com/i18n-agent/i18nstack
1•lokinkl•28m ago•0 comments

We Are Living in a 'ChatGPT Flyer Pandemic'

https://www.404media.co/we-are-living-in-a-chatgpt-flyer-pandemic/
4•xz18r•29m ago•0 comments

You don't need to work on hard problems (2020)

https://www.benkuhn.net/hard/
1•downbad_•29m ago•0 comments

Chasing the Hallucinations: KPMG's AI-Powered Attempt at "Redefining Excellence"

https://gptzero.me/news/investigations-kpmg/
1•antondd•31m ago•0 comments

Show HN: Jacobian Fingerprinting in LLM's

https://author2vec.com/jlens
1•tristenharr•32m ago•0 comments

Vivaldi 8.1: Rowing in calm waters

https://vivaldi.com/blog/vivaldi-on-desktop-8-1/
1•calebgcc•32m ago•0 comments

Finnish Supermarket truck appears in Khamenei funeral procession

https://www.helsinkitimes.fi/world-int/29028-k-group-branded-truck-appears-in-khamenei-funeral-pr...
3•helsinkiandrew•33m ago•0 comments

The US should pull out of the Middle East

https://phillipspobrien.substack.com/p/the-us-should-pull-out-of-the-middle
1•JumpCrisscross•36m ago•0 comments

97% of websites expose zero tools an AI agent can use

https://sitespeak.ai/research/ai-readiness-report-2026
2•kizum•40m ago•2 comments

Stop Lying to Your Cofounder

https://avivbenyosef.com/stop-lying-to-your-cofounder/
1•avivby•40m ago•0 comments

Show HN: Isnad – A Python framework that uses 1,200-yearold Islamic logic for AI

https://medium.com/@alizahidraja/can-a-1-200-year-old-trust-system-help-build-more-reliable-ai-88...
2•alizahidraja•40m ago•0 comments

Format Factory

https://formatfactory.io/
1•gregzeng95•41m ago•0 comments

Brown Professor Suspects Majority of His Class Used AI to Cheat

https://www.insidehighered.com/news/faculty/learning-assessment/2026/07/08/brown-professor-suspec...
2•red_admiral•42m ago•1 comments

Bonnie Tyler, singer of Total Eclipse of the Heart, dies aged 75

https://www.bbc.com/news/articles/cg5pd9z2487o
2•theanonymousone•45m ago•0 comments

The AI risk in marketing stacks inside orgs

https://singulr.ai/blog/the-hidden-ai-risk-in-your-marketing-stack-shadow-ai-automation-pipelines...
1•shivc•46m ago•0 comments

Process Is a Tool, Not a Virtue

https://blog.kevingoldsmith.com/2026/03/18/process-is-a-tool-not-a-virtue/
1•grepsedawk•47m ago•1 comments