---
title: "Asset chains (experimental)"
method: GET
path: "/timeseries/asset-chains"
tags: ["Timeseries"]
---

# Asset chains (experimental)

`GET /timeseries/asset-chains`

Returns the chains of blocks for the specified assets.<br/> Lists all the chains that were active in the blockchain during the time that's enough to produce the number of blocks considered as an industry-standard number of confirmations.<br/> A new entry is created when we detect any new block anywhere in the chain.<br/> This endpoint is useful for those who want to quickly detect reorganizations or visualize currently active chains.<br/> If there are two or more active chains, then the response will contain the chain fragments starting from their common ancestor block. Otherwise, if there is a single active chain - only the blockchain tip is returned.<br/> The reorganization depth is measured as a number of consecutive blocks that were disconnected from the common ancestor block.<br/> Results are ordered by tuple `(asset, time)`.<br/> To fetch the next page of results use `next_page_url` JSON response field.

## Query parameters

- `assets` string[], required
- `start_time` string
- `end_time` string
- `start_inclusive` boolean
- `end_inclusive` boolean
- `timezone` string
- `page_size` integer
- `paging_from` 'start' | 'end', PagingFrom
- `pretty` boolean
- `format` 'json' | 'csv'
- `next_page_token` string

## Response `200`

Time series of asset chains.

- AssetChainsResponse
  - `data` AssetChains[], required
    - `asset` string, required — Name of the asset.
    - `time` string, required — The time in ISO 8601 date-time format. Always with nanoseconds precision.
    - `chains_count` string, required — Count of all the chains that were active in the blockchain during the past hour.
    - `blocks_count_at_tip` string, required — Count of the blocks on the maximum chain height.
    - `reorg` string — Indicates if the last appended block triggered the chain reorganization.
    - `reorg_depth` string — A number of consecutive blocks that were disconnected from the common ancestor block of the previous and current longest active chains during the chain reorganization.
    - `chains` AssetChain[], required — All the chains that were active in the blockchain during the time that's enough to produce the amount of blocks considered as an industry standard number of confirmations.
      - AssetChainBlock[] — Contains the chain fragments starting from the block which is a common ancestor for other blocks. If there is a single active chain - only the chain tip is included.<br/>
        - `time` string, required — The time in ISO 8601 date-time format. Always with nanoseconds precision.
        - `hash` string, required — Hash of the block.
        - `height` string, required — Height of the block.
  - `next_page_token` string — Token of the next page results for a given request.
  - `next_page_url` string — URL of the next page results for a given request.

## Other responses

- `400` — Asset not found.
- `401` — Requested resource requires authorization.
- `403` — Requested resource is not available with supplied credentials.
- `414` — Provided URI is too long. It must not be greater than 10000 symbols.

---

[API](https://skmtc.net/coinmetrics/apis/coin-metrics-api-v4.md) · [All operations](https://skmtc.net/coinmetrics/apis/coin-metrics-api-v4/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coinmetrics/coin-metrics-api-v4/versions/774268c0a4fe/schema)
