Fees

get
Gas Used (Total)

https://api.glassnode.com/v1/metrics/fees/gas_used_sum
The total amount of gas used in all transactions. View in Studio: https://studio.glassnode.com/metrics?a=ETH&m=fees.GasUsedSum
Request
Response
Request
Query Parameters
a
required
string
asset symbol (see endpoints page for more details)
s
optional
integer
since, unix timestamp
u
optional
integer
until, unix timestamp
i
optional
string
frequency interval: 1h, 24h, 10m, 1w, 1month
f
optional
string
format: JSON, CSV
timestamp_format
optional
string
timestamp format: unix or humanized (RFC 3339)
Response
200: OK
[{"t":1614556800,"v":79071397736}]
400: Bad Request
unsupported asset

get
Gas Used (Mean)

https://api.glassnode.com/v1/metrics/fees/gas_used_mean
The mean amount of gas used per transaction. View in Studio: https://studio.glassnode.com/metrics?a=ETH&m=fees.GasUsedMean
Request
Response
Request
Query Parameters
a
required
string
asset symbol (see endpoints page for more details)
s
optional
integer
since, unix timestamp
u
optional
integer
until, unix timestamp
i
optional
string
frequency interval: 1h, 24h, 10m, 1w, 1month
f
optional
string
format: JSON, CSV
timestamp_format
optional
string
timestamp format: unix or humanized (RFC 3339)
Response
200: OK
[{"t":1614556800,"v":66674.87213441}]
400: Bad Request
unsupported asset

get
Gas Used (Median)

https://api.glassnode.com/v1/metrics/fees/gas_used_median
The median amount of gas used per transaction. View in Studio: https://studio.glassnode.com/metrics?a=ETH&m=fees.GasUsedMedian
Request
Response
Request
Query Parameters
a
required
string
asset symbol (see endpoints page for more details)
s
optional
integer
since, unix timestamp
u
optional
integer
until, unix timestamp
i
optional
string
frequency interval: 1h, 24h, 10m, 1w, 1month
f
optional
string
format: JSON, CSV
timestamp_format
optional
string
timestamp format: unix or humanized (RFC 3339)
Response
200: OK
[{"t":1614556800,"v":31936}]
400: Bad Request
unsupported asset

get
Transaction Gas Limit (Mean)

https://api.glassnode.com/v1/metrics/fees/gas_limit_tx_mean
The mean gas limit per transaction. View in Studio: https://studio.glassnode.com/metrics?a=ETH&m=fees.GasLimitTxMean
Request
Response
Request
Query Parameters
a
required
string
asset symbol (see endpoints page for more details)
s
optional
integer
since, unix timestamp
u
optional
integer
until, unix timestamp
i
optional
string
frequency interval: 1h, 24h, 10m, 1w, 1month
f
optional
string
format: JSON, CSV
timestamp_format
optional
string
timestamp format: unix or humanized (RFC 3339)
Response
200: OK
[{"t":1614556800,"v":159727.884050846}]
400: Bad Request
unsupported asset

get
Transaction Gas Limit (Median)

https://api.glassnode.com/v1/metrics/fees/gas_limit_tx_median
The median gas limit per transaction. View in Studio: https://studio.glassnode.com/metrics?a=ETH&m=fees.GasLimitTxMedian
Request
Response
Request
Query Parameters
a
required
string
asset symbol (see endpoints page for more details)
s
optional
integer
since, unix timestamp
u
optional
integer
until, unix timestamp
i
optional
string
frequency interval: 1h, 24h, 10m, 1w, 1month
f
optional
string
format: JSON, CSV
timestamp_format
optional
string
timestamp format: unix or humanized (RFC 3339)
Response
200: OK
[{"t":1614556800,"v":70000}]
400: Bad Request
unsupported asset

get
Gas Price (Mean)

https://api.glassnode.com/v1/metrics/fees/gas_price_mean
The mean gas price paid per transaction. View in Studio: https://studio.glassnode.com/metrics?a=ETH&m=fees.GasPriceMean
Request
Response
Request
Query Parameters
a
required
string
asset symbol (see endpoints page for more details)
s
optional
integer
since, unix timestamp
u
optional
integer
until, unix timestamp
i
optional
string
frequency interval: 1h, 24h, 10m, 1w, 1month
f
optional
string
format: JSON, CSV
c
optional
string
currency: NATIVE, USD
timestamp_format
optional
string
timestamp format: unix or humanized (RFC 3339)
Response
200: OK
[{"t":1614556800,"v":118525248946.951}]
400: Bad Request
unsupported asset

get
Gas Price (Median)

https://api.glassnode.com/v1/metrics/fees/gas_price_median
The median gas price paid per transaction. View in Studio: https://studio.glassnode.com/metrics?a=ETH&m=fees.GasPriceMedian
Request
Response
Request
Query Parameters
a
required
string
asset symbol (see endpoints page for more details)
s
optional
integer
since, unix timestamp
u
optional
integer
until, unix timestamp
i
optional
string
frequency interval: 1h, 24h, 10m, 1w, 1month
f
optional
string
format: JSON, CSV
c
optional
string
currency: NATIVE, USD
timestamp_format
optional
string
timestamp format: unix or humanized (RFC 3339)
Response
200: OK
[{"t":1614556800,"v":106000000000}]
400: Bad Request
unsupported asset

get
Fees (Total)

https://api.glassnode.com/v1/metrics/fees/volume_sum
The total amount of fees paid to miners. Issued (minted) coins are not included. View in Studio: https://studio.glassnode.com/metrics?a=BTC&m=fees.VolumeSum
Request
Response
Request
Query Parameters
a
required
string
asset symbol (see endpoints page for more details)
s
optional
integer
since, unix timestamp
u
optional
integer
until, unix timestamp
i
optional
string
frequency interval: 1h, 24h, 10m, 1w, 1month
f
optional
string
format: JSON, CSV
c
optional
string
currency: NATIVE, USD
timestamp_format
optional
string
timestamp format: unix or humanized (RFC 3339)
Response
200: OK
[{"t":1614556800,"v":121.83630841}]
400: Bad Request
unsupported asset

get
Fees (Mean)

https://api.glassnode.com/v1/metrics/fees/volume_mean
The mean fee per transaction. Issued (minted) coins are not included. View in Studio: https://studio.glassnode.com/metrics?a=BTC&m=fees.VolumeMean
Request
Response
Request
Query Parameters
a
required
string
asset symbol (see endpoints page for more details)
s
optional
integer
since, unix timestamp
u
optional
integer
until, unix timestamp
i
optional
string
frequency interval: 1h, 24h, 10m, 1w, 1month
f
optional
string
format: JSON, CSV
c
optional
string
currency: NATIVE, USD
timestamp_format
optional
string
timestamp format: unix or humanized (RFC 3339)
Response
200: OK
[{"t":1614556800,"v":0.000434578689197624}]
400: Bad Request
unsupported asset

get
Fees (Median)

https://api.glassnode.com/v1/metrics/fees/volume_median
The median fee per transaction. Issued (minted) coins are not included. View in Studio: https://studio.glassnode.com/metrics?a=BTC&m=fees.VolumeMedian
Request
Response
Request
Query Parameters
a
required
string
asset symbol (see endpoints page for more details)
s
optional
integer
since, unix timestamp
u
optional
integer
until, unix timestamp
i
optional
string
frequency interval: 1h, 24h, 10m, 1w, 1month
f
optional
string
format: JSON, CSV
c
optional
string
currency: NATIVE, USD
timestamp_format
optional
string
timestamp format: unix or humanized (RFC 3339)
Response
200: OK
[{"t":1614556800,"v":0.00022866}]
400: Bad Request
unsupported asset

get
Fee Ratio Multiple (FRM)

https://api.glassnode.com/v1/metrics/fees/fee_ratio_multiple
The Fee Ratio Multiple (FRM) is defined as the ratio between the total miner revenue (blocks rewards + transaction fees) and transaction fees. FRM is a measure of a blockchain's security and gives an assessment how secure a chain is once block rewards disappear. This metric was first introduced by Matteo Leibowitz (https://twitter.com/teo_leibowitz). For more information please see his article (https://medium.com/coinmonks/introducing-fee-ratio-multiple-frm-1eada9ac9bec). View in Studio: https://studio.glassnode.com/metrics?a=BTC&m=fees.FeeRatioMultiple
Request
Response
Request
Query Parameters
a
required
string
asset symbol (see endpoints page for more details)
s
optional
integer
since, unix timestamp
u
optional
integer
until, unix timestamp
i
optional
string
frequency interval: 10m, 1h, 24h
f
optional
string
format: JSON, CSV
timestamp_format
optional
string
timestamp format: unix or humanized (RFC 3339)
Response
200: OK
[{"t":1614556800,"v":7.668783801835153}]
400: Bad Request
unsupported asset

get
Exchange Fee Dominance

https://api.glassnode.com/v1/metrics/fees/exchanges_relative
The Exchange Fee Dominance metric is defined as the percent amount of total fees paid in transactions related to on-chain exchange activity. Deposits: Transactions that include an exchange address as the receiver of funds. Withdrawals: Transactions that include an exchange address as the sender of funds. In-House: Transactions that include addresses of a single exchange as both the sender and receiver of funds. Inter-Exchange: Transactions that include addresses of (disctinct) exchanges as both the sender and receiver of funds. If a transaction can be categorized into multiple of these cateogories (e.g. a transaction that sends funds externally as well as in-house), the fees are split into percentages according to the volume transferred. View in Studio: https://studio.glassnode.com/metrics?a=BTC&m=fees.ExchangesRelative
Request
Response
Request
Query Parameters
a
required
string
asset symbol (see endpoints page for more details)
s
optional
integer
since, unix timestamp
u
optional
integer
until, unix timestamp
i
optional
string
frequency interval: 1h, 24h
f
optional
string
format: JSON, CSV
timestamp_format
optional
string
timestamp format: unix or humanized (RFC 3339)
Response
200: OK
[{"t":1614556800,"o":{"deposit":0.1405914705679952,"inhouse":0.0903269292816954,"inter":0.013394138766492933,"total":0.2807982932543426,"withdrawal":0.03648575463815869}}]
400: Bad Request
unsupported asset

get
Exchange Fees (Total)

https://api.glassnode.com/v1/metrics/fees/exchanges_sum
The total amount of fees paid in transactions related to on-chain exchange activity. Deposits: Transactions that include an exchange address as the receiver of funds. Withdrawals: Transactions that include an exchange address as the sender of funds. In-House: Transactions that include addresses of a single exchange as both the sender and receiver of funds. Inter-Exchange: Transactions that include addresses of (distinct) exchanges as both the sender and receiver of funds. If a transaction can be categorized into multiple of these categories (e.g. a transaction that sends funds externally as well as in-house), the fees are split into percentages according to the volume transferred. View in Studio: https://studio.glassnode.com/metrics?a=BTC&m=fees.ExchangesSum
Request
Response
Request
Query Parameters
a
required
string
asset symbol (see endpoints page for more details)
s
optional
integer
since, unix timestamp
u
optional
integer
until, unix timestamp
i
optional
string
frequency interval: 1h, 24h
f
optional
string
format: JSON, CSV
c
optional
string
currency: NATIVE, USD
timestamp_format
optional
string
timestamp format: unix or humanized (RFC 3339)
Response
200: OK
[{"t":1614556800,"o":{"deposit":17.1291457679377,"inhouse":11.0050996136929,"inter":1.63189242164077,"total":34.2114274579377,"withdrawal":4.44528965466629}}]
400: Bad Request
unsupported asset

get
Exchange Fees (Mean)

https://api.glassnode.com/v1/metrics/fees/exchanges_mean
The mean amount of fees paid in transactions related to on-chain exchange activity. Note that the mean is computed over transfers, not transactions. Deposits: Transactions that include an exchange address as the receiver of funds. Withdrawals: Transactions that include an exchange address as the sender of funds. In-House: Transactions that include addresses of a single exchange as both the sender and receiver of funds. Inter-Exchange: Transactions that include addresses of (distinct) exchanges as both the sender and receiver of funds. If a transaction can be categorized into multiple of these categories (e.g. a transaction that sends funds externally as well as in-house), the fees are split into percentages according to the volume transferred. View in Studio: https://studio.glassnode.com/metrics?a=BTC&m=fees.ExchangesMean
Request
Response
Request
Query Parameters
a
required
string
asset symbol (see endpoints page for more details)
s
optional
integer
since, unix timestamp
u
optional
integer
until, unix timestamp
i
optional
string
frequency interval: 1h, 24h
f
optional
string
format: JSON, CSV
c
optional
string
currency: NATIVE, USD
timestamp_format
optional
string
timestamp format: unix or humanized (RFC 3339)
Response
200: OK
[{"t":1614556800,"o":{"deposit":0.000218550905480474,"inhouse":0.00109886166886599,"inter":0.000150446429578757,"total":0.00020191952746509,"withdrawal":0.0000633295293642713}}]
400: Bad Request
unsupported asset