# Messari Crypto Asset Daily Metric Time-Series

> Messari Crypto Asset Daily Metric Time-Series is a paid API for AI agents from api.messari.io, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-15).

Returns daily historical time-series data for a specified cryptocurrency asset metric (e.g. price, volume) over a given date range.

## Facts

- Endpoint: GET https://api.messari.io/metrics/v2/assets/*/metrics/*/time-series
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/messari-crypto-asset-daily-metric-time-series-835a379d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_N5OKoMCahMkNChMeKgqTS

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability messari-crypto-asset-daily-metric-time-series-835a379d
```

Example prompt: Pull the daily price_usd history for bitcoin from Messari from January 1 2023 to December 31 2023 so I can run a backtest.

## When to prefer this

Use this endpoint when you need daily-resolution historical metric data for a crypto asset — ideal for backtesting strategies, building agent memory, or trend analysis over weeks/months/years. Choose the sibling 1h or 5m endpoints when you need intraday granularity.

## Known failure modes

- Invalid asset identifier returns 404 or empty data
- Unknown metric dataset slug returns error or no results
- Date range outside available history returns empty array
- Malformed date format returns 400 bad request
- Missing required fields (entityIdentifier or datasetSlug) returns 400
- Insufficient payment / x402 payment failure blocks response
- Rate limit exceeded returns 429

## How this service works

Get daily cryptocurrency asset metric history for backtests and agent memory.

## Output

An array of timestamped metric value objects (timestamp + value pairs) at daily granularity for the requested asset and metric slug, covering the specified date range.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "entityIdentifier",
  "datasetSlug"
 ],
 "properties": {
  "end": {
   "type": "string",
   "description": "ISO-8601 or YYYY-MM-DD end time."
  },
  "start": {
   "type": "string",
   "description": "ISO-8601 or YYYY-MM-DD start time."
  },
  "datasetSlug": {
   "type": "string",
   "description": "Metric dataset slug to fetch (for example \"price_usd\"); available slugs come from GET /metrics/v2/assets/metrics."
  },
  "granularity": {
   "type": "string",
   "description": "Sampling interval for the timeseries route variant; priced granularities are 1d, 1h, 15m, and 5m."
  },
  "entityIdentifier": {
   "type": "string",
   "description": "Asset identifier to query timeseries for (use the same id/slug format accepted by Metrics V2, e.g. \"bitcoin\")."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {
  "data": [
   {
    "value": 0,
    "timestamp": "2025-01-01T00:00:00Z"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/messari-crypto-asset-daily-metric-time-series-835a379d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.messari.io](https://www.zero.xyz/host/api.messari.io/llms.txt)
