Blockchain

get
Block Height

https://api.glassnode.com/v1/metrics/blockchain/block_height
The block height, i.e. the total number of blocks ever created and included in the main blockchain. View in Studio: https://studio.glassnode.com/metrics?a=BTC&m=blockchain.BlockHeight
Request
Response
Request
Query Parameters
a
required
string
asset symbol (only BTC , ETH, BCH, LTC)
s
optional
integer
since, unix timestamp
u
optional
integer
until, unix timestamp
i
optional
string
frequency interval, 1h, 10m or 24h (default)
f
optional
string
format, csv or json (default)
Response
200: OK
[
{
"t": 1576627200,
"v": 608709
},
...
]
400: Bad Request
unsupported asset

get
Number of Blocks

https://api.glassnode.com/v1/metrics/blockchain/block_count
The number of blocks created and included in the main blockchain in that time period. View in Studio: https://studio.glassnode.com/metrics?a=BTC&m=blockchain.BlockCount
Request
Response
Request
Query Parameters
a
required
string
asset symbol (only BTC , ETH, BCH, LTC)
s
optional
integer
since, unix timestamp
u
optional
integer
until, unix timestamp
i
optional
string
frequency interval, 1h, 10m or 24h (default)
f
optional
string
format, csv or json (default)
Response
200: OK
[
{
"t": 1576627200,
"v": 134
},
...
]
400: Bad Request
unsupported asset

get
Block Interval (Mean)

https://api.glassnode.com/v1/metrics/blockchain/block_interval_mean
The mean time (in seconds) between mined blocks. View in Studio: https://studio.glassnode.com/metrics?a=BTC&m=blockchain.BlockIntervalMean
Request
Response
Request
Query Parameters
a
required
string
asset symbol (only BTC , ETH, BCH, LTC)
s
optional
integer
since, unix timestamp
u
optional
integer
until, unix timestamp
i
optional
string
frequency interval, 1h, 10m or 24h (default)
f
optional
string
format, csv or json (default)
Response
200: OK
[
{
"t": 1576627200,
"v": 644.84328358209
},
...
]
400: Bad Request
unsupported asset

get
Block Interval (Median)

https://api.glassnode.com/v1/metrics/blockchain/block_interval_median
The median time (in seconds) between mined blocks. View in Studio: https://studio.glassnode.com/metrics?a=BTC&m=blockchain.BlockIntervalMedian
Request
Response
Request
Query Parameters
a
required
string
asset symbol (only BTC , ETH, BCH, LTC)
s
optional
integer
since, unix timestamp
u
optional
integer
until, unix timestamp
i
optional
string
frequency interval, 1h, 10m or 24h (default)
f
optional
string
format, csv or json (default)
Response
200: OK
[
{
"t": 1576627200,
"v": 416
},
...
]
400: Bad Request
unsupported asset

get
Block Size (Total)

https://api.glassnode.com/v1/metrics/blockchain/block_size_sum
The total size of all blocks created within the time period (in bytes). View in Studio: https://studio.glassnode.com/metrics?a=BTC&m=blockchain.BlockSizeSum
Request
Response
Request
Query Parameters
a
required
string
asset symbol (only BTC , ETH, BCH, LTC)
s
optional
integer
since, unix timestamp
u
optional
integer
until, unix timestamp
i
optional
string
frequency interval, 1h, 10m or 24h (default)
f
optional
string
format, csv or json (default)
Response
200: OK
[
{
"t": 1595894400,
"v": 185680864
},
...
]

get
Block Size (Mean)

https://api.glassnode.com/v1/metrics/blockchain/block_size_mean
The mean size of all blocks created within the time period (in bytes). View in Studio: https://studio.glassnode.com/metrics?a=BTC&m=blockchain.BlockSizeMean
Request
Response
Request
Query Parameters
a
required
string
asset symbol (only BTC , ETH, BCH, LTC)
s
optional
integer
since, unix timestamp
u
optional
integer
until, unix timestamp
i
optional
string
frequency interval, 1h, 10m or 24h (default)
f
optional
string
format, csv or json (default)
Response
200: OK
[
{
"t": 1595894400,
"v": 1280557.68275862
},
...
]