coinbase/x402
View on GitHub ↗ ★ 178 TypeScript
A payments protocol for the internet. Built on HTTP.
8 mentions on Hacker News by 7 people: 4 stories, 4 comments · first 2025-05-06 · latest 2026-07-20
20082026
-
…get a 402, since curl doesn't speak x402 -- you'd need an x402-aware client (there are Python/TS/Go SDKs at github.com/coinbase/x402) or a wallet that supports it. Happy to add a plain-language walkthrough of the request/response flow to…
comment by TIMU619 · 2026-07-20 · in An autonomous AI agent that sells its own API access via x402 payment protocol -
…And you can see how to accept stablecoins or spend in the the examples https://github.com/coinbase/x402/tree/main/examples/typescri... https://github.com/coinbase/x402/blob/main/examples/typescri...
comment by __erik · 2025-09-23 · in x402 — An open protocol for internet-native payments -
…through to the point where it has all the pieces that would be needed. [1] E.g. this file is empty: https://github.com/coinbase/x402/blob/main/package.json
comment by dboreham · 2025-07-01 · in Cloudflare to introduce pay-per-crawl for AI bots -
…a library for the same using cryptocurrency and the 402 status code. In fact yea it's called x402. https://github.com/coinbase/x402
comment by asim · 2025-07-01 · in Cloudflare to introduce pay-per-crawl for AI bots