Rank
Definition
The rank
metrics is defined by the numerical position, starting from 1, of the asset within the list of all assets sorted by market capitalization in ascending order. Assets with smaller market capitalizations are assigned lower numerical positions.
Access
Measuring Unit
Position in a list
Data Type
Frequency
Latency
Available Assets
SanAPI
Get historical ranks of an asset
1 2 3 4 5 6 7 8 9 10 11 12 13
{ getMetric(metric: "rank") { timeseriesData( slug: "ethereum" from: "2020-04-01T00:00:00Z" to: "2020-04-07T00:00:00Z" interval: "1d" ) { datetime value } } }
Get the latest rank of each asset
1
2
3
4
5
6
7
8
9
10
11
{
allProjects {
slug
rank: aggregatedTimeseriesData(
metric: "rank"
from: "utc_now-1d"
to: "utc_now"
aggregation: LAST
)
}
}