> ## 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 all Bitcoin Runes tokens held by a specific address, including balances and token metadata.

# Runes by Address



## OpenAPI

````yaml bitcoin/blockchain-indexer-api/openapi.json get /addresses/{address}/runes
openapi: 3.0.3
info:
  title: Bitcoin - Blockchain Indexer API
  description: >-
    This API provides core indexer endpoints with support for Bitcoin
    metaprotocols by delivering real-time, rollback-protected access to
    Bitcoin's UTXO data, enabling developers to build responsive and reliable
    blockchain applications without managing complex infrastructure.


    #### Key Features:

    - **Real-Time Data with Rollback Protection:** Ensures data accuracy by
    handling chain reorganizations gracefully, providing live data without
    sacrificing integrity.

    - **Comprehensive UTXO Indexing:** Specialized pipelines extract, match, and
    process on-chain information, including handling rollbacks, to provide
    accurate and up-to-date data.


    #### Key Benefits for Developers:

    By abstracting the complexities of blockchain data retrieval and processing,
    Maestro's Bitcoin Indexer API empowers developers to focus on building
    innovative applications with confidence in fast and reliable access to
    historical chain data.
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.txt
  version: v0.2.0
servers:
  - url: https://xbt-mainnet.gomaestro-api.org/v0
    description: Bitcoin Mainnet
  - url: https://xbt-testnet.gomaestro-api.org/v0
    description: Bitcoin Testnet
security:
  - api-key: []
paths:
  /addresses/{address}/runes:
    get:
      tags:
        - Addresses
      summary: Runes by Address
      description: >-
        Provides a list of all Rune assets held by the specified address. It
        returns both total and available balances, allowing for token inventory
        management and portfolio tracking.
      operationId: runes_by_address
      parameters:
        - name: address
          in: path
          description: Bitcoin address or hex encoded script pubkey
          required: true
          schema:
            type: string
          example: bc1phyrmjs2jm5c98tldke2ykp0h66lsx3wy0ey8ug2fjj5mxsn8ftqsa24un8
        - name: include_info
          in: query
          description: 'Include full rune information for each rune (default: false)'
          required: false
          schema:
            type: boolean
            nullable: true
      responses:
        '200':
          description: Requested data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TimestampedRuneQuantities'
              example:
                data:
                  '840000:1':
                    balance: '1111.00'
                    info:
                      divisibility: 2
                      etching_cenotaph: false
                      etching_height: 840000
                      etching_tx: >-
                        2bb85f4b004be6da54f766c17c1e855187327112c231ef2ff35ebad0ea67c69e
                      id: '840000:1'
                      name: ZZZZZFEHUZZZZZ
                      premine: '110000000.00'
                      spaced_name: Z•Z•Z•Z•Z•FEHU•Z•Z•Z•Z•Z
                      symbol: ᚠ
                      terms:
                        amount_per_mint: '1.00'
                        end_height: null
                        end_offset: null
                        mint_txs_cap: '1111111'
                        start_height: null
                        start_offset: null
                last_updated:
                  block_hash: >-
                    0000000088bee3b517745636443c8f11aff45209449300a5d8461c336e467925
                  block_height: 2815520
        '400':
          description: Malformed query parameters
        '404':
          description: Requested entity not found on-chain
        '500':
          description: Internal server error
components:
  schemas:
    TimestampedRuneQuantities:
      type: object
      required:
        - data
        - last_updated
      properties:
        data:
          type: object
          additionalProperties:
            type: string
        last_updated:
          $ref: '#/components/schemas/ChainTip'
    ChainTip:
      type: object
      required:
        - block_hash
        - block_height
      properties:
        block_hash:
          type: string
          description: The hash of the block
          example: 0000000000000000000a7f3b7b6b6e1d9a18db65a3b4a3f4f3bcb2e1f1b2d3e7
        block_height:
          type: integer
          format: int64
          description: The height of the block in the blockchain
          example: 707000
          minimum: 0
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: api-key
      description: Project API Key

````