Blockchain
Block Height
GET
https://api.glassnode.com/v1/metrics/blockchain/block_height
GET
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.
asset id - BTC, ETH
since, unix timestamp
until, unix timestamp
frequency interval - 1h, 24h, 10m, 1w, 1month
format - csv, json
json
Possible values: timestamp format - unix or humanized (RFC 3339)
unix
Possible values: GET /v1/metrics/blockchain/block_height HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
{
"t": 1726790400,
"v": 862171
}
]
Query Parameters
a*
string
asset id - BTC, ETH
s
integer
since, unix timestamp
u
integer
until, unix timestamp
i
string
frequency interval - 1h, 24h, 10m, 1w, 1month
f
string
format - csv, json
timestamp_format
string
timestamp format - unix or humanized (RFC 3339)
[{"t":1726790400,"v":862171}]
Block Interval (Mean)
GET
https://api.glassnode.com/v1/metrics/blockchain/block_interval_mean
GET
https://api.glassnode.com/v1/metrics/blockchain/block_interval_mean
Query Parameters
a*
string
asset id - BTC, ETH
s
integer
since, unix timestamp
u
integer
until, unix timestamp
i
string
frequency interval - 1h, 24h, 10m, 1w, 1month
f
string
format - csv, json
timestamp_format
string
timestamp format - unix or humanized (RFC 3339)
[{"t":1726790400,"v":605.2068965517242}]
Block Interval (Median)
GET
https://api.glassnode.com/v1/metrics/blockchain/block_interval_median
GET
https://api.glassnode.com/v1/metrics/blockchain/block_interval_median
Query Parameters
a*
string
asset id - BTC, ETH
s
integer
since, unix timestamp
u
integer
until, unix timestamp
i
string
frequency interval - 1h, 24h, 10m, 1w, 1month
f
string
format - csv, json
timestamp_format
string
timestamp format - unix or humanized (RFC 3339)
[{"t":1726790400,"v":383}]
Block Size (Mean)
GET
https://api.glassnode.com/v1/metrics/blockchain/block_size_mean
GET
https://api.glassnode.com/v1/metrics/blockchain/block_size_mean
The mean size of all blocks created within the time period (in bytes).
asset id - BTC, ETH
since, unix timestamp
until, unix timestamp
frequency interval - 1h, 24h, 10m, 1w, 1month
format - csv, json
json
Possible values: timestamp format - unix or humanized (RFC 3339)
unix
Possible values: GET /v1/metrics/blockchain/block_size_mean HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
{
"t": 1726790400,
"v": 1661256.979310345
}
]
Query Parameters
a*
string
asset id - BTC, ETH
s
integer
since, unix timestamp
u
integer
until, unix timestamp
i
string
frequency interval - 1h, 24h, 10m, 1w, 1month
f
string
format - csv, json
timestamp_format
string
timestamp format - unix or humanized (RFC 3339)
[{"t":1726790400,"v":1661256.9793103458}]
Block Size (Total)
GET
https://api.glassnode.com/v1/metrics/blockchain/block_size_sum
GET
https://api.glassnode.com/v1/metrics/blockchain/block_size_sum
The total size of all blocks created within the time period (in bytes).
asset id - BTC, ETH
since, unix timestamp
until, unix timestamp
frequency interval - 1h, 24h, 10m, 1w, 1month
format - csv, json
json
Possible values: timestamp format - unix or humanized (RFC 3339)
unix
Possible values: GET /v1/metrics/blockchain/block_size_sum HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
{
"t": 1726790400,
"v": 240882262
}
]
Query Parameters
a*
string
asset id - BTC, ETH
s
integer
since, unix timestamp
u
integer
until, unix timestamp
i
string
frequency interval - 1h, 24h, 10m, 1w, 1month
f
string
format - csv, json
timestamp_format
string
timestamp format - unix or humanized (RFC 3339)
[{"t":1726790400,"v":240882262}]
Blocks Mined
GET
https://api.glassnode.com/v1/metrics/blockchain/block_count
GET
https://api.glassnode.com/v1/metrics/blockchain/block_count
The number of blocks created and included in the main blockchain in that time period.
asset id - BTC, ETH
since, unix timestamp
until, unix timestamp
frequency interval - 1h, 24h, 10m, 1w, 1month
format - csv, json
json
Possible values: timestamp format - unix or humanized (RFC 3339)
unix
Possible values: GET /v1/metrics/blockchain/block_count HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
{
"t": 1726790400,
"v": 145
}
]
Query Parameters
a*
string
asset id - BTC, ETH
s
integer
since, unix timestamp
u
integer
until, unix timestamp
i
string
frequency interval - 1h, 24h, 10m, 1w, 1month
f
string
format - csv, json
timestamp_format
string
timestamp format - unix or humanized (RFC 3339)
[{"t":1726790400,"v":145}]
Percent UTXOs in Profit
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_profit_relative
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_profit_relative
The percentage of unspent transaction outputs whose price at creation time was lower than the current price. For more information see this article.
asset id - BTC
since, unix timestamp
until, unix timestamp
frequency interval - 1h, 24h
format - csv, json
json
Possible values: timestamp format - unix or humanized (RFC 3339)
unix
Possible values: GET /v1/metrics/blockchain/utxo_profit_relative HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
{
"t": 1726790400,
"v": 0.803661312846928
}
]
Query Parameters
a*
string
asset id - BTC
s
integer
since, unix timestamp
u
integer
until, unix timestamp
i
string
frequency interval - 1h, 24h
f
string
format - csv, json
timestamp_format
string
timestamp format - unix or humanized (RFC 3339)
[{"t":1726790400,"v":0.803661312846928}]
UTXO Value Created (Mean)
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_created_value_mean
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_created_value_mean
The mean amount of coins in newly created UTXOs.
asset id - BTC
since, unix timestamp
until, unix timestamp
frequency interval - 1h, 24h, 10m, 1w, 1month
format - csv, json
json
Possible values: currency - native, usd
timestamp format - unix or humanized (RFC 3339)
unix
Possible values: GET /v1/metrics/blockchain/utxo_created_value_mean HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
{
"t": 1726790400,
"v": 0.7248314081283942
}
]
Query Parameters
a*
string
asset id - BTC
s
integer
since, unix timestamp
u
integer
until, unix timestamp
i
string
frequency interval - 1h, 24h, 10m, 1w, 1month
f
string
format - csv, json
c
string
currency - native, usd
timestamp_format
string
timestamp format - unix or humanized (RFC 3339)
[{"t":1726790400,"v":0.724831408128358}]
UTXO Value Created (Median)
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_created_value_median
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_created_value_median
The median amount of coins in newly created UTXOs.
asset id - BTC
since, unix timestamp
until, unix timestamp
frequency interval - 1h, 24h, 10m, 1w, 1month
format - csv, json
json
Possible values: currency - native, usd
timestamp format - unix or humanized (RFC 3339)
unix
Possible values: GET /v1/metrics/blockchain/utxo_created_value_median HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
{
"t": 1726790400,
"v": 0.00032499
}
]
Query Parameters
a*
string
asset id - BTC
s
integer
since, unix timestamp
u
integer
until, unix timestamp
i
string
frequency interval - 1h, 24h, 10m, 1w, 1month
f
string
format - csv, json
c
string
currency - native, usd
timestamp_format
string
timestamp format - unix or humanized (RFC 3339)
[{"t":1726790400,"v":0.00032499}]
UTXO Value Created (Total)
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_created_value_sum
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_created_value_sum
The total amount of coins in newly created UTXOs.
asset id - BTC
since, unix timestamp
until, unix timestamp
frequency interval - 1h, 24h, 10m, 1w, 1month
format - csv, json
json
Possible values: currency - native, usd
timestamp format - unix or humanized (RFC 3339)
unix
Possible values: GET /v1/metrics/blockchain/utxo_created_value_sum HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
{
"t": 1726790400,
"v": 980010.47985418
}
]
Query Parameters
a*
string
asset id - BTC
s
integer
since, unix timestamp
u
integer
until, unix timestamp
i
string
frequency interval - 1h, 24h, 10m, 1w, 1month
f
string
format - csv, json
c
string
currency - native, usd
timestamp_format
string
timestamp format - unix or humanized (RFC 3339)
[{"t":1726790400,"v":980010.47985418}]
UTXO Value Spent (Mean)
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_spent_value_mean
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_spent_value_mean
The mean amount of coins in spent transaction outputs.
asset id - BTC
since, unix timestamp
until, unix timestamp
frequency interval - 1h, 24h, 10m, 1w, 1month
format - csv, json
json
Possible values: currency - native, usd
timestamp format - unix or humanized (RFC 3339)
unix
Possible values: GET /v1/metrics/blockchain/utxo_spent_value_mean HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
{
"t": 1726790400,
"v": 0.8495012603919359
}
]
Query Parameters
a*
string
asset id - BTC
s
integer
since, unix timestamp
u
integer
until, unix timestamp
i
string
frequency interval - 1h, 24h, 10m, 1w, 1month
f
string
format - csv, json
c
string
currency - native, usd
timestamp_format
string
timestamp format - unix or humanized (RFC 3339)
[{"t":1726790400,"v":0.8495012603919881}]
UTXO Value Spent (Median)
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_spent_value_median
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_spent_value_median
The median amount of coins in spent transaction outputs.
asset id - BTC
since, unix timestamp
until, unix timestamp
frequency interval - 1h, 24h, 10m, 1w, 1month
format - csv, json
json
Possible values: currency - native, usd
timestamp format - unix or humanized (RFC 3339)
unix
Possible values: GET /v1/metrics/blockchain/utxo_spent_value_median HTTP/1.1
Host: api.glassnode.com
Accept: */*
[
{
"t": 1726790400,
"v": 0.0007047
}
]
Query Parameters
a*
string
asset id - BTC
s
integer
since, unix timestamp
u
integer
until, unix timestamp
i
string
frequency interval - 1h, 24h, 10m, 1w, 1month
f
string
format - csv, json
c
string
currency - native, usd
timestamp_format
string
timestamp format - unix or humanized (RFC 3339)
[{"t":1726790400,"v":0.0007047}]
UTXO Value Spent (Total)
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_spent_value_sum
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_spent_value_sum
Query Parameters
a*
string
asset id - BTC
s
integer
since, unix timestamp
u
integer
until, unix timestamp
i
string
frequency interval - 1h, 24h, 10m, 1w, 1month
f
string
format - csv, json
c
string
currency - native, usd
timestamp_format
string
timestamp format - unix or humanized (RFC 3339)
[{"t":1726790400,"v":979557.35485418}]
UTXOs (Total)
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_count
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_count
Query Parameters
a*
string
asset id - BTC
s
integer
since, unix timestamp
u
integer
until, unix timestamp
i
string
frequency interval - 1h, 24h, 10m, 1w, 1month
f
string
format - csv, json
timestamp_format
string
timestamp format - unix or humanized (RFC 3339)
[{"t":1726790400,"v":298827892}]
UTXOs Created
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_created_count
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_created_count
Query Parameters
a*
string
asset id - BTC
s
integer
since, unix timestamp
u
integer
until, unix timestamp
i
string
frequency interval - 1h, 24h, 10m, 1w, 1month
f
string
format - csv, json
timestamp_format
string
timestamp format - unix or humanized (RFC 3339)
[{"t":1726790400,"v":1352053}]
UTXOs in Loss
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_loss_count
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_loss_count
Query Parameters
a*
string
asset id - BTC
s
integer
since, unix timestamp
u
integer
until, unix timestamp
i
string
frequency interval - 1h, 24h
f
string
format - csv, json
timestamp_format
string
timestamp format - unix or humanized (RFC 3339)
[{"t":1726790400,"v":58666625}]
UTXOs in Profit
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_profit_count
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_profit_count
Query Parameters
a*
string
asset id - BTC
s
integer
since, unix timestamp
u
integer
until, unix timestamp
i
string
frequency interval - 1h, 24h
f
string
format - csv, json
timestamp_format
string
timestamp format - unix or humanized (RFC 3339)
[{"t":1726790400,"v":240156416}]
UTXOs Spent
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_spent_count
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_spent_count
Query Parameters
a*
string
asset id - BTC
s
integer
since, unix timestamp
u
integer
until, unix timestamp
i
string
frequency interval - 1h, 24h, 10m, 1w, 1month
f
string
format - csv, json
timestamp_format
string
timestamp format - unix or humanized (RFC 3339)
[{"t":1726790400,"v":1153097}]
Last updated