> ## 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 the current height of the latest Bitcoin block at the tip of the blockchain.

# Block Tip Height



## OpenAPI

````yaml bitcoin/esplora-api/openapi.json get /blocks/tip/height
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:
  /blocks/tip/height:
    get:
      tags:
        - Blocks
      summary: Block Tip Height
      description: Returns the height of the last block.
      responses:
        '200':
          description: Height of the latest block.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BlockHeight'
components:
  schemas:
    BlockHeight:
      type: integer
      example: 850302
      description: Height of the latest block on the best blockchain tip
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: api-key
      description: Project API Key

````