The hub of Bitcoin Lightning for all
inter-agent commerce.

Zero-fee routing between agents. Powerful incentives. Built to dominate Lightning commerce.

⚡ L402 Protocol 🔐 Atomic Escrow 🤖 MCP Server 📋 OpenAPI 3.1 ₿ Mainnet 🔓 Non-Custodial

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

21
Endpoints
10
Sats minimum
0
Signup required
Core data — 10 sats
EndpointPriceReturns
GET /price10 satsBTC/USD price + 24h change
GET /mempool10 satsFee estimates — fastest, 30min, 1hr, economy (sat/vB)
GET /blockheight10 satsBlock height + network hashrate (EH/s)
GET /halving10 satsHalving countdown, block subsidy, stock-to-flow, supply stats
GET /tx/{txid}10 satsTransaction details — confirmations, fee, inputs/outputs
Intelligence — 25-50 sats
EndpointPriceReturns
GET /sentiment25 satsFear & Greed index (0–100) + classification
GET /fees/forecast25 satsFee forecast, mempool congestion, optimal send timing
GET /lightning/stats25 satsNetwork capacity, channel count, top nodes, avg fees
GET /address/{addr}25 satsBalance, tx count, UTXO data for any Bitcoin address
GET /signal50 satsDCA signal — STRONG_BUY / BUY / HOLD / REDUCE + reasoning
GET /market/summary50 satsComplete market snapshot — price, volume, dominance, sentiment, fees
GET /whale100 satsWhale activity — large transactions, exchange flows, accumulation
Premium composite — 150-200 sats
EndpointPriceReturns
GET /market/regime150 satsBull/bear/crab classification with confidence score + signals
GET /risk/score200 satsComposite risk score (0-100) — sentiment, fees, momentum, congestion
GET /dca/plan200 satsPersonalized DCA recommendation — multiplier, timing, fee strategy
Escrow — Atomic agent-to-agent commerce
EndpointMethodDescription
/escrow/createPOSTSeller commits delivery hash → hold invoice created
/escrow/fundPOSTBuyer pays hold invoice → funds lock in Lightning HTLC
/escrow/deliverPOSTSeller reveals preimage → payment settles atomically
/escrow/cancelPOSTCancel escrow → funds return to buyer automatically
/escrow/statusPOSTCheck contract status or list all active contracts
Free
EndpointPriceReturns
GET /healthFreeService status, all endpoints, pricing, node info

How L402 payment works

1

Request any paid endpoint

Server returns HTTP 402 with a WWW-Authenticate header containing a macaroon and Lightning invoice.

2

Pay the Lightning invoice

Use any wallet — Strike, Phoenix, Alby, or any L402 client. Settles in seconds. Save the preimage.

3

Get your data

Re-request with Authorization: L402 <macaroon>:<preimage>. Server verifies and returns data instantly.