> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Glassnode

> On-chain and market metrics for crypto assets as time series: prices, market cap, MVRV, SOPR, active addresses, supply, exchange balances, futures open interest and funding.

![](https://mintcdn.com/webrouter/gPu3tCeozwRcDBjt/logo/data-apis/glassnode.webp?fit=max\&auto=format\&n=gPu3tCeozwRcDBjt\&q=85\&s=b1c807721aa42b27fac44b8d98ea9b1a)

[Web Catalog · Finance](https://docs.webrouter.net/data-apis.md?category=finance)

Needs&#x20;

`GLASSNODE_API_KEY`

Endpoints

15

Auth

Key in header

[Vendor docs](https://docs.glassnode.com/basic-api/api)

&#x20;·&#x20;

[Pricing](https://glassnode.com/pricing)

## Setup

| Variable | | What it is |
| - | - | - |
| `GLASSNODE_API_KEY` | required | A Glassnode API key (Studio > Settings > API). Sent in the X-Api-Key header; an api\_key query parameter also works. |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* The full API needs a Professional subscription. Advanced subscribers get the Light API: 14 days of history, 24h resolution only, 50 calls a day.
* Each data call costs data credits: 1 for BTC, 2 for any other asset. Metadata calls cost none.
* Default limit is 600 requests/minute (x-rate-limit-\* response headers); over it returns 429.
* Series come back as \[\{t, v}] with t in Unix seconds; multi-value metrics put an object in o instead of a number in v.
* Hundreds of metrics share one shape, GET /v1/metrics/\<group>/\<metric> with a, s, u, i; list them with metadata.metrics and check a metric's parameters with metadata.metric.

## Endpoints

GET

Get price history

USD close price series for an asset.

[Open](#glassnode-market-price)

GET

Get OHLC price history

USD open, high, low and close candles for an asset.

[Open](#glassnode-market-price-ohlc)

GET

Get market cap history

Market capitalization in USD over time.

[Open](#glassnode-market-marketcap)

GET

Get the MVRV ratio

Market value to realized value ratio over time.

[Open](#glassnode-market-mvrv)

GET

Get SOPR

Spent output profit ratio: realized profit or loss of coins moved on-chain.

[Open](#glassnode-indicators-sopr)

GET

Get active address counts

Unique addresses active as sender or receiver per interval.

[Open](#glassnode-addresses-active-count)

GET

Get transaction counts

Number of transactions per interval.

[Open](#glassnode-transactions-count)

GET

Get circulating supply

Circulating supply over time, in coins or USD.

[Open](#glassnode-supply-current)

GET

Get exchange balances

Total amount of the asset held on exchange addresses, all or one exchange.

[Open](#glassnode-distribution-balance-exchanges)

GET

Get futures open interest

Futures open interest, all exchanges or one.

[Open](#glassnode-derivatives-futures-open-interest)

GET

Get perpetual funding rates

Perpetual futures funding rate, all exchanges or one.

[Open](#glassnode-derivatives-funding-rate)

GET

List assets

Every asset with its IDs on other data providers, contract addresses, decimals and tags.

[Open](#glassnode-metadata-assets)

GET

List metric paths

Every metric path, optionally only those supporting an asset, exchange or resolution.

[Open](#glassnode-metadata-metrics)

GET

Describe a metric

A metric's allowed parameters and values, time range, description and Studio link.

[Open](#glassnode-metadata-metric)

GET

Get this month's credit usage

Data credits used by the key this month.

[Open](#glassnode-user-api-usage)

### Get price history

GET

`/v1/metrics/market/price_usd_close`

`glassnode.market.price`

USD close price series for an asset.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`a` required</td><td>string</td><td>query</td><td>Asset ID, e.g. BTC, ETH (see the assets metadata). Example `BTC`</td></tr>
    <tr><td>`s`</td><td>integer</td><td>query</td><td>Since, Unix seconds. Example `1704067200`</td></tr>

    <tr>
      <td>
        `u`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Until, Unix seconds.
      </td>
    </tr>

    <tr><td>`i`</td><td>string</td><td>query</td><td>Resolution: 10m, 1h, 24h, 1w, 1month. One of `10m`, `1h`, `24h`, `1w`, `1month` Example `24h`</td></tr>
    <tr><td>`f`</td><td>string</td><td>query</td><td>json (default) or csv. One of `json`, `csv`</td></tr>
    <tr><td>`timestamp_format`</td><td>string</td><td>query</td><td>unix (default) or humanized (RFC 3339). One of `unix`, `humanized`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.glassnode.com/basic-api/endpoints/market) · Same job: [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-daily), [Bank of Canada](https://docs.webrouter.net/data-apis/bankofcanada.md#bankofcanada-observations-series), [Bank of England](https://docs.webrouter.net/data-apis/bankofengland.md#bankofengland-series-csv), [Binance](https://docs.webrouter.net/data-apis/binance.md#binance-klines), [Coinbase Exchange](https://docs.webrouter.net/data-apis/coinbase-exchange.md#coinbase-exchange-candles-get), [CoinGecko](https://docs.webrouter.net/data-apis/coingecko.md#coingecko-coins-market-chart)

```python Python theme={null}
router.call_data_api("glassnode.market.price", {'a': 'BTC', 's': 1704067200, 'i': '24h'})
```

```text MCP theme={null}
call_data_api(endpoint="glassnode.market.price", params={"a": "BTC", "s": 1704067200, "i": "24h"})
```

### Get OHLC price history

GET

`/v1/metrics/market/price_usd_ohlc`

`glassnode.market.price_ohlc`

USD open, high, low and close candles for an asset.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`a` required</td><td>string</td><td>query</td><td>Asset ID, e.g. BTC, ETH (see the assets metadata). Example `BTC`</td></tr>
    <tr><td>`s`</td><td>integer</td><td>query</td><td>Since, Unix seconds. Example `1704067200`</td></tr>

    <tr>
      <td>
        `u`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Until, Unix seconds.
      </td>
    </tr>

    <tr><td>`i`</td><td>string</td><td>query</td><td>Resolution: 10m, 1h, 24h. One of `10m`, `1h`, `24h` Example `24h`</td></tr>
    <tr><td>`f`</td><td>string</td><td>query</td><td>json (default) or csv. One of `json`, `csv`</td></tr>
    <tr><td>`timestamp_format`</td><td>string</td><td>query</td><td>unix (default) or humanized (RFC 3339). One of `unix`, `humanized`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.glassnode.com/basic-api/endpoints/market) · Same job: [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-daily), [Bank of Canada](https://docs.webrouter.net/data-apis/bankofcanada.md#bankofcanada-observations-series), [Bank of England](https://docs.webrouter.net/data-apis/bankofengland.md#bankofengland-series-csv), [Binance](https://docs.webrouter.net/data-apis/binance.md#binance-klines), [Coinbase Exchange](https://docs.webrouter.net/data-apis/coinbase-exchange.md#coinbase-exchange-candles-get), [CoinGecko](https://docs.webrouter.net/data-apis/coingecko.md#coingecko-coins-market-chart)

```python Python theme={null}
router.call_data_api("glassnode.market.price_ohlc", {'a': 'BTC', 's': 1704067200, 'i': '24h'})
```

```text MCP theme={null}
call_data_api(endpoint="glassnode.market.price_ohlc", params={"a": "BTC", "s": 1704067200, "i": "24h"})
```

> [!NOTE]
>
> * VWAP-like composite across centralised and decentralised exchanges; recent values can be revised as late exchange data arrives.

### Get market cap history

GET

`/v1/metrics/market/marketcap_usd`

`glassnode.market.marketcap`

Market capitalization in USD over time.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`a` required</td><td>string</td><td>query</td><td>Asset ID, e.g. BTC, ETH (see the assets metadata). Example `BTC`</td></tr>
    <tr><td>`s`</td><td>integer</td><td>query</td><td>Since, Unix seconds. Example `1704067200`</td></tr>

    <tr>
      <td>
        `u`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Until, Unix seconds.
      </td>
    </tr>

    <tr><td>`i`</td><td>string</td><td>query</td><td>Resolution: 10m, 1h, 24h, 1w, 1month. One of `10m`, `1h`, `24h`, `1w`, `1month` Example `24h`</td></tr>

    <tr>
      <td>
        `network`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        For tokens on several chains: aggregated, arb, base, eth, opt; default eth.
      </td>
    </tr>

    <tr><td>`f`</td><td>string</td><td>query</td><td>json (default) or csv. One of `json`, `csv`</td></tr>
    <tr><td>`timestamp_format`</td><td>string</td><td>query</td><td>unix (default) or humanized (RFC 3339). One of `unix`, `humanized`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.glassnode.com/basic-api/endpoints/market)

```python Python theme={null}
router.call_data_api("glassnode.market.marketcap", {'a': 'BTC', 's': 1704067200, 'i': '24h'})
```

```text MCP theme={null}
call_data_api(endpoint="glassnode.market.marketcap", params={"a": "BTC", "s": 1704067200, "i": "24h"})
```

### Get the MVRV ratio

GET

`/v1/metrics/market/mvrv`

`glassnode.market.mvrv`

Market value to realized value ratio over time.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`a` required</td><td>string</td><td>query</td><td>Asset ID, e.g. BTC, ETH (see the assets metadata). Example `BTC`</td></tr>
    <tr><td>`s`</td><td>integer</td><td>query</td><td>Since, Unix seconds. Example `1704067200`</td></tr>

    <tr>
      <td>
        `u`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Until, Unix seconds.
      </td>
    </tr>

    <tr><td>`i`</td><td>string</td><td>query</td><td>Resolution: 10m, 1h, 24h, 1w, 1month. One of `10m`, `1h`, `24h`, `1w`, `1month` Example `24h`</td></tr>

    <tr>
      <td>
        `network`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        For tokens on several chains: aggregated, arb, base, eth, opt; default eth.
      </td>
    </tr>

    <tr><td>`f`</td><td>string</td><td>query</td><td>json (default) or csv. One of `json`, `csv`</td></tr>
    <tr><td>`timestamp_format`</td><td>string</td><td>query</td><td>unix (default) or humanized (RFC 3339). One of `unix`, `humanized`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.glassnode.com/basic-api/endpoints/market)

```python Python theme={null}
router.call_data_api("glassnode.market.mvrv", {'a': 'BTC', 's': 1704067200, 'i': '24h'})
```

```text MCP theme={null}
call_data_api(endpoint="glassnode.market.mvrv", params={"a": "BTC", "s": 1704067200, "i": "24h"})
```

### Get SOPR

GET

`/v1/metrics/indicators/sopr`

`glassnode.indicators.sopr`

Spent output profit ratio: realized profit or loss of coins moved on-chain.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`a` required</td><td>string</td><td>query</td><td>Asset ID, e.g. BTC, ETH (see the assets metadata). Example `BTC`</td></tr>
    <tr><td>`s`</td><td>integer</td><td>query</td><td>Since, Unix seconds. Example `1704067200`</td></tr>

    <tr>
      <td>
        `u`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Until, Unix seconds.
      </td>
    </tr>

    <tr><td>`i`</td><td>string</td><td>query</td><td>Resolution: 10m, 1h, 24h, 1w, 1month. One of `10m`, `1h`, `24h`, `1w`, `1month` Example `24h`</td></tr>
    <tr><td>`f`</td><td>string</td><td>query</td><td>json (default) or csv. One of `json`, `csv`</td></tr>
    <tr><td>`timestamp_format`</td><td>string</td><td>query</td><td>unix (default) or humanized (RFC 3339). One of `unix`, `humanized`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.glassnode.com/basic-api/endpoints/indicators)

```python Python theme={null}
router.call_data_api("glassnode.indicators.sopr", {'a': 'BTC', 's': 1704067200, 'i': '24h'})
```

```text MCP theme={null}
call_data_api(endpoint="glassnode.indicators.sopr", params={"a": "BTC", "s": 1704067200, "i": "24h"})
```

### Get active address counts

GET

`/v1/metrics/addresses/active_count`

`glassnode.addresses.active_count`

Unique addresses active as sender or receiver per interval.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`a` required</td><td>string</td><td>query</td><td>Asset ID, e.g. BTC, ETH (see the assets metadata). Example `BTC`</td></tr>
    <tr><td>`s`</td><td>integer</td><td>query</td><td>Since, Unix seconds. Example `1704067200`</td></tr>

    <tr>
      <td>
        `u`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Until, Unix seconds.
      </td>
    </tr>

    <tr><td>`i`</td><td>string</td><td>query</td><td>Resolution: 10m, 1h, 24h, 1w, 1month. One of `10m`, `1h`, `24h`, `1w`, `1month` Example `24h`</td></tr>

    <tr>
      <td>
        `network`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        For tokens on several chains: aggregated, arb, base, bnb, eth, opt, sol, ton, trx, xrp; default eth.
      </td>
    </tr>

    <tr><td>`f`</td><td>string</td><td>query</td><td>json (default) or csv. One of `json`, `csv`</td></tr>
    <tr><td>`timestamp_format`</td><td>string</td><td>query</td><td>unix (default) or humanized (RFC 3339). One of `unix`, `humanized`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.glassnode.com/basic-api/endpoints/addresses)

```python Python theme={null}
router.call_data_api("glassnode.addresses.active_count", {'a': 'BTC', 's': 1704067200, 'i': '24h'})
```

```text MCP theme={null}
call_data_api(endpoint="glassnode.addresses.active_count", params={"a": "BTC", "s": 1704067200, "i": "24h"})
```

### Get transaction counts

GET

`/v1/metrics/transactions/count`

`glassnode.transactions.count`

Number of transactions per interval.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`a` required</td><td>string</td><td>query</td><td>Asset ID, e.g. BTC, ETH (see the assets metadata). Example `BTC`</td></tr>
    <tr><td>`s`</td><td>integer</td><td>query</td><td>Since, Unix seconds. Example `1704067200`</td></tr>

    <tr>
      <td>
        `u`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Until, Unix seconds.
      </td>
    </tr>

    <tr><td>`i`</td><td>string</td><td>query</td><td>Resolution: 10m, 1h, 24h, 1w, 1month. One of `10m`, `1h`, `24h`, `1w`, `1month` Example `24h`</td></tr>

    <tr>
      <td>
        `network`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        For tokens on several chains: aggregated, arb, base, eth, opt; default eth.
      </td>
    </tr>

    <tr><td>`f`</td><td>string</td><td>query</td><td>json (default) or csv. One of `json`, `csv`</td></tr>
    <tr><td>`timestamp_format`</td><td>string</td><td>query</td><td>unix (default) or humanized (RFC 3339). One of `unix`, `humanized`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.glassnode.com/basic-api/endpoints/transactions)

```python Python theme={null}
router.call_data_api("glassnode.transactions.count", {'a': 'BTC', 's': 1704067200, 'i': '24h'})
```

```text MCP theme={null}
call_data_api(endpoint="glassnode.transactions.count", params={"a": "BTC", "s": 1704067200, "i": "24h"})
```

### Get circulating supply

GET

`/v1/metrics/supply/current`

`glassnode.supply.current`

Circulating supply over time, in coins or USD.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`a` required</td><td>string</td><td>query</td><td>Asset ID, e.g. BTC, ETH (see the assets metadata). Example `BTC`</td></tr>
    <tr><td>`s`</td><td>integer</td><td>query</td><td>Since, Unix seconds. Example `1704067200`</td></tr>

    <tr>
      <td>
        `u`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Until, Unix seconds.
      </td>
    </tr>

    <tr><td>`i`</td><td>string</td><td>query</td><td>Resolution: 10m, 1h, 24h, 1w, 1month. One of `10m`, `1h`, `24h`, `1w`, `1month` Example `24h`</td></tr>
    <tr><td>`c`</td><td>string</td><td>query</td><td>native (default) or usd. One of `native`, `usd`</td></tr>
    <tr><td>`f`</td><td>string</td><td>query</td><td>json (default) or csv. One of `json`, `csv`</td></tr>
    <tr><td>`timestamp_format`</td><td>string</td><td>query</td><td>unix (default) or humanized (RFC 3339). One of `unix`, `humanized`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.glassnode.com/basic-api/endpoints/supply)

```python Python theme={null}
router.call_data_api("glassnode.supply.current", {'a': 'BTC', 's': 1704067200, 'i': '24h'})
```

```text MCP theme={null}
call_data_api(endpoint="glassnode.supply.current", params={"a": "BTC", "s": 1704067200, "i": "24h"})
```

### Get exchange balances

GET

`/v1/metrics/distribution/balance_exchanges`

`glassnode.distribution.balance_exchanges`

Total amount of the asset held on exchange addresses, all or one exchange.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`a` required</td><td>string</td><td>query</td><td>Asset ID, e.g. BTC, ETH (see the assets metadata). Example `BTC`</td></tr>
    <tr><td>`s`</td><td>integer</td><td>query</td><td>Since, Unix seconds. Example `1704067200`</td></tr>

    <tr>
      <td>
        `u`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Until, Unix seconds.
      </td>
    </tr>

    <tr><td>`i`</td><td>string</td><td>query</td><td>Resolution: 10m, 1h, 24h. One of `10m`, `1h`, `24h` Example `24h`</td></tr>

    <tr>
      <td>
        `network`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        For tokens on several chains: aggregated, arb, base, eth, opt; default eth.
      </td>
    </tr>

    <tr><td>`c`</td><td>string</td><td>query</td><td>native (default) or usd. One of `native`, `usd`</td></tr>
    <tr><td>`e`</td><td>string</td><td>query</td><td>Exchange: aggregated (default) or one of binance, bitfinex, coinbase, kraken, okex.... Example `binance`</td></tr>
    <tr><td>`f`</td><td>string</td><td>query</td><td>json (default) or csv. One of `json`, `csv`</td></tr>
    <tr><td>`timestamp_format`</td><td>string</td><td>query</td><td>unix (default) or humanized (RFC 3339). One of `unix`, `humanized`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.glassnode.com/basic-api/endpoints/distribution)

```python Python theme={null}
router.call_data_api("glassnode.distribution.balance_exchanges", {'a': 'BTC', 's': 1704067200, 'i': '24h', 'e': 'binance'})
```

```text MCP theme={null}
call_data_api(endpoint="glassnode.distribution.balance_exchanges", params={"a": "BTC", "s": 1704067200, "i": "24h", "e": "binance"})
```

### Get futures open interest

GET

`/v1/metrics/derivatives/futures_open_interest_sum`

`glassnode.derivatives.futures_open_interest`

Futures open interest, all exchanges or one.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`a` required</td><td>string</td><td>query</td><td>Asset ID, e.g. BTC, ETH (see the assets metadata). Example `BTC`</td></tr>
    <tr><td>`s`</td><td>integer</td><td>query</td><td>Since, Unix seconds. Example `1704067200`</td></tr>

    <tr>
      <td>
        `u`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Until, Unix seconds.
      </td>
    </tr>

    <tr><td>`i`</td><td>string</td><td>query</td><td>Resolution: 10m, 1h, 24h. One of `10m`, `1h`, `24h` Example `24h`</td></tr>
    <tr><td>`c`</td><td>string</td><td>query</td><td>native (default) or usd. One of `native`, `usd`</td></tr>
    <tr><td>`e`</td><td>string</td><td>query</td><td>Exchange: aggregated (default) or one of binance, bybit, deribit, okex, hyperliquid.... Example `binance`</td></tr>
    <tr><td>`f`</td><td>string</td><td>query</td><td>json (default) or csv. One of `json`, `csv`</td></tr>
    <tr><td>`timestamp_format`</td><td>string</td><td>query</td><td>unix (default) or humanized (RFC 3339). One of `unix`, `humanized`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.glassnode.com/basic-api/endpoints/derivatives)

```python Python theme={null}
router.call_data_api("glassnode.derivatives.futures_open_interest", {'a': 'BTC', 's': 1704067200, 'i': '24h', 'e': 'binance'})
```

```text MCP theme={null}
call_data_api(endpoint="glassnode.derivatives.futures_open_interest", params={"a": "BTC", "s": 1704067200, "i": "24h", "e": "binance"})
```

### Get perpetual funding rates

GET

`/v1/metrics/derivatives/futures_funding_rate_perpetual`

`glassnode.derivatives.funding_rate`

Perpetual futures funding rate, all exchanges or one.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`a` required</td><td>string</td><td>query</td><td>Asset ID, e.g. BTC, ETH (see the assets metadata). Example `BTC`</td></tr>
    <tr><td>`s`</td><td>integer</td><td>query</td><td>Since, Unix seconds. Example `1704067200`</td></tr>

    <tr>
      <td>
        `u`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Until, Unix seconds.
      </td>
    </tr>

    <tr><td>`i`</td><td>string</td><td>query</td><td>Resolution: 10m, 1h, 24h. One of `10m`, `1h`, `24h` Example `24h`</td></tr>
    <tr><td>`e`</td><td>string</td><td>query</td><td>Exchange: aggregated (default) or one of binance, bybit, deribit, okex, hyperliquid.... Example `binance`</td></tr>
    <tr><td>`f`</td><td>string</td><td>query</td><td>json (default) or csv. One of `json`, `csv`</td></tr>
    <tr><td>`timestamp_format`</td><td>string</td><td>query</td><td>unix (default) or humanized (RFC 3339). One of `unix`, `humanized`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.glassnode.com/basic-api/endpoints/derivatives)

```python Python theme={null}
router.call_data_api("glassnode.derivatives.funding_rate", {'a': 'BTC', 's': 1704067200, 'i': '24h', 'e': 'binance'})
```

```text MCP theme={null}
call_data_api(endpoint="glassnode.derivatives.funding_rate", params={"a": "BTC", "s": 1704067200, "i": "24h", "e": "binance"})
```

### List assets

GET

`/v1/metadata/assets`

`glassnode.metadata.assets`

Every asset with its IDs on other data providers, contract addresses, decimals and tags.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`filter`</td><td>string</td><td>query</td><td>CEL filter, e.g. asset.id=='USDT' or asset.semantic\_tags.exists(tag,tag=='stablecoin'). Example `asset.id=='USDT'`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.glassnode.com/basic-api/metadata) · Same job: [Alchemy](https://docs.webrouter.net/data-apis/alchemy.md#alchemy-token-metadata), [Coinbase Exchange](https://docs.webrouter.net/data-apis/coinbase-exchange.md#coinbase-exchange-currencies-list), [CryptoCompare](https://docs.webrouter.net/data-apis/cryptocompare.md#cryptocompare-asset-metadata), [Etherscan](https://docs.webrouter.net/data-apis/etherscan.md#etherscan-token-tokeninfo), [Moralis](https://docs.webrouter.net/data-apis/moralis.md#moralis-token-metadata)

```python Python theme={null}
router.call_data_api("glassnode.metadata.assets", {'filter': "asset.id=='USDT'"})
```

```text MCP theme={null}
call_data_api(endpoint="glassnode.metadata.assets", params={"filter": "asset.id=='USDT'"})
```

> [!NOTE]
>
> * Metadata calls use no data credits; they have their own 1200 requests/minute limit.

### List metric paths

GET

`/v1/metadata/metrics`

`glassnode.metadata.metrics`

Every metric path, optionally only those supporting an asset, exchange or resolution.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`a`</td><td>string</td><td>query</td><td>Only metrics for this asset ID. Example `BTC`</td></tr>
    <tr><td>`e`</td><td>string</td><td>query</td><td>Only metrics for this exchange. Example `binance`</td></tr>
    <tr><td>`i`</td><td>string</td><td>query</td><td>Only metrics at this resolution. Example `1h`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.glassnode.com/basic-api/metadata) · Same job: [ArcGIS Online](https://docs.webrouter.net/data-apis/arcgis.md#arcgis-groups-search), [Attio](https://docs.webrouter.net/data-apis/attio.md#attio-objects-list), [Bank of Canada](https://docs.webrouter.net/data-apis/bankofcanada.md#bankofcanada-lists), [US Bureau of Economic Analysis](https://docs.webrouter.net/data-apis/bea.md#bea-datasets-list), [Bright Data](https://docs.webrouter.net/data-apis/brightdata.md#brightdata-datasets-list), [Clay](https://docs.webrouter.net/data-apis/clay.md#clay-tables-query)

```python Python theme={null}
router.call_data_api("glassnode.metadata.metrics", {'a': 'BTC', 'e': 'binance', 'i': '1h'})
```

```text MCP theme={null}
call_data_api(endpoint="glassnode.metadata.metrics", params={"a": "BTC", "e": "binance", "i": "1h"})
```

> [!NOTE]
>
> * Paths come without the /v1/metrics prefix; call GET /v1/metrics\{path} for the data.

### Describe a metric

GET

`/v1/metadata/metric`

`glassnode.metadata.metric`

A metric's allowed parameters and values, time range, description and Studio link.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`path` required</td><td>string</td><td>query</td><td>Metric path without /v1/metrics, e.g. /distribution/balance\_exchanges. Example `/distribution/balance_exchanges`</td></tr>
    <tr><td>`a`</td><td>string</td><td>query</td><td>Narrow the allowed values to this asset ID. Example `BTC`</td></tr>

    <tr>
      <td>
        `e`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Narrow to this exchange.
      </td>
    </tr>

    <tr>
      <td>
        `i`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Narrow to this resolution.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.glassnode.com/basic-api/metadata) · Same job: [Affinity](https://docs.webrouter.net/data-apis/affinity.md#affinity-companies-fields), [ArcGIS Online](https://docs.webrouter.net/data-apis/arcgis.md#arcgis-items-get), [Attio](https://docs.webrouter.net/data-apis/attio.md#attio-attributes-list), [Bank of Canada](https://docs.webrouter.net/data-apis/bankofcanada.md#bankofcanada-series-get), [US Bureau of Economic Analysis](https://docs.webrouter.net/data-apis/bea.md#bea-parameters-list), [Bright Data](https://docs.webrouter.net/data-apis/brightdata.md#brightdata-datasets-metadata)

```python Python theme={null}
router.call_data_api("glassnode.metadata.metric", {'path': '/distribution/balance_exchanges', 'a': 'BTC'})
```

```text MCP theme={null}
call_data_api(endpoint="glassnode.metadata.metric", params={"path": "/distribution/balance_exchanges", "a": "BTC"})
```

> [!NOTE]
>
> * Call this before an unfamiliar metric: each one accepts a different set of assets, resolutions and drill-downs.

### Get this month's credit usage

GET

`/v1/user/api_usage`

`glassnode.user.api_usage`

Data credits used by the key this month.

Input

No inputs.

[Vendor docs](https://docs.glassnode.com/basic-api/api-credits)

```python Python theme={null}
router.call_data_api("glassnode.user.api_usage")
```

```text MCP theme={null}
call_data_api(endpoint="glassnode.user.api_usage")
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.