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.
Query Parameters
Name | Type | Description |
---|---|---|
a* | string | asset symbol: BTC, ETH, LTC |
s | integer | since, unix timestamp |
u | integer | until, unix timestamp |
i | string | frequency interval: 1h, 24h, 10m, 1w, 1month |
f | string | format: JSON, CSV |
timestamp_format | string | timestamp format: unix or humanized (RFC 3339) |
Block Interval (Mean)
GET
https://api.glassnode.com/v1/metrics/blockchain/block_interval_mean
The mean time (in seconds) between mined blocks.
Query Parameters
Name | Type | Description |
---|---|---|
a* | string | asset symbol: BTC, ETH, LTC |
s | integer | since, unix timestamp |
u | integer | until, unix timestamp |
i | string | frequency interval: 1h, 24h, 10m, 1w, 1month |
f | string | format: JSON, CSV |
timestamp_format | string | timestamp format: unix or humanized (RFC 3339) |
Block Interval (Median)
GET
https://api.glassnode.com/v1/metrics/blockchain/block_interval_median
The median time (in seconds) between mined blocks.
Query Parameters
Name | Type | Description |
---|---|---|
a* | string | asset symbol: BTC, ETH, LTC |
s | integer | since, unix timestamp |
u | integer | until, unix timestamp |
i | string | frequency interval: 1h, 24h, 10m, 1w, 1month |
f | string | format: JSON, CSV |
timestamp_format | string | timestamp format: unix or humanized (RFC 3339) |
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).
Query Parameters
Name | Type | Description |
---|---|---|
a* | string | asset symbol: BTC, ETH, LTC |
s | integer | since, unix timestamp |
u | integer | until, unix timestamp |
i | string | frequency interval: 1h, 24h, 10m, 1w, 1month |
f | string | format: JSON, CSV |
timestamp_format | string | timestamp format: unix or humanized (RFC 3339) |
Block Size (Total)
GET
https://api.glassnode.com/v1/metrics/blockchain/block_size_sum
The total size of all blocks created within the time period (in bytes).
Query Parameters
Name | Type | Description |
---|---|---|
a* | string | asset symbol: BTC, ETH, LTC |
s | integer | since, unix timestamp |
u | integer | until, unix timestamp |
i | string | frequency interval: 1h, 24h, 10m, 1w, 1month |
f | string | format: JSON, CSV |
timestamp_format | string | timestamp format: unix or humanized (RFC 3339) |
Blocks Mined
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.
Query Parameters
Name | Type | Description |
---|---|---|
a* | string | asset symbol: BTC, ETH, LTC |
s | integer | since, unix timestamp |
u | integer | until, unix timestamp |
i | string | frequency interval: 1h, 24h, 10m, 1w, 1month |
f | string | format: JSON, CSV |
timestamp_format | string | timestamp format: unix or humanized (RFC 3339) |
Percent UTXOs in Profit
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.
Query Parameters
Name | Type | Description |
---|---|---|
a* | string | asset symbol: BTC |
s | integer | since, unix timestamp |
u | integer | until, unix timestamp |
i | string | frequency interval: 1h, 24h |
f | string | format: JSON, CSV |
timestamp_format | string | timestamp format: unix or humanized (RFC 3339) |
UTXO Value Created (Mean)
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_created_value_mean
The mean amount of coins in newly created UTXOs.
Query Parameters
Name | Type | Description |
---|---|---|
a* | string | asset symbol: BTC, LTC |
s | integer | since, unix timestamp |
u | integer | until, unix timestamp |
i | string | frequency interval: 1h, 24h, 10m, 1w, 1month |
f | string | format: JSON, CSV |
c | string | currency: NATIVE, USD |
timestamp_format | string | timestamp format: unix or humanized (RFC 3339) |
UTXO Value Created (Median)
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_created_value_median
The median amount of coins in newly created UTXOs.
Query Parameters
Name | Type | Description |
---|---|---|
a* | string | asset symbol: BTC, LTC |
s | integer | since, unix timestamp |
u | integer | until, unix timestamp |
i | string | frequency interval: 1h, 24h, 10m, 1w, 1month |
f | string | format: JSON, CSV |
c | string | currency: NATIVE, USD |
timestamp_format | string | timestamp format: unix or humanized (RFC 3339) |
UTXO Value Created (Total)
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_created_value_sum
The total amount of coins in newly created UTXOs.
Query Parameters
Name | Type | Description |
---|---|---|
a* | string | asset symbol: BTC, LTC |
s | integer | since, unix timestamp |
u | integer | until, unix timestamp |
i | string | frequency interval: 1h, 24h, 10m, 1w, 1month |
f | string | format: JSON, CSV |
c | string | currency: NATIVE, USD |
timestamp_format | string | timestamp format: unix or humanized (RFC 3339) |
UTXO Value Spent (Mean)
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_spent_value_mean
The mean amount of coins in spent transaction outputs.
Query Parameters
Name | Type | Description |
---|---|---|
a* | string | asset symbol: BTC, LTC |
s | integer | since, unix timestamp |
u | integer | until, unix timestamp |
i | string | frequency interval: 1h, 24h, 10m, 1w, 1month |
f | string | format: JSON, CSV |
c | string | currency: NATIVE, USD |
timestamp_format | string | timestamp format: unix or humanized (RFC 3339) |
UTXO Value Spent (Median)
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_spent_value_median
The median amount of coins in spent transaction outputs.
Query Parameters
Name | Type | Description |
---|---|---|
a* | string | asset symbol: BTC, LTC |
s | integer | since, unix timestamp |
u | integer | until, unix timestamp |
i | string | frequency interval: 1h, 24h, 10m, 1w, 1month |
f | string | format: JSON, CSV |
c | string | currency: NATIVE, USD |
timestamp_format | string | timestamp format: unix or humanized (RFC 3339) |
UTXO Value Spent (Total)
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_spent_value_sum
The total amount of coins in spent transaction outputs.
Query Parameters
Name | Type | Description |
---|---|---|
a* | string | asset symbol: BTC, LTC |
s | integer | since, unix timestamp |
u | integer | until, unix timestamp |
i | string | frequency interval: 1h, 24h, 10m, 1w, 1month |
f | string | format: JSON, CSV |
c | string | currency: NATIVE, USD |
timestamp_format | string | timestamp format: unix or humanized (RFC 3339) |
UTXOs (Total)
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_count
The total number of UTXOs in the network.
Query Parameters
Name | Type | Description |
---|---|---|
a* | string | asset symbol: BTC, LTC |
s | integer | since, unix timestamp |
u | integer | until, unix timestamp |
i | string | frequency interval: 1h, 24h, 10m, 1w, 1month |
f | string | format: JSON, CSV |
timestamp_format | string | timestamp format: unix or humanized (RFC 3339) |
UTXOs Created
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_created_count
The number of created unspent transaction outputs.
Query Parameters
Name | Type | Description |
---|---|---|
a* | string | asset symbol: BTC, LTC |
s | integer | since, unix timestamp |
u | integer | until, unix timestamp |
i | string | frequency interval: 1h, 24h, 10m, 1w, 1month |
f | string | format: JSON, CSV |
timestamp_format | string | timestamp format: unix or humanized (RFC 3339) |
UTXOs in Loss
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_loss_count
The number of unspent transaction outputs whose price at creation time was higher than the current price. For more information see this article.
Query Parameters
Name | Type | Description |
---|---|---|
a* | string | asset symbol: BTC |
s | integer | since, unix timestamp |
u | integer | until, unix timestamp |
i | string | frequency interval: 1h, 24h |
f | string | format: JSON, CSV |
timestamp_format | string | timestamp format: unix or humanized (RFC 3339) |
UTXOs in Profit
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_profit_count
The number of unspent transaction outputs whose price at creation time was lower than the current price. For more information see this article.
Query Parameters
Name | Type | Description |
---|---|---|
a* | string | asset symbol: BTC |
s | integer | since, unix timestamp |
u | integer | until, unix timestamp |
i | string | frequency interval: 1h, 24h |
f | string | format: JSON, CSV |
timestamp_format | string | timestamp format: unix or humanized (RFC 3339) |
UTXOs Spent
GET
https://api.glassnode.com/v1/metrics/blockchain/utxo_spent_count
The number of spent transaction outputs.
Query Parameters
Name | Type | Description |
---|---|---|
a* | string | asset symbol: BTC, LTC |
s | integer | since, unix timestamp |
u | integer | until, unix timestamp |
i | string | frequency interval: 1h, 24h, 10m, 1w, 1month |
f | string | format: JSON, CSV |
timestamp_format | string | timestamp format: unix or humanized (RFC 3339) |
Last updated