Coin Metrics List of blockchain entities v2 API

Endpoints for fetching lists of blockchain entities.

Operations 7

GET /blockchain-v2/{asset}/blocks List of blocks #
GET /blockchain-v2/{asset}/accounts List of accounts #
GET /blockchain-v2/{asset}/sub-accounts List of sub-accounts #
GET /blockchain-v2/{asset}/transactions List of transactions #
GET /blockchain-v2/{asset}/balance-updates List of balance updates #
GET /blockchain-v2/{asset}/rebasing-changes List of rebasing changes #
GET /blockchain-v2/{asset}/accounts/{account}/balance-updates List of balance updates for account #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/coin-metrics-list-of-blockchain-entities-v2-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

coin-metrics-list-of-blockchain-entities-v2-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Coin Metrics API v4 Blockchain Explorer Job List of blockchain entities v2 API
  description: '[Coin Metrics Homepage](https://coinmetrics.io/)<br/> [API Backward Compatibility Policy](https://docs.coinmetrics.io/access-our-data/api#backward-compatibility)<br/> [Python API Client](https://coinmetrics.github.io/api-client-python/site/index.html)<br/><br/>

    HTTP API root endpoint URL is `https://api.coinmetrics.io/v4`. Coin Metrics&apos; paid product.<br/> WebSocket API root endpoint is `wss://api.coinmetrics.io/v4`. Coin Metrics&apos; paid product.<br/><br/> The Community HTTP API root endpoint URL is `https://community-api.coinmetrics.io/v4`. API key is not required when accessing community endpoints. Available to the community under the [Creative Commons](https://creativecommons.org/licenses/by-nc/4.0/) license.

    # Authentication

    <!-- ReDoc-Inject: <security-definitions> -->

    # Response headers

    Note that Coin Metrics API responses have a `CF-RAY` HTTP header e.g. `88a6ec1d2f930774-IAD` which can be used for diagnostic purposes. When raising Support requests, please ensure to provide the value of this header. '
  termsOfService: https://coinmetrics.io/api/terms
  contact:
    name: Coin Metrics Support
    url: https://coinmetrics.io/support/
    email: support@coinmetrics.io
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  version: 4.0.0
servers:
- url: https://api.coinmetrics.io/v4
- url: wss://api.coinmetrics.io/v4
- url: https://community-api.coinmetrics.io/v4
tags:
- name: List of blockchain entities v2
  description: Endpoints for fetching lists of blockchain entities.
paths:
  /blockchain-v2/{asset}/blocks:
    servers:
    - url: https://api.coinmetrics.io/v4
    - url: https://community-api.coinmetrics.io/v4
    get:
      summary: List of blocks
      description: Returns a list of blockchain blocks metadata.<br/> Results are ordered by tuple `(height, block_hash)`.<br/> To fetch the next page of results use `next_page_url` JSON response field.<br/> Results are limited to the last 30 days for Community users.
      operationId: getBlockchainV2ListOfBlocks
      tags:
      - List of blockchain entities v2
      parameters:
      - $ref: '#/components/parameters/BlockchainAsset'
      - $ref: '#/components/parameters/BlockchainBlockHashesV2'
      - $ref: '#/components/parameters/BlockchainBlockHeightsV2'
      - $ref: '#/components/parameters/StartTimeMutuallyExclusiveWithHeightAtlasV2'
      - $ref: '#/components/parameters/EndTimeMutuallyExclusiveWithHeightAtlasV2'
      - $ref: '#/components/parameters/StartHeightMutuallyExclusiveWithTimeAtlasV2'
      - $ref: '#/components/parameters/EndHeightMutuallyExclusiveWithTimeAtlasV2'
      - $ref: '#/components/parameters/BlockchainChainTypeV2'
      - $ref: '#/components/parameters/StartInclusiveAtlasV2'
      - $ref: '#/components/parameters/EndInclusiveAtlasV2'
      - $ref: '#/components/parameters/Timezone'
      - $ref: '#/components/parameters/PageSizeAtlasV2'
      - $ref: '#/components/parameters/PagingFrom'
      - $ref: '#/components/parameters/Pretty'
      - $ref: '#/components/parameters/NextPageToken'
      - $ref: '#/components/parameters/IgnoreUnsupportedErrors'
      x-codeSamples:
      - label: Shell
        source: '# Gets list of blocks for Litecoin

          curl --compressed "https://api.coinmetrics.io/v4/blockchain-v2/ltc/blocks?start_time=2021-01-01&end_time=2021-01-02&pretty=true&api_key=<your_key>"

          '
      - label: Python
        source: '# Gets list of blocks for Litecoin

          import requests

          response = requests.get(''https://api.coinmetrics.io/v4/blockchain-v2/ltc/blocks?start_time=2021-01-01&end_time=2021-01-02&pretty=true&api_key=<your_key>'').json()

          print(response)

          '
      - label: Python Client
        source: '# Gets list of blocks for Litecoin

          from coinmetrics.api_client import CoinMetricsClient

          client = CoinMetricsClient(<your_key>)


          response = client.get_list_of_blocks_v2(asset="ltc", start_time="2021-01-01", end_time="2021-01-02").to_list()

          print(response)

          '
      responses:
        '200':
          $ref: '#/components/responses/BlockchainBlocksV2'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/BlockchainForbidden'
      security:
      - api_key: []
  /blockchain-v2/{asset}/accounts:
    servers:
    - url: https://api.coinmetrics.io/v4
    - url: https://community-api.coinmetrics.io/v4
    get:
      summary: List of accounts
      description: Returns a list of blockchain accounts with their current balance.<br/> For rebasing assets, the balances returned are adjusted according to the current rebasing conditions.<br/> Results are ordered by tuple `(creation_chain_sequence_number, account)`.<br/> To fetch the next page of results use `next_page_url` JSON response field.
      operationId: getBlockchainV2ListOfAccounts
      tags:
      - List of blockchain entities v2
      parameters:
      - $ref: '#/components/parameters/BlockchainAsset'
      - $ref: '#/components/parameters/BlockchainAccountsV2'
      - $ref: '#/components/parameters/StartTimeMutuallyExclusiveWithHeightAtlasV2'
      - $ref: '#/components/parameters/EndTimeMutuallyExclusiveWithHeightAtlasV2'
      - $ref: '#/components/parameters/StartHeightMutuallyExclusiveWithTimeAtlasV2'
      - $ref: '#/components/parameters/EndHeightMutuallyExclusiveWithTimeAtlasV2'
      - $ref: '#/components/parameters/BlockchainStartChainSequenceNumberV2'
      - $ref: '#/components/parameters/BlockchainEndChainSequenceNumberV2'
      - $ref: '#/components/parameters/StartInclusiveAtlasV2'
      - $ref: '#/components/parameters/EndInclusiveAtlasV2'
      - $ref: '#/components/parameters/Timezone'
      - $ref: '#/components/parameters/PageSizeAtlasV2'
      - $ref: '#/components/parameters/PagingFrom'
      - $ref: '#/components/parameters/Pretty'
      - $ref: '#/components/parameters/NextPageToken'
      - $ref: '#/components/parameters/IgnoreUnsupportedErrors'
      x-codeSamples:
      - label: Shell
        source: '# Gets list of accounts for USDC

          curl --compressed "https://api.coinmetrics.io/v4/blockchain-v2/usdc/accounts?pretty=true&api_key=<your_key>"

          '
      - label: Python
        source: '# Gets list of accounts for USDC

          import requests

          response = requests.get(''https://api.coinmetrics.io/v4/blockchain-v2/usdc/accounts?pretty=true&api_key=<your_key>'').json()

          print(response)

          '
      - label: Python Client
        source: '# Gets list of accounts for USDC

          from coinmetrics.api_client import CoinMetricsClient

          client = CoinMetricsClient(<your_key>)


          response = client.get_list_of_blocks_v2(asset="usdc").to_list()

          print(response)

          '
      responses:
        '200':
          $ref: '#/components/responses/BlockchainAccountsV2'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/BlockchainForbidden'
      security:
      - api_key: []
  /blockchain-v2/{asset}/sub-accounts:
    servers:
    - url: https://api.coinmetrics.io/v4
    - url: https://community-api.coinmetrics.io/v4
    get:
      summary: List of sub-accounts
      description: Returns a list of blockchain sub-accounts with their current balance.<br/> For rebasing assets, the balances returned are adjusted according to the current rebasing conditions.<br/> Results are ordered by tuple `(creation_chain_sequence_number, account)`.<br/> To fetch the next page of results use `next_page_url` JSON response field.
      operationId: getBlockchainV2ListOfSubAccounts
      tags:
      - List of blockchain entities v2
      parameters:
      - $ref: '#/components/parameters/BlockchainAsset'
      - $ref: '#/components/parameters/BlockchainAccountsV2'
      - $ref: '#/components/parameters/StartTimeMutuallyExclusiveWithHeightAtlasV2'
      - $ref: '#/components/parameters/EndTimeMutuallyExclusiveWithHeightAtlasV2'
      - $ref: '#/components/parameters/StartHeightMutuallyExclusiveWithTimeAtlasV2'
      - $ref: '#/components/parameters/EndHeightMutuallyExclusiveWithTimeAtlasV2'
      - $ref: '#/components/parameters/BlockchainStartChainSequenceNumberV2'
      - $ref: '#/components/parameters/BlockchainEndChainSequenceNumberV2'
      - $ref: '#/components/parameters/StartInclusiveAtlasV2'
      - $ref: '#/components/parameters/EndInclusiveAtlasV2'
      - $ref: '#/components/parameters/Timezone'
      - $ref: '#/components/parameters/PageSizeAtlasV2'
      - $ref: '#/components/parameters/PagingFrom'
      - $ref: '#/components/parameters/Pretty'
      - $ref: '#/components/parameters/NextPageToken'
      - $ref: '#/components/parameters/IgnoreUnsupportedErrors'
      x-codeSamples:
      - label: Shell
        source: '# Gets list of sub accounts for Litecoin

          curl --compressed "https://api.coinmetrics.io/v4/blockchain-v2/ltc/sub-accounts?pretty=true&api_key=<your_key>"

          '
      - label: Python
        source: '# Gets list of sub accounts for Litecoin

          import requests

          response = requests.get(''https://api.coinmetrics.io/v4/blockchain-v2/ltc/sub-accounts?pretty=true&api_key=<your_key>'').json()

          print(response)

          '
      - label: Python Client
        source: '# Gets list of sub accounts for Litecoin

          from coinmetrics.api_client import CoinMetricsClient

          client = CoinMetricsClient(<your_key>)


          response = client.get_list_of_sub_accounts_v2(asset="ltc").to_list()

          print(response)

          '
      responses:
        '200':
          $ref: '#/components/responses/BlockchainSubAccountsV2'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/BlockchainForbidden'
      security:
      - api_key: []
  /blockchain-v2/{asset}/transactions:
    servers:
    - url: https://api.coinmetrics.io/v4
    - url: https://community-api.coinmetrics.io/v4
    get:
      summary: List of transactions
      description: Returns a list of blockchain transactions metadata.<br/> Results are ordered by tuple `(tx_position, txid)`.<br/> To fetch the next page of results use `next_page_url` JSON response field.<br/> Results are limited to the last 30 days for Community users.
      operationId: getBlockchainV2ListOfTransactions
      tags:
      - List of blockchain entities v2
      parameters:
      - $ref: '#/components/parameters/BlockchainAsset'
      - $ref: '#/components/parameters/BlockchainTransactionIdsV2'
      - $ref: '#/components/parameters/BlockchainBlockHashesV2'
      - $ref: '#/components/parameters/StartTimeMutuallyExclusiveWithHeightAtlasV2'
      - $ref: '#/components/parameters/EndTimeMutuallyExclusiveWithHeightAtlasV2'
      - $ref: '#/components/parameters/StartHeightMutuallyExclusiveWithTimeAtlasV2'
      - $ref: '#/components/parameters/EndHeightMutuallyExclusiveWithTimeAtlasV2'
      - $ref: '#/components/parameters/BlockchainChainTypeV2'
      - $ref: '#/components/parameters/StartInclusiveAtlasV2'
      - $ref: '#/components/parameters/EndInclusiveAtlasV2'
      - $ref: '#/components/parameters/Timezone'
      - $ref: '#/components/parameters/PageSizeAtlasV2'
      - $ref: '#/components/parameters/PagingFrom'
      - $ref: '#/components/parameters/Pretty'
      - $ref: '#/components/parameters/NextPageToken'
      - $ref: '#/components/parameters/IgnoreUnsupportedErrors'
      x-codeSamples:
      - label: Shell
        source: '# Gets list of transactions for Ethereum classic

          curl --compressed "https://api.coinmetrics.io/v4/blockchain-v2/etc/transactions?start_time=2021-01-01&end_time=2021-01-02&pretty=true&api_key=<your_key>"

          '
      - label: Python
        source: '# Gets list of transactions for Ethereum classic

          import requests

          response = requests.get(''https://api.coinmetrics.io/v4/blockchain-v2/etc/transactions?start_time=2021-01-01&end_time=2021-01-02&pretty=true&api_key=<your_key>'').json()

          print(response)

          '
      - label: Python Client
        source: '# Gets list of transactions for Ethereum classic

          from coinmetrics.api_client import CoinMetricsClient

          client = CoinMetricsClient(<your_key>)


          response = client.get_list_of_transactions_v2(asset="etc", start_time="2021-01-01", end_time="2021-01-02").to_list()

          print(response)

          '
      responses:
        '200':
          $ref: '#/components/responses/BlockchainTransactionsV2'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/BlockchainForbidden'
      security:
      - api_key: []
  /blockchain-v2/{asset}/balance-updates:
    servers:
    - url: https://api.coinmetrics.io/v4
    - url: https://community-api.coinmetrics.io/v4
    get:
      summary: List of balance updates
      description: Returns a list of blockchain accounts balance updates.<br/> Results are ordered by tuple `(chain_sequence_number, block_hash)`.<br/> To fetch the next page of results use `next_page_url` JSON response field.<br/> Results are limited to the last 30 days for Community users.
      operationId: getBlockchainV2ListOfBalanceUpdates
      tags:
      - List of blockchain entities v2
      parameters:
      - $ref: '#/components/parameters/BlockchainAsset'
      - $ref: '#/components/parameters/BlockchainAccountsV2'
      - $ref: '#/components/parameters/BlockchainLimitPerAccountV2'
      - $ref: '#/components/parameters/BlockchainSubAccountsV2'
      - $ref: '#/components/parameters/BlockchainTransactionIdsV2'
      - $ref: '#/components/parameters/BlockchainBlockHashesV2'
      - $ref: '#/components/parameters/BlockchainDenominationsV2'
      - $ref: '#/components/parameters/StartTimeMutuallyExclusiveWithHeightAtlasV2'
      - $ref: '#/components/parameters/EndTimeMutuallyExclusiveWithHeightAtlasV2'
      - $ref: '#/components/parameters/StartHeightMutuallyExclusiveWithTimeAtlasV2'
      - $ref: '#/components/parameters/EndHeightMutuallyExclusiveWithTimeAtlasV2'
      - $ref: '#/components/parameters/BlockchainStartChainSequenceNumberV2'
      - $ref: '#/components/parameters/BlockchainEndChainSequenceNumberV2'
      - $ref: '#/components/parameters/BlockchainIncludeSubAccountsV2'
      - $ref: '#/components/parameters/BlockchainChainTypeV2'
      - $ref: '#/components/parameters/StartInclusiveAtlasV2'
      - $ref: '#/components/parameters/EndInclusiveAtlasV2'
      - $ref: '#/components/parameters/Timezone'
      - $ref: '#/components/parameters/PageSizeAtlasV2'
      - $ref: '#/components/parameters/PagingFrom'
      - $ref: '#/components/parameters/Pretty'
      - $ref: '#/components/parameters/NextPageToken'
      - $ref: '#/components/parameters/IgnoreUnsupportedErrors'
      x-codeSamples:
      - label: Shell
        source: '# Gets list of balance-updates for USDC

          curl --compressed "https://api.coinmetrics.io/v4/blockchain-v2/usdc/balance-updates?start_time=2021-01-01&end_time=2021-01-02&pretty=true&api_key=<your_key>"

          '
      - label: Python
        source: '# Gets list of balance-updates for USDC

          import requests

          response = requests.get(''https://api.coinmetrics.io/v4/blockchain-v2/usdc/balance-updates?start_time=2021-01-01&end_time=2021-01-02&pretty=true&api_key=<your_key>'').json()

          print(response)

          '
      - label: Python Client
        source: '# Gets list of balance-updates for USDC

          from coinmetrics.api_client import CoinMetricsClient

          client = CoinMetricsClient(<your_key>)


          response = client.get_list_of_balance_updates_v2(asset="usdc", start_time="2021-01-01", end_time="2021-01-02").to_list()

          print(response)

          '
      responses:
        '200':
          $ref: '#/components/responses/BlockchainBalanceUpdatesV2'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/BlockchainForbidden'
      security:
      - api_key: []
  /blockchain-v2/{asset}/rebasing-changes:
    servers:
    - url: https://api.coinmetrics.io/v4
    - url: https://community-api.coinmetrics.io/v4
    get:
      summary: List of rebasing changes
      description: Returns a list of blockchain rebasing changes.<br/> Results are ordered by tuple `(chain_sequence_number, block_hash)`.<br/> To fetch the next page of results use `next_page_url` JSON response field.<br/> Results are limited to the last 30 days for Community users.
      operationId: getBlockchainV2ListOfRebasingChanges
      tags:
      - List of blockchain entities v2
      parameters:
      - $ref: '#/components/parameters/BlockchainAsset'
      - $ref: '#/components/parameters/BlockchainTransactionIdsV2'
      - $ref: '#/components/parameters/BlockchainBlockHashesV2'
      - $ref: '#/components/parameters/StartTimeMutuallyExclusiveWithHeightAtlasV2'
      - $ref: '#/components/parameters/EndTimeMutuallyExclusiveWithHeightAtlasV2'
      - $ref: '#/components/parameters/StartHeightMutuallyExclusiveWithTimeAtlasV2'
      - $ref: '#/components/parameters/EndHeightMutuallyExclusiveWithTimeAtlasV2'
      - $ref: '#/components/parameters/BlockchainStartChainSequenceNumberV2'
      - $ref: '#/components/parameters/BlockchainEndChainSequenceNumberV2'
      - $ref: '#/components/parameters/BlockchainChainTypeV2'
      - $ref: '#/components/parameters/StartInclusiveAtlasV2'
      - $ref: '#/components/parameters/EndInclusiveAtlasV2'
      - $ref: '#/components/parameters/Timezone'
      - $ref: '#/components/parameters/PageSizeAtlasV2'
      - $ref: '#/components/parameters/PagingFrom'
      - $ref: '#/components/parameters/Pretty'
      - $ref: '#/components/parameters/NextPageToken'
      - $ref: '#/components/parameters/IgnoreUnsupportedErrors'
      x-codeSamples:
      - label: Shell
        source: '# Gets list of rebasing changes for STETH_ETH

          curl --compressed "https://api.coinmetrics.io/v4/blockchain-v2/steth_eth/rebasing-changes?start_time=2021-01-01&end_time=2021-01-02&pretty=true&api_key=<your_key>"

          '
      - label: Python
        source: '# Gets list of rebasing changes for STETH_ETH

          import requests

          response = requests.get(''https://api.coinmetrics.io/v4/blockchain-v2/steth_eth/rebasing-changes?start_time=2021-01-01&end_time=2021-01-02&pretty=true&api_key=<your_key>'').json()

          print(response)

          '
      - label: Python Client
        source: '# Gets list of rebasing changes for STETH_ETH

          from coinmetrics.api_client import CoinMetricsClient

          client = CoinMetricsClient(<your_key>)


          response = client.get_list_of_rebasing_changes_v2(asset="steth_eth", start_time="2021-01-01", end_time="2021-01-02").to_list()

          print(response)

          '
      responses:
        '200':
          $ref: '#/components/responses/BlockchainRebasingChangesV2'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/BlockchainForbidden'
      security:
      - api_key: []
  /blockchain-v2/{asset}/accounts/{account}/balance-updates:
    servers:
    - url: https://api.coinmetrics.io/v4
    get:
      summary: List of balance updates for account
      description: Returns a list of blockchain balance updates for a specific account.<br/> Results are ordered by tuple `(chain_sequence_number, block_hash)`.<br/> To fetch the next page of results use `next_page_url` JSON response field.
      operationId: getBlockchainV2ListOfBalanceUpdatesForAccount
      tags:
      - List of blockchain entities v2
      parameters:
      - $ref: '#/components/parameters/BlockchainAsset'
      - $ref: '#/components/parameters/BlockchainAccount'
      - $ref: '#/components/parameters/BlockchainTransactionIdsV2'
      - $ref: '#/components/parameters/BlockchainBlockHashesV2'
      - $ref: '#/components/parameters/BlockchainDenominationsV2'
      - $ref: '#/components/parameters/IncludeCounterpartiesV2'
      - $ref: '#/components/parameters/StartTimeMutuallyExclusiveWithHeightAtlasV2'
      - $ref: '#/components/parameters/EndTimeMutuallyExclusiveWithHeightAtlasV2'
      - $ref: '#/components/parameters/StartHeightMutuallyExclusiveWithTimeAtlasV2'
      - $ref: '#/components/parameters/EndHeightMutuallyExclusiveWithTimeAtlasV2'
      - $ref: '#/components/parameters/BlockchainStartChainSequenceNumberV2'
      - $ref: '#/components/parameters/BlockchainEndChainSequenceNumberV2'
      - $ref: '#/components/parameters/BlockchainIncludeSubAccountsV2'
      - $ref: '#/components/parameters/BlockchainChainTypeV2'
      - $ref: '#/components/parameters/StartInclusiveAtlasV2'
      - $ref: '#/components/parameters/EndInclusiveAtlasV2'
      - $ref: '#/components/parameters/Timezone'
      - $ref: '#/components/parameters/PageSizeAtlasV2'
      - $ref: '#/components/parameters/PagingFrom'
      - $ref: '#/components/parameters/Pretty'
      - $ref: '#/components/parameters/NextPageToken'
      - $ref: '#/components/parameters/IgnoreUnsupportedErrors'
      x-codeSamples:
      - label: Shell
        source: '# Gets list of balance-updates for a BTC account

          curl --compressed "https://api.coinmetrics.io/v4/blockchain-v2/btc/accounts/112jmDkNGHSbhhY17JGpxU3sMA9ZExG7b2/balance-updates?pretty=true&api_key=<your_key>"

          '
      - label: Python
        source: '# Gets list of balance-updates for a BTC account

          import requests

          response = requests.get(''https://api.coinmetrics.io/v4/blockchain-v2/btc/accounts/112jmDkNGHSbhhY17JGpxU3sMA9ZExG7b2/balance-updates?pretty=true&api_key=<your_key>'').json()

          print(response)

          '
      - label: Python Client
        source: '# Gets list of balance-updates for a BTC account

          from coinmetrics.api_client import CoinMetricsClient

          client = CoinMetricsClient(<your_key>)


          response = client.get_list_of_balance_updates_v2(asset="btc", account="112jmDkNGHSbhhY17JGpxU3sMA9ZExG7b2").to_list()

          print(response)

          '
      responses:
        '200':
          $ref: '#/components/responses/BlockchainBalanceUpdatesForAccountV2'
        '400':
          $ref: '#/components/responses/InvalidParameters'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/BlockchainForbidden'
        '404':
          $ref: '#/components/responses/AccountNotFound'
      security:
      - api_key: []
components:
  schemas:
    BlockchainStaleBlock:
      description: This field is set to true if the corresponding block is stale. Otherwise omitted.
      type: string
    BlockchainAccountType:
      description: 'Account type. The possible values are: `UTXO`, `VIRTUAL`, `ACCOUNT`.'
      type: string
    BlockchainSubAccount:
      description: Sub-account id.
      type: string
    BlockchainTransactionPhysicalSize:
      description: Physical size of the transaction, bytes.
      type: string
      format: decimal
    BlockchainBlockTransactionInfoV2:
      properties:
        txid:
          $ref: '#/components/schemas/BlockchainTransactionId'
        consensus_time:
          $ref: '#/components/schemas/Time'
        miner_time:
          $ref: '#/components/schemas/Time'
        tx_position:
          $ref: '#/components/schemas/BlockchainTransactionPosition'
        min_chain_sequence_number:
          $ref: '#/components/schemas/BlockchainChainSequenceNumber'
        max_chain_sequence_number:
          $ref: '#/components/schemas/BlockchainChainSequenceNumber'
        n_balance_updates:
          $ref: '#/components/schemas/BlockchainNumberOfBalanceUpdates'
        amount:
          $ref: '#/components/schemas/BlockchainTransactionAmount'
        stale:
          $ref: '#/components/schemas/BlockchainStaleBlock'
      required:
      - txid
      - consensus_time
      - tx_position
      - n_balance_updates
      - amount
    BlockchainBlockHeight:
      description: Height of the block.
      type: string
      format: int64
    BlockchainRebasingChangesResponseV2:
      description: Blockchain rebasing changes response.
      properties:
        data:
          $ref: '#/components/schemas/BlockchainRebasingChangesV2'
        next_page_token:
          $ref: '#/components/schemas/NextPageToken'
        next_page_url:
          $ref: '#/components/schemas/NextPageUrl'
        warning:
          $ref: '#/components/schemas/WarningObject'
      required:
      - data
      type: object
    BlockchainBalanceUpdateSubAccount:
      properties:
        sub_account:
          $ref: '#/components/schemas/BlockchainSubAccount'
        previous_balance:
          $ref: '#/components/schemas/BlockchainAccountBalance'
        new_balance:
          $ref: '#/components/schemas/BlockchainAccountBalance'
        n_debits:
          $ref: '#/components/schemas/BlockchainNumberOfDebits'
        n_credits:
          $ref: '#/components/schemas/BlockchainNumberOfCredits'
        previous_credit_height:
          $ref: '#/components/schemas/BlockchainBlockHeight'
        previous_debit_height:
          $ref: '#/components/schemas/BlockchainBlockHeight'
        previous_chain_sequence_number:
          $ref: '#/components/schemas/BlockchainTransactionSequenceNumber'
        total_received:
          $ref: '#/components/schemas/BlockchainTotalReceived'
        total_sent:
          $ref: '#/components/schemas/BlockchainTotalSent'
        creation_height:
          $ref: '#/components/schemas/BlockchainBlockHeight'
      required:
      - chain_sequence_number
      - account
      - account_creation_height
      - change
      - transaction_sequence_number
      - previous_n_debits
      - previous_n_credits
    BlockchainBalanceUpdateV2:
      allOf:
      - $ref: '#/components/schemas/BlockchainTransactionBalanceUpdateV2'
      - type: object
        properties:
          block_hash:
            $ref: '#/components/schemas/BlockchainBlockHash'
          height:
            $ref: '#/components/schemas/BlockchainBlockHeight'
          consensus_time:
            $ref: '#/components/schemas/Time'
          txid:
            $ref: '#/components/schemas/BlockchainTransactionId'
          credit:
            $ref: '#/components/schemas/BlockchainBalanceUpdateCredit'
          total_received:
            $ref: '#/components/schemas/BlockchainTotalReceived'
          total_sent:
            $ref: '#/components/schemas/BlockchainTotalSent'
        required:
        - block_hash
        - height
        - consensus_time
        - credit
        - total_received
        - total_sent
    BlockchainTransactionSequenceNumber:
      description: It is used to order balance updates inside a single transaction to distinguish between serial and parallel balance updates.
      type: string
      format: int64
    BlockchainBlockInfoV2:
      properties:
        block_hash:
          $ref: '#/components/schemas/BlockchainBlockHash'
        parent_block_hash:
          $ref: '#/components/schemas/BlockchainBlockHash'
        height:
          $ref: '#/components/schemas/BlockchainBlockHeight'
        consensus_time:
          $ref: '#/components/schemas/Time'
        miner_time:
          $ref: '#/components/schemas/Time'
        nonce:
          $ref: '#/components/schemas/BlockchainBlockNonce'
        extra_data:
          $ref: '#/components/schemas/BlockchainBlockExtraData'
        n_transactions:
          $ref: '#/components/schemas/BlockchainNumberOfTransactions'
        n_balance_updates:
          $ref: '#/components/schemas/BlockchainNumberOfBalanceUpdates'
        version:
          $ref: '#/components/schemas/BlockchainBlockVersion'
        difficulty:
          $ref: '#/components/schemas/BlockchainBlockDifficulty'
        physical_size:
          $ref: '#/components/schemas/BlockchainBlockPhysicalSize'
        consensus_size:
          $ref: '#/components/schemas/BlockchainBlockConsensusSize'
        consensus_size_limit:
          $ref: '#/components/schemas/BlockchainBlockConsensusSizeLimit'
        stale:
          $ref: '#/components/schemas/BlockchainStaleBlock'
      required:
      - block_hash
      - height
      - consensus_time
      - export_time
      - miner_time
      - n_transactions
      - n_balance_updates
    BlockchainBlockHash:
      description: Hash of the block.
      type: string
    BlockchainTransactionInfoV2:
      allOf:
      - $ref: '#/components/schemas/BlockchainBlockTransactionInfoV2'
      - type: object
        properties:
          block_hash:
            $ref: '#/components/schemas/BlockchainBlockHash'
          height:
            $ref: '#/components/schemas/BlockchainBlockHeight'
          version:
            $ref: '#/components/schemas/BlockchainTransactionVersion'
          physical_size:
            $ref: '#/components/schemas/BlockchainTransactionPhysicalSize'
          consensus_size:
            $ref: '#/components/schemas/BlockchainTransactionConsensusSize'
          fee:
            $ref: '#/components/schemas/BlockchainTransactionFee'
          stale:
            $ref: '#/components/schemas/BlockchainStaleBlock'
        required:
        - block_hash
        - height
    BlockchainRebasingChangesV2:
      type: array
      items:
        $ref: '#/components/schemas/BlockchainRebasingChangeV2'
    BlockchainBalanceChange:
      description: Balance change.
      type: string
      format: decimal
    BlockchainNumberOfBalanceUpdates:
      description: Number of balance updates.
      type: string
      format: int64
    BlockchainBlockNonce:
      description: Nonce of the block, hex-encoded.
      type: string
    BlockchainTransactionId:
      description: Identifier (txid) of the transaction.
      type: string
    BlockchainAccountBalance:
      description: Balance of the account.
      type: string
      format: decimal
    BlockchainRebasingChangeV2:
      properties:
        chain_sequence_number:
          $ref: '#/components/schemas/BlockchainChainSequenceNumber'
        block_hash:
          $ref: '#/components/schemas/BlockchainBlockHash'
        height:
          $ref: '#/components/schemas/BlockchainBlockHeight'
        consensus_time:
          $ref: '#/components/schemas/Time'
        txid:
          $ref: '#/components/schemas/BlockchainTransactionId'
        transaction_sequence_number:
          $ref: '#/components/schemas/BlockchainTransactionSequenceNumber'
        previous_rebasing_numerator:
          $ref: '#/components/schemas/BlockchainRebasingNumerator'
        previous_rebasing_denominator:
          $ref: '#/components/schemas/BlockchainRebasingDenominator'
        previous_rebasing_rounding_mode:
          $ref: '#/components/schemas/BlockchainRebasingRoundingMode'
        new_rebasing_numerator:
          $ref: '#/components/schemas/BlockchainRebasingNumerator'
        new_rebasing_denominator:
          $ref: '#/components/schemas/BlockchainRebasingDenominator'
        new_rebasing_rounding_mode:
          $ref: '#/components/schemas/BlockchainRebasingRoundingMode'
        stale:
          $ref: '#/components/schemas/BlockchainStaleBlock'
      required:
      - chain_sequence_number
      - block_hash
      - height
      - consensus_time
      - previous_rebasing_numerator
      - previous_rebasing_denominator
      - previous_rebasing_rounding_mode
      - new_rebasing_numerator
      - new_rebasing_denominator
      - new_rebasing_rounding_mode
    BlockchainTransactionPosition:
      description: Transaction position.
      type: string
      format: int64
    BlockchainTransactionFee:
      description: Fee of the transaction.
      type: string
      format: decimal
    BlockchainTransactionVersion:
      description: Version of the transaction.
      type: string
    BlockchainRebasingNumerator:
      description: This field represents the numerator of the rebasing coefficient at the time of the update. This value is omitted from responses if equal to the default value of '1'.
      type: string
      format: decimal
    BlockchainNumberOfTransactions:
      description: Number of transactions.
      type: string
      format: int64
    BlockchainTotalSent:
      description: Total amount sent.
      type: string
      format: decimal
    BlockchainBlockConsensusSizeLimit:
      description: Consensus 

# --- truncated at 32 KB (69 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/coin-metrics/refs/heads/main/openapi/coin-metrics-list-of-blockchain-entities-v2-api-openapi.yml