---
title: "Asset metrics"
method: GET
path: "/timeseries-stream/asset-metrics"
tags: ["Timeseries stream"]
---

# Asset metrics

`GET /timeseries-stream/asset-metrics`

Returns a WebSocket stream of metrics for specified assets.<br/> Endpoint supports only block by block (`1b` frequency), per second (`1s` frequency), and sub-second (`200ms` frequency) metrics.<br/> Different sets of metrics may come in different messages.<br/> If you are falling behind (slow client) you will get `warning` message first, then `error` message and disconnection will happen.

## Query parameters

- `assets` string[], required
- `metrics` string[], required
- `frequency` string
- `backfill` 'latest' | 'none'
- `pretty` boolean
- `ignore_unsupported_errors` boolean
- `ignore_forbidden_errors` boolean

## Response `default`

Asset metrics WebSocket message.

- StreamingAssetMetric — Metric values.
  - `asset` string, required — Name of the asset.
  - `time` string, required — The time in ISO 8601 date-time format. Always with nanoseconds precision.
  - `cm_sequence_id` string, required — The monotonically increasing message number, resets on disconnection.

## Other responses

- `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/revisions/774268c0a4fe/schema)
