# Messari API — Daily Crypto Asset Metric Time-Series (1d)

> Messari API — Daily Crypto Asset Metric Time-Series (1d) 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-13).

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

## Facts

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

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-api-daily-crypto-asset-metric-time-series-1d-4ee83b8c
```

Example prompt: Pull me Messari's daily price_usd history for bitcoin from 2024-01-01 to 2024-12-31 so I can see how BTC performed last year.

## When to prefer this

Use this endpoint when you need daily-granularity historical metric data for a cryptocurrency asset and want the explicit 1d route. Prefer this over the default time-series route when you specifically want daily bars. Choose this over the 1h, 15m, or 5m variants when lower frequency is sufficient and you want to minimize cost ($0.15/call). Ideal for trend analysis, backtesting, charting, or feeding an agent's memory with macro-level crypto data.

## Known failure modes

- Invalid entityIdentifier (unknown asset slug) — 404 or empty data
- Invalid datasetSlug (metric not available for asset) — 404 or empty dataset
- Date range too wide or unsupported — may return partial data or error
- Malformed ISO-8601 date strings — 400 bad request
- Payment not attached or insufficient — 402 Payment Required
- Rate limit exceeded — 429 Too Many Requests

## How this service works

Get daily cryptocurrency asset metric history via the explicit 1d route.

## Output

An array of timestamp-value pairs representing the daily metric values for the requested asset over the specified date range, e.g. [{timestamp: '2025-01-01T00:00:00Z', value: 94500.00}, ...]

## 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-api-daily-crypto-asset-metric-time-series-1d-4ee83b8c/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)
