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":1604361600,"v":79617868730}]
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":1604361600,"v":71128.090925253}]
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":1604361600,"v":41197}]
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":1604361600,"v":165756.324688505}]
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":1604361600,"v":80000}]
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":1604361600,"v":44992814657.4266}]
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":1604361600,"v":40000000000}]
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":1604361600,"v":289.30998956}]
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":1604361600,"v":0.000872643114139467}]
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":1604361600,"v":0.00051342}]
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":1604361600,"v":4.024437563772867}]
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":1604361600,"o":{"deposit":0.10406545433598058,"inhouse":0.07416197536415237,"inter":0.011698181001088138,"total":0.22097168917231907,"withdrawal":0.031046078471097915}}]
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":1604361600,"o":{"deposit":30.1071755074992,"inhouse":21.4558003183519,"inter":3.3844006232958,"total":63.9293170874992,"withdrawal":8.98194063835228}}]
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":1604361600,"o":{"deposit":0.000456148591844298,"inhouse":0.00241537772355645,"inter":0.000529391619473769,"total":0.000481435337923316,"withdrawal":0.000174372755549452}}]
400: Bad Request
unsupported asset