Protocols

get
Uniswap Transactions

https://api.glassnode.com/v1/metrics/protocols/uniswap_transaction_count
The total number of transactions that contains an interaction within Uniswap contracts. Includes Mint, Burn, and Swap events on the Uniswap core contracts.Note: When selecting Ethereum as the asset, the chart shows Uniswap's macro view of this metric, i.e. aggregate transaction count across all available assets on Uniswap. View in Studio: https://studio.glassnode.com/metrics?a=ETH&m=protocols.UniswapTransactionCount
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: 24h, 1h
f
optional
string
format: JSON, CSV
timestamp_format
optional
string
timestamp format: unix or humanized (RFC 3339)
Response
200: OK
[{"t":1614556800,"v":139771}]
400: Bad Request
unsupported asset

get
Uniswap Liquidity

https://api.glassnode.com/v1/metrics/protocols/uniswap_liquidity_latest
The current liquidity on Uniswap.Note: When selecting Ethereum as the asset, the chart shows Uniswap's macro view of this metric, i.e. aggregate liquidity across all available assets on Uniswap. View in Studio: https://studio.glassnode.com/metrics?a=ETH&m=protocols.UniswapLiquidityLatest
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: 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,"v":4143005177.45272}]
400: Bad Request
unsupported asset

get
Uniswap Volume

https://api.glassnode.com/v1/metrics/protocols/uniswap_volume_sum
The total volume traded on Uniswap.Note: When selecting Ethereum as the asset, the chart shows Uniswap's macro view of this metric, i.e. aggregate volume across all available trading pairs on Uniswap. View in Studio: https://studio.glassnode.com/metrics?a=ETH&m=protocols.UniswapVolumeSum
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: 24h, 1h
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":552566.082082158}]
400: Bad Request
unsupported asset