Bitcoin price lite (3 sats L402 or $0.005 USDC x402)
get_btc_price_liteBTC price in whole US dollars, refreshed at most every 5 minutes (3 sats) — use this when you only need a rough spot price; no EUR or 24h change (btc_price has both). Price: 3 sats (Lightning) or $0.005 USDC on Base (x402). Sample (illustrative, not live): {"status":"success","endpoint":"btc_price_lite","data":{"price_usd":97500,"stale":false,"timestamp":"2026-11-15T20:00:00Z"},"metadata":{"cost_sats":3}} Pay: Call it, get HTTP 402 (or MCP payment_required) with a Lightning invoice and macaroon, pay the invoice, then retry with Authorization: L402 <macaroon>:<preimage>. Or pay in USDC on Base via x402: sign the 402's x402 requirement (PAYMENT-REQUIRED header, or accepts in the JSON body) and retry with the PAYMENT-SIGNATURE (x402 v2) or X-PAYMENT (v1) header; only a 200 is settled.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_btc_price_lite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x402_payment | No | Optional x402 payment (USDC on Base): base64 PaymentPayload (v2, or v1 X-PAYMENT format) signed for accepts[0] of this tool's payment_required result. Alternative to params._meta['x402/payment']. Omit both to receive the payment requirements. | |
| l402_credential | No | Optional L402 credential '<macaroon>:<preimage_hex>' (or 'L402 <macaroon>:<preimage>') from a paid invoice or an active subscription. Omit it to receive the Lightning invoice and macaroon. |