Skip to main content

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.

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 (like ethereum, bitcoin, solana).

Payload Structure

The response is a JSON object with the following structure:
Each project’s data is an array of objects with two fields:

Single Project

To request data for a single project, use the project query parameter with the project slug.
cURL
When requesting data for one project, the response contains a single key-value pair:

Multiple Projects

To request data for multiple projects, use the project query parameter with a comma-separated list of project slugs.
cURL
When requesting multiple projects, each project gets its own key in the response:
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.