# Messari API — 5-Minute Crypto Asset Metric Time-Series

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

Returns 5-minute interval historical metric data for a cryptocurrency asset, enabling high-frequency analysis and real-time monitoring.

## Facts

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

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-5-minute-crypto-asset-metric-time-series-dbd8508a
```

Example prompt: Pull the 5-minute price_usd time-series for bitcoin from Messari from 2025-06-01T00:00:00Z to 2025-06-02T00:00:00Z so I can analyze intraday price movements.

## When to prefer this

Use this endpoint when you need high-frequency, 5-minute resolution metric history for a crypto asset — ideal for algorithmic trading signals, short-horizon trend detection, or intraday analysis. Prefer this over 15m, 1h, or 1d routes when maximum temporal granularity is required within an intraday window.

## Known failure modes

- Invalid asset identifier returns 404 or empty result
- Unknown or unsupported metric dataset slug returns error
- Date range too large may cause timeout or partial results
- Requesting a granularity not supported for the 5m route variant returns an error
- Missing required parameters (entityIdentifier or datasetSlug) returns 400 Bad Request
- Payment not fulfilled triggers 402 Payment Required

## How this service works

Get 5-minute cryptocurrency asset metric history for high-frequency agents.

## Output

An array of timestamped metric value objects at 5-minute intervals, each containing a timestamp (ISO-8601) and the corresponding numeric metric value (e.g. USD price) for the requested asset and dataset slug.

## 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-5-minute-crypto-asset-metric-time-series-dbd8508a/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)
