Messari SDK and Core Metrics Release
Major Release: Messari SDK
We're excited to announce the release of the Messari SDK, a powerful TypeScript library that provides seamless access to all Messari APIs. Getting started is as simple as providing your API key:
const client = new MessariClient({ apiKey: "YOUR_API_KEY" });
To get an API key, signup at Messari and navigate to our api page.
Core Metrics API Expansion
Our updated Core Metrics API endpoints have been significantly expanded with new endpoints for Assets, Markets and Exchanges. The new Metrics v2 Assets endpoints will replace the existing Market Data and Asset services, these enhanced endpoints include:
- Asset Details: Access comprehensive information about specific assets including classification, descriptions, and market data all in one convenient endpoint
- All-Time High (ATH) Information: Access detailed ATH data including dates, prices, and percentage changes from peak values
- Return on Investment (ROI) Metrics: Comprehensive ROI data across multiple timeframes (24h, 7d, 30d, 1y, 3y, 5y) for performance analysis
- Asset Coverage Details: Easily determine what Messari datasets are available for each asset, whether it's Diligence, News, or Research
- Asset Metrics Catalog: Browse the complete catalog of available metrics and datasets for assets, helping you discover what data points are available
- Asset Time-Series Data: Access comprehensive historical metrics for any asset with flexible time range selection, perfect for detailed trend analysis
- Granularity-Specific Time-Series: Retrieve asset metrics at predefined time intervals (hourly, daily, weekly), allowing for precise data resolution that matches your analytical needs
Deprecation Notice
The legacy Market Data
and Assets
family of endpoints are now deprecated. All functionality from these endpoints has been consolidated into the new Core Metrics Assets v2 endpoints for improved consistency and performance. We recommend migrating to the new endpoints at your earliest convenience.
Example Usage
// Get asset details with ATH information
const athInfo = await client.asset.getAssetDetails({
slugs: "bitcoin,ethereum"
});
// Get V2 assets with coverage information
const assetsWithCoverage = await client.asset.getAssetsV2({
has_market_data: true,
limit: 10
});
Full documentation and examples are available in our API Reference