BOLT11 Tag Inventory

Count and classify invoice tags in one paid call — 5 sats

About

Build a normalized inventory of BOLT11 tags from an invoice. Returns per-tag counts, known/unknown tag coverage, and payload-size totals for quick parser/debugging workflows.

Try It

5 sats via L402.

API Usage

curl -X POST https://maximumsats.com/api/bolt11-tag-inventory \
  -H "Content-Type: application/json" \
  -d '{"invoice": "lnbc..."}'

Sample Response

{
  "ok": true,
  "currency": "bc",
  "payment_hash": "...",
  "total_tags": 4,
  "known_tag_count": 3,
  "unknown_tag_count": 1,
  "tags_by_code": {
    "p": { "count": 1, "total_bytes": 32 },
    "d": { "count": 1, "total_bytes": 18 },
    "x": { "count": 1, "total_bytes": 2 },
    "r": { "count": 1, "total_bytes": 51 }
  }
}
Also available via MCP at maximumsats.com/mcp