# Messari API — Hourly Crypto Asset Metric Time-Series

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

Returns hourly time-series data for a specified cryptocurrency asset metric, enabling intraday analysis and strategy.

## Facts

- Endpoint: GET https://api.messari.io/metrics/v2/assets/*/metrics/*/time-series/1h
- Price: $0.18/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-hourly-crypto-asset-metric-time-series-773b9f1e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t-foPkRJPe4bbTXSOk3ZA

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-hourly-crypto-asset-metric-time-series-773b9f1e
```

Example prompt: Pull Messari's hourly price_usd time series for bitcoin from 2025-06-01 to 2025-06-07 so I can analyze intraday price movements.

## When to prefer this

Use this endpoint when you need intraday (hourly) granularity for a cryptocurrency asset metric — ideal for short-term trading signals, hourly monitoring, or building intraday dashboards. Choose over the 5m/15m endpoints when 1-hour resolution is sufficient and lower cost per call is preferred. Choose over the daily endpoint when sub-day resolution is required.

## Known failure modes

- Invalid entityIdentifier returns 404 or empty data
- Unknown datasetSlug returns error or no results
- Start/end date format not ISO-8601 compliant causes parsing error
- Date range too large may exceed response limits
- Payment not processed (x402) results in 402 Payment Required
- Metric not available at 1h granularity returns error

## How this service works

Get hourly cryptocurrency asset metric history for intraday strategies.

## Output

An array of timestamped metric values at 1-hour intervals for the requested cryptocurrency 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-api-hourly-crypto-asset-metric-time-series-773b9f1e/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)
