Overview
Metrics in the Blockworks API are curated, time-series datasets that track key blockchain network statistics like revenue, token supply, or DEX volume. Each metric provides historical data across multiple blockchain projects with consistent methodology and formatting.| Topic | Details |
|---|---|
| What is a metric? | Curated time-series data (usually daily) for blockchain networks |
| What is a project? | An asset from the assets collection - each represents a blockchain or protocol |
| Data structure | JSON object keyed by project identifier, containing date/value arrays |
| Coverage | Complete daily historical data available for each supported project |
Projects and Assets
In the context of metrics, a “project” refers to an asset from the assets collection. When you request metrics data, you specify projects using their asset slugs (likeethereum, bitcoin, solana).
Payload Structure
The response is a JSON object with the following structure:| Field | Type | Description |
|---|---|---|
date | string | ISO-8601 date (YYYY-MM-DD) |
value | number | Metric value for that date in the specified unit |
Single Project
To request data for a single project, use theproject query parameter with the project slug.
cURL
Multiple Projects
To request data for multiple projects, use theproject query parameter with a comma-separated list of project slugs.
cURL
Response
Historical Coverage
Each metric provides the complete historical dataset for every supported project:- Full history: Data starts from the project’s earliest available date
- Consistent methodology: Same calculation method across all projects and time periods
- Daily granularity: Most metrics provide daily data points
- Up-to-date: Data is regularly updated with the latest values
Available Metrics
See the Metrics Catalog for a complete list of available metrics.Related Endpoints
- List Assets - Find available project identifiers
- List Metrics - Browse available metrics
- Get Single Metric - Retrieve metric data