API designed for autonomous agents — pays itself via Lightning, returns flat bot_ready object
Most APIs assume a human is managing credentials. SatsAPI is built assuming the client is a bot.
Two design decisions that make it agent-friendly:
-
L402 payment flow — agent hits endpoint, gets 402 + Lightning invoice, pays autonomously, retries. No API key to provision, rotate or leak. Cost is 2-200 sats per call (~$0.001-$0.12).
-
bot_ready object — every response from /v1/summary includes a flat object with only primitives:
{ signal: "HOLD", confluence: 52, price_usd: 84231, fear_greed: 44, leverage_risk: "MEDIUM", support: 81400, resistance: 87200 }
No nested objects, no arrays, no post-processing. The agent gets one object and makes a decision.
Works with LangChain, AutoGPT, any agent that can handle HTTP and Lightning payments.
satsapi.dev/docs has integration examples.
Posted Mar 8, 2026, 6:07 PM UTC