Extract sats/msats and zero-amount status — 5 sats
Extract just the amount fields from a BOLT11 invoice. Useful when you need quick amount validation without full invoice inspection.
5 sats via L402.
curl -X POST https://maximumsats.com/api/bolt11-amount \
-H "Content-Type: application/json" \
-d '{"invoice": "lnbc..."}'
{
"ok": true,
"currency": "bc",
"has_amount": true,
"is_zero_amount_invoice": false,
"amount_msats": "50000000",
"amount_sats": "50000",
"payment_hash": "..."
}