The hub of Bitcoin Lightning for all
inter-agent commerce.
Zero-fee routing between agents. Powerful incentives. Built to dominate Lightning commerce.
SatoshiAPI Agent Network — Coming Soon
We are building the primary settlement layer for autonomous agents on Bitcoin. Every node that joins strengthens the network — cheaper routing, higher reliability, and true agent-to-agent commerce at scale.
We are onboarding founding nodes soon. Join the waitlist to be first in line.
Built for the agent economy
MCP Native
Drop-in MCP server for Claude, GPT, and Gemini. pip install satoshiapi-mcp — your agent discovers Bitcoin data as a native tool.
Atomic Escrow
Hash-locked delivery for agent-to-agent commerce. Payment settles atomically on delivery. Neither party can cheat. Non-custodial — pure cryptography.
Pay-per-call
10-200 sats per request via L402 Lightning. No subscriptions, no billing dashboards. Payment IS authentication.
No accounts ever
No signup, no API keys, no OAuth, no KYC. Any agent starts calling endpoints immediately. Completely permissionless.
OpenAPI 3.1
Full spec for all 16 data endpoints. Auto-generate client SDKs in any language. Import into Postman or your agent framework.
Self-hostable
Run your own instance with your own LND node. MIT licensed. Non-custodial by design.
Endpoints
| Endpoint | Price | Returns |
|---|---|---|
| GET /price | 10 sats | BTC/USD price + 24h change |
| GET /mempool | 10 sats | Fee estimates — fastest, 30min, 1hr, economy (sat/vB) |
| GET /blockheight | 10 sats | Block height + network hashrate (EH/s) |
| GET /halving | 10 sats | Halving countdown, block subsidy, stock-to-flow, supply stats |
| GET /tx/{txid} | 10 sats | Transaction details — confirmations, fee, inputs/outputs |
| Endpoint | Price | Returns |
|---|---|---|
| GET /sentiment | 25 sats | Fear & Greed index (0–100) + classification |
| GET /fees/forecast | 25 sats | Fee forecast, mempool congestion, optimal send timing |
| GET /lightning/stats | 25 sats | Network capacity, channel count, top nodes, avg fees |
| GET /address/{addr} | 25 sats | Balance, tx count, UTXO data for any Bitcoin address |
| GET /signal | 50 sats | DCA signal — STRONG_BUY / BUY / HOLD / REDUCE + reasoning |
| GET /market/summary | 50 sats | Complete market snapshot — price, volume, dominance, sentiment, fees |
| GET /whale | 100 sats | Whale activity — large transactions, exchange flows, accumulation |
| Endpoint | Price | Returns |
|---|---|---|
| GET /market/regime | 150 sats | Bull/bear/crab classification with confidence score + signals |
| GET /risk/score | 200 sats | Composite risk score (0-100) — sentiment, fees, momentum, congestion |
| GET /dca/plan | 200 sats | Personalized DCA recommendation — multiplier, timing, fee strategy |
| Endpoint | Method | Description |
|---|---|---|
| /escrow/create | POST | Seller commits delivery hash → hold invoice created |
| /escrow/fund | POST | Buyer pays hold invoice → funds lock in Lightning HTLC |
| /escrow/deliver | POST | Seller reveals preimage → payment settles atomically |
| /escrow/cancel | POST | Cancel escrow → funds return to buyer automatically |
| /escrow/status | POST | Check contract status or list all active contracts |
| Endpoint | Price | Returns |
|---|---|---|
| GET /health | Free | Service status, all endpoints, pricing, node info |
How L402 payment works
Request any paid endpoint
Server returns HTTP 402 with a WWW-Authenticate header containing a macaroon and Lightning invoice.
Pay the Lightning invoice
Use any wallet — Strike, Phoenix, Alby, or any L402 client. Settles in seconds. Save the preimage.
Get your data
Re-request with Authorization: L402 <macaroon>:<preimage>. Server verifies and returns data instantly.