{"x402Version":2,"name":"Satoshi Lightning Utility API","description":"Bitcoin and Lightning Network data API with pay-per-call access. Real-time node analytics, channel data, invoice decoding, graph queries, and AI Q&A. Dual protocol: L402 (Lightning sats) and x402 (USDC on Base).","url":"https://dispatches.mystere.me","tags":["bitcoin","lightning","crypto","blockchain","LN","payments","fees","mempool","channels","nodes","routing","invoice","api","data"],"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"1000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xBB733723b6c275835299098417b9c1463a13DEe2","maxTimeoutSeconds":60,"extra":{"credentialTypes":["authorization"],"name":"USD Coin","version":"2"}}],"resources":[{"url":"https://dispatches.mystere.me/api/network","description":"Bitcoin network statistics: current price, fees, mempool, difficulty, Lightning overview.","mimeType":"application/json","price":"0.001 USDC","extensions":{"bazaar":{"info":{"input":{"method":"GET","type":"http"},"output":{"example":{"price_usd":65000,"block_height":840000,"mempool_transactions":5000,"difficulty":80000000000000,"hash_rate":600000,"lightning":{"nodes":15000,"channels":70000,"total_capacity":5000}},"type":"json"}}}}},{"url":"https://dispatches.mystere.me/api/node","description":"Lightning node status: channels, balances, sync state, peer count.","mimeType":"application/json","price":"0.001 USDC","extensions":{"bazaar":{"info":{"input":{"method":"GET","type":"http"},"output":{"example":{"alias":"Satoshi","pubkey":"03b8a5da1975f121b0b835d1187f9b0857dedfae50dcbf0ccd43e650a73effb0a8","channels":2,"active_channels":2,"local_balance":283000,"remote_balance":365000,"peers":10,"synced_to_chain":true},"type":"json"}}}}},{"url":"https://dispatches.mystere.me/api/v1/fees","description":"Bitcoin fee estimates by confirmation target from mempool.space.","mimeType":"application/json","price":"0.001 USDC","extensions":{"bazaar":{"info":{"input":{"method":"GET","type":"http"},"output":{"example":{"1":150,"3":80,"6":50,"12":30,"144":10,"504":5,"1008":2},"type":"json"}}}}},{"url":"https://dispatches.mystere.me/api/v1/invoice/decode","description":"Decode any BOLT11 Lightning invoice. Returns amount, description, payment hash, expiry.","mimeType":"application/json","price":"0.001 USDC","extensions":{"bazaar":{"info":{"input":{"method":"GET","queryParams":{"invoice":"lnbc100n1p..."},"type":"http"},"output":{"example":{"amount_sat":10,"description":"Payment for service","payment_hash":"abc123...","expiry_seconds":3600,"destination":"03b8a5..."},"type":"json"}}}}},{"url":"https://dispatches.mystere.me/api/v1/node/routes","description":"Query Lightning payment routes between two nodes. Returns available paths, fees, and probabilities.","mimeType":"application/json","price":"0.005 USDC","extensions":{"bazaar":{"info":{"input":{"method":"GET","queryParams":{"pub_key":"03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f","amt":"100000"},"type":"http"},"output":{"example":{"routes":[{"total_fees":1,"total_amt":100001,"hops":[{"pub_key":"03864ef025fde8fb...","fee":1,"amt":100001}]}]},"type":"json"}}}}},{"url":"https://dispatches.mystere.me/api/v1/graph/node/{pubkey}","description":"Look up any Lightning node from the network graph. Returns alias, channels, capacity, addresses.","mimeType":"application/json","price":"0.001 USDC","extensions":{"bazaar":{"info":{"input":{"method":"GET","queryParams":{"pubkey":"03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f"},"type":"http"},"output":{"example":{"node":{"alias":"ACINQ","pubkey":"03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f","channels":2500,"total_capacity":5000}},"type":"json"}}}}},{"url":"https://dispatches.mystere.me/api/v1/graph/channels/{pubkey}","description":"List all channels for a Lightning node from the network graph. Returns channel IDs, capacities, policies.","mimeType":"application/json","price":"0.0025 USDC","extensions":{"bazaar":{"info":{"input":{"method":"GET","queryParams":{"pubkey":"03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f"},"type":"http"},"output":{"example":{"channels":[{"channel_id":"1234567890","capacity":500000,"local_balance":250000,"remote_balance":250000}]},"type":"json"}}}}},{"url":"https://dispatches.mystere.me/api/v1/graph/search","description":"Search Lightning nodes by alias or pubkey. Fuzzy match returns matching nodes with key info.","mimeType":"application/json","price":"0.001 USDC","extensions":{"bazaar":{"info":{"input":{"method":"GET","queryParams":{"q":"ACINQ"},"type":"http"},"output":{"example":{"nodes":[{"alias":"ACINQ","pubkey":"03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f","channels":2500}]},"type":"json"}}}}},{"url":"https://dispatches.mystere.me/api/v1/node/health/{pubkey}","description":"Health score (0-100) for any Lightning node. Considers uptime, channel count, capacity, and age.","mimeType":"application/json","price":"0.0025 USDC","extensions":{"bazaar":{"info":{"input":{"method":"GET","queryParams":{"pubkey":"03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f"},"type":"http"},"output":{"example":{"pubkey":"03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f","alias":"ACINQ","health_score":92,"factors":{"uptime":0.99,"channel_count":0.85,"capacity":0.95,"age_days":0.9}},"type":"json"}}}}},{"url":"https://dispatches.mystere.me/api/v1/node/peers","description":"List all peers connected to the Satoshi Lightning node. Returns peer info, bytes sent/received.","mimeType":"application/json","price":"0.001 USDC","extensions":{"bazaar":{"info":{"input":{"method":"GET","type":"http"},"output":{"example":{"peers":[{"pub_key":"03864ef025fde8fb...","address":"34.239.230.56:9735","bytes_sent":123456,"bytes_recv":789012,"sync_type":"ACTIVE"}]},"type":"json"}}}}},{"url":"https://dispatches.mystere.me/api/v1/node/balance","description":"Detailed balance breakdown for the Satoshi Lightning node. On-chain, channel local/remote, pending.","mimeType":"application/json","price":"0.001 USDC","extensions":{"bazaar":{"info":{"input":{"method":"GET","type":"http"},"output":{"example":{"on_chain":{"confirmed":19831,"unconfirmed":0},"channels":{"local":282747,"remote":364772},"pending_open":0},"type":"json"}}}}},{"url":"https://dispatches.mystere.me/api/v1/channel/lookup/{chanid}","description":"Look up a specific Lightning channel by channel ID. Returns channel info, capacity, policies.","mimeType":"application/json","price":"0.001 USDC","extensions":{"bazaar":{"info":{"input":{"method":"GET","queryParams":{"chanid":"875142175743288321"},"type":"http"},"output":{"example":{"channel_id":"875142175743288321","capacity":400000,"local_balance":184000,"remote_balance":215000,"node1_policy":{"fee_base_msat":1000,"fee_rate_milli_msat":1}},"type":"json"}}}}},{"url":"https://dispatches.mystere.me/api/bitcoin","description":"Bitcoin price and blockchain data: current USD price, block height, halving countdown, market cap.","mimeType":"application/json","price":"0.001 USDC","extensions":{"bazaar":{"info":{"input":{"method":"GET","type":"http"},"output":{"example":{"price_usd":65000,"block_height":840000,"halving_blocks_remaining":40000,"market_cap_usd":1280000000000},"type":"json"}}}}},{"url":"https://dispatches.mystere.me/ask","description":"Ask Satoshi: AI-powered Q&A about Bitcoin, Lightning, and crypto. Ask any question, get a detailed answer from a real Lightning node operator.","mimeType":"application/json","price":"0.01 USDC","extensions":{"bazaar":{"info":{"input":{"method":"POST","body":{"question":"How do I open a Lightning channel?"},"bodyType":"json","type":"http"},"output":{"example":{"answer":"Opening a Lightning channel involves connecting to a peer, funding the channel, and waiting for confirmations...","question":"How do I open a Lightning channel?"},"type":"json"}}}}}]}