> For the complete documentation index, see [llms.txt](https://gitbook-docs.coinmetrics.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook-docs.coinmetrics.io/cm-api-spec/atlas/list-of-blockchain-entities-v2/list-of-balance-updates.md).

# List of balance updates

Returns a list of blockchain accounts balance updates.\
Results are ordered by tuple `(chain_sequence_number, block_hash)`.\
To fetch the next page of results use `next_page_url` JSON response field.\
Results are limited to the last 30 days for Community users.

```json
{"openapi":"3.0.2","info":{"title":"Coin Metrics API v4","version":"4.0.0"},"tags":[{"name":"List of blockchain entities v2","description":"Endpoints for fetching lists of blockchain entities.\n\n**Sections in this group:**\n- **Full blockchain entities v2** (3 endpoints)\n\n**Endpoints on this page:**\n- `GET /blockchain-v2/{asset}/accounts` — List of accounts\n- `GET /blockchain-v2/{asset}/accounts/{account}/balance-updates` — List of balance updates for account\n- `GET /blockchain-v2/{asset}/balance-updates` — List of balance updates\n- `GET /blockchain-v2/{asset}/blocks` — List of blocks\n- `GET /blockchain-v2/{asset}/rebasing-changes` — List of rebasing changes\n- `GET /blockchain-v2/{asset}/sub-accounts` — List of sub-accounts\n- `GET /blockchain-v2/{asset}/transactions` — List of transactions"}],"servers":[{"url":"https://api.coinmetrics.io/v4"},{"url":"wss://api.coinmetrics.io/v4"},{"url":"https://community-api.coinmetrics.io/v4"}],"security":[{"api_key":[]}],"components":{"securitySchemes":{"api_key":{"description":"Coin Metrics API key can be specified as `?api_key=` query parameter.","in":"query","name":"api_key","type":"apiKey"}},"parameters":{"BlockchainAsset":{"description":"Asset name.","in":"path","name":"asset","required":true,"schema":{"type":"string"}},"BlockchainAccountsV2":{"description":"Optional comma separated list of accounts to filter a response.<br/> The list must contain a single element for Community users.","in":"query","name":"accounts","schema":{"type":"array","items":{"type":"string"}},"explode":false},"BlockchainLimitPerAccountV2":{"description":"How many entries per account the result should contain. It is applicable when multiple accounts are requested.<br/> For Community users, this parameter is disabled and the limit is fixed to 100.","in":"query","name":"limit_per_account","schema":{"type":"integer","format":"int32"}},"BlockchainSubAccountsV2":{"description":"Optional comma separated list of sub-accounts to filter a response.<br/> This parameter is disabled for Community users.","in":"query","name":"sub_accounts","schema":{"type":"array","items":{"type":"string"}},"explode":false},"BlockchainTransactionIdsV2":{"description":"Optional comma separated list of transaction identifiers (txid) to filter a response.<br/> The list must contain a single element for Community users.","in":"query","name":"txids","schema":{"type":"array","items":{"type":"string"}},"explode":false},"BlockchainBlockHashesV2":{"description":"Optional comma separated list of block hashes to filter a response.<br/> The list must contain a single element for Community users.","in":"query","name":"block_hashes","schema":{"type":"array","items":{"type":"string"}},"explode":false},"BlockchainDenominationsV2":{"description":"Optional comma separated list of denominations to filter a response.<br/> The list must contain a single element for Community users.","in":"query","name":"denominations","schema":{"type":"array","items":{"type":"string"}},"explode":false},"StartTimeMutuallyExclusiveWithHeightAtlasV2":{"description":"Start of the time interval.<br/> This field refers to the `time` field in the response.<br/> Multiple formats of ISO 8601 are supported: `2006-01-20T00:00:00Z`, `2006-01-20T00:00:00.000Z`, `2006-01-20T00:00:00.123456Z`, `2006-01-20T00:00:00.123456789Z`, `2006-01-20`, `20060120`.<br/> Inclusive by default. Mutually exclusive with `start_height`.<br/> UTC timezone by default. `Z` suffix is optional and `timezone` parameter has a priority over it.<br/> If `start_time` is omitted, response will include time series from the **earliest** time available.<br/> This parameter is disabled for Community users.","in":"query","name":"start_time","schema":{"type":"string"}},"EndTimeMutuallyExclusiveWithHeightAtlasV2":{"description":"End of the time interval.<br/> This field refers to the `time` field in the response.<br/> Multiple formats of ISO 8601 are supported: `2006-01-20T00:00:00Z`, `2006-01-20T00:00:00.000Z`, `2006-01-20T00:00:00.123456Z`, `2006-01-20T00:00:00.123456789Z`, `2006-01-20`, `20060120`.<br/> Inclusive by default. Mutually exclusive with `end_height`.<br/> UTC timezone by default. `Z` suffix is optional and `timezone` parameter has a priority over it.<br/> If `end_time` is omitted, response will include time series up to the **latest** time available.<br/> This parameter is disabled for Community users.","in":"query","name":"end_time","schema":{"type":"string"}},"StartHeightMutuallyExclusiveWithTimeAtlasV2":{"description":"The start height indicates the beginning block height for the set of data that are returned.<br/> Inclusive by default. Mutually exclusive with `start_time`.<br/> This parameter is disabled for Community users.","in":"query","name":"start_height","schema":{"type":"integer","format":"int64","minimum":0}},"EndHeightMutuallyExclusiveWithTimeAtlasV2":{"description":"The end height indicates the ending block height for the set of data that are returned.<br/> Inclusive by default. Mutually exclusive with `end_time`.<br/> This parameter is disabled for Community users.","in":"query","name":"end_height","schema":{"type":"integer","format":"int64","minimum":0}},"BlockchainStartChainSequenceNumberV2":{"description":"Start of the `chain_sequence_number` interval.<br/> This parameter is disabled for Community users.","in":"query","name":"start_chain_sequence_number","schema":{"type":"integer","format":"int64","minimum":0}},"BlockchainEndChainSequenceNumberV2":{"description":"End of the `chain_sequence_number` interval.<br/> This parameter is disabled for Community users.","in":"query","name":"end_chain_sequence_number","schema":{"type":"integer","format":"int64","minimum":0}},"BlockchainIncludeSubAccountsV2":{"description":"Boolean indicating if the response should contain sub-accounts.<br/> This parameter is disabled for Community users.","in":"query","name":"include_sub_accounts","schema":{"default":false,"type":"boolean"}},"BlockchainChainTypeV2":{"description":"Chain type. Supported values are `main` and `all` (includes both main and stale).<br/> This parameter is disabled for Community users.","in":"query","name":"chain","schema":{"default":"main","type":"string"}},"StartInclusiveAtlasV2":{"description":"Inclusive or exclusive corresponding `start_*` parameters.<br/> This parameter is disabled for Community users.","in":"query","name":"start_inclusive","schema":{"default":true,"type":"boolean"}},"EndInclusiveAtlasV2":{"description":"Inclusive or exclusive corresponding `end_*` parameters.<br/> This parameter is disabled for Community users.","in":"query","name":"end_inclusive","schema":{"default":true,"type":"boolean"}},"Timezone":{"description":"Timezone name for `start_time` and `end_time` timestamps.<br/> This parameter does not modify the output times, which are always `UTC`.<br/> Format is defined by [TZ database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).","in":"query","name":"timezone","schema":{"default":"UTC","type":"string"}},"PageSizeAtlasV2":{"description":"Number of items per single page of results.<br/> This parameter is disabled for Community users.","in":"query","name":"page_size","schema":{"default":100,"type":"integer","format":"int32","minimum":1,"maximum":10000}},"PagingFrom":{"description":"Where does the first page start, at the start of the interval or at the end.<br/> The value of this parameter is ignored if the endpoint supports the `format` parameter and its value is set to `json_stream`.","in":"query","name":"paging_from","schema":{"default":"end","enum":["start","end"],"type":"string","format":"PagingFrom"}},"Pretty":{"description":"Human-readable formatting of JSON responses.","in":"query","name":"pretty","schema":{"type":"boolean","default":false}},"NextPageToken":{"description":"Token for receiving the results from the next page of a query.<br/> Should not be used directly. To iterate through pages just use `next_page_url` response field.","in":"query","name":"next_page_token","schema":{"type":"string"}},"IgnoreUnsupportedErrors":{"description":"Ignore \"unsupported\" errors for not currently supported by Coin Metrics items.","in":"query","name":"ignore_unsupported_errors","schema":{"type":"boolean","default":false}}},"responses":{"BlockchainBalanceUpdatesV2":{"description":"Blockchain balance updates.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockchainBalanceUpdatesResponseV2"}}}},"Unauthorized":{"description":"Requested resource requires authorization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"BlockchainForbidden":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Requested resource is not available with supplied credentials."}},"schemas":{"BlockchainBalanceUpdatesResponseV2":{"description":"Blockchain balance updates response.","properties":{"data":{"$ref":"#/components/schemas/BlockchainBalanceUpdatesV2"},"next_page_token":{"$ref":"#/components/schemas/NextPageToken"},"next_page_url":{"$ref":"#/components/schemas/NextPageUrl"},"warning":{"$ref":"#/components/schemas/WarningObject"}},"required":["data"],"type":"object"},"BlockchainBalanceUpdatesV2":{"type":"array","items":{"$ref":"#/components/schemas/BlockchainBalanceUpdateV2"}},"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"]}]},"BlockchainTransactionBalanceUpdateV2":{"properties":{"chain_sequence_number":{"$ref":"#/components/schemas/BlockchainChainSequenceNumber"},"account":{"$ref":"#/components/schemas/BlockchainAccount"},"account_creation_height":{"$ref":"#/components/schemas/BlockchainBlockHeight"},"change":{"$ref":"#/components/schemas/BlockchainBalanceChange"},"rebasing_numerator":{"$ref":"#/components/schemas/BlockchainRebasingNumerator"},"rebasing_denominator":{"$ref":"#/components/schemas/BlockchainRebasingDenominator"},"rebasing_rounding_mode":{"$ref":"#/components/schemas/BlockchainRebasingRoundingMode"},"previous_balance":{"$ref":"#/components/schemas/BlockchainAccountBalance"},"new_balance":{"$ref":"#/components/schemas/BlockchainAccountBalance"},"transaction_sequence_number":{"$ref":"#/components/schemas/BlockchainTransactionSequenceNumber"},"n_debits":{"$ref":"#/components/schemas/BlockchainNumberOfDebits"},"n_credits":{"$ref":"#/components/schemas/BlockchainNumberOfCredits"},"previous_debit_height":{"$ref":"#/components/schemas/BlockchainBlockHeight"},"previous_credit_height":{"$ref":"#/components/schemas/BlockchainBlockHeight"},"previous_chain_sequence_number":{"$ref":"#/components/schemas/BlockchainTransactionSequenceNumber"},"sub_account":{"$ref":"#/components/schemas/BlockchainBalanceUpdateSubAccount"},"stale":{"$ref":"#/components/schemas/BlockchainStaleBlock"},"denomination":{"$ref":"#/components/schemas/BlockchainDenomination"}},"required":["chain_sequence_number","account","account_creation_height","change","previous_balance","new_balance","transaction_sequence_number","n_debits","n_credits"]},"BlockchainChainSequenceNumber":{"description":"Chain sequence number.","type":"string","format":"int64"},"BlockchainAccount":{"description":"Account id.","type":"string"},"BlockchainBlockHeight":{"description":"Height of the block.","type":"string","format":"int64"},"BlockchainBalanceChange":{"description":"Balance change.","type":"string","format":"decimal"},"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"},"BlockchainRebasingDenominator":{"description":"This field represents the denominator 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"},"BlockchainRebasingRoundingMode":{"description":"This field represents the rounding mode used when converting tokens to shares using the rebasing coefficient at the time of the update. The possible values are: `UP`, `DOWN`, `HALF_UP`. This value is omitted from responses if equal to the default value of `DOWN`.","type":"string"},"BlockchainAccountBalance":{"description":"Balance of the account.","type":"string","format":"decimal"},"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"},"BlockchainNumberOfDebits":{"description":"Number of debits.","type":"string","format":"int64"},"BlockchainNumberOfCredits":{"description":"Number of credits.","type":"string","format":"int64"},"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"]},"BlockchainSubAccount":{"description":"Sub-account id.","type":"string"},"BlockchainTotalReceived":{"description":"Total amount received.","type":"string","format":"decimal"},"BlockchainTotalSent":{"description":"Total amount sent.","type":"string","format":"decimal"},"BlockchainStaleBlock":{"description":"This field is set to true if the corresponding block is stale. Otherwise omitted.","type":"string"},"BlockchainDenomination":{"description":"The denomination of the asset transacted. Only set if not the same as the asset being queried.","type":"string"},"BlockchainBlockHash":{"description":"Hash of the block.","type":"string"},"Time":{"description":"The time in ISO 8601 date-time format. Always with nanoseconds precision.","type":"string","format":"date-time"},"BlockchainTransactionId":{"description":"Identifier (txid) of the transaction.","type":"string"},"BlockchainBalanceUpdateCredit":{"description":"Boolean indicating whether the update is a credit or a debit of the account.","type":"boolean"},"NextPageToken":{"description":"Token of the next page results for a given request.","type":"string"},"NextPageUrl":{"description":"URL of the next page results for a given request.","type":"string"},"WarningObject":{"properties":{"type":{"description":"Warning type string. Can be used for warning identification.","type":"string"},"message":{"description":"Human-friendly warning description. Do not use for warning identification in your code.","type":"string"}},"required":["type","message"],"type":"object"},"ErrorResponse":{"properties":{"error":{"$ref":"#/components/schemas/ErrorObject"}},"required":["error"],"type":"object"},"ErrorObject":{"properties":{"type":{"description":"Error type string. Can be used for error identification.","type":"string"},"message":{"description":"Human-friendly error description. Can be amended without prior notification. Do not use for error identification in your code.","type":"string"}},"required":["type","description"],"type":"object"}}},"paths":{"/blockchain-v2/{asset}/balance-updates":{"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"}],"responses":{"200":{"$ref":"#/components/responses/BlockchainBalanceUpdatesV2"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/BlockchainForbidden"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://gitbook-docs.coinmetrics.io/cm-api-spec/atlas/list-of-blockchain-entities-v2/list-of-balance-updates.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
