mempool.space API Skill

Use this skill to run mempool.space public Bitcoin and Lightning explorer operations through uxc + OpenAPI.

Reuse the uxc skill for shared execution, auth, and error-handling guidance.

Prerequisites

Scope

This skill covers a read-first mempool.space surface for:

This skill does not cover:

Authentication

mempool.space public reads in this skill do not require authentication.

Core Workflow

  1. Use the fixed link command by default:

    • command -v mempool-space-openapi-cli
    • If missing, create it: uxc link mempool-space-openapi-cli https://mempool.space/api --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/mempool-space-openapi-skill/references/mempool-space-public.openapi.json
    • mempool-space-openapi-cli -h
  2. Inspect operation schema first:

    • mempool-space-openapi-cli get:/v1/fees/recommended -h
    • mempool-space-openapi-cli get:/mempool -h
    • mempool-space-openapi-cli get:/address/{address} -h
    • mempool-space-openapi-cli get:/v1/lightning/search -h
    • mempool-space-openapi-cli get:/v1/lightning/channels/{short_id} -h
  3. Prefer narrow reads before broader scans:

    • mempool-space-openapi-cli get:/v1/fees/recommended
    • mempool-space-openapi-cli get:/blocks/tip/height
    • mempool-space-openapi-cli get:/v1/lightning/statistics/latest
  4. Execute with key/value parameters:

    • mempool-space-openapi-cli get:/address/{address} address=bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh
    • mempool-space-openapi-cli get:/tx/{txid}/status txid=4d5d7f2d5dc69aa68a51887db07dd6d906f31f9141320f9f0b4bab76d735a47f
    • mempool-space-openapi-cli get:/v1/lightning/search searchText=bfx
    • mempool-space-openapi-cli get:/v1/lightning/channels public_key=033d8656219478701227199cbd6f670335c8d408a92ae88b962c49d4dc0e83e025 status=active
    • mempool-space-openapi-cli get:/v1/lightning/channels/{short_id} short_id=835866331763769345

Operations

Guardrails

References