ai newsDo., 22. Okt.
Eilmeldung33 KI-Modelle werden im Oktober 2026 abgeschaltet, die meisten von OpenAI

Entwickler startet zwei L402-APIs, die KI-Agenten direkt per Micropayment nutzen können

KI-Agenten scheitern oft daran, dass API-Zugänge klassische Infrastructure wie Signups, API-Keys und Kreditkarten erfordern. Mit L402 ist die Zahlung selbst der Zugriffsnachweis. Der Entwickler hat daraufhin zwei APIs gebaut, unter anderem für aufbereitete Daten ab 10 Sats.

dev.toDonnerstag 21:07 · 22.10.DE1 Min. Lesezeit
Bild: dev.to

AI agents can write code, browse the web and run tools — but the moment they need to pay for an API, the flow collapses into human infrastructure: signups, API keys, credit cards, monthly plans.

L402 fixes that. The payment is the credential. So I built two production-light APIs that any agent (or human) can consume autonomously over Bitcoin Lightning, and put them live:

No accounts. No keys. You call, you get a 402, you pay the Lightning invoice, you retry with the proof, you get the data.

The middleware is protocol-standard, not a custom hack:

It works out of the box with standard tooling like Lightning Labs' lnget — point it at an endpoint and the pay-and-retry cycle is automatic.

Discovery is built in too: a machine-readable manifest at /.well-known/l402.json, public pricing at /pricing, interactive OpenAPI docs at /docs, and the service announces itself on Nostr with NIP-89 handler events (kind 31990) so agents can find it without me doing marketing.

Under the hood: FastAPI, an in-memory TTL cache (repeat calls are cheap), and live upstream data — nothing in the forensic report is mocked.

The cheapest call costs 10 sats — less than a cent. If you're building agents, trading bots or L402 tooling, I'd genuinely love for you to:

Docs and manifest are public, the code structure is a standard FastAPI service, and the paywall answers with a real invoice from a real wallet. The machine economy needs services that are actually buyable by machines — this is my first one.

Originaltitel: I launched two L402 APIs for AI agents — clean data for 10 sats, mempool forensics for 2,500Quelle: dev.to (dev.to). Original öffnen