Get All DATs Time Series
curl --request GET \
--url https://api.messari.io/metrics/v2/protocols/dats/time-series/{granularity} \
--header 'X-Messari-API-Key: <api-key>'import requests
url = "https://api.messari.io/metrics/v2/protocols/dats/time-series/{granularity}"
headers = {"X-Messari-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Messari-API-Key': '<api-key>'}};
fetch('https://api.messari.io/metrics/v2/protocols/dats/time-series/{granularity}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.messari.io/metrics/v2/protocols/dats/time-series/{granularity}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Messari-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.messari.io/metrics/v2/protocols/dats/time-series/{granularity}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Messari-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.messari.io/metrics/v2/protocols/dats/time-series/{granularity}")
.header("X-Messari-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.messari.io/metrics/v2/protocols/dats/time-series/{granularity}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Messari-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"error": null,
"data": [
{
"dat": {
"id": "AGRI",
"name": "AVAX One",
"slug": ""
},
"points": []
},
{
"dat": {
"id": "BNC",
"name": "BNB Network Company",
"slug": "bnb-network-company",
"projectId": "cd2462c7-0f11-4354-9413-17c865c76b92"
},
"points": [
[
1787011200,
2.5231,
322404.53655501,
41173850,
103885740.935,
55638740.935,
98429348,
248347087.93879998,
200100087.93879998,
50000000,
1753000,
null,
311753413.5113964,
0.3332304841986995,
0.796613853049989,
0.17847035035902206,
0.6418537192103115
],
[
1787097600,
2.5819,
521772.467367726,
41173850,
106306763.315,
58059763.315,
98429348,
254134733.6012,
205887733.6012,
50000000,
1753000,
null,
310582276.2861007,
0.34228213079703507,
0.818252530827282,
0.18693843064475701,
0.662908830675004
],
[
1787184000,
2.7419,
1016178.1409923919,
41173850,
112894579.315,
64647579.315,
98429348,
269883429.2812,
221636429.2812,
50000000,
1753000,
null,
323376657.4291549,
0.3491117145328675,
0.8345791914196091,
0.1999141800430136,
0.6853816569297552
],
[
1787270400,
2.9575,
2262979.13535148,
41173850,
121771661.375,
73524661.375,
98429348,
291104796.71,
242857796.70999998,
50000000,
1753000,
null,
336972157.7417888,
0.3613700971351758,
0.8638838254793277,
0.21819209595155822,
0.7207058242957102
]
]
}
],
"metadata": {
"pointSchemas": [
{
"name": "Timestamp",
"slug": "time",
"description": "Timestamp of the data point.",
"is_timestamp": true
},
{
"name": "Stock Price (USD)",
"slug": "price",
"description": "Latest stock price in USD.",
"is_timestamp": false
},
{
"name": "Volume (USD)",
"slug": "volumeUsd",
"description": "Dollar trading volume.",
"is_timestamp": false
},
{
"name": "Outstanding Shares",
"slug": "outstandingShares",
"description": "Shares currently issued and held by investors.",
"is_timestamp": false
},
{
"name": "Market Cap (USD)",
"slug": "marketCap",
"description": "Stock price times outstanding shares in USD.",
"is_timestamp": false
},
{
"name": "Enterprise Value (USD)",
"slug": "enterpriseValue",
"description": "Market cap plus debt minus cash in USD.",
"is_timestamp": false
},
{
"name": "Fully Diluted Shares",
"slug": "fullyDilutedShares",
"description": "All shares if options, warrants and convertibles are exercised.",
"is_timestamp": false
},
{
"name": "Fully Diluted Valuation (USD)",
"slug": "fullyDilutedValuation",
"description": "Stock price times fully diluted shares in USD.",
"is_timestamp": false
},
{
"name": "Fully Diluted Enterprise Value (USD)",
"slug": "fullyDilutedEnterpriseValue",
"description": "Enterprise value on a fully diluted share basis in USD.",
"is_timestamp": false
},
{
"name": "Cash (USD)",
"slug": "cash",
"description": "Cash and equivalents on the balance sheet in USD.",
"is_timestamp": false
},
{
"name": "Debt (USD)",
"slug": "debt",
"description": "Total debt on the balance sheet in USD.",
"is_timestamp": false
},
{
"name": "Preferred Market Cap (USD)",
"slug": "preferredMarketCap",
"description": "Market value of preferred stock in USD.",
"is_timestamp": false
},
{
"name": "NAV (USD)",
"slug": "nav",
"description": "Net asset value - crypto holdings at market value, net of liabilities, in USD.",
"is_timestamp": false
},
{
"name": "Outstanding mNAV",
"slug": "outstandingMnav",
"description": "Market cap divided by NAV - premium or discount to crypto NAV on outstanding shares.",
"is_timestamp": false
},
{
"name": "Fully Diluted mNAV",
"slug": "fullyDilutedMnav",
"description": "Fully diluted valuation divided by NAV.",
"is_timestamp": false
},
{
"name": "Outstanding EV mNAV",
"slug": "outstandingEvMnav",
"description": "Enterprise value divided by NAV on outstanding shares.",
"is_timestamp": false
},
{
"name": "Fully Diluted EV mNAV",
"slug": "fullyDilutedEvMnav",
"description": "Fully diluted enterprise value divided by NAV.",
"is_timestamp": false
}
],
"granularity": "1d"
}
}{
"data": "<unknown>",
"error": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}DATs
Get All DATs Time Series
Returns one treasury time series per digital asset treasury company, for every company the DAT listing serves, in a single response. Use this instead of calling the per-company treasury endpoint once for each company. Every metric and the full history are returned by default; narrow start and end to limit the response size. A company with no data in the window is still present, with an empty points array.
GET
/
metrics
/
v2
/
protocols
/
dats
/
time-series
/
{granularity}
Get All DATs Time Series
curl --request GET \
--url https://api.messari.io/metrics/v2/protocols/dats/time-series/{granularity} \
--header 'X-Messari-API-Key: <api-key>'import requests
url = "https://api.messari.io/metrics/v2/protocols/dats/time-series/{granularity}"
headers = {"X-Messari-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Messari-API-Key': '<api-key>'}};
fetch('https://api.messari.io/metrics/v2/protocols/dats/time-series/{granularity}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.messari.io/metrics/v2/protocols/dats/time-series/{granularity}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Messari-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.messari.io/metrics/v2/protocols/dats/time-series/{granularity}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Messari-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.messari.io/metrics/v2/protocols/dats/time-series/{granularity}")
.header("X-Messari-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.messari.io/metrics/v2/protocols/dats/time-series/{granularity}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Messari-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"error": null,
"data": [
{
"dat": {
"id": "AGRI",
"name": "AVAX One",
"slug": ""
},
"points": []
},
{
"dat": {
"id": "BNC",
"name": "BNB Network Company",
"slug": "bnb-network-company",
"projectId": "cd2462c7-0f11-4354-9413-17c865c76b92"
},
"points": [
[
1787011200,
2.5231,
322404.53655501,
41173850,
103885740.935,
55638740.935,
98429348,
248347087.93879998,
200100087.93879998,
50000000,
1753000,
null,
311753413.5113964,
0.3332304841986995,
0.796613853049989,
0.17847035035902206,
0.6418537192103115
],
[
1787097600,
2.5819,
521772.467367726,
41173850,
106306763.315,
58059763.315,
98429348,
254134733.6012,
205887733.6012,
50000000,
1753000,
null,
310582276.2861007,
0.34228213079703507,
0.818252530827282,
0.18693843064475701,
0.662908830675004
],
[
1787184000,
2.7419,
1016178.1409923919,
41173850,
112894579.315,
64647579.315,
98429348,
269883429.2812,
221636429.2812,
50000000,
1753000,
null,
323376657.4291549,
0.3491117145328675,
0.8345791914196091,
0.1999141800430136,
0.6853816569297552
],
[
1787270400,
2.9575,
2262979.13535148,
41173850,
121771661.375,
73524661.375,
98429348,
291104796.71,
242857796.70999998,
50000000,
1753000,
null,
336972157.7417888,
0.3613700971351758,
0.8638838254793277,
0.21819209595155822,
0.7207058242957102
]
]
}
],
"metadata": {
"pointSchemas": [
{
"name": "Timestamp",
"slug": "time",
"description": "Timestamp of the data point.",
"is_timestamp": true
},
{
"name": "Stock Price (USD)",
"slug": "price",
"description": "Latest stock price in USD.",
"is_timestamp": false
},
{
"name": "Volume (USD)",
"slug": "volumeUsd",
"description": "Dollar trading volume.",
"is_timestamp": false
},
{
"name": "Outstanding Shares",
"slug": "outstandingShares",
"description": "Shares currently issued and held by investors.",
"is_timestamp": false
},
{
"name": "Market Cap (USD)",
"slug": "marketCap",
"description": "Stock price times outstanding shares in USD.",
"is_timestamp": false
},
{
"name": "Enterprise Value (USD)",
"slug": "enterpriseValue",
"description": "Market cap plus debt minus cash in USD.",
"is_timestamp": false
},
{
"name": "Fully Diluted Shares",
"slug": "fullyDilutedShares",
"description": "All shares if options, warrants and convertibles are exercised.",
"is_timestamp": false
},
{
"name": "Fully Diluted Valuation (USD)",
"slug": "fullyDilutedValuation",
"description": "Stock price times fully diluted shares in USD.",
"is_timestamp": false
},
{
"name": "Fully Diluted Enterprise Value (USD)",
"slug": "fullyDilutedEnterpriseValue",
"description": "Enterprise value on a fully diluted share basis in USD.",
"is_timestamp": false
},
{
"name": "Cash (USD)",
"slug": "cash",
"description": "Cash and equivalents on the balance sheet in USD.",
"is_timestamp": false
},
{
"name": "Debt (USD)",
"slug": "debt",
"description": "Total debt on the balance sheet in USD.",
"is_timestamp": false
},
{
"name": "Preferred Market Cap (USD)",
"slug": "preferredMarketCap",
"description": "Market value of preferred stock in USD.",
"is_timestamp": false
},
{
"name": "NAV (USD)",
"slug": "nav",
"description": "Net asset value - crypto holdings at market value, net of liabilities, in USD.",
"is_timestamp": false
},
{
"name": "Outstanding mNAV",
"slug": "outstandingMnav",
"description": "Market cap divided by NAV - premium or discount to crypto NAV on outstanding shares.",
"is_timestamp": false
},
{
"name": "Fully Diluted mNAV",
"slug": "fullyDilutedMnav",
"description": "Fully diluted valuation divided by NAV.",
"is_timestamp": false
},
{
"name": "Outstanding EV mNAV",
"slug": "outstandingEvMnav",
"description": "Enterprise value divided by NAV on outstanding shares.",
"is_timestamp": false
},
{
"name": "Fully Diluted EV mNAV",
"slug": "fullyDilutedEvMnav",
"description": "Fully diluted enterprise value divided by NAV.",
"is_timestamp": false
}
],
"granularity": "1d"
}
}{
"data": "<unknown>",
"error": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}Authorizations
Path Parameters
Granularity
Available options:
1d Example:
"1d"
Query Parameters
Time range start
Example:
"2026-08-01T00:00:00Z"
Time range end
Example:
"2026-08-21T00:00:00Z"
⌘I

