# Messari API — Crypto Asset Metric Dataset Slugs & Granularities

> Messari API — Crypto Asset Metric Dataset Slugs & Granularities is a free API for AI agents from api.messari.io, Free, status unknown (last checked 2026-09-13).

Returns available cryptocurrency asset metric dataset slugs and their supported time granularities for use in metric history queries.

## Facts

- Endpoint: POST https://api.messari.io/metrics/v2/assets/metrics
- Price: Free
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/messari-api-crypto-asset-metric-dataset-slugs-granularities-abaf609e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2eeoGNP6GOutTs5vd8JFu

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-crypto-asset-metric-dataset-slugs-granularities-abaf609e -d '<json body>'
```

Example prompt: What metric slugs and granularities does Messari support for crypto asset data, especially anything related to price or market cap?

## When to prefer this

Use this endpoint before querying Messari metric history endpoints when you need to discover or validate the correct metric slug (e.g. 'price_usd') or confirm which time granularities are supported for a given metric. This is the discovery/catalog step that precedes any historical data retrieval call.

## Known failure modes

- Invalid request body returns 400 error
- Authentication failure returns 401 if API key is required
- No metrics matching filter returns empty data array
- Rate limit exceeded returns 429
- Service unavailable returns 503

## How this service works

Find cryptocurrency asset metric dataset slugs and supported granularities.

## Output

A list of metric objects, each containing a human-readable name (e.g. 'Price (USD)') and a slug identifier (e.g. 'price_usd') that can be used in subsequent Messari metric history API calls.

## Response schema (JSON Schema)

```json
{
 "example": {
  "data": [
   {
    "name": "Price (USD)",
    "slug": "price_usd"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/messari-api-crypto-asset-metric-dataset-slugs-granularities-abaf609e/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)
