> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gomaestro.org/llms.txt
> Use this file to discover all available pages before exploring further.

> Get current Bitcoin mempool statistics including transaction count, fees, and memory usage.

# Mempool



## OpenAPI

````yaml bitcoin/esplora-api/openapi.json get /mempool
openapi: 3.0.3
info:
  title: Bitcoin - Esplora API
  version: 1.0.0
  description: >
    OpenAPI spec for core Esplora endpoints: blocks, transactions, addresses,
    mempool, fees, UTXO data and more.
servers:
  - url: https://xbt-mainnet.gomaestro-api.org/v0/esplora
  - url: https://xbt-testnet.gomaestro-api.org/v0/esplora
security:
  - api-key: []
paths:
  /mempool:
    get:
      tags:
        - Mempool
      summary: Mempool
      description: Returns current mempool backlog statistics.
      responses:
        '200':
          description: Aggregated mempool data.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MempoolStats'
              examples:
                example:
                  value:
                    count: 8134
                    vsize: 3444604
                    total_fee: 29204625
                    fee_histogram:
                      - - 53.01
                        - 102131
                      - - 38.56
                        - 110990
                      - - 34.12
                        - 138976
                      - - 24.34
                        - 112619
                      - - 3.16
                        - 246346
                      - - 2.92
                        - 239701
                      - - 1.1
                        - 775272
components:
  schemas:
    MempoolStats:
      type: object
      description: Mempool Statistic
      properties:
        count:
          type: integer
          description: Number of transactions in the mempool
        vsize:
          type: integer
          description: Total size of mempool transactions in virtual bytes
        total_fee:
          type: integer
          description: Total fees paid by mempool transactions in satoshis
        fee_histogram:
          type: array
          description: Mempool fee-rate distribution histogram as (feerate, vsize) tuples
          items:
            type: array
            description: Tuple of [feerate (number), vsize (number)]
            items:
              type: number
            minItems: 2
            maxItems: 2
      required:
        - count
        - vsize
        - total_fee
        - fee_histogram
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: api-key
      description: Project API Key

````