openapi: 3.0.0
info:
  version: 1.3.0
  title: CryptoQuant Data API
  termsOfService: https://cryptoquant.com/terms-of-service
  contact:
    name: API Support
    email: contact@cryptoquant.com
  description: |-
    The CryptoQuant Data API provides simple and powerful endpoints to get information on general transaction data and aggregate on-chain statistics straight from the blockchain.
    The API root endpoint URL is `https://api.cryptoquant.com/v1/`.

    # Changelog
    We improve our data by providing new indicators, releasing new API features, and fixing bugs.
    Check our latest Changelog from [here](https://cqlive.notion.site/CryptoQuant-Changelog-25c8c6652bab80c3acdce42db4d5fd3f).

    # Introduction
    CryptoQuant Data API offers a set of metrics that helps build an understanding of the entire blockchain ecosystem.

    ```
    https://api.cryptoquant.com/v1/

    ├── Bitcoin/
    │   ├── Status/                    // status of Bitcoin entity
    │   ├── Exchange-Flows/            // on-chain statistics of exchanges
    │   ├── Flow-Indicator/            // mpi, whale ratio and other flow indicators
    │   ├── Market-Indicator/          // stablecoin supply ratio and other market indicators
    │   ├── Network-Indicator/         // nvt, nvt-golden-cross and other network indicators
    │   ├── Miner-Flows/               // on-chain statistics of miners
    │   ├── Inter-Entity-Flows/        // on-chain statistics of flows between entities
    │   ├── Fund-Data/                 // fund related data
    │   ├── Market-Data/               // price, capitalization
    │   ├── Miner-Data/                // general statistics of Bitcoin miner 
    │   ├── Network-Data/              // general statistics of Bitcoin network
    │   ├── Mempool/                   // statistics of Memory pool in Bitcoin network
    │   └── Lightning-Network/         // statistics of Lightning Network
    ├── Ethereum/
    │   ├── Status/                    // status of Ethereum entity
    │   ├── Exchange-Flows/            // on-chain statistics of exchanges
    │   ├── Flow-Indicator/            // entity flow based indicators
    │   ├── Market-Indicator/          // Estimated Leverage Ratio
    │   ├── ETH2.0/                    // Ethereum 2.0 statistics
    │   ├── Fund-Data/                 // fund related data
    │   ├── Market-Data/               // price, capitalization, market indicators
    │   └── Network-Data/              // general statistics of Ethereum network
    ├── Xrp/
    │   ├── Status/                    // status of Xrp ledger entity
    │   ├── Entity-Flows/              // on-chain statistics of Xrp ledger entity
    │   ├── Flow-Indicator/            // supply ratio, estimated leverage ratio and other indicators
    │   ├── Market-Data/               // price, capitalization and others
    │   ├── Network-Data/              // general statistics of XRP network
    │   ├── Network-Indicator/         // nvt and other network indicators
    │   ├── DEX-Data/                  // general statistics of XRP DEX
    │   └── AMM-Data/                  // general statistics of XRP AMM
    ├── TRX/
    │   ├── Market-Data/               // price, capitalization and others
    │   ├── Network-Data/              // general statistics of TRX network
    │   ├── DEFI/                      // DEFI related data
    ├── Stablecoin/
    │   ├── Status/                    // status of stablecoin entity
    │   ├── Exchange-Flows/            // on-chain statistics of exchanges
    │   ├── Flow-Indicator/            // exchange flow and other flow indicators
    │   ├── Market-Data/               // price, capitalization, market indicators
    │   └── Network-Data/              // USDT, USDP, USDC, DAI, TUSD, SAI
    ├── ERC20/
    │   ├── Status/                    // status of erc20 entity
    │   ├── Exchange-Flows/            // on-chain statistics of exchanges
    │   ├── Flow-Indicator/            // entity flow based indicators
    │   ├── Market-Data/               // price
    │   └── Network-Data/              // general statistics of ERC20 tokens
    └── Alt/
    │   └── Market-Data/               // price
    ```
     <iframe src="https://docs.google.com/spreadsheets/d/e/2PACX-1vRj44BjZianQb0uG7CzFs5Uivn2dnyDQVZJPC0EzOqR40lBtawh-V9q6o2KV7TFJocf10mo4GWYQHfr/pubhtml?widget=true&amp;headers=false" style="width: 100%; height: 420px;"></iframe>

    ## Status Object
    Every response includes the status object which indicates if the request was successful. If it is not successful, 'message' specifies the cause of the error.
    ```
    {
      "status": {
          "code": 200,
          "message": "success"
      }
    }
    ```

    ## Status and Error Codes
    The CryptoQuant API uses standard HTTP status codes to indicate success or failure. 200 represents success, 4xx represents a user error (such as a problem with your key), and 5xx represents a problem with our API.

    The following table describes status and error codes returned by API.
    In the status object, the `code` field contains the status code and the `message` field contains the type of response.

    | Code |   Type                      |   Description                           |
    |------|-----------------------------|-----------------------------------------|
    | `200`  |   `success`               | Request was successful.                                  |
    | `200`  |   `deprecated`            | A resource is deprecated and will be removed in the future. |
    | `400`  |   `bad_request`          | Some required parameter is missing or has the wrong value.   |
    | `401`  |   `unauthorized`        | Internal authorization failed. It might mean missing or wrong credentials.   |
    | `403`  |   `forbidden`        | It means you don't have an access to the requested endpoint.  |
    | `404`  |   `not_found`             | URI is not valid or the resource ID does not correspond to an existing resource. |
    | `405`  |   `not_allowed`           | HTTP method not allowed, such as attempting to use a POST request with an endpoint that only accepts GET requests, or vice versa. |
    | `429`  |   `too_many_requests` | It indicates the user has sent too many requests in a given amount of time.|
    | `500`  |   `internal_server_error` | Unexpected error occurred. Please report this when you see it. |



    # Authentication

    Each API request requires authentication to identify the member. Authentication is provided through an access token.

    ## Example
    ### Access Token
    #### HTTP Request
    ```
    GET v1/{PATH} HTTP/1.1
    Host: api.cryptoquant.com
    Authorization: Bearer {access_token}
    ```

    #### Python
    ```
    ''' for requests '''
    import requests
    headers = {'Authorization': 'Bearer ' + access_token}
    response = requests.get(URL, headers=headers)
    ```

    #### Javascript
    ```
    // for jquery AJAX
    var settings = {
      "url": URL,
      "method": "GET",
      "headers": {
        "Authorization": "Bearer " + access_token
      }
    }

    $.ajax(settings).done(function (response) {
      console.log(response)
    })

    // for XHR
    var xhr = new XMLHttpRequest();
    xhr.withCredentials = true;
    xhr.addEventListener("readystatechange", function() {
      if (this.readyState === 4) {
        console.log(this.responseText);
      }
    });
    ```
    <br><br>
    ### Query Parameter
    ### HTTP Request
    ```
    GET v1/{PATH}?api_key={API_KEY} HTTP/1.1
    Host: api.cryptoquant.com
    ```

    #### Python
    ```
    ''' for requests '''
    import requests
    API_KEY = ''
    response = requests.get(URL, params={"api_key": API_KEY})
    ```

    #### Javascript
    ```
    // for jquery AJAX
    var settings = {
      "url": URL,
      "method": "GET",
      "data": {"api_key": API_KEY}
    }

    $.ajax(settings).done(function (response) {
      console.log(response)
    })

    // for XHR
    var xhr = new XMLHttpRequest();
    var params = JSON.stringify({ api_key: api_key });
    xhr.withCredentials = true;
    xhr.addEventListener("readystatechange", function() {
      if (this.readyState === 4) {
        console.log(this.responseText);
      }
    });

    xhr.open("GET", URL);
    xhr.send(params);
    ```

    # Time Convention
    For all metrics, `window` parameter is used to specify the time intervals for which the data is aggregated. Windows are provided in `window=min`, `window=day` and `window=block`, and each metric supports different windows. For on-chain data, the smallest period available is block. Daily units are provided for added versatility.
    We use two parameters `from` and `to` to specify the start and end time for which data will be gathered. Generally, it can be formatted as YYYYMMDDTHHMMSS (e.g. `from = 20191003T220000`) for all windows, and additional formats are supported for each window type.

    Please note that end-of-day data of exchange/miner/inter-entity flow will be ready to serve from UTC 00:00 AM that may take up to an hour. Since block confirmation takes time due to the nature of the blockchain, blocks created before 00:00 AM are reflected in the calculation sequentially. The block confirmation time varies from time to time, so the safe time to query the endpoint for a full day would be an hour after the day. (i.e., UTC 1:00AM) Note that Top 10 data will return null until the block confirmation is complete.


    | Window |   Description                      |   `from`, `to` parameter format                           |
    |------|-----------------------------|-----------------------------------------|
    | `block`  | Data representing a specific block.   |  Datetime(YYYYMMDDTHHMMSS) or block height(e.g. 550000). If datetime is used, data for blocks corresponding to that time period will be returned.              |
    | `min`  | Currently, window=`min` is supported for market data only. For time 18:12:00, it represents data from 18:12:00 UTC to 18:12:59 UTC. | Datetime(YYMMDDTHHMMSS). |
    | `hour`  |  Data calculated for all blocks produced in an hour. An hourly data is from 12:00:00 UTC to 12:59:00 UTC.  | Datetime(YYYYMMDDTHHMMSS).    |
    | `day`  |  Data calculated for all blocks produced in a day. Each day begins at 00:00:00 UTC and end at 23:59:59 UTC.   | Datetime(YYYYMMDDTHHMMSS) or date(YYYYMMDD).    |
servers:
  - url: https://api.cryptoquant.com/v1/
    description: Default server
tags:
  - name: Available Endpoints
    description: Discover all available endpoints
  - name: Supported Stablecoin List
    description: "| Name                  |   Token        |  Supported Categories | Contract Created Datetime (Block, Datetime) | Deprecated |\n|-----------------------|----------------|-----------------------|---------------------------------------------|------------|\n| All Tokens            |   `all_token`  | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data | The earliest time in the tokens below. |\n| Tether USD(Eth)       |   `usdt_eth`   | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 4638757, 2017-11-28 16:24:26 |\n| Tether USD(Trx)       |   `usdt_trx`   | - Entity Status <br> - Exchange Flow <br> - Network Data <br> - Market Data | 4638757, 2017-11-28 16:24:26 |\n| Paxos Dollar          |   `usdp`       | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 6306166, 2018-09-10 13:03:56 |\n| USD Coin              |   `usdc`       | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 6307510, 2018-09-10 18:26:41 |\n| True USD              |   `tusd`       | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 5198636, 2018-03-05 03:30:14 |\n| Dai                   |   `dai`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 8928674, 2019-11-13 21:22:33 |\n| Binance USD           |   `busd`       | - Entity Status <br> - Exchange Flow <br> - Market Data | 8493105, 2019-09-05 23:56:17 |\n| Gemini dollar         |   `gusd`       | - Entity Status <br> - Exchange Flow | 6301780, 2018-09-09 19:36:14 |\n| sUSD                  |   `susd`       | - Entity Status <br> - Exchange Flow | 5751012, 2018-06-08 02:48:10 |\n| ~Tether USD(Omni)~    |   ~`usdt_omni`~  | - Network Data <br> - Market Data | 325157,\t2014-10-13 14:27:52 | <a href=\"https://tether.io/news/tether-provides-an-update-on-prioritizing-community-preferences-for-blockchain-support-in-strategic-shift\" target=\"_blank\">2025-08-28</a> |\n| ~Sai (Old Dai)~       |   ~`sai`~        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 4755950, 2017-12-18 19:22:10 | 2025-08-28 |\n| ~HTX USD~             |   ~`husd`~       | - Entity Status <br> - Exchange Flow | 8174400, 2019-07-18 11:30:44 | 2025-08-28 |\n| ~USDK~                |   ~`usdk`~       | - Entity Status <br> - Exchange Flow | 7769943, 2019-06-16 07:21:40 | 2025-08-28 |\n| ~TerraUSD~            |   ~`ust`~        | - Market Data | | 2025-08-28 |\n\nUntil now, `all_token` is available in Exchange Flow, Network Data, Flow Indicator.<br>\nSupported tokens for `all_token` varies with categories.<br>\nExchange Flow: `usdt_eth`, `usdt_trx`, `usdp`, `usdc`, `tusd`, `dai`, `busd`, `gusd`, `susd`<br>\nNetwork Data: `usdt_eth`, `usdt_trx`, `usdp`, `usdc`, `tusd`, `dai`<br>\nDeprecated: `usdt_omni`, `sai`, `husd`, `usdk`, `ust`"
  - name: Supported ERC20 List
    description: |-
      | Name                |   Token        | Supported Categories                                    | Contract Created Datetime (Block, Datetime)|
      |---------------------|----------------|---------------------------------------------------------|------------------------------|
      | Chainlink           |   `link`       | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 4281611, 2017-09-16 21:26:29 |
      | Uniswap             |   `uni`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 10861674, 2020-09-14 18:11:26 |
      | Sushiswap           |   `sushi`      | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 10736094, 2020-08-26 12:28:07 |
      | Aave                |   `aave`       | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 10926829, 2020-09-24 18:06:28 |
      | Maker               |   `mkr`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 4620855, 2017-11-25 18:24:17 |
      | OmiseGO             |   `omg`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 3978297, 2017-07-05 02:18:58 |
      | Uma                 |   `uma`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 9247089, 2020-01-09 14:44:21 |
      | Compound            |   `comp`       | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 9601359, 2020-03-04 00:08:55 |
      | Basic Attention Token |   `bat`      | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 3788558, 2017-05-29 18:45:10 |
      | Synthetix           |   `snx`        | - Entity Status <br> - Exchange Flow <br> - Market Data | 5750875, 2018-06-08 02:14:23 |
      | Yearn.finance       |   `yfi`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 10475744, 2020-07-17 08:01:25 |
      | Decentraland        |   `mana`       | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 4162059, 2017-08-15 19:18:09 |
      | The Sandbox         |   `sand`       | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 8835135, 2019-10-29 16:48:43 |
      | Axie Infinity       |   `axs`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 12314534, 2021-04-26 07:16:09 |
      | Smooth Love Potion  |   `slp`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 12314545, 2021-04-26 07:18:32 |
      | Gala                |   `gala`       | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 10828939, 2020-09-09 17:32:51 |
      | Enjin Coin          |   `enj`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 4329040, 2017-10-02 01:02:07 |
      | Yield Guild Games   |   `ygg`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 12901564, 2021-07-26 11:30:17 |
      | Illuvium            |   `ilv`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 12084124, 2021-03-21 19:43:46 |
      | Adventure Gold      |   `agld`       | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 13142655, 2021-09-01 23:09:32 |
      | Chiliz              |   `chz`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 6585593, 2021-10-26 07:00:45 |
      | Mines of Dalarnia   |   `dar`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 13454131, 2021-10-20 10:38:06 |
      | Aavegotchi          |   `ghst`       | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 10852634, 2020-09-13 08:48:20 |
      | MyNeighborAlice     |   `alice`      | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 11958870, 2021-03-02 12:43:37 |
      | Ethereum Name Service |   `ens`      | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 13533418, 2021-11-01 20:55:17 |
      | Dego Finance        |   `dego`       | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 10835762, 2020-09-10 18:51:00 |
      | Origin Protocol     |   `ogn`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 6436154, 2018-10-01 23:06:11 |
      | Ethernity Chain     |   `ern`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 11749003, 2021-01-29 05:48:45 |
      | SHIBA INU           |   `shib`       | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 10569013, 2020-07-31 18:32:43 |
      | Storj               |   `storj`      | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 3898942, 2017-06-19 16:16:35 |
      | Bluzelle            |   `blz`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 4911588, 2018-01-15 08:19:33 |
      | Holo                |   `hot`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 5008746, 2018-02-01 01:21:09 |
      | Alchemix            |   `alcx`       | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 11937199, 2021-02-27 04:28:02 |
      | FTX Token           |   `ftt`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 7611221, 2019-04-21 13:21:27 |
      | Curve DAO Token     |   `crv`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 10647806, 2020-08-12 22:17:28 |
      | Bancor              |   `bnt`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 3851136, 2017-06-10 16:02:40 |
      | 0x                  |   `zrx`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 4145415, 2017-08-11 18:39:16 |
      | 1inch Network       |   `1inch`      | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 11511393, 2020-12-23 18:13:31 |
      | Kyber Network Crystal v2 |   `knc`   | - Entity Status <br> - Exchange Flow <br> - Network Data <br> - Market Data | 12224343, 2021-04-12 09:04:54 |
      | dYdX                |   `dydx`       | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 12809555, 2021-07-12 01:37:12 |
      | DODO                |   `dodo`       | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 10956992, 2020-09-29 10:58:50 |
      | LoopringCoin V2     |   `lrc`        | - Network Data <br> - Market Data | 7544036, 2019-04-11 02:10:37 |
      | Ankr                |   `ankr`       | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 7246755, 2019-02-21 00:57:45 |
      | Polygon             |   `matic`      | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 7605604, 2019-04-20 16:34:12 |
      | Amp                 |   `amp`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 10635417, 2020-08-11 00:27:19 |
      | SKALE Network       |   `skl`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 10363171, 2020-06-29 21:44:26 |
      | Balancer            |   `bal`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 10299683, 2020-06-20 01:32:59 |
      | Polymath            |   `poly`       | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 4994844, 2018-01-29 16:34:21 |
      | Fetch.ai            |   `fet`        | - Entity Status <br> - Exchange Flow <br> - Market Data | 10998076, 2020-10-05 21:06:18 |
      | The Graph           |   `grt`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 11446769, 2020-12-13 20:17:13 |
      | Ocean Protocol      |   `ocean`      | - Entity Status <br> - Exchange Flow <br> - Network Data <br> - Market Data | 10945544, 2020-09-27 15:54:07 |
      | Numeraire           |   `nmr`        | - Entity Status <br> - Exchange Flow <br> - Market Data | 3902326, 2017-06-20 08:10:37 |
      | Mask Network        |   `mask`       | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 11886238, 2021-02-19 08:26:41 |
      | JasmyCoin           |   `jasmy`      | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 9164378, 2019-12-26 05:59:52 |
      | Gitcoin             |   `gtc`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 12422079, 2021-05-12 21:48:02 |
      | Keep Network        |   `keep`       | - Entity Status <br> - Network Data <br> - Market Data | 9958363, 2020-04-28 02:52:46 |
      | Quant               |   `qnt`        | - Entity Status <br> - Exchange Flow <br> - Market Data | 5392950, 2018-04-06 19:52:41 |
      | Voyager Token       |   `vgx`        | - Entity Status <br> - Exchange Flow <br> - Flow Indicator <br> - Network Data <br> - Market Data | 12916697, 2021-07-28 21:11:47 |
      | ParaSwap            |   `psp`        | - Network Data                     | 13619386, 2021-11-15 08:58:18 |
      | Immutable X         |   `imx`        | - Network Data                     | 13415141, 2021-10-14 07:59:20 |
      | Highstreet Token    |   `high`       | - Network Data                     | 13395328, 2021-10-11 05:00:48 |
      | Radio Caca V2       |   `raca`       | - Network Data                     | 13369114, 2021-10-07 02:16:48 |
      | Temple DAO          |   `temple`     | - Network Data                     | 13321581, 2021-09-29 15:52:47 |
      | Gods Unchained      |   `gods`       | - Network Data                     | 12955434, 2021-08-04 12:08:03 |
      | Ribbon Finance      |   `rbn`        | - Network Data                     | 12497174, 2021-05-24 13:12:02 |
      | dHedge DAO Token    |   `dht`        | - Network Data                     | 10833180, 2020-09-10 09:35:31 |
      | Cream Finance       |   `cream`      | - Network Data                     | 10594024, 2020-08-04 15:06:57 |
      | Meta                |   `mta`        | - Network Data                     | 10450640, 2020-07-13 10:23:56 |
      | Alchemy             |   `ach`        | - Network Data                     | 8482162, 2019-09-04 07:00:52  |
      | PlayDapp Token      |   `pla`        | - Network Data                     | 9921528, 2020-04-22 09:40:15  |
      | Efinity Token       |   `efi`        | - Network Data                     | 12349290, 2021-05-01 04:06:34 |
      | Prometeus Network   |   `prom`       | - Network Data                     | 7789253, 2019-05-19 07:49:05  |
      | Armor               |   `armor`      | - Network Data                     | 11707709, 2021-07-22 21:23:49 |
      | Popsicle Finance    |   `ice`        | - Network Data                     | 12121350, 2021-03-27 13:30:15 |
      | Liquity: LQTY Token |   `lqty`       | - Network Data                     | 12178618, 2021-04-05 08:33:10 |
      | Human Token         |   `hmt`        | - Network Data                     | 12184475, 2021-04-06 06:22:26 |
      | Wrapped BTC         |   `wbtc`       | - Network Data                     | 6766284, 2018-11-24 21:45:52 |
      | GateChain Token     |   `gt`         | - Network Data                     | 7726894, 2019-05-09 14:20:19 |
      | Crypto.com Coin     |   `cro`        | - Network Data                     | 6702068, 2018-11-14 09:11:48 |
      | OKB Token           |   `okb`        | - Network Data                     | 7641712, 2019-04-26 07:47:59 |
      | 0x (ZRX)            |   `zrx`        | - Network Data                     | 4145415, 2017-08-11 18:39:16 |
      | Gnosis              |   `gno`        | - Network Data                     | 3557596, 2017-04-18 13:45:16 |
      | Covalent Query Token|   `cqt`        | - Network Data                     | 12474448, 2021-05-21 12:15:53 |
      | Request             |   `req`        | - Network Data                     | 4345153, 2017-10-07 15:47:37 |
      | Kucoin Token        |   `kcs`        | - Network Data                     | 11638804, 2021-01-12 07:29:47 |
      | Olympus             |   `ohm`        | - Network Data                     | 12084967, 2021-03-21 22:48:40 |
      | HTX Token           |   `ht`         | - Network Data                     | 5005233, 2018-01-31 10:50:02 |
  - name: Supported Alt List
    description: |-
      | Name                |   Token        | Supported Categories               |
      |---------------------|----------------|------------------------------------|
      | Cardano             |   `ada`        | - Market Data                      |
      | Algorand            |   `algo`       | - Market Data                      |
      | Arweave             |   `ar`         | - Market Data                      |
      | Cosmos              |   `atom`       | - Market Data                      |
      | Auto                |   `auto`       | - Market Data                      |
      | Avalanche           |   `avax`       | - Market Data                      |
      | BNB                 |   `bnb`        | - Market Data                      |
      | PancakeSwap         |   `cake`       | - Market Data                      |
      | Celo                |   `celo`       | - Market Data                      |
      | Dash                |   `dash`       | - Market Data                      |
      | Decred              |   `dcr`        | - Market Data                      |
      | Dogecoin            |   `doge`       | - Market Data                      |
      | Polkadot            |   `dot`        | - Market Data                      |
      | Elrond              |   `egld`       | - Market Data                      |
      | Ethereum Classic    |   `etc`        | - Market Data                      |
      | Filecoin            |   `fil`        | - Market Data                      |
      | Flow                |   `flow`       | - Market Data                      |
      | Fantom              |   `ftm`        | - Market Data                      |
      | Hedera              |   `hbar`       | - Market Data                      |
      | Helium              |   `hnt`        | - Market Data                      |
      | Internet Computer   |   `icp`        | - Market Data                      |
      | IOTA                |   `iota`       | - Market Data                      |
      | IoTeX               |   `iotx`       | - Market Data                      |
      | Kusama              |   `ksm`        | - Market Data                      |
      | Terra               |   `luna`       | - Market Data                      |
      | Mina                |   `mina`       | - Market Data                      |
      | NEAR Protocol       |   `near`       | - Market Data                      |
      | Neo                 |   `neo`        | - Market Data                      |
      | Harmony             |   `one`        | - Market Data                      |
      | Qtum                |   `qtum`       | - Market Data                      |
      | Oasis Network       |   `rose`       | - Market Data                      |
      | THORChain           |   `rune`       | - Market Data                      |
      | Ravencoin           |   `rvn`        | - Market Data                      |
      | Solana              |   `sol`        | - Market Data                      |
      | Stacks              |   `stx`        | - Market Data                      |
      | Theta Fuel          |   `tfuel`      | - Market Data                      |
      | Theta Nwetwork      |   `theta`      | - Market Data                      |
      | TRON                |   `trx`        | - Market Data                      |
      | VeChain             |   `vet`        | - Market Data                      |
      | Waves               |   `waves`      | - Market Data                      |
      | WAX                 |   `waxp`       | - Market Data                      |
      | eCash               |   `xec`        | - Market Data                      |
      | NEM                 |   `xem`        | - Market Data                      |
      | Stellar             |   `xlm`        | - Market Data                      |
      | Monero              |   `xmr`        | - Market Data                      |
      | Tezos               |   `xtz`        | - Market Data                      |
      | Zcash               |   `zec`        | - Market Data                      |
  - name: BTC Entity Status
    description: Entity List of Bitcoin API with Status
  - name: BTC Network Data
    description: Bitcoin on-chain network data including but not limited to token movements, fees, supply, address movements, etc. All metrics have data entries starting from the genesis block (block height 0, datetime 2009-01-03 18:15:05).
  - name: BTC Market Data
    description: This namespace contains endpoints to retrieve metrics related to the value of Bitcoin, including price, open interest, market cap, realized cap, etc. On top of providing basic market data like price and market cap, we focus on onchain indicators in order to evaluate the true value of Bitcoin. These indicators have been commonly used in building long term valuations, and identifying lows and highs. For more detailed information, please refer to the description of each metric.
  - name: BTC Fund Data
    description: |-
      This namespace cointains endpoints to retreive metrics related to regulated funds such as trust, including market price, market volume, market premium, and digital asset holdings. These metrics are useful to measure sentiments of investors such as institutions in regulated market. All Symbol will be updated no later then UTC 12:00, this may be changed depending on update time of source data. Also the return value may be changed because of late updated fund.

      <br>

      ### Supported Symbols
      | Name                                        | Symbol      |   Status    |  Source               |
      |---------------------------------------      |-------------|-------------|-----------------------|
      | All Symbol (BTC)                            | `all_symbol`| Validated   | All Fund |
      | Grayscale Bitcoin Trust (GBTC)              | `gbtc`      | Validated   | Grayscale Investments |
      | Grayscale Bitcoin Mini Trust (BTC)          | `btc`       | Validated   | Grayscale Investments |
      | iShares Bitcoin Trust ETF (IBIT)            | `ibit`      | Validated   | BlackRock |
      | Fidelity Bitcoin Fund ETF (FBTC)            | `fbtc`      | Validated   | Fidelity |
      | Bitwise Bitcoin ETF (BITB)                  | `bitb`      | Validated   | Bitwise |
      | ARK 21Shares Bitcoin ETF (ARKB)             | `arkb`      | Validated   | ARK Investment / 21Shares |
      | Invesco Galaxy Bitcoin ETF (BTCO)           | `btco`      | Validated   | Invesco |
      | VanEck Bitcoin Trust (HODL)                 | `hodl`      | Validated   | VanEck |
      | Franklin Bitcoin ETF (EZBC)                 | `ezbc`      | Validated   | Franklin Templeton |
      | WisdomTree Bitcoin Fund (BTCW)              | `btcw`      | Validated   | WisdomTree |
      | The Coinshares Valkyrie Bitcoin Fund (BRRR) | `brrr`      | Validated   | Valkyrie |
      | Purpose Bitcoin ETF (BTCC.U)                | `btcc_u`    | Validated   | Purpose Investments |
      | ETC Group Bitcoin ETF (BTCE)                | `btce`      | Validated   | ETC Group |
  - name: BTC Exchange Flows
    description: |-
      This endpoint returns the flows of BTC into exchange wallets for as far back as we track.
      We constantly keep updating new exchange wallets, which means that there can be slight modification in values especially for recent data points.
      The update is done in periodic and automatic way: Tuesday 00:00 UTC every week.
      Supported exchanges can be found in the `/btc/status/entity-list` endpoint.
      In addition to that, we support the following aggregated exchanges:

      <br>

      ### Supported Aggregated Exchanges
      | Name           |   Exchange     |   Status    |
      |----------------|--------------|-------------|
      | All Exchanges  | `all_exchange`  | Validated   |
      | Spot Exchanges  | `spot_exchange`  | Validated   |
      | Derivative Exchanges  | `derivative_exchange`  | Validated   |

      <br>

      > **Note:** This endpoint does not support Point-In-Time (PIT) accuracy due to periodic updates to wallet address clustering. Historical data may change as new exchange wallets are discovered, added, and validated.


      <br>
  - name: BTC Miner Flows
    description: |-
      This namespace contains endpoints to retrieve data related to Bitcoin miners(i.e. mining pools and its participants). We provide metrics related to miner reserves, inflows, outflows, hashrate, revenue, workers, etc.
      We constantly keep updating new miner wallets, which means that there can be slight modification in values especially for recent data points.
      The update is done in periodic and automatic way: Tuesday 00:00 UTC every week.
      Supported miners can be found in the `/btc/status/entity-list` endpoint.
      In addition to that, we support the following aggregated miners:

      <br>

      ### Supported Aggregated Miners

      | Name           |   Miner     |   Status    |
      |----------------|--------------|-------------|
      | All Miners     | `all_miner`    | Validated   |

      <br>

      > **Note:** This endpoint does not support Point-In-Time (PIT) accuracy due to periodic updates to wallet address clustering. Historical data may change as new miners wallets are discovered, added, and validated.

      <br>
  - name: BTC Inter Entity Flows
    description: |-
      This namespace contains endpoints to retrieve inter entity flows data (e.g. flow between miners and exchanges). Data entries were collected from the first transaction between two entities.
      We constantly keep updating new entity wallets, which means that there can be slight modification in values especially for recent data points.
      The update is done in periodic and automatic way: Tuesday 00:00 UTC every week.

      <br>

      > **Note:** This endpoint does not support Point-In-Time (PIT) accuracy due to periodic updates to wallet address clustering. Historical data may change as new entity wallets are discovered, added, and validated.

      <br>
  - name: BTC Network Indicator
    description: This namespace contains endpoints to retrieve NVT ratio, Stock to Flow ratio, and etc. We provide certain indicators to avoid any risks, assume upside or downside potentials, and give insights on the value of bitcoin. For more detailed information, please refer to the description of each metric.
  - name: BTC Market Indicator
    description: |-
      This namespace contains endpoints to retrieve MVRV(Market-Value-to-Realized-Value), Estimated Leverage Ratio, and etc. We provide certain indicators to avoid any risks, assume upside or downside potentials, and give insights on the value of bitcoin.
      We also provide USD and USDT spot price of BTC from global exchanges and BTC index price. CryptoQuant's BTC index price is VWAP(Volume Weighted Average Price) of aggregated price data from all exchanges we provide.
      For more detailed information, please refer to the description of each metric.
  - name: BTC Mempool Statistics
    description: |-
      This namespace contains endpoints to retrieve statistics on Memory Pool in Bitcoin network. We provide certain metrics such as transaction count, total transaction size, total transaction fee on memory pool, based on fee range, including aggregated metrics.
      For more detailed information, please refer to the description of each metric.
  - name: BTC Lightning Network Statistics
    description: |-
      This namespace contains endpoints to retrieve statistics on Lightning Network. We provide certain metrics such as the number of channel, nodes and network capacity from lightning network.
      For more detailed information, please refer to the description of each metric.
  - name: BTC Flow Indicator
    description: |-
      This namespace contains endpoints to retrieve Fund Flow ratio, Miners' Position Index(MPI), and etc. We provide certain indicators to avoid any risks, assume upside or downside potentials, and give insights on the value of bitcoin. For more detailed information, please refer to the description of each metric.

      <br>

      > **Note:**  This endpoint does not support Point-In-Time (PIT) accuracy due to periodic updates to wallet address clustering. Historical data may change as new exchange wallets are discovered, added, and validated.

      <br>
  - name: BTC Miner Data
    description: |-
      This namespace contains endpoints to retrieve statistics on Bitcoin miners. We provide certain metrics such as rewards from coinbase or miners, the number of production reported from miners, the number of transaction and the number of address
       For more detailed information, please refer to the description of each metric.
  - name: ETH Entity Status
    description: Entity List of Ethereum API with Status
  - name: ETH Network Data
    description: Ethereum on-chain network data including but not limited to token movements, fees, supply, address movements, etc. All metrics have data entries starting from the genesis block (block height `0`, datetime `2015-07-30 15:26:13`).
  - name: ETH Exchange Flows
    description: |-
      This endpoint returns the flows of ETH into exchange wallets for as far back as we track.
      We constantly keep updating new exchange wallets, which means that there can be slight modification in values especially for recent data points.
      The update is done in periodic and automatic way: Tuesday 00:00 UTC every week.
      Supported exchanges can be found in the `/eth/status/entity-list` endpoint.
      In addition to that, we support the following aggregated exchanges:

      <br>

      ### Supported Aggregated Exchanges
      | Name           |   Exchange     |   Status    |
      |----------------|--------------|-------------|
      | All Exchanges  | `all_exchange`  | Validated   |
      | Spot Exchanges  | `spot_exchange`  | Validated   |
      | Derivative Exchanges  | `derivative_exchange`  | Validated   |

      <br>

      > **Note:** This endpoint does not support Point-In-Time (PIT) accuracy due to periodic updates to wallet address clustering. Historical data may change as new exchange wallets are discovered, added, and validated.

      <br>
  - name: ETH Market Data
    description: |-
      This namespace contains endpoints to retrieve metrics related to the value of ETH including price, etc.
      We provide USD and USDT spot price of ETH from global exchanges and ETH index price. CryptoQuant's ETH index price is VWAP(Volume Weighted Average Price) of aggregated price data from all exchanges we provide.
      For more detailed information, please refer to the description of each metric.
  - name: ETH Market Indicator
    description: This namespace contains endpoints to retrieve Estimated Leverage Ratio. We provide certain indicators to avoid any risks, assume upside or downside potentials, and give insights on the value of ethereum. For more detailed information, please refer to the description of each metric.
  - name: ETH Flow Indicator
    description: This namespace contains endpoints to retrieve entity flow based indicators. We provide certain indicators to avoid any risks, assume upside or downside potentials, and give insights on the value of bitcoin. For more detailed information, please refer to the description of each metric.
  - name: ETH Fund Data
    description: |-
      This namespace cointains endpoints to retreive metrics related to regulated funds such as trust, including market price, market volume, market premium, and digital asset holdings. These metrics are useful to measure sentiments of investors such as institutions in regulated market. All Symbol will be updated no later then UTC 12:00, this may be changed depending on update time of source data. Also the return value may be changed because of late updated fund.

      <br>

      ### Supported Symbols
      | Name                                  | Symbol      |   Status    |  Source               |
      |---------------------------------------|-------------|-------------|-----------------------|
      | All Symbol (ETH)                      | `all_symbol`| Validated   | All Fund |
      | Grayscale Ethereum Trust (ETHE)       | `ethe`      | Validated   | Grayscale Investments |
      | Grayscale Ethereum Mini Trust (ETH)   | `eth`       | Validated   | Grayscale Investments |
      | iShares Ethereum Trust ETF (ETHA)     | `etha`      | Validated   | BlackRock |
      | Fidelity Ethereum Fund ETF (FETH)     | `feth`      | Validated   | Fidelity |
      | Bitwise Ethereum ETF (ETHW)           | `ethw`      | Validated   | Bitwise |
      | 21Shares Ethereum Core ETP (CETH)     | `ceth`      | Validated   | 21Shares |
      | Invesco Galaxy Ethereum ETF (QETH)    | `qeth`      | Validated   | Invesco |
      | VanEck Ethereum ETF (ETHV)            | `ethv`      | Validated   | VanEck |
      | Franklin Ethereum ETF (EZET)          | `ezet`      | Validated   | Franklin Templeton |
      | Purpose Ether ETF (ETHH.U)            | `ethh_u`    | Validated   | Purpose Investments |
  - name: ETH 2.0
    description: |-
      Genesis event of ETH 2.0 requires at least 16,384 of 32-ETH validator deposits seven days before Dec 1. If not, the genesis event would postpone seven days after. We have only valid transactions in the calculations. Looking at the ETH2 deposit contract, Only from 32 to 1000 deposits are considered as valid deposits.
      When Phase 0 success rate hits 100% and Phase 0 unique validator hits 16,384, the Ethereum genesis event starts.
  - name: Stablecoin Entity Status
    description: Entity List of Stablecoin API with Status
  - name: Stablecoin Exchange Flows
    description: |-
      This endpoint returns the flows of Stablecoin tokens into exchange wallets for as far back as we track. Please note that the transfer generally occurs after a certain amount of time from the contract created time.
      We constantly keep updating new exchange wallets, which means that there can be slight modification in values especially for recent data points.
      The update is done in periodic and automatic way: Tuesday 00:00 UTC every week.
      Supported exchanges can be found in the `/stablecoin/status/entity-list` endpoint.
      In addition to that, we support the following aggregated exchanges:

      <br>

      ### Supported Aggregated Exchanges
      | Name       |   Exchange       | Supported Stablecoins |
      |----------------|----------------|-------------------------------|
      |   All Exchanges| `all_exchange` | All Tokens |
      | Spot Exchanges  | `spot_exchange`  | All Tokens   |
      | Derivative Exchanges  | `derivative_exchange`  | All Tokens   |

      <br>

      > **Note:** This endpoint does not support Point-In-Time (PIT) accuracy due to periodic updates to wallet address clustering. Historical data may change as new exchange wallets are discovered, added, and validated.

      <br>
  - name: Stablecoin Network Data
    description: |-
      This namespace contains endpoint to retrieve on-chain network data for stablecoins including token transfers, issuance, addresses, etc. The earliest data point of each token is listed as Contract Created Datetime. [here](#tag/Stablecoin Status)
      ### Stablecoin Issuing Mechanism
      Each individual Stablecoin is created by an issuing company and each of these companies operates with a different issue mechanism.
      There are many of these but the two most common are as follows.
      #### Example 1
      ![Ussuing Methodology 1](/docs/images/stable1.png)
      Before providing clients with the granting address, the issuing company holds a treasury address. Through the contract, the tokens are minted and held in the treasury address. Once the client sends fiat currency, the clients tokens are moved from the treasury address to the client address and the tokens are listed as being issued.
      Conversely, when redeeming tokens for fiat, the tokens are sent to the treasury address and redeemed. This won't be reflected in the supply unless these tokens are burned using a contract by the issuing company. The circulating supply is calculated as tokens that have been issued to clients, ignoring the supply held in the issuing company wallets.
      #### Example 2
      ![Ussuing Methodology 2](/docs/images/stable2.png)
      In this method, there is no separate treasury address. After confirming the deposit of fiat, tokens are minted from the contract address and delivered directly to the client address. Minting and issuance occur simultaneously. When clients redeem tokens, the burn and redemption also are simultaneous.
      This means that with this method, total supply and circulating supply will be the same. There are various methods for Stablecoin issuance, and we calculated supply and locate significant transactions.  based upon these types of factors. In the future, mint/issue/burn/redeem will be added our available metrics and will be defined as listed below.
      #### Terminology
      | Term           |   Definition  |
      |----------------|---------------|
      | Mint           |  Mint is a creation of new tokens that add to the supply. When tokens are minted, the total supply will increase.|
      | Issue          |  Issue is when tokens are delivered to clients after deposit of fiat has been confirmed. When tokens are issued, the circulating supply will increase.|
      | Burn           |  Burn is a revocation of currently existing tokens that results in a decreased supply. The opposite of Mint.|
      | Redeem         |  Redeem is an exchange of tokens for deposited fiat that results in a decrease in the circulating supply. The opposite of Issue.|
  - name: Stablecoin Market Data
    description: This namespace contains endpoints to retrieve metrics related to the value of tokens, including price, market cap, etc.
  - name: Stablecoin Flow Indicator
    description: This namespace contains endpoints to retrieve entity flow based indicators. We provide certain indicators to avoid any risks, assume upside or downside potentials, and give insights on the value of bitcoin. For more detailed information, please refer to the description of each metric.
  - name: ERC20 Entity Status
    description: Entity List of ERC20 API with Status
  - name: ERC20 Exchange Flows
    description: |-
      This endpoint returns the flows of ERC20 tokens into exchange wallets for as far back as we track. Please note that the transfer generally occurs after a certain amount of time from the contract created time.
      We constantly keep updating new exchange wallets, which means that there can be slight modification in values especially for recent data points.
      The update is done in periodic and automatic way: Tuesday 00:00 UTC every week.
      Supported exchanges can be found in the `/erc20/status/entity-list` endpoint.
      In addition to that, we support the following aggregated exchanges:

      <br>

      ### Supported Aggregated Exchanges
      | Name       |   Exchange       | Supported ERC20 Tokens |
      |----------------|----------------|-------------------------------|
      |   All Exchanges  | `all_exchange` | All Tokens |
      |   Spot Exchanges  | `spot_exchange` | All Tokens |
      |   Derivative Exchanges  | `derivative_exchange` | All Tokens |

      <br>

      > **Note:** This endpoint does not support Point-In-Time (PIT) accuracy due to periodic updates to wallet address clustering. Historical data may change as new exchange wallets are discovered, added, and validated.

      <br>
  - name: ERC20 Market Data
    description: This namespace contains endpoints to retrieve metrics related to the value of tokens.
  - name: ERC20 Flow Indicator
    description: |
      This namespace contains endpoints to retrieve entity flow based indicators.
      We provide certain indicators to avoid any risks, assume upside or downside potentials, and give insights on the value of bitcoin.
      For more detailed information, please refer to the description of each metric.
  - name: Alt Market Data
    description: This namespace contains endpoints to retrieve metrics related to the value of tokens.
  - name: XRP Entity Flows
    description: |-
      This namespace contains endpoints to retrieve metrics related to XRP Entity Flows.
      Currently, We only supports Exchanges for available entities

      ### Supported Exchanges
      | Name       |
      |------------|
      | Binance    |
      | Bitfinex   |
      | Bitget     |
      | Bithumb    |
      | Bitstamp   |
      | Bybit      |
      | Gate.io    |
      | HTX Global |
      | Kucoin     |
      | OKX        |
      | Upbit      |

      <br>

      > **Note:** This endpoint does not support Point-In-Time (PIT) accuracy due to periodic updates to wallet address clustering. Historical data may change as new exchange wallets are discovered, added, and validated.

      <br>
  - name: XRP Flow Indicator
    description: This namespace contains endpoints to retrieve metrics related to XRP Flow Indicators.
  - name: XRP Market Data
    description: This namespace contains endpoints to retrieve metrics related to XRP Market Data.
  - name: XRP Network Data
    description: This namespace contains endpoints to retrieve metrics related to XRP Network Data.
  - name: XRP Network Indicator
    description: This namespace contains endpoints to retrieve metrics related to XRP Network Indicators.
  - name: XRP Dex Data
    description: This namespace contains endpoints to retrieve metrics related to XRP Dex.
  - name: XRP AMM Data
    description: |-
      This namespace contains endpoints to retrieve metrics related to XRP AMM Data.

      <br>

      ### Supported AMM Pairs

      | Name           |     AMM Account   |   AMM     |   Status    |
      |----------------|-------------|--------------|-------------|
      | MAG/XRP     |`rNZ2ZVF1ZU34kFQvcN4xkFAvdSvve5bXce`| `mag-xrp`    | Validated   |
      | XGO/XRP     |`rLeAEvRQ5RnN6LJnZ29Xw4pboWfKqYut3c`| `xgo-xrp`    | Validated   |
      | SOLO/XRP     |`rMEJo9H5XvTe17UoAJzj8jtKVvTRcxwngo`| `solo-xrp`    | Validated   |
      | USDC/XRP     |`rGHt6LT5v9DVaEAmFzj5ciuxuj41ZjLofs`| `usdc-xrp`    | Validated   |
      | BTC/XRP     |`rQBeAghWHEwWvKShryBSa5yR3VRX9oyQ5T`| `btc-xrp`    | Validated   |
      | USD/XRP     |`rHUpaqUPbwzKZdzQ8ZQCme18FrgW9pB4am`| `usd-xrp`    | Validated   |
      | XPM/XRP     |`rakZprdzwsUJ1rD2ouhYYAVP7tPbhrCbtz`| `xpm-xrp`    | Validated   |
      | CSC/XRP     |`rf7g4JWCxu9oE1MKsWTihL9whY75AphCaV`| `csc-xrp`    | Validated   |
      | RLT/XRP     |`rwzCasMZW2WisfohuMCVWdDD58HK9QtDyC`| `rlt-xrp`    | Validated   |
      | CORE/XRP     |`rBu4LXTxM9cfs3JsFCuDbPMzvGBDR66wpi`| `core-xrp`    | Validated   |
  - name: TRX Market Data
    description: This namespace contains endpoints to retrieve metrics related to TRX Market Data.
  - name: TRX Network Data
    description: This namespace contains endpoints to retrieve metrics related to TRX Network Data.
paths:
  /discovery/endpoints:
    get:
      tags:
        - Available Endpoints
      summary: Endpoints
      description: This endpoint returns all endpoints we support with available parameters.
      operationId: EndpointsList
      parameters:
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/discovery/endpoints"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/discovery/endpoints")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/discovery/endpoints")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/discovery/endpoints")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/discovery/endpoints"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/Endpoints'
      security:
        - Access Token: []
  /btc/status/entity-list:
    get:
      tags:
        - BTC Entity Status
      summary: Entity List
      description: |
        This endpoint returns entity list to serve data.
        The meaning of the `market_type` value of the exchange object is as follows. For exchange objects, the `market_type` field tells whether the exchange is a spot exchange or a derivative exchange. Entities without a market type, such as miners, will return 0 for `market_type`.
        |  Exchange Market Type  |  Description         |
        |------------------------|----------------------|
        |  0                     |  Undefined           |
        |  1                     |  Spot Exchange       |
        |  2                     |  Derivative Exchange |
      operationId: getBTCEntityList
      parameters:
        - $ref: '#/components/parameters/type_ebm'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/status/entity-list?type=exchange"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/status/entity-list?type=exchange")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/status/entity-list?type=exchange")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/status/entity-list?type=exchange")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/status/entity-list?type=exchange"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/EntityList'
      security:
        - Access Token: []
  /btc/exchange-flows/reserve:
    get:
      tags:
        - BTC Exchange Flows
      summary: Reserve
      description: This endpoint returns the full historical on-chain balance of Bitcoin exchanges.
      operationId: BTCgetReserve
      parameters:
        - $ref: '#/components/parameters/exchange'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/exchange-flows/reserve?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/exchange-flows/reserve?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/exchange-flows/reserve?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/exchange-flows/reserve?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/exchange-flows/reserve?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/Reserve'
      security:
        - Access Token: []
  /btc/exchange-flows/netflow:
    get:
      tags:
        - BTC Exchange Flows
      summary: Netflow
      description: The difference between coins flowing into exchanges and flowing out of exchanges. Netflow usually helps us to figure out an increase of idle coins waiting to be traded in a certain time frame.
      operationId: BTCgetExchangeNetflow
      parameters:
        - $ref: '#/components/parameters/exchange'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/exchange-flows/netflow?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/exchange-flows/netflow?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/exchange-flows/netflow?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/exchange-flows/netflow?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/exchange-flows/netflow?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/Netflow'
      security:
        - Access Token: []
  /btc/exchange-flows/inflow:
    get:
      tags:
        - BTC Exchange Flows
      summary: Inflow
      description: This endpoint returns the inflow of BTC into exchange wallets for as far back as we track. The average inflow is the average transaction value for transactions flowing into exchange wallets on a given day.
      operationId: BTCgetInflow
      parameters:
        - $ref: '#/components/parameters/exchange'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/exchange-flows/inflow?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/exchange-flows/inflow?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/exchange-flows/inflow?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/exchange-flows/inflow?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/exchange-flows/inflow?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/Inflow'
      security:
        - Access Token: []
  /btc/exchange-flows/outflow:
    get:
      tags:
        - BTC Exchange Flows
      summary: Outflow
      description: This endpoint returns the outflow of BTC into exchange wallets for as far back as we track. The average outflow is the average transaction value for transactions flowing into exchange wallets on a given day.
      operationId: BTCgetOutflow
      parameters:
        - $ref: '#/components/parameters/exchange'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/exchange-flows/outflow?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/exchange-flows/outflow?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/exchange-flows/outflow?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/exchange-flows/outflow?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/exchange-flows/outflow?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/Outflow'
      security:
        - Access Token: []
  /btc/exchange-flows/transactions-count:
    get:
      tags:
        - BTC Exchange Flows
      summary: Transactions Count
      description: This endpoint returns the number of transactions flowing in/out of Bitcoin exchanges.
      operationId: BTCgetTransactionsCountEF
      parameters:
        - $ref: '#/components/parameters/exchange'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/exchange-flows/transactions-count?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/exchange-flows/transactions-count?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/exchange-flows/transactions-count?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/exchange-flows/transactions-count?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/exchange-flows/transactions-count?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TransactionsCountEF'
      security:
        - Access Token: []
  /btc/exchange-flows/addresses-count:
    get:
      tags:
        - BTC Exchange Flows
      summary: Addresses Count
      description: This endpoint returns the number of addresses involved in inflow/outflow transactions.
      operationId: BTCgetAddressesCountEF
      parameters:
        - $ref: '#/components/parameters/exchange'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/exchange-flows/addresses-count?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/exchange-flows/addresses-count?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/exchange-flows/addresses-count?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/exchange-flows/addresses-count?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/exchange-flows/addresses-count?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/AddressesCountEF'
      security:
        - Access Token: []
  /btc/exchange-flows/in-house-flow:
    get:
      tags:
        - BTC Exchange Flows
      summary: In-House Flow
      description: This endpoint returns the in-house flow of BTC within wallets of the same exchange for as far back as we track. The average in-house flow is the average transaction value for transactions flowing within wallets on a given day.
      operationId: BTCgetInHouseFlow
      parameters:
        - $ref: '#/components/parameters/exchange'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/exchange-flows/in-house-flow?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/exchange-flows/in-house-flow?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/exchange-flows/in-house-flow?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/exchange-flows/in-house-flow?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/exchange-flows/in-house-flow?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/InHouseFlow'
      security:
        - Access Token: []
  /btc/miner-flows/reserve:
    get:
      tags:
        - BTC Miner Flows
      summary: Reserve
      description: This endpoint returns the full historical on-chain balance of Bitcoin mining pools.
      operationId: BTCgetReserveMF
      parameters:
        - $ref: '#/components/parameters/miner'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/miner-flows/reserve?miner=f2pool&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/miner-flows/reserve?miner=f2pool&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/miner-flows/reserve?miner=f2pool&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/miner-flows/reserve?miner=f2pool&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/miner-flows/reserve?miner=f2pool&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_Reserve'
      security:
        - Access Token: []
  /btc/miner-flows/netflow:
    get:
      tags:
        - BTC Miner Flows
      summary: Netflow
      description: The difference between coins flowing into mining pools and flowing out of mining pools. Netflow usually helps us to figure out an increase of idle coins waiting to be traded in a certain time frame.
      operationId: BTCgetMinerNetflow
      parameters:
        - $ref: '#/components/parameters/miner'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/miner-flows/netflow?miner=f2pool&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/miner-flows/netflow?miner=f2pool&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/miner-flows/netflow?miner=f2pool&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/miner-flows/netflow?miner=f2pool&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/miner-flows/netflow?miner=f2pool&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_Netflow'
      security:
        - Access Token: []
  /btc/miner-flows/inflow:
    get:
      tags:
        - BTC Miner Flows
      summary: Inflow
      description: This endpoint returns the inflow of BTC into mining pool wallets for as far back as we track. The average inflow is the average transaction value for transactions flowing into mining pool wallets on a given day.
      operationId: BTCgetInflowMF
      parameters:
        - $ref: '#/components/parameters/miner'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/miner-flows/inflow?miner=f2pool&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/miner-flows/inflow?miner=f2pool&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/miner-flows/inflow?miner=f2pool&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/miner-flows/inflow?miner=f2pool&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/miner-flows/inflow?miner=f2pool&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_Inflow'
      security:
        - Access Token: []
  /btc/miner-flows/outflow:
    get:
      tags:
        - BTC Miner Flows
      summary: Outflow
      description: This endpoint returns the outflow of BTC into mining pool wallets for as far back as we track. The average outflow is the average transaction value for transactions flowing out of mining pool wallets on a given day.
      operationId: BTCgetOutflowMF
      parameters:
        - $ref: '#/components/parameters/miner'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/miner-flows/outflow?miner=f2pool&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/miner-flows/outflow?miner=f2pool&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/miner-flows/outflow?miner=f2pool&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/miner-flows/outflow?miner=f2pool&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/miner-flows/outflow?miner=f2pool&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_Outflow'
      security:
        - Access Token: []
  /btc/miner-flows/transactions-count:
    get:
      tags:
        - BTC Miner Flows
      summary: Transactions Count
      description: This endpoint returns the number of transactions flowing in/out of Bitcoin miners.
      operationId: BTCgetTransactionsCountMF
      parameters:
        - $ref: '#/components/parameters/miner'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/miner-flows/transactions-count?miner=f2pool&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/miner-flows/transactions-count?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/miner-flows/transactions-count?miner=f2pool&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/miner-flows/transactions-count?miner=f2pool&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/miner-flows/transactions-count?miner=f2pool&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TransactionsCountMF'
      security:
        - Access Token: []
  /btc/miner-flows/addresses-count:
    get:
      tags:
        - BTC Miner Flows
      summary: Addresses Count
      description: This endpoint returns the number of addresses involved in inflow/outflow transactions.
      operationId: BTCgetAddressesCountMF
      parameters:
        - $ref: '#/components/parameters/miner'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/miner-flows/addresses-count?miner=f2pool&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/miner-flows/addresses-count?miner=f2pool&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/miner-flows/addresses-count?miner=f2pool&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/miner-flows/addresses-count?miner=f2pool&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/miner-flows/addresses-count?miner=f2pool&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/AddressesCountMF'
      security:
        - Access Token: []
  /btc/miner-flows/in-house-flow:
    get:
      tags:
        - BTC Miner Flows
      summary: In-House Flow
      description: This endpoint returns the in-house flow of BTC within wallets of the same miner for as far back as we track. The average in-house flow is the average transaction value for transactions flowing within wallets on a given day.
      operationId: BTCgetMinerInHouseFlow
      parameters:
        - $ref: '#/components/parameters/miner'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/miner-flows/in-house-flow?miner=f2pool&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/miner-flows/in-house-flow?miner=f2pool&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/miner-flows/in-house-flow?miner=f2pool&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/miner-flows/in-house-flow?miner=f2pool&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/miner-flows/in-house-flow?miner=f2pool&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_InHouseFlow'
      security:
        - Access Token: []
  /btc/inter-entity-flows/exchange-to-exchange:
    get:
      tags:
        - BTC Inter Entity Flows
      summary: Exchange to Exchange
      description: This endpoint contains metrics related to token flows between exchanges. We provide several metrics, `flow_total`, the total number of tokens transferred from one exchange to another, `flow_mean`, the mean of tokens transferred, and `transactions_count_flow`, the number of transactions between exchanges.
      operationId: BTCgetExchangeToExchange
      parameters:
        - $ref: '#/components/parameters/from_entity_ex'
        - $ref: '#/components/parameters/to_entity_ex'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/inter-entity-flows/exchange-to-exchange?from_exchange=binance&to_exchange=bithumb&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/inter-entity-flows/exchange-to-exchange?from_exchange=binance&to_exchange=bithumb&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/inter-entity-flows/exchange-to-exchange?from_exchange=binance&to_exchange=bithumb&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/inter-entity-flows/exchange-to-exchange?from_exchange=binance&to_exchange=bithumb&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/inter-entity-flows/exchange-to-exchange?from_exchange=binance&to_exchange=bithumb&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/Exchange-to-exchange'
      security:
        - Access Token: []
  /btc/inter-entity-flows/miner-to-exchange:
    get:
      tags:
        - BTC Inter Entity Flows
      summary: Miner to Exchange
      description: This endpoint contains metrics related to token flows from mining pools to exchanges. We provide several metrics, `flow_total`, the total number of tokens transferred from a mining pool to an exchange, `flow_mean`, the mean of tokens transferred, and `transactions_count_flow`, the number of transactions from a mining pool to an exchange.
      operationId: BTCgetMinerToExchange
      parameters:
        - $ref: '#/components/parameters/from_entity_mp'
        - $ref: '#/components/parameters/to_entity_ex'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/inter-entity-flows/miner-to-exchange?from_miner=f2pool&to_exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/inter-entity-flows/miner-to-exchange?from_miner=f2pool&to_exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/inter-entity-flows/miner-to-exchange?from_miner=f2pool&to_exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/inter-entity-flows/miner-to-exchange?from_miner=f2pool&to_exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/inter-entity-flows/miner-to-exchange?from_miner=f2pool&to_exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/Miner-to-exchange'
      security:
        - Access Token: []
  /btc/inter-entity-flows/exchange-to-miner:
    get:
      tags:
        - BTC Inter Entity Flows
      summary: Exchange to Miner
      description: This endpoint contains metrics related to token flows from exchanges to mining pools. We provide several metrics, `flow_total`, the total number of tokens transferred from a mining pool to an exchange, `flow_mean`, the mean of tokens transferred, and `transactions_count_flow`, the number of transactions from an exchange to a mining pool.
      operationId: BTCgetExchangeToMiner
      parameters:
        - $ref: '#/components/parameters/from_entity_ex'
        - $ref: '#/components/parameters/to_entity_mp'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/inter-entity-flows/exchange-to-miner?from_exchange=binance&to_miner=f2pool&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/inter-entity-flows/exchange-to-miner?from_exchange=binance&to_miner=f2pool&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/inter-entity-flows/exchange-to-miner?from_exchange=binance&to_miner=f2pool&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/inter-entity-flows/exchange-to-miner?from_exchange=binance&to_miner=f2pool&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/inter-entity-flows/exchange-to-miner?from_exchange=binance&to_miner=f2pool&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/Exchange-to-miner'
      security:
        - Access Token: []
  /btc/inter-entity-flows/miner-to-miner:
    get:
      tags:
        - BTC Inter Entity Flows
      summary: Miner to Miner
      description: This endpoint contains metrics related to token flows between mining pools. We provide several metrics, `flow_total`, the total number of tokens transferred from one mining pool to another, `flow_mean`, the mean of tokens transferred, and `transactions_count_flow`, the number of transactions between mining pools.
      operationId: BTCgetMinerToMiner
      parameters:
        - $ref: '#/components/parameters/from_entity_mp'
        - $ref: '#/components/parameters/to_entity_mp'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/inter-entity-flows/miner-to-miner?from_miner=f2pool&to_miner=antpool&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/inter-entity-flows/miner-to-miner?from_miner=f2pool&to_miner=antpool&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/inter-entity-flows/miner-to-miner?from_miner=f2pool&to_miner=antpool&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/inter-entity-flows/miner-to-miner?from_miner=f2pool&to_miner=antpool&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/inter-entity-flows/miner-to-miner?from_miner=f2pool&to_miner=antpool&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/Miner-to-miner'
      security:
        - Access Token: []
  /btc/network-data/supply:
    get:
      tags:
        - BTC Network Data
      summary: Supply
      description: This endpoint returns metrics related to bitcoin supply, i.e. the amount of bitcoin in existence. We currently provide two metrics, `supply_total` , the total amount of bitcoins in existence (sum of all bitcoins issued by the coinbase reward), and `supply_new`, the amount of newly issued tokens in a given window.
      operationId: getSupply
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-data/supply?window=day&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-data/supply?window=day&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-data/supply?window=day&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-data/supply?window=day&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-data/supply?window=day&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/Supply'
      security:
        - Access Token: []
  /btc/network-data/velocity:
    get:
      tags:
        - BTC Network Data
      summary: Velocity
      description: This endpoint returns metrics related to the velocity of bitcoin. Bitcoin's velocity is calculated by dividing the trailing 1 year estimated transaction volume(the cumulated sum of transferred tokens) by current supply. Velocity is a metric that explains how actively is money circulating in the market.
      operationId: getVelocity
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-data/velocity?window=day&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-data/velocity?window=day&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-data/velocity?window=day&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-data/velocity?window=day&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-data/velocity?window=day&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/Velocity'
      security:
        - Access Token: []
  /btc/network-data/transactions-count:
    get:
      tags:
        - BTC Network Data
      summary: Transactions Count
      description: This endpoint returns metrics related to the number of transactions. We provide several metrics, `transactions_count_total`, the total number of transactions, and `transactions_count_mean`, the mean number of transactions.
      operationId: getTransactionsCount
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-data/transactions-count?window=day&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-data/transactions-count?window=day&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-data/transactions-count?window=day&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-data/transactions-count?window=day&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-data/transactions-count?window=day&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TransactionsCount'
      security:
        - Access Token: []
  /btc/network-data/addresses-count:
    get:
      tags:
        - BTC Network Data
      summary: Addresses Count
      description: This endpoint returns metrics relating to the number of used bitcoin addresses. We provide several metrics, `addresses_count_active`, the total number of unique addresses that were active (either sender or receiver) on the blockchain, `addresses_count_sender`, the number of addresses that were active as a sender, and `addresses_count_receiver`, the number of addresses that were active as a receiver.
      operationId: getAddressesCount
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-data/addresses-count?window=day&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-data/addresses-count?window=day&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-data/addresses-count?window=day&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-data/addresses-count?window=day&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-data/addresses-count?window=day&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/AddressesCount'
      security:
        - Access Token: []
  /btc/network-data/tokens-transferred:
    get:
      tags:
        - BTC Network Data
      summary: Tokens Transferred
      description: This endpoint returns metrics related to the number of tokens transferred, i.e transaction volume. We provide several metrics, `tokens_transferred_total`, the total number of transferred tokens, `tokens_transferred_mean`, the mean of number of transferred tokens per transaction, and `tokens_transferred_median`, the median of tokens transferred per transaction.
      operationId: getTokensTransferred
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-data/tokens-transferred?window=day&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-data/tokens-transferred?window=day&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-data/tokens-transferred?window=day&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-data/tokens-transferred?window=day&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-data/tokens-transferred?window=day&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TokensTransferred'
      security:
        - Access Token: []
  /btc/network-data/block-bytes:
    get:
      tags:
        - BTC Network Data
      summary: Block Bytes
      operationId: getBlockBytes
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-data/block-bytes?window=day&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-data/block-bytes?window=day&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-data/block-bytes?window=day&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-data/block-bytes?window=day&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-data/block-bytes?window=day&limit=2"
            print(requests.get(url, headers=headers).json())
      description: The mean size(in bytes) of all blocks generated.
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      responses:
        '200':
          $ref: '#/components/responses/BlockBytes'
      security:
        - Access Token: []
  /btc/network-data/block-count:
    get:
      tags:
        - BTC Network Data
      summary: Block Count
      description: The number of blocks generated in a given window.
      operationId: getBlockCount
      parameters:
        - $ref: '#/components/parameters/window_dh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-data/block-count?window=day&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-data/block-count?window=day&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-data/block-count?window=day&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-data/block-count?window=day&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-data/block-count?window=day&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/BlockCount'
      security:
        - Access Token: []
  /btc/network-data/block-interval:
    get:
      tags:
        - BTC Network Data
      summary: Block Interval
      description: The average time between blocks generated displayed in seconds.
      operationId: getBlockInterval
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-data/block-interval?window=day&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-data/block-interval?window=day&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-data/block-interval?window=day&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-data/block-interval?window=day&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-data/block-interval?window=day&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/BlockInterval'
      security:
        - Access Token: []
  /btc/network-data/utxo-count:
    get:
      tags:
        - BTC Network Data
      summary: UTXO Count
      description: The number of total number of unspent transaction outputs existing at the specified point.
      operationId: getUTXOCount
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-data/utxo-count?window=day&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-data/utxo-count?window=day&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-data/utxo-count?window=day&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-data/utxo-count?window=day&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-data/utxo-count?window=day&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/UTXOCount'
      security:
        - Access Token: []
  /btc/network-data/fees:
    get:
      tags:
        - BTC Network Data
      summary: Fees
      description: This endpoint returns the statistics related to fees that are paid to bitcoin miners. In general, fees are calculated by subtracting the newly issued bitcoin from the total block reward of each blocks. We provide three statistics, `fees_total`, the sum of all fees, `fees_block_mean`, the average fee per block, and `fees_reward_percent`, the percentage of fees relative to the total block reward. Additionally, these can be viewed in terms of USD.
      operationId: getFees
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-data/fees?window=day&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-data/fees?window=day&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-data/fees?window=day&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-data/fees?window=day&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-data/fees?window=day&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/Fees'
      security:
        - Access Token: []
  /btc/network-data/fees-transaction:
    get:
      tags:
        - BTC Network Data
      summary: Fees Transaction
      description: This endpoint returns the statistics related to fees per transaction that are paid to bitcoin miners. In general, fees are calculated by subtracting the newly issued bitcoin from the total block reward of each blocks, and this is divided by the number of transactions to calculate the average fee per transaction in each block. We provide two statistics, `fees_transaction_mean`, the average fee per transaction, `fees_transaction_median,` the median fee per transaction. Additionally, these values can be calculated in USD.
      operationId: getFeesTransaction
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-data/fees-transaction?window=day&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-data/fees-transaction?window=day&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-data/fees-transaction?window=day&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-data/fees-transaction?window=day&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-data/fees-transaction?window=day&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/FeesTransaction'
      security:
        - Access Token: []
  /btc/network-data/blockreward:
    get:
      tags:
        - BTC Network Data
      summary: Blockreward
      description: The sum of block rewards (including mining or staking rewards and transaction fees). We also provide this value in usd.
      operationId: getBlockReward
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-data/blockreward?window=day&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-data/blockreward?window=day&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-data/blockreward?window=day&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-data/blockreward?window=day&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-data/blockreward?window=day&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/BlockReward'
      security:
        - Access Token: []
  /btc/network-data/difficulty:
    get:
      tags:
        - BTC Network Data
      summary: Difficulty
      description: The mean difficulty of mining a new block.
      operationId: getDifficulty
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-data/difficulty?window=day&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-data/difficulty?window=day&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-data/difficulty?window=day&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-data/difficulty?window=day&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-data/difficulty?window=day&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/Difficulty'
      security:
        - Access Token: []
  /btc/network-data/hashrate:
    get:
      tags:
        - BTC Network Data
      summary: Hashrate
      description: The mean speed at which miners in the network are solving hash problems. It is displayed as hashes (Gigabytes) per second.
      operationId: getHashrate
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-data/hashrate?window=day&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-data/hashrate?window=day&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-data/hashrate?window=day&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-data/hashrate?window=day&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-data/hashrate?window=day&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/Hashrate'
      security:
        - Access Token: []
  /btc/market-data/price-ohlcv:
    get:
      tags:
        - BTC Market Data
      summary: Price OHLCV
      description: "This endpoint returns metrics related to BTC price. \nWe provide two types of price, CryptoQuant's BTC Index Price and USD or USDT price of BTC of global exchanges.\n\nPrice OHLCV data consists of five metrics.\_\n`open`, the opening price at the beginning of the window,\_`close`, USD closing price at the end of the window,\_\n`high`, the highest USD price in a given window,\_`low`, the lowest USD price in a given window, \nand\_`volume`, the total volume traded in a given window. \n\nAt this endpoint, metrics are calculated by Minute, Hour and Day. \n\nBTC Index Price is calculated by taking VWAP(Volume Weighted Average Price) of BTC price data aggregated from all exchanges we provide. The exchanges we provide are as follows. \n\n<br>\n\n### Supported Exchanges By Market\n\n| Name | Market  |    Supported Exchanges     |\n|--------|---------|----------------------------|\n| Spot   | `spot`  | All Exchange*, Binance, Binance US, Bitfinex, Bittrex, Coinbase Advanced, FTX**, Gemini, HTX Global, Kraken, OKX |\n| Perpetual   | `perpetual`  | All Exchange*, Binance, Bitmex, Bybit, Deribit, FTX**, HTX Global, OKX |\n\n> (*) Default exchange <br>\n> (**) Use in cautions due to the deprecation (no data update)\n\nIn order to get USD or USDT price of BTC of specific exchange from above (eg. `btcusdt` pair of `binance`), \nyou must specify `market`, `exchange` and `symbol` of BTC pair.  \n\nFor `volume` metric, the unit of volume could be USD, USDT or BTC. \nThis is because exchanges have their own price data policy. All Exchange's `volume` is in BTC and available since the earliest time of exchanges. \nPlease refer to volume unit of each exchange from below table.  \n\n<br>\n\n### Supported Pairs By Exchange\n\n#### ◦ Spot\n| Name           |   Exchange       | Symbol                      | Volume Unit  | Available Since   |\n|----------------|------------------|-----------------------------|--------------|-------------------------------|\n| All Exchange   | `all_exchange`   |  `btc_usd`*                  |    BTC       |  2009-01-03 18:15:00          |\n| Binance        | `binance`        |  `btc_usdt`*                 |    BTC       | 2017-08-17 04:00:00           |\n| Binance US     | `binance_us`     |  `btc_usd`* <br/> `btc_usdt`  |    BTC       | 2019-09-17 10:17:00 <br/> 2019-09-23 08:34:00 |\n| Bitfinex       | `bitfinex`       |  `btc_usd`* <br/> `btc_usdt`  |    BTC       | 2013-04-01 00:07:00 <br/> 2019-03-11 10:05:00 |\n| Bittrex        | `bittrex`        |  `btc_usd`* <br/> `btc_usdt`  |    USD <br/> USDT | 2018-05-31 16:26:00 <br/> 2015-12-12 14:59:00 |\n| Coinbase Advanced   | `coinbase_advanced`   |  `btc_usd`*                  |    BTC       | 2015-07-20 21:37:00  \n| FTX**            | `ftx`            |  `btc_usd`* <br/> `btc_usdt`  |    USD <br/> USDT | 2019-07-21 13:11:00 <br/> 2020-03-28 14:40:00 |\n| Gemini         | `gemini`         |  `btc_usd`*                  |    BTC       | 2019-08-30 00:00:00           |\n| HTX Global   | `htx_global`   |  `btc_usdt`*                 |    BTC       | 2019-11-19 00:00:00           |\n| Kraken         | `kraken`         |  `btc_usd`* <br/> `btc_usdt`  |    BTC       | 2013-10-06 21:34:00 <br/> 2019-12-19 18:06:00 |\n| OKX            | `okx`           |  `btc_usdt`*                 |    BTC       | 2019-10-01 00:00:00           |\n\n#### ◦ Perpetual\n|    Exchange    | Exchange Symbol  |     Pair Symbol               |    Volume         |    Historical Starting Point   |\n|----------------|------------------|-------------------------------|-------------------|--------------------------------|\n| All Exchange   | `all_exchange`   |  `btc_usd`*                   |    BTC            |  The earliest time in the exchanges below.         |\n| Binance        | `binance`        |  `btc_usd`* <br/> `btc_usdt`  |    Cont <br/> BTC | 2020-08-11 07:02:00 <br/> 2019-09-08 17:57:00 |\n| Bitmex         | `bitmex`         |  `btc_usd`*                   |    USD            | 2015-09-25 12:34:00            |\n| Bybit          | `bybit`          |  `btc_usd`* <br/> `btc_usdt`  |    USD  <br/> BTC | 2018-11-14 16:00:00 <br/> 2020-03-25 10:36:00 |\n| Deribit        | `deribit`        |  `btc_usd`*                   |    USD            | 2018-08-14 10:34:00  |\n| FTX**            | `ftx`            |  `btc_usd`*                   |    USD            | 2019-07-20 12:35:00 |\n| HTX Global   | `htx_global`   |  `btc_usd`* <br/> `btc_usdt`  |    Cont <br/> BTC | 2020-03-25 09:45:00 <br/> 2020-10-21 09:08:00 |\n| OKX            | `okx`           |  `btc_usd`* <br/> `btc_usdt`  |    Cont <br/> BTC | 2019-03-30 00:00:00 <br/> 2019-12-25 00:00:00 |\n\n> (*) Default exchange <br>\n> (**) Use in cautions due to the deprecation (no data update)\n\n> We calculate the OHLCV data of a day from the beginning of UTC 00:00:00. \n> However, the OHLCV data in official sites of HTX and OKX are calculated from the beginning of UTC 16:00:00. \n> Thus, be aware that there may be some intended discrepancy between those.\n\n<br>\n\n### Supported Windows By Market\n\n|   Market  |   Supported Windows           |\n|-----------|-------------------------------|\n| Spot      | `min`, `hour`, `day*`         |\n| Perpetual | `min`, `hour`, `day*`         |\n\n> (*) Default exchange"
      operationId: getBTCPriceOHLCV
      parameters:
        - $ref: '#/components/parameters/market_btc'
        - $ref: '#/components/parameters/btc_exchange_ohlcv'
        - $ref: '#/components/parameters/symbol_btc_ohlcv'
        - $ref: '#/components/parameters/window_mdh_btc_spotperp'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/market-data/price-ohlcv?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/market-data/price-ohlcv?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/market-data/price-ohlcv?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/market-data/price-ohlcv?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/market-data/price-ohlcv?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/PriceOHLCV'
      security:
        - Access Token: []
  /btc/market-data/open-interest:
    get:
      tags:
        - BTC Market Data
      summary: Open Interest
      description: |-
        This endpoint returns BTC Perpetual Open Interest from derivative exchanges. Supported exchanges for Open Interest are below. Note we unify the unit of return value to USD for each exchange where its contract specification may vary.

        | Name           |   Exchange     | Symbol |  Available Since   |
        |----------------|--------------|-------------|-----------------------------|
        | All Exchanges  |   `all_exchange` | `all_symbol`   | The earliest time in the exchanges below. |
        | Binance        |   `binance`  |    `all_symbol` <br/> `btc_busd` <br/> `btc_usd` <br/> `btc_usdt`  | The earliest time in the symbols. <br/> 2021-01-12 00:00:00 <br/> 2020-08-11 00:00:00 <br/> 2020-03-13 02:13:00      |
        | Bitfinex       |   `bitfinex` |    `all_symbol` <br/> `btc_usdt`  | The earliest time in the symbols. <br/> 2020-06-01 00:00:00  |
        | Bitmex         |   `bitmex`   |    `all_symbol` <br/> `btc_usd`  | The earliest time in the symbols. <br/> 2019-03-30 00:00:00  |
        | Bybit          |   `bybit`    |    `all_symbol` <br/> `btc_usd` <br/> `btc_usdt` | The earliest time in the symbols. <br/> 2019-11-07 00:00:00 <br/> 2020-05-28 00:00:00 |
        | Deribit        |   `deribit`  |    `all_symbol` <br/> `btc_usd`  | The earliest time in the symbols. <br/> 2019-03-30 00:00:00        |
        | FTX**            |   `ftx`      |    `all_symbol` <br/> `btc_usd` | The earliest time in the symbols. <br/> 2020-05-13 00:00:00  |
        | Gate.io        |   `gate_io`      | `all_symbol` <br/> `btc_usd` <br/> `btc_usdt` | The earliest time in the symbols. <br/> 2020-07-01 00:00:00 <br/> 2020-07-01 00:00:00 |
        | HTX Global   |   `htx_global` | `all_symbol` <br/> `btc_usd` <br/> `btc_usdt` | The earliest time in the symbols. <br/> 2020-06-23 00:00:00 <br/> 2021-08-26 04:00:00 |
        | Kraken         |   `kraken`       | `all_symbol` <br/> `btc_usd` | The earliest time in the symbols. <br/> 2019-03-30 00:00:00  |
        | OKX            |   `okx`         | `all_symbol` <br/> `btc_usd` <br/> `btc_usdt` | The earliest time in the symbols. <br/> 2019-09-05 23:59:00 <br/> 2020-01-01 00:00:00 |

        > (**) Use in cautions due to the deprecation (no data update)
      operationId: BTCgetOpenInterest
      parameters:
        - $ref: '#/components/parameters/btc_exchange_oi'
        - $ref: '#/components/parameters/window_mhd'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/market-data/open-interest?window=day&from=20191001&exchange=bitmex"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/market-data/open-interest?window=day&from=20191001&exchange=bitmex")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/market-data/open-interest?window=day&from=20191001&exchange=bitmex")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/market-data/open-interest?window=day&from=20191001&exchange=bitmex")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/market-data/open-interest?window=day&from=20191001&exchange=bitmex"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/OpenInterest'
      security:
        - Access Token: []
  /btc/market-data/funding-rates:
    get:
      tags:
        - BTC Market Data
      summary: Funding Rates
      description: |-
        Funding rates represents traders' sentiments of which position they bet on in perpetual swaps market. Positive funding rates implies that many traders are bullish and long traders pay funding to short traders. Negative funding rates implies many traders are bearish and short traders pay funding to long traders.

        | Name           |   Exchange     | Symbol |  Available Since   |
        |----------------|--------------|----|-------------------------|
        | All Exchanges  |   `all_exchange` | | The earliest time in the exchanges below. |
        | Binance        |   `binance`  | BTC-USDT  | 2019-09-10 00:00:00        |
        | Bybit          |   `bybit`    | BTC-USD | 2019-12-01 00:00:00        |
        | Bitmex         |   `bitmex`   | BTC-USD | 2016-05-14 04:00:00  |
        | Deribit        |   `deribit`  | BTC-PERPETUAL | 2019-03-30 00:00:00        |
        | HTX Global   |   `htx_global` | BTC-USD  | 2020-03-25 04:00:00       |
        | OKX            |   `okx`     | BTC-USD | 2019-04-01 00:00:00        |
      operationId: BTCgetFundingRates
      parameters:
        - $ref: '#/components/parameters/exchange_fr'
        - $ref: '#/components/parameters/window_mhd'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/market-data/funding-rates?window=day&from=20191001&exchange=bitmex"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/market-data/funding-rates?window=day&from=20191001&exchange=bitmex")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/market-data/funding-rates?window=day&from=20191001&exchange=bitmex")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/market-data/funding-rates?window=day&from=20191001&exchange=bitmex")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/market-data/funding-rates?window=day&from=20191001&exchange=bitmex"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/FundingRates'
      security:
        - Access Token: []
  /btc/market-data/taker-buy-sell-stats:
    get:
      tags:
        - BTC Market Data
      summary: Taker Buy Sell Stats
      description: |-
        Taker Buy/Sell Stats represent takers' sentiment of which position they are taking in the market. This metric is calculated with perpetual swap trades in each exchange.
        `taker_buy_volume` is volume that takers buy.
        `taker_sell_volume` is volume that takers sell.
        `taker_total_volume` is the sum of `taker_buy_volume` and `taker_sell_volume`.
        `taker_buy_ratio` is the ratio of `taker_buy_volume` divided by `taker_total_volume`.
        `taker_sell_ratio` is the ratio of `taker_sell_volume` divided by `taker_total_volume`.
        `taker_buy_sell_ratio` is the ratio of `taker_buy_volume` divided by `taker_sell_volume`.
        Note we unify the unit of return value to USD for each exchange where its contract specification may vary.

        | Name           |   Exchange     | Symbol |  Available Since   |
        |----------------|--------------|------|-----------------------------|
        | All Exchanges  |   `all_exchange` | | The earliest time in the exchanges below. |
        | Binance        |   `binance`  | BTC-USDT | 2019-09-08 17:57:00        |
        | Bybit          |   `bybit`    | BTC-USD | 2019-11-07 00:00:00        |
        | Bitmex         |   `bitmex`   | BTC-USD | 2015-09-25 12:34:00  |
        | Deribit        |   `deribit`  | BTC-PERPETUAL | 2019-03-30 00:00:00       |
        | HTX Global   |   `htx_global` | BTC-USD  | 2020-03-28 00:00:00       |
        | OKX           |   `okx`     | BTC-USD | 2019-03-30 00:00:00        |
      operationId: BTCgetTakerBuySellStats
      parameters:
        - $ref: '#/components/parameters/exchange_lss'
        - $ref: '#/components/parameters/window_mhd'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/market-data/taker-buy-sell-stats?window=day&from=20191001&exchange=bitmex"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/market-data/taker-buy-sell-stats?window=day&from=20191001&exchange=bitmex")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/market-data/taker-buy-sell-stats?window=day&from=20191001&exchange=bitmex")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/market-data/taker-buy-sell-stats?window=day&from=20191001&exchange=bitmex")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/market-data/taker-buy-sell-stats?window=day&from=20191001&exchange=bitmex"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TakerBuySellStats'
      security:
        - Access Token: []
  /btc/market-data/liquidations:
    get:
      tags:
        - BTC Market Data
      summary: Liquidations
      description: |-
        Liquidations are sum of forced market orders to exit leveraged positions caused by price volatility. Liquidations indicate current price volatility and traders' sentiment which side they had been betting.
        Note that Binance's liquidation data collection policy has changed since [2021-04-27](https://binance-docs.github.io/apidocs/futures/en/#change-log), which makes the distribution of the data has changed after that.

        | Name           |   Exchange     |    Symbol    |   Available Since           |
        |----------------|----------------|--------------|-----------------------------|
        | All Exchanges  | `all_exchange` | `all_symbol` | The earliest time in the exchanges below. |
        | Binance        | `binance`      | `all_symbol` <br/> `btc_busd` <br/> `btc_usd` <br/> `btc_usdt` | The earliest time in the symbols. <br/> 2019-11-20 00:00:00 <br/> 2020-08-14 00:00:00 <br/> 2021-01-15 00:00:00 |
        | Bitfinex       | `bitfinex`     | `all_symbol` <br/> `btc_usdt`| The earliest time in the symbols. <br/> 2019-09-18 00:00:00  |
        | Bitmex         | `bitmex`       | `all_symbol` <br/> `btc_usd` | The earliest time in the symbols. <br/> 2019-04-02 00:00:00 |
        | Bybit          | `bybit`        | `all_symbol` <br/> `btc_usd` <br/> `btc_usdt` | The earliest time in the symbols. <br/> 2020-12-20 00:00:00 <br/> 2020-12-18 00:00:00 |
        | Deribit        | `deribit`      | `all_symbol` <br/> `btc_usd` | The earliest time in the symbols. <br/> 2019-05-25 00:00:00 |
        | FTX**            | `ftx`          | `all_symbol` <br/> `btc_usd` | The earliest time in the symbols. <br/> 2019-08-04 00:00:00 |
        | Gate.io        | `gate_io`      | `all_symbol` <br/> `btc_usd` <br/> `btc_usdt` | The earliest time in the symbols. <br/> 2018-12-20 16:00:00 <br/> 2019-11-18 17:00:00 |
        | HTX Global   | `htx_global` | `all_symbol` <br/> `btc_usd` <br/> `btc_usdt` | The earliest time in the symbols. <br/> 2020-06-26 00:00:00 <br/> 2021-09-23 12:00:00 |
        | OKX            | `okx`         | `all_symbol` <br/> `btc_usd` <br/> `btc_usdt` | The earliest time in the symbols. <br/> 2020-12-20 00:00:00 <br/> 2020-12-17 00:00:00 |

        > (**) Use in cautions due to the deprecation (no data update)
      operationId: getLiquidations
      parameters:
        - $ref: '#/components/parameters/exchange_liq'
        - $ref: '#/components/parameters/symbol_liq_btc'
        - $ref: '#/components/parameters/window_mhd'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/market-data/liquidations?window=day&from=20191001&exchange=deribit"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/market-data/liquidations?window=day&from=20191001&exchange=deribit")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/market-data/liquidations?window=day&from=20191001&exchange=deribit")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/market-data/liquidations?window=day&from=20191001&exchange=deribit")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/market-data/liquidations?window=day&from=20191001&exchange=deribit"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/Liquidations'
      security:
        - Access Token: []
  /btc/market-data/capitalization:
    get:
      tags:
        - BTC Market Data
      summary: Capitalization
      description: |
        This endpoint returns metrics related to market capitalization. First, we provide `market_cap`, which is total market capitalization of BTC, calculated by multiplying the total supply with its USD price. Moreover, we provide several adjusted capitalization metrics which are used for further fundamental analysis. `realized_cap` is the sum of each UTXO * last movement price. Since cryptocurrencies can be lost, unclaimed, or unreachable through various bugs, `realized_cap` is introduced to discount those coins which have remained unmoved for a long period. It is one way to attempt to measure the value of Bitcoin. This can be described as an on-chain version of volume weighted average price(VWAP). `average_cap` is forever moving average, calculated by dividing the cumulated sum of daily market cap with the age of market. Instead of using fixed time for calculating the moving average (e.g. 50 days, 100days ...), this serves as the true mean.  Both `realized_cap` and `average_cap` are used to calculate `delta_cap` (`realized_cap`-`average_cap`). `delta_cap` is often used to spot market bottoms. Moreover, by analyzing the movement of `delta_cap` which oscillates between `realized_cap` and `average_cap`, we could notice that market tops are reached when `delta_cap` is near `realized_cap`(in a log scaled chart). Another metric that can be used to spot market bottoms is `thermo_cap` which is the weighted cumulative sum of the mined cryptocurrency price. This metric provides the total amount of funds in the blockchain network and also helps to evaluate whether `market_cap` is overvalued or not.  
        __[Go to Data Guide‣](https://userguide.cryptoquant.com/cryptoquant-metrics/market/capitalization-models)__
      operationId: getCapitalization
      parameters:
        - $ref: '#/components/parameters/window'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/market-data/capitalization?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/market-data/capitalization?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/market-data/capitalization?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/market-data/capitalization?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/market-data/capitalization?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/Capitalization'
      security:
        - Access Token: []
  /btc/market-data/coinbase-premium-index:
    get:
      tags:
        - BTC Market Data
      summary: Coinbase Premium Index
      description: |
        Coinbase Premium Index is calculated as percent difference from Binance price(BTCUSDT) to Coinbase price(BTCUSD). Coinbase Premium Gap is calculated as gap between Coinbase price(BTCUSD) and Binance price(BTCUSDT). The higher the premium, the stronger the spot buying pressure from Coinbase.
      operationId: getBTCCoinbasePremiumIndex
      parameters:
        - $ref: '#/components/parameters/window_mhd'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/market-data/coinbase-premium-index?window=day&from=20191001T000000&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/market-data/coinbase-premium-index?window=day&from=20191001T000000&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/market-data/coinbase-premium-index?window=day&from=20191001T000000&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/market-data/coinbase-premium-index?window=day&from=20191001T000000&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/market-data/coinbase-premium-index?window=day&from=20191001T000000&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/BTCCoinbasePremiumIndex'
      security:
        - Access Token: []
  /btc/fund-data/market-price-usd:
    get:
      tags:
        - BTC Fund Data
      summary: Market Price USD
      description: The price of certain symbol (e.g. gbtc) managed by each fund (e.g. Grayscale) reflects sentiment of investors in regulated markets. In this specific case, having single share of GBTC means having approximately 0.001 BTC invested to Grayscale. This endpoint returns metrics related to the US Dollar(USD) price of fund related stocks (e.g. gbtc). We provide five metrics, `price_usd_open`, USD opening price at the beginning of the window, `price_usd_close`, USD closing price at the end of the window, `price_usd_high`, the highest USD price in a given window, `price_usd_low`, the lowest USD price in a given window, and `price_usd_adj_close`, USD adjusted closing price at the end of the window. All Symbol is not supported.
      operationId: getBTCMarketPriceUSD
      parameters:
        - $ref: '#/components/parameters/symbol_btc'
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/fund-data/market-price-usd?symbol=gbtc&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/fund-data/market-price-usd?symbol=gbtc&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/fund-data/market-price-usd?symbol=gbtc&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/fund-data/market-price-usd?symbol=gbtc&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/fund-data/market-price-usd?symbol=gbtc&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/MarketPriceUSD'
      security:
        - Access Token: []
  /btc/fund-data/market-volume:
    get:
      tags:
        - BTC Fund Data
      summary: Market Volume
      description: The volume of certain symbol (e.g. gbtc) managed by each fund (e.g. Grayscale) reflects sentiment of investors in regulated markets. This endpoint returns traded volume of fund related stocks (e.g. gbtc). At this endpoint, metrics are calculated by Day. We provide one metric, `volume`, traded volume of the window.
      operationId: getBTCMarketVolume
      parameters:
        - $ref: '#/components/parameters/symbol_btc'
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/fund-data/market-volume?symbol=gbtc&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/fund-data/market-volume?symbol=gbtc&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/fund-data/market-volume?symbol=gbtc&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/fund-data/market-volume?symbol=gbtc&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/fund-data/market-volume?symbol=gbtc&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/MarketVolume'
      security:
        - Access Token: []
  /btc/fund-data/market-premium:
    get:
      tags:
        - BTC Fund Data
      summary: Market Premium
      description: The premium of certain symbol (e.g. gbtc) is defined as (market price of the symbol - NAV) divided by NAV where NAV (Native Asset Value) is the current value of holdings (e.g. BTC price multiplied by BTC per Share). Higher the premium indicates market bullish, which also indicates downside risk. On the other hand, lower the premium indicates market bearish, which also indicates upside risk. All Symbol market premium is calculated by taking VWAP (Volume Weighted Average Ratio) of each fund data volume (usd).
      operationId: getBTCMarketPremium
      parameters:
        - $ref: '#/components/parameters/symbol_btc'
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/fund-data/market-premium?symbol=gbtc&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/fund-data/market-premium?symbol=gbtc&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/fund-data/market-premium?symbol=gbtc&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/fund-data/market-premium?symbol=gbtc&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/fund-data/market-premium?symbol=gbtc&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/MarketPremium'
      security:
        - Access Token: []
  /btc/fund-data/digital-asset-holdings:
    get:
      tags:
        - BTC Fund Data
      summary: Digital Asset Holdings
      description: This endpoint returns digital asset holdings status of each fund. For example, Grayscale BTC Holdings along with GBTC represents how much BTC Grayscale is holding for its investment. This metric indicates stock market's sentiment where higher the value means bullish sentiment of investors in stock market.
      operationId: getBTCDigitalAssetHoldings
      parameters:
        - $ref: '#/components/parameters/symbol_btc'
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/fund-data/digital-asset-holdings?symbol=gbtc&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/fund-data/digital-asset-holdings?symbol=gbtc&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/fund-data/digital-asset-holdings?symbol=gbtc&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/fund-data/digital-asset-holdings?symbol=gbtc&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/fund-data/digital-asset-holdings?symbol=gbtc&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/DigitalAssetHoldings'
      security:
        - Access Token: []
  /btc/network-indicator/stock-to-flow:
    get:
      tags:
        - BTC Network Indicator
      summary: Stock to Flow
      description: |
        Stock to Flow is a metric used to assume bitcoin price based on its scarcity just like gold, silver, and other valuable objects that are limited in amount and costly to earn. The same model for evaluating the value of those objects can be adopted to assess the value of bitcoin. The scarcity is calculated by dividing currently circulating coins in the blockchain network to newly supplied coins.  
        __[Go to Data Guide‣](https://dataguide.cryptoquant.com/network-indicators/stock-to-flow-ratio)__
      operationId: getStockToFlow
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-indicator/stock-to-flow?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-indicator/stock-to-flow?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-indicator/stock-to-flow?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-indicator/stock-to-flow?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-indicator/stock-to-flow?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/stocktoflow'
      security:
        - Access Token: []
  /btc/network-indicator/nvt:
    get:
      tags:
        - BTC Network Indicator
      summary: NVT
      description: |
        NVT(Network Value to Transaction) ratio is the network value(`supply_total` * `price_usd`) divided by `tokens_transferred_total`. `nvt` is a metric often used to determine whether Bitcoin price is overvalued or not. The theory behind this indicator is that the value of the token depends on how actively transactions take place on the network.  
        __[Go to Data Guide‣](https://dataguide.cryptoquant.com/network-indicators/nvt-ratio)__
      operationId: getNetworkIndicatorNVT
      parameters:
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-indicator/nvt?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-indicator/nvt?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-indicator/nvt?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-indicator/nvt?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-indicator/nvt?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/nvt'
      security:
        - Access Token: []
  /btc/network-indicator/nvt-golden-cross:
    get:
      tags:
        - BTC Network Indicator
      summary: NVT Golden Cross
      description: |
        NVT Golden Cross is a modified index of NVT that provides local tops and bottoms. NVT Golden Cross values above 2.2 indicate that downside risk goes up. NVT Golden Cross values below -1.6 mean huge upside potential will occur.  
        __[Go to Data Guide‣](https://dataguide.cryptoquant.com/network-indicators/nvt-golden-cross)__
      operationId: getNVTGoldenCross
      parameters:
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-indicator/nvt-golden-cross?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-indicator/nvt-golden-cross?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-indicator/nvt-golden-cross?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-indicator/nvt-golden-cross?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-indicator/nvt-golden-cross?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/nvt_golden_cross'
      security:
        - Access Token: []
  /btc/network-indicator/nvm:
    get:
      tags:
        - BTC Network Indicator
      summary: NVM
      description: |
        NVM(Network Value to Metcalfe Ratio) is a metric based on Metcalfe’s law; the value of a network is proportional to the square of its nodes or user. NVM is a ratio of market cap divided by daily active address. Based on Metcalfe’s law, the value of bitcoin rises if the daily active addresses increase. Therefore, if the NVM value is relatively small, it means that the value of the network is underestimated and if the value is relatively high, it means that the value of the network is overestimated.  
        __[Go to Data Guide‣](https://dataguide.cryptoquant.com/network-indicators/nvm-ratio)__
      operationId: getNVM
      parameters:
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-indicator/nvm?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-indicator/nvm?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-indicator/nvm?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-indicator/nvm?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-indicator/nvm?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/nvm'
      security:
        - Access Token: []
  /btc/network-indicator/puell-multiple:
    get:
      tags:
        - BTC Network Indicator
      summary: Puell Multiple
      description: |
        Puell Multiple is the mining revenue usd divided by MA 365 mining revenue usd. `puell_multiple` is a metric shows the historically low and high periods of the value of bitcoin issued daily, and at what point investors should buy bitcoin to get high returns. This indicator was created by David Puell.  
        __[Go to Data Guide‣](https://dataguide.cryptoquant.com/network-indicators/puell-multiple)__
      operationId: getPuellMultiple
      parameters:
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-indicator/puell-multiple?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-indicator/puell-multiple?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-indicator/puell-multiple?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-indicator/puell-multiple?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-indicator/puell-multiple?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/puell_multiple'
      security:
        - Access Token: []
  /btc/network-indicator/cdd:
    get:
      tags:
        - BTC Network Indicator
      summary: Coin Days Destroyed
      description: |
        Coin Days Destroyed reflects market participants who have been in the bitcoin on-chain for longer. This indicator gives more weight to long-term-holder position.
        `cdd` is the sum of products of spent transaction output alive days and its value.
        `sa_cdd` is abbreviation of supply-adjusted cdd.
        Since `cdd` increases as the newly created block mined, we need an indicator which normalize `cdd` value. `sa_cdd` is calculated by `cdd` over `supply_total`.
        `average_sa_cdd` is the average value of `sa_cdd` since genesis block.
        `binary_cdd` is the signal whether current `sa_cdd` is larger than `average_sa_cdd` or not. If `sa_cdd` > `average_sa_cdd`, then `binary_cdd` is 1.
        In conclusion, these indicators help us to estimate how whale's moving.
      operationId: getCDD
      parameters:
        - $ref: '#/components/parameters/window'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-indicator/cdd?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-indicator/cdd?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-indicator/cdd?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-indicator/cdd?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-indicator/cdd?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/cdd'
      security:
        - Access Token: []
  /btc/network-indicator/mca:
    get:
      tags:
        - BTC Network Indicator
      summary: Mean Coin Age
      description: |
        Mean Coin Age is the mean value of products of bitcoin unspent transaction output alive days and its value.
        It is basically similar to `cdd`. But `mca` focuses on unspent transaction output.
        Mean Coin Dollar Age is the sum value of products of bitcoin unspent transaction output alive days, value, and price at the created time.
      operationId: getMCA
      parameters:
        - $ref: '#/components/parameters/window'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-indicator/mca?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-indicator/mca?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-indicator/mca?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-indicator/mca?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-indicator/mca?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/mca'
      security:
        - Access Token: []
  /btc/network-indicator/sca:
    get:
      tags:
        - BTC Network Indicator
      summary: Sum Coin Age
      description: |
        Sum Coin Age is the sum value of products of bitcoin unspent transaction output alive days and its value.
        It is basically similar to `cdd`. But `sca` focuses on unspent transaction output.
        Sum Coin Dollar Age is the sum value of products of bitcoin unspent transaction output alive days, value, and price at the created time.
      operationId: getSCA
      parameters:
        - $ref: '#/components/parameters/window'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-indicator/sca?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-indicator/sca?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-indicator/sca?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-indicator/sca?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-indicator/sca?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/sca'
      security:
        - Access Token: []
  /btc/network-indicator/sca-distribution:
    get:
      tags:
        - BTC Network Indicator
      summary: Sum Coin Age Distribution
      description: |
        This indicator shows the distribution of long-term holder and short-term holder with UTxO data.
        It is similar to UTxO distribution, but weighted by alive days to highlight long-term holder's distribution in different ranges.
        Each field is calculated as the sum of the products of bitcoin unspent transaction output alive days and its value in a given period, divided by their sum.
        If long-term SCA distribution ratio increases, then we can interpret this as one of bullish moment.
      operationId: getSCADistribution
      parameters:
        - $ref: '#/components/parameters/window'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-indicator/sca-distribution?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-indicator/sca-distribution?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-indicator/sca-distribution?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-indicator/sca-distribution?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-indicator/sca-distribution?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/sca-distribution'
      security:
        - Access Token: []
  /btc/network-indicator/nupl:
    get:
      tags:
        - BTC Network Indicator
      summary: Net Unrealized Profit and Loss
      description: |
        Net Unrealized Profit and Loss shows how different between `market_cap` and `realized_cap`.
        `nupl` is calculated as difference between `market_cap` and `realized_cap` divided by `market_cap`.
        If `market_cap` > `realized_cap`, then `nupl` > 0, which means bitcoin on-chain expected value is less than what they actually have.
        So this value will give selling pressure.
        `nup` is net unrealized profit, which is calculated as sum of products of UTxO's value and price difference between created and destroyed, divided by `market_cap`.
        `nup` only contains UTxOs in profit.
        `nul` is net unrealized loss. This is opposite indicator of `nup`.
        It only contains UTxOs in loss.
      operationId: getNUPL
      parameters:
        - $ref: '#/components/parameters/window'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-indicator/nupl?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-indicator/nupl?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-indicator/nupl?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-indicator/nupl?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-indicator/nupl?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/nupl'
      security:
        - Access Token: []
  /btc/network-indicator/nrpl:
    get:
      tags:
        - BTC Network Indicator
      summary: Net Realized Profit and Loss
      description: |
        Net Realized Profit/Loss metric presenting the net magnitude of profit, or loss realized by all holders spending coins. 
        Realized Profit/Loss is assessed relative to the price when a coin last moved.
      operationId: getNRPL
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-indicator/nrpl?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-indicator/nrpl?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-indicator/nrpl?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-indicator/nrpl?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-indicator/nrpl?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/nrpl'
      security:
        - Access Token: []
  /btc/network-indicator/pnl-utxo:
    get:
      tags:
        - BTC Network Indicator
      summary: Profit and Loss (UTxO)
      description: |
        Profit and Loss (UTxO) evaluates the number of UTxOs being in profit or not by comparing the price between created and destroyed.
        When the price at destroyed time is higher than created, this transaction is in profit.
      operationId: getPNLUTxO
      parameters:
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-indicator/pnl-utxo?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-indicator/pnl-utxo?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-indicator/pnl-utxo?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-indicator/pnl-utxo?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-indicator/pnl-utxo?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/pnl-utxo'
      security:
        - Access Token: []
  /btc/network-indicator/pnl-supply:
    get:
      tags:
        - BTC Network Indicator
      summary: Profit and Loss (Supply)
      description: |
        Profit and Loss (Supply) evaluates the sum of UTxOs being in profit or not by comparing the price between created and destroyed.
        These metrics are similar to the ones in Profit and Loss (UTxO) but differ from putting more weight on each UTxO with its value.
        Sometimes we want to know the exact alive bitcoin transaction output value in profit. `pnl-supply` will show it accuretely.
        `pnl-supply` is calculated as the sum of UTxO value.
      operationId: getPNLSupply
      parameters:
        - $ref: '#/components/parameters/window'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-indicator/pnl-supply?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-indicator/pnl-supply?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-indicator/pnl-supply?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-indicator/pnl-supply?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-indicator/pnl-supply?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/pnl-supply'
      security:
        - Access Token: []
  /btc/network-indicator/dormancy:
    get:
      tags:
        - BTC Network Indicator
      summary: Dormancy
      description: |
        Average Dormancy (`average_dormancy`) is the average number of days destroyed per coin transacted. 
        Supply-Adjusted Average Dormancy (`sa_average_dormancy`) is the average dormancy normalized by supply total, where supply total increases as more blocks mined.
      operationId: getDormancy
      parameters:
        - $ref: '#/components/parameters/window'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-indicator/dormancy?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-indicator/dormancy?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-indicator/dormancy?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-indicator/dormancy?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-indicator/dormancy?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/dormancy'
      security:
        - Access Token: []
  /btc/network-indicator/utxo-age-distribution:
    get:
      tags:
        - BTC Network Indicator
      summary: UTxO Age Distribution
      description: |
        UTxO Age Distribution is a set of active supply with age bands. This indicator summarizes the behaviors of long-term or short-term holders along with price actions. We provide the distribution values in native, USD, and percent values.
      operationId: getUTxOAgeDistribution
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-indicator/utxo-age-distribution?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-indicator/utxo-age-distribution?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-indicator/utxo-age-distribution?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-indicator/utxo-age-distribution?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-indicator/utxo-age-distribution?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/utxo-age-distribution'
      security:
        - Access Token: []
  /btc/network-indicator/utxo-realized-age-distribution:
    get:
      tags:
        - BTC Network Indicator
      summary: UTxO Realized Age Distribution
      description: |
        UTxO Realized Age Distribution is a set of active supply with age bands weighted by the price at UTxO created time. Similar to Realized Cap, this indicator summarizes the capitalization held by long-term or short-term holders (each band). We provide the distribution values in native, USD, and percent values.
      operationId: getUTxORealizedAgeDistribution
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-indicator/utxo-realized-age-distribution?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-indicator/utxo-realized-age-distribution?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-indicator/utxo-realized-age-distribution?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-indicator/utxo-realized-age-distribution?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-indicator/utxo-realized-age-distribution?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/utxo-realized-age-distribution'
      security:
        - Access Token: []
  /btc/network-indicator/utxo-count-age-distribution:
    get:
      tags:
        - BTC Network Indicator
      summary: UTxO Count Age Distribution
      description: |
        UTxO Count Age Distribution is a set of active number of holders with age bands. This indicator summarizes how many long-term or short-term holders exist by each band. We provide the distribution values in native, and percent values.
      operationId: getUTxOCountAgeDistribution
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-indicator/utxo-count-age-distribution?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-indicator/utxo-count-age-distribution?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-indicator/utxo-count-age-distribution?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-indicator/utxo-count-age-distribution?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-indicator/utxo-count-age-distribution?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/utxo-count-age-distribution'
      security:
        - Access Token: []
  /btc/network-indicator/spent-output-age-distribution:
    get:
      tags:
        - BTC Network Indicator
      summary: Spent Output Age Distribution
      description: |
        Spent Output Age Distribution is a set of active sum of spent outputs with age bands. This indicator summarizes how much UTxOs are destroyed by long-term or short-term holders (each band). We provide the distribution values in native, USD, and percent values.
      operationId: getSpentOutputAgeDistribution
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-indicator/spent-output-age-distribution?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-indicator/spent-output-age-distribution?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-indicator/spent-output-age-distribution?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-indicator/spent-output-age-distribution?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-indicator/spent-output-age-distribution?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/spent-output-age-distribution'
      security:
        - Access Token: []
  /btc/network-indicator/utxo-supply-distribution:
    get:
      tags:
        - BTC Network Indicator
      summary: UTxO Supply Distribution
      description: |
        UTxO Supply Distribution is a set of active supply with balance (supply) bands. This indicator summarizes the behaviors of whales or retails separated by amount of coins they hold along with price actions. We provide the distribution values in native, and percent values.
      operationId: getUTxOSupplyDistribution
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-indicator/utxo-supply-distribution?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-indicator/utxo-supply-distribution?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-indicator/utxo-supply-distribution?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-indicator/utxo-supply-distribution?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-indicator/utxo-supply-distribution?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/utxo-supply-distribution'
      security:
        - Access Token: []
  /btc/network-indicator/utxo-realized-supply-distribution:
    get:
      tags:
        - BTC Network Indicator
      summary: UTxO Realized Supply Distribution
      description: |
        UTxO Realized Supply Distribution is a set of active supply with balance (supply) bands weighted by the price at UTxO created time. Similar to Realized Cap, this indicator summarizes the capitalization held by whales or retails (each band). We provide the distribution values in USD, and percent values.
      operationId: getUTxORealizedSupplyDistribution
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-indicator/utxo-realized-supply-distribution?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-indicator/utxo-realized-supply-distribution?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-indicator/utxo-realized-supply-distribution?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-indicator/utxo-realized-supply-distribution?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-indicator/utxo-realized-supply-distribution?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/utxo-realized-supply-distribution'
      security:
        - Access Token: []
  /btc/network-indicator/utxo-count-supply-distribution:
    get:
      tags:
        - BTC Network Indicator
      summary: UTxO Count Supply Distribution
      description: |
        UTxO Count Supply Distribution is a set of active number of holders with balance (supply) bands. This indicator summarizes how many whales and retails exist by each band. We provide the distribution values in native, and percent values.
      operationId: getUTxOCountSupplyDistribution
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-indicator/utxo-count-supply-distribution?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-indicator/utxo-count-supply-distribution?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-indicator/utxo-count-supply-distribution?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-indicator/utxo-count-supply-distribution?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-indicator/utxo-count-supply-distribution?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/utxo-count-supply-distribution'
      security:
        - Access Token: []
  /btc/network-indicator/spent-output-supply-distribution:
    get:
      tags:
        - BTC Network Indicator
      summary: Spent Output Supply Distribution
      description: |
        Spent Output Supply Distribution is a set of active sum of spent outputs with balance (supply) bands. This indicator summarizes how much UTxOs are destroyed by whales or retails (each band). We provide the distribution values in native, USD, and percent values.
      operationId: getSpentOutputSupplyDistribution
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/network-indicator/spent-output-supply-distribution?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/network-indicator/spent-output-supply-distribution?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/network-indicator/spent-output-supply-distribution?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/network-indicator/spent-output-supply-distribution?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/network-indicator/spent-output-supply-distribution?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/spent-output-supply-distribution'
      security:
        - Access Token: []
  /btc/market-indicator/estimated-leverage-ratio:
    get:
      tags:
        - BTC Market Indicator
      summary: Estimated Leverage Ratio
      description: |
        By dividing the open interest of an exchange by their BTC reserve, you can estimate a relative average user leverage. Whenever the leverage value reaches a high, there is rapid volatility. Similar to Open Interest, but more accurate because it reflects the growth of the exchange itself. This is experimental indicator but it seems this reflects market sentiment. You can see how aggressive people are and how conservative they are in terms of investment. For 'In Progress' exchanges, estimated leverage ratio is not supported yet even though they provide open interest.
        __[Go to Data Guide‣](https://dataguide.cryptoquant.com/market-indicators/estimated-leverage-ratio)__

        <br>

        > **Note:** This endpoint does not support Point-In-Time (PIT) accuracy due to periodic updates to wallet address clustering. Historical data may change as new exchange wallets are discovered, added, and validated.

        <br>
      operationId: getEstimatedLeverageRatio
      parameters:
        - $ref: '#/components/parameters/btc_exchange_oi'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/market-indicator/estimated-leverage-ratio?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/market-indicator/estimated-leverage-ratio?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/market-indicator/estimated-leverage-ratio?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/market-indicator/estimated-leverage-ratio?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/market-indicator/estimated-leverage-ratio?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/estimated-leverage-ratio'
      security:
        - Access Token: []
  /btc/market-indicator/stablecoin-supply-ratio:
    get:
      tags:
        - BTC Market Indicator
      summary: Stablecoin Supply Ratio
      description: |
        SSR(Stablecoin Supply Ratio) is a ratio of stablecoin supply in the whole cryptocurrency market where stablecoin is used as fiat substitute for trading. This means that the supply of stablecoin can be used to assess the potential buying pressure for bitcoin. The historical starting point is 2017-11-28 00:00:00.  
        __[Go to Data Guide‣](https://dataguide.cryptoquant.com/market-indicators/stablecoin-supply-ratio)__
      operationId: getStablecoinSupplyRatio
      parameters:
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/market-indicator/stablecoin-supply-ratio?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/market-indicator/stablecoin-supply-ratio?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/market-indicator/stablecoin-supply-ratio?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/market-indicator/stablecoin-supply-ratio?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/market-indicator/stablecoin-supply-ratio?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/stablecoin-supply-ratio'
      security:
        - Access Token: []
  /btc/market-indicator/mvrv:
    get:
      tags:
        - BTC Market Indicator
      summary: MVRV
      description: |
        MVRV(Market-Value-to-Realized-Value) is a ratio of `market_cap` divided by `realized_cap`. It can be interpreted as the relationship between short-term and long-term investors (i.e. speculators vs hodlers). When this value is too high, BTC price may be overvalued, and if it is too low, there is a possibility that the price is undervalued.  
        __[Go to Data Guide‣](https://dataguide.cryptoquant.com/market-indicators/mvrv-ratio)__
      operationId: getMarketIndicatorMVRV
      parameters:
        - $ref: '#/components/parameters/window'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/market-indicator/mvrv?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/market-indicator/mvrv?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/market-indicator/mvrv?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/market-indicator/mvrv?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/market-indicator/mvrv?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/mvrv'
      security:
        - Access Token: []
  /btc/market-indicator/sopr:
    get:
      tags:
        - BTC Market Indicator
      summary: Spent Output Profit Ratio
      description: |
        `sopr` is abbreviation of Spent Output Profit Ratio.
        Spent Output Profit Ratio evaluates the profit ratio of the whole market participants by comparing the value of outputs at spent time to created time.
        `sopr` is a ratio that is calculated as the USD value of spent outputs at the spent time divided by the USD value of spent outputs at the created time.
        So you can see the value when UTxO destroyed. In a simple way, you can estimate the distribution of spent transaction output are in profit or not.
      operationId: getSOPR
      parameters:
        - $ref: '#/components/parameters/window'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/market-indicator/sopr?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/market-indicator/sopr?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/market-indicator/sopr?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/market-indicator/sopr?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/market-indicator/sopr?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/sopr'
      security:
        - Access Token: []
  /btc/market-indicator/sopr-ratio:
    get:
      tags:
        - BTC Market Indicator
      summary: SOPR Ratio
      description: |
        SOPR Ratio is calculated as long term holders' SOPR divided by short term holders' SOPR. Higher value of the ratio means higher spent profit of LTH over STH, which is usually useful for spotting market tops.
      operationId: getSOPRRatio
      parameters:
        - $ref: '#/components/parameters/window'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/market-indicator/sopr-ratio?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/market-indicator/sopr-ratio?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/market-indicator/sopr-ratio?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/market-indicator/sopr-ratio?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/market-indicator/sopr-ratio?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/sopr-ratio'
      security:
        - Access Token: []
  /btc/market-indicator/realized-price:
    get:
      tags:
        - BTC Market Indicator
      summary: Realized Price
      description: |
        Realized Price is calculated as Realized Cap divided by the total coin supply. It measures the  average price weighted by the supply of what the entire market participants paid for their coins. It sometimes can be interpreted as the on-chain support or resistance price.
      operationId: getRealizedPrice
      parameters:
        - $ref: '#/components/parameters/window'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/market-indicator/realized-price?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/market-indicator/realized-price?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/market-indicator/realized-price?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/market-indicator/realized-price?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/market-indicator/realized-price?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/realized-price'
      security:
        - Access Token: []
  /btc/market-indicator/utxo-realized-price-age-distribution:
    get:
      tags:
        - BTC Market Indicator
      summary: UTxO Realized Price Age Distribution
      description: |
        UTxO Realized Price Age Distribution is a set of realized prices along with age bands. The metrics help us to overview each cohort’s holding behavior by overlaying a set of different realized prices.
      operationId: getUTxORealizedPriceAgeDistribution
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/market-indicator/utxo-realized-price-age-distribution?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/market-indicator/utxo-realized-price-age-distribution?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/market-indicator/utxo-realized-price-age-distribution?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/market-indicator/utxo-realized-price-age-distribution?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/market-indicator/utxo-realized-price-age-distribution?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/utxo-realized-price-age-distribution'
      security:
        - Access Token: []
  /btc/flow-indicator/mpi:
    get:
      tags:
        - BTC Flow Indicator
      summary: Miners' Position Index (MPI)
      description: |-
        MPI(Miners’ Position Index) is a z score of a specific period. The period range must be 2 days or more and if not, it will return an error. `mpi` is an index to understand miners’ behavior by examining the total outflow of miners. It highlights periods where the value of Bitcoin’s outflow by miners on a daily basis has historically been extremely high or low. MPI values above 2 indicate that most of the miners are selling Bitcoin. MPI values under 0 indicate that there is less selling pressure by miners.  
        __[Go to Data Guide‣](https://dataguide.cryptoquant.com/flow-indicators/miners-position-index)__
      operationId: getMPI
      parameters:
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/flow-indicator/mpi?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/flow-indicator/mpi?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/flow-indicator/mpi?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/flow-indicator/mpi?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/flow-indicator/mpi?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/mpi'
      security:
        - Access Token: []
  /btc/flow-indicator/exchange-shutdown-index:
    get:
      tags:
        - BTC Flow Indicator
      summary: Exchange Shutdown Index
      description: Stay Ahead of Exchange Hacks. See hacks as they happen by identifying sudden increases and become zero in exchange outflows and hedge against potential risk.
      operationId: getExchangeShutdownIndex
      parameters:
        - $ref: '#/components/parameters/exchange'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-shutdown-index?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-shutdown-index?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-shutdown-index?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-shutdown-index?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-shutdown-index?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/exchange_shutdown_index'
      security:
        - Access Token: []
  /btc/flow-indicator/exchange-whale-ratio:
    get:
      tags:
        - BTC Flow Indicator
      summary: Exchange Whale Ratio
      description: Find Whale Focused Exchanges with Top 10 Inflows. Looking at the relative size of the top 10 inflows to total inflows, it is possible to discover which exchanges whales use. For example, as Gemini has mostly whales users, it is possible for the price to rise or fall dramatically. This has potential risks, but also the possibility of arbitrage.
      operationId: getExchangeWhaleRatio
      parameters:
        - $ref: '#/components/parameters/exchange'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-whale-ratio?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-whale-ratio?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-whale-ratio?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-whale-ratio?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-whale-ratio?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/exchange_whale_ratio'
      security:
        - Access Token: []
  /btc/flow-indicator/fund-flow-ratio:
    get:
      tags:
        - BTC Flow Indicator
      summary: Fund Flow Ratio
      description: Fund Flow Ratio provides the amount of bitcoins that exchanges occupy among the bitcoins sent underlying the Bitcoin network. Knowing the amount of fund currently involved in trading can help you understand market volatility.
      operationId: BTCgetFundFlowRatio
      parameters:
        - $ref: '#/components/parameters/exchange'
        - $ref: '#/components/parameters/window'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/flow-indicator/fund-flow-ratio?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/flow-indicator/fund-flow-ratio?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/flow-indicator/fund-flow-ratio?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/flow-indicator/fund-flow-ratio?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/flow-indicator/fund-flow-ratio?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/fund-flow-ratio'
      security:
        - Access Token: []
  /btc/flow-indicator/stablecoins-ratio:
    get:
      tags:
        - BTC Flow Indicator
      summary: Stablecoins Ratio
      description: |-
        BTC reserve divided by all stablecoins reserve held by an exchange. This usually indicates potential sell pressure. Supported exchanges are determined by the concurrent validity of both BTC and Stablecoins (for at least 1 token).

        <br>

        > **Note:**  This endpoint supports a maximum of 1,000 entries per request.

        <br>
      operationId: BTCgetStablecoinsRatio
      parameters:
        - $ref: '#/components/parameters/exchange_sr'
        - $ref: '#/components/parameters/window_dh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit_max_1000'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/flow-indicator/stablecoins-ratio?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/flow-indicator/stablecoins-ratio?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/flow-indicator/stablecoins-ratio?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/flow-indicator/stablecoins-ratio?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/flow-indicator/stablecoins-ratio?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/stablecoins-ratio'
      security:
        - Access Token: []
  /btc/flow-indicator/exchange-inflow-age-distribution:
    get:
      tags:
        - BTC Flow Indicator
      summary: Exchange Inflow Age Distribution
      description: |
        Exchange Inflow Age Distribution is a set of active inflow to exchanges with age bands. This indicator summarizes the behaviors of long-term or short-term holders flowed into the exchanges. We provide the distribution values in native and percent values.
      operationId: getExchangeInflowAgeDistribution
      parameters:
        - $ref: '#/components/parameters/exchange'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-inflow-age-distribution?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-inflow-age-distribution?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-inflow-age-distribution?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-inflow-age-distribution?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-inflow-age-distribution?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/exchange-inflow-age-distribution'
      security:
        - Access Token: []
  /btc/flow-indicator/exchange-inflow-supply-distribution:
    get:
      tags:
        - BTC Flow Indicator
      summary: Exchange Inflow Supply Distribution
      description: |
        Exchange Inflow Supply Distribution is a set of active inflow to exchanges with balance (supply) bands. This indicator summarizes the behaviors of whales or retails flowed into the exchanges, separated by amount of coins they hold along with price actions. We provide the distribution values in native and percent values.
      operationId: getExchangeInflowSupplyDistribution
      parameters:
        - $ref: '#/components/parameters/exchange'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-inflow-supply-distribution?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-inflow-supply-distribution?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-inflow-supply-distribution?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-inflow-supply-distribution?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-inflow-supply-distribution?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/exchange-inflow-supply-distribution'
      security:
        - Access Token: []
  /btc/flow-indicator/exchange-inflow-cdd:
    get:
      tags:
        - BTC Flow Indicator
      summary: Exchange Inflow CDD (Coin Days Destroyed)
      description: |
        Exchange Inflow CDD is a subset of Coin Days Destroyed (CDD) where coins are destroyed by flowing into exchanges. This indicator is noise-removed version of CDD with respect to exchange dumping signal.
      operationId: getExchangeInflowCDD
      parameters:
        - $ref: '#/components/parameters/exchange'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-inflow-cdd?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-inflow-cdd?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-inflow-cdd?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-inflow-cdd?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-inflow-cdd?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/exchange-inflow-cdd'
      security:
        - Access Token: []
  /btc/flow-indicator/exchange-supply-ratio:
    get:
      tags:
        - BTC Flow Indicator
      summary: Exchange Supply Ratio
      description: |
        Exchange Supply Ratio is calculated as exchange reserve divided by total supply. The metric measures how much tokens are reserved in the exchange relative to total supply of the token.
      operationId: getExchangeSupplyRatio
      parameters:
        - $ref: '#/components/parameters/exchange'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-supply-ratio?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-supply-ratio?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-supply-ratio?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-supply-ratio?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/flow-indicator/exchange-supply-ratio?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/exchange-supply-ratio'
      security:
        - Access Token: []
  /btc/flow-indicator/miner-supply-ratio:
    get:
      tags:
        - BTC Flow Indicator
      summary: Miner Supply Ratio
      description: |
        Miner Supply Ratio is calculated as miner reserve divided by total supply. The metric measures how much tokens are reserved in the miner relative to total supply of the token.
      operationId: getMinerSupplyRatio
      parameters:
        - $ref: '#/components/parameters/miner'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/flow-indicator/miner-supply-ratio?miner=f2pool&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/flow-indicator/miner-supply-ratio?miner=f2pool&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/flow-indicator/miner-supply-ratio?miner=f2pool&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/flow-indicator/miner-supply-ratio?miner=f2pool&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/flow-indicator/miner-supply-ratio?miner=f2pool&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/miner-supply-ratio'
      security:
        - Access Token: []
  /btc/mempool/stats-by-relative-fee:
    get:
      tags:
        - BTC Mempool Statistics
      summary: BTC Memory pool Statistics by relative fee range
      description: |-
        Mempool Statistics contains three metrics related to transactions waiting to be confirmed. You can see metrics for the number of transactions, the total amount of fees, and the aggregate size in bytes of transactions. Each metric was calculated based on fee level.

        <br>

        ### Supported Metrics
        | Metric Type  |   Description   |
        |--------------|--------------------------------------------------------|
        | `tx_count*`  | The total number of unconfirmed transactions (Number)  |
        | `total_size` | The aggregated size in bytes of transactions  (Megabyte)|
        | `total_fee`  | The total fee of unconfirmed transactions    (BTC)     |

        > (*) Default
        <br>

        ### Supported Windows

        | Supported Windows |
        |-------------------|
        | `hour`, `day*`    |

        > (*) Default
      operationId: getBTCMempoolStatsByRelativeFee
      parameters:
        - $ref: '#/components/parameters/metric_type'
        - $ref: '#/components/parameters/window_dh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/mempool/stats-by-relative-fee?window=day&metric_type=tx_count&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/mempool/stats-by-relative-fee?window=day&metric_type=tx_count&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/mempool/stats-by-relative-fee?window=day&metric_type=tx_count&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/mempool/stats-by-relative-fee?window=day&metric_type=tx_count&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/mempool/stats-by-relative-fee?window=day&metric_type=tx_count&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/stats-by-relative-fee'
      security:
        - Access Token: []
  /btc/mempool/stats-in-total:
    get:
      tags:
        - BTC Mempool Statistics
      summary: BTC Memory pool Statistics (Sum)
      description: |-
        Mempool Statistics contains three metrics related to transactions waiting to be confirmed. You can see metrics for the number of transactions, the total amount of fees, and the aggregate size in bytes of transactions.

        <br>

        ### Supported Metrics
        | Metric Type  |   Description   |
        |--------------|--------------------------------------------------------------------------------------|
        | `tx_count*`  | The average number of unconfirmed transactions in selected time range (Number)       |
        | `total_size` | The average aggregate size in bytes of transactions in selected time range (Megabyte)|
        | `total_fee`  | The average total fee of unconfirmed transactions in selected time range (BTC)       |

        > (*) Default
        <br>

        ### Supported Windows

        | Supported Windows |
        |-------------------|
        | `hour`, `day*`    |

        > (*) Default
      operationId: getBTCMempoolStatsInTotal
      parameters:
        - $ref: '#/components/parameters/metric_type'
        - $ref: '#/components/parameters/window_dh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/mempool/stats-in-total?window=day&metric_type=tx_count&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/mempool/stats-in-total?window=day&metric_type=tx_count&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/mempool/stats-in-total?window=day&metric_type=tx_count&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/mempool/stats-in-total?window=day&metric_type=tx_count&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/mempool/stats-in-total?window=day&metric_type=tx_count&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/stats-in-total'
      security:
        - Access Token: []
  /btc/lightning-network/stats-in-total:
    get:
      tags:
        - BTC Lightning Network Statistics
      summary: BTC Lightning Network Statistics
      description: |-
        Lightning Network Statistics contains various metrics which are calculated from lightning network.

        <br>

        ### Supported Stats
        | Stas                             | Description                                            |
        |----------------------------------|--------------------------------------------------------|
        | `network_capacity`               | The total network capacity (sum of balances available across all lightning payment channels) (BTC)  |
        | `network_capacity_usd`           | The total network capacity (sum of balances available across all lightning payment channels) (USD)  |
        | `capacity_per_channel_mean`      | The average channel capacity (BTC)                                                                  |
        | `capacity_per_channel_mean_usd`  | The average channel capacity (USD)                                                                  |
        | `capacity_per_node_mean`         | The average node capacity (BTC)                                                                     |
        | `capacity_per_node_mean_usd`     | The average node capacity (USD)                                                                     |
        | `number_of_node`                 | The total number of available nodes (Number)                                                        |
        | `number_of_channel`              | The total number of available payment channels  (Number)                                            |
        | `channel_per_node_mean`          | The average number of channels per node    (Number)                                                 |
        | `node_age_days`                  | The average day of duration of nodes (Number)                                                       |
        | `channel_age_days`               | The average day of duration of channels (Number)                                                    |
        | `base_fee_median`                | The median base fee of transactions (Sat)                                                           |
        | `base_fee_median_usd`            | The median base fee of transactions (USD)                                                           |
        | `fee_rate_median`                | The median fee rates of transactions (Sat)                                                          |
        | `fee_rate_median_usd`            | The median fee rates of transactions (USD)                                                          |

        <br>

        ### Supported Windows

        | Supported Windows |
        |-------------------|
        | `hour`, `day*`    |

        > (*) Default
      operationId: getBTCLightningNetworkStatsInTotal
      parameters:
        - $ref: '#/components/parameters/window_dh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/lightning/stats-in-total?window=day&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/lightning/stats-in-total?window=day&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/lightning/stats-in-total?window=day&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/lightning/stats-in-total?window=day&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/lightning/stats-in-total?window=day&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_stats-in-total'
      security:
        - Access Token: []
  /btc/miner-data/companies:
    get:
      tags:
        - BTC Miner Data
      summary: Companies
      operationId: getCompanies
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/btc/miner-data/companies?window=day&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/btc/miner-data/companies?window=day&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/btc/miner-data/companies?window=day&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/btc/miner-data/companies?window=day&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/btc/miner-data/companies?window=day&limit=2"
            print(requests.get(url, headers=headers).json())
      description: |-
        This endpoint returns BTC mining company data.
        Company data consists of statistical metrics based on rewards and production data for each mining company.
        `coinbase_rewards`, The daily amount of Bitcoin mined directly from a coinbase transaction. And `coinbase_rewards` will only be added to `mara`.
        `other_mining_rewards`, The daily amount of Bitcoin received as payment from a mining pool. Tipically, mining pools pay miners with Bitcoin from a coinbase transaction.
        `total_rewards`, The daily sum of coinbase rewards and other mining rewards (in number of Bitcoin).
        `accumulated_monthly_rewards`, The daily running sum of total rewards in each month (in number of Bitcoin).
        `unique_txn`, The total number of Bitcoin transactions involving a mining reward.
        `active_address_count`, The number of addresses from a company that received a block reward each day.
        `reported_production`, The company's reported total monthly production (in number of Bitcoin).
        `report_accuracy`, The ratio of accumulated monthly rewards to reported production times 100. It represents the % of total reported production captured by On-chain transactions.
        `closing_usd`, The daily closing price of Bitcoin in USD.
        `total_daily_rewards_closing_usd`, Daily total rewards in USD using the closing usd price.
        `accumulated_monthly_rewards_closing_usd`, accumulated monthly rewards in usd using the closing usd price.
        | Name         |   Miner    |
        |--------------|--------------|
        | MARA         |   `mara`   |
        | RIOT         |   `riot`   |
        | CORE         |   `core`   |
        | HIVE         |   `hive`   |
        | CLSK         |   `clsk`   |
        | BITF         |   `bitf`   |
        | CIPHER       |   `cipher` |
        | WULF         |   `wulf`   |
        | IREN         |   `iren`   |
      parameters:
        - $ref: '#/components/parameters/miner_company'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      responses:
        '200':
          $ref: '#/components/responses/Companies'
      security:
        - Access Token: []
  /stablecoin/status/entity-list:
    get:
      tags:
        - Stablecoin Entity Status
      summary: Entity List
      description: |
        This endpoint returns entity list to serve data.
        Please note that `all_token` will return bad request for this endpoint.
        Make sure to use a specific stablecoin symbol.
        The meaning of the `market_type` value of the exchange object is as follows.
        For exchange objects, the `market_type` field tells whether the exchange is a spot exchange or a derivative exchange.
        Entities without a market type, such as miners or banks, will return 0 for `market_type`.
        |  Exchange Market Type  |  Description         |
        |------------------------|----------------------|
        |  0                     |  Undefined           |
        |  1                     |  Spot Exchange       |
        |  2                     |  Derivative Exchange |
      operationId: getStablecoinEntityList
      parameters:
        - $ref: '#/components/parameters/token_stablecoin'
        - $ref: '#/components/parameters/type_e'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/stablecoin/status/entity-list?token=usdt_eth&type=exchange"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/stablecoin/status/entity-list?token=usdt_eth&type=exchange")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/stablecoin/status/entity-list?token=usdt_eth&type=exchange")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/stablecoin/status/entity-list?token=usdt_eth&type=exchange")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/stablecoin/status/entity-list?token=usdt_eth&type=exchange"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_EntityList'
      security:
        - Access Token: []
  /stablecoin/exchange-flows/reserve:
    get:
      tags:
        - Stablecoin Exchange Flows
      summary: Reserve
      description: This endpoint returns the full historical on-chain balance of Stablecoin exchanges.
      operationId: StablecoinGetReserve
      parameters:
        - $ref: '#/components/parameters/token_stablecoin'
        - $ref: '#/components/parameters/exchange_stablecoin'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/stablecoin/exchange-flows/reserve?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/stablecoin/exchange-flows/reserve?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/stablecoin/exchange-flows/reserve?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/stablecoin/exchange-flows/reserve?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/stablecoin/exchange-flows/reserve?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_Reserve-2'
      security:
        - Access Token: []
  /stablecoin/exchange-flows/netflow:
    get:
      tags:
        - Stablecoin Exchange Flows
      summary: Netflow
      description: The difference between coins flowing into exchanges and flowing out of exchanges. Netflow usually helps us to figure out an increase of idle coins waiting to be traded in a certain time frame.
      operationId: StablecoinGetExchangeNetflow
      parameters:
        - $ref: '#/components/parameters/token_stablecoin'
        - $ref: '#/components/parameters/exchange_stablecoin'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/stablecoin/exchange-flows/netflow?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/stablecoin/exchange-flows/netflow?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/stablecoin/exchange-flows/netflow?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/stablecoin/exchange-flows/netflow?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/stablecoin/exchange-flows/netflow?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/Netflow'
      security:
        - Access Token: []
  /stablecoin/exchange-flows/inflow:
    get:
      tags:
        - Stablecoin Exchange Flows
      summary: Inflow
      description: This endpoint returns the inflow of Stablecoin into exchange wallets for as far back as we track. The average inflow is the average transaction value for transactions flowing into exchange wallets on a given day.
      operationId: StablecoinGetInflow
      parameters:
        - $ref: '#/components/parameters/token_stablecoin'
        - $ref: '#/components/parameters/exchange_stablecoin'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/stablecoin/exchange-flows/inflow?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/stablecoin/exchange-flows/inflow?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/stablecoin/exchange-flows/inflow?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/stablecoin/exchange-flows/inflow?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/stablecoin/exchange-flows/inflow?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_Inflow-2'
      security:
        - Access Token: []
  /stablecoin/exchange-flows/outflow:
    get:
      tags:
        - Stablecoin Exchange Flows
      summary: Outflow
      description: This endpoint returns the outflow of Stablecoin into exchange wallets for as far back as we track. The average outflow is the average transaction value for transactions flowing into exchange wallets on a given day.
      operationId: StablecoinGetOutflow
      parameters:
        - $ref: '#/components/parameters/token_stablecoin'
        - $ref: '#/components/parameters/exchange_stablecoin'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/stablecoin/exchange-flows/outflow?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/stablecoin/exchange-flows/outflow?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/stablecoin/exchange-flows/outflow?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/stablecoin/exchange-flows/outflow?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/stablecoin/exchange-flows/outflow?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_Outflow-2'
      security:
        - Access Token: []
  /stablecoin/exchange-flows/transactions-count:
    get:
      tags:
        - Stablecoin Exchange Flows
      summary: Transactions Count
      description: This endpoint returns the number of transactions flowing in/out of Stablecoin exchanges.
      operationId: StablecoinGetTransactionsCountEF
      parameters:
        - $ref: '#/components/parameters/token_stablecoin'
        - $ref: '#/components/parameters/exchange_stablecoin'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/stablecoin/exchange-flows/transactions-count?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/stablecoin/exchange-flows/transactions-count?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/stablecoin/exchange-flows/transactions-count?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/stablecoin/exchange-flows/transactions-count?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/stablecoin/exchange-flows/transactions-count?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TransactionsCountEF'
      security:
        - Access Token: []
  /stablecoin/exchange-flows/addresses-count:
    get:
      tags:
        - Stablecoin Exchange Flows
      summary: Addresses Count
      description: This endpoint returns the number of addresses involved in inflow/outflow transactions.
      operationId: StablecoinGetAddressesCountEF
      parameters:
        - $ref: '#/components/parameters/token_stablecoin'
        - $ref: '#/components/parameters/exchange_stablecoin'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/stablecoin/exchange-flows/addresses-count?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/stablecoin/exchange-flows/addresses-count?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/stablecoin/exchange-flows/addresses-count?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/stablecoin/exchange-flows/addresses-count?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/stablecoin/exchange-flows/addresses-count?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/AddressesCountEF'
      security:
        - Access Token: []
  /stablecoin/network-data/supply:
    get:
      tags:
        - Stablecoin Network Data
      summary: Supply
      description: This endpoint returns metrics related to token supply, i.e. the amount of tokens in existence. We currently provide six metrics. supply_total is the total amount of tokens in existence, and supply_circulating is an approximation of the amount of tokens that are circulating in the market(e.g. excluding tokens owned by the issuing company's treasury address). supply_minted and supply_burned represents how many tokens were added/subtracted from supply_total. supply_issued and supply_redeemed represents how many tokens were added/subtracted from supply_circulating. For some tokens, mint and issue(or redeem and burn) occurs simultaneously, and for others this does not. For further information, please refer to the section 'Stablecoin Issuing Mechanism'.
      operationId: getSupplySC
      parameters:
        - $ref: '#/components/parameters/token_stablecoin'
        - $ref: '#/components/parameters/window'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/stablecoin/network-data/supply?token=usdt_eth&window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/stablecoin/network-data/supply?token=usdt_eth&window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/stablecoin/network-data/supply?token=usdt_eth&window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/stablecoin/network-data/supply?token=usdt_eth&window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/stablecoin/network-data/supply?token=usdt_eth&window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_Supply'
      security:
        - Access Token: []
  /stablecoin/network-data/events-count:
    get:
      tags:
        - Stablecoin Network Data
      summary: Events Count
      description: This endpoint returns metrics related to the number of events. We provide several metrics. events_mint_count, events_issue_count, events_burn_count and events_redeem_count are metrics that represent the number of events related to each actions (mint, issue, burn, redeem). For further information about the actions, please refer to the section Stablecoin Issuing Mechanism.
      operationId: getEventsCountSC
      parameters:
        - $ref: '#/components/parameters/token_stablecoin'
        - $ref: '#/components/parameters/window'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/stablecoin/network-data/events-count?token=usdt_eth&window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/stablecoin/network-data/events-count?token=usdt_eth&window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/stablecoin/network-data/events-count?token=usdt_eth&window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/stablecoin/network-data/events-count?token=usdt_eth&window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/stablecoin/network-data/events-count?token=usdt_eth&window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/EventsCount'
      security:
        - Access Token: []
  /stablecoin/network-data/tokens-transferred:
    get:
      tags:
        - Stablecoin Network Data
      summary: Tokens Transferred
      description: This endpoint returns metrics related to the number of tokens transferred, i.e transaction volume. We provide several metrics, `tokens_transferred_total`, the total number of transferred tokens, and `tokens_transferred_mean`, the mean tokens transferred per transaction.
      operationId: getTokensTransferredSC
      parameters:
        - $ref: '#/components/parameters/token_stablecoin'
        - $ref: '#/components/parameters/window'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/stablecoin/network-data/tokens-transferred?token=usdt_eth&window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/stablecoin/network-data/tokens-transferred?token=usdt_eth&window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/stablecoin/network-data/tokens-transferred?token=usdt_eth&window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/stablecoin/network-data/tokens-transferred?token=usdt_eth&window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/stablecoin/network-data/tokens-transferred?token=usdt_eth&window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_TokensTransferred'
      security:
        - Access Token: []
  /stablecoin/network-data/addresses-count:
    get:
      tags:
        - Stablecoin Network Data
      summary: Addresses Count
      description: This endpoint returns metrics relating to the number of used addresses to transfer the token. We provide several metrics, `addresses_active_count`, the total number of unique addresses that were active (either sender or receiver) on the blockchain in a given window, `addresses_active_sender_count`, the number of addresses that were active as a sender, `addresses_active_receiver_count`, the number of addresses that were active as a receiver.
      operationId: getAddressesCountSC
      parameters:
        - $ref: '#/components/parameters/token_stablecoin'
        - $ref: '#/components/parameters/window'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/stablecoin/network-data/addresses-count?token=usdt_eth&window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/stablecoin/network-data/addresses-count?token=usdt_eth&window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/stablecoin/network-data/addresses-count?token=usdt_eth&window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/stablecoin/network-data/addresses-count?token=usdt_eth&window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/stablecoin/network-data/addresses-count?token=usdt_eth&window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_AddressesCount'
      security:
        - Access Token: []
  /stablecoin/market-data/price-ohlcv:
    get:
      tags:
        - Stablecoin Market Data
      summary: Price OHLCV
      description: "This endpoint returns metrics related to Stablecoin's Index Price.  \n\nPrice OHLCV data consists of five metrics.\_\n`open`, the opening price at the beginning of the window,\_`close`, USD closing price at the end of the window,\_\n`high`, the highest USD price in a given window,\_`low`, the lowest USD price in a given window, \nand\_`volume`, the total token volume traded in a given window.  \n\nAt this endpoint, metrics are calculated by Minute, Hour and Day. \n\nStablecoin Index Price is calculated by taking VWAP(Volume Weighted Average Price) of Stablecoin price data aggregated from global exchanges. You can check supported exchanges [here](https://www.notion.so/cqlive/Stablecoins-ERC20-Exchange-List-e33b9baeae094fb090983dc1e1183b05)."
      operationId: getPriceOHLCVSC
      parameters:
        - $ref: '#/components/parameters/token_stablecoin'
        - $ref: '#/components/parameters/window_mhd'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/stablecoin/market-data/price-ohlcv?token=usdt_eth&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/stablecoin/market-data/price-ohlcv?token=usdt_eth&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/stablecoin/market-data/price-ohlcv?token=usdt_eth&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/stablecoin/market-data/price-ohlcv?token=usdt_eth&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/stablecoin/market-data/price-ohlcv?token=usdt_eth&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/PriceOHLCVSC'
      security:
        - Access Token: []
  /stablecoin/market-data/capitalization:
    get:
      tags:
        - Stablecoin Market Data
      summary: Capitalization
      description: This endpoint returns metrics related to market capitalization. We currently provide market_cap, which is total market capitalization of the token, calculated by multiplying the circulating supply with its USD price(circulating_supply * price_usd_close).
      operationId: getCapitalizationSC
      parameters:
        - $ref: '#/components/parameters/token_stablecoin'
        - $ref: '#/components/parameters/window'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/stablecoin/market-data/capitalization?token=usdt_eth&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/stablecoin/market-data/capitalization?token=usdt_eth&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/stablecoin/market-data/capitalization?token=usdt_eth&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/stablecoin/market-data/capitalization?token=usdt_eth&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/stablecoin/market-data/capitalization?token=usdt_eth&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/CapitalizationSC'
      security:
        - Access Token: []
  /stablecoin/flow-indicator/exchange-supply-ratio:
    get:
      tags:
        - Stablecoin Flow Indicator
      summary: Exchange Supply Ratio
      description: |
        Exchange Supply Ratio is calculated as exchange reserve divided by total supply. The metric measures how much tokens are reserved in the exchange relative to total supply of the token.
      operationId: getExchangeSupplyRatioSC
      parameters:
        - $ref: '#/components/parameters/token_stablecoin'
        - $ref: '#/components/parameters/exchange_stablecoin'
        - $ref: '#/components/parameters/window'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/stablecoin/flow-indicator/exchange-supply-ratio?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/stablecoin/flow-indicator/exchange-supply-ratio?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/stablecoin/flow-indicator/exchange-supply-ratio?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/stablecoin/flow-indicator/exchange-supply-ratio?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/stablecoin/flow-indicator/exchange-supply-ratio?token=usdt_eth&exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_exchange-supply-ratio'
      security:
        - Access Token: []
  /eth/network-data/supply:
    get:
      tags:
        - ETH Network Data
      summary: Supply
      description: This endpoint returns metrics related to Ethereum supply, i.e. the amount of Ethereum in existence. We currently provide two metrics, `supply_total`, the total amount of Ethereum in existence (sum of all Ethereum issued by the block rewards), and `supply_new`, the amount of newly issued tokens in a given window.
      operationId: getSupplyETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/supply?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/supply?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/supply?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/supply?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/supply?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_Supply-2'
      security:
        - Access Token: []
  /eth/network-data/velocity:
    get:
      tags:
        - ETH Network Data
      summary: Velocity
      description: This endpoint returns metrics related to the velocity of Ethereum. Ethereum's velocity is calculated by dividing the trailing 1 year estimated transaction volume(the cumulated sum of transferred tokens) by current supply. Velocity is a metric that explains how actively is money circulating in the market.
      operationId: getVelocityETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/velocity?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/velocity?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/velocity?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/velocity?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/velocity?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_Velocity'
      security:
        - Access Token: []
  /eth/network-data/contracts-count:
    get:
      tags:
        - ETH Network Data
      summary: Contracts Count
      description: This endpoint returns metrics related to the number of contracts. We provide `contracts_created_new` representing the number of contracts created, `contracts_destroyed_new` representing the number of contracts destroyed, and `contracts_count_total` representing the unique number of contracts.
      operationId: getContractsCountETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/contracts-count?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/contracts-count?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/contracts-count?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/contracts-count?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/contracts-count?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/ContractsCount'
      security:
        - Access Token: []
  /eth/network-data/transactions-count:
    get:
      tags:
        - ETH Network Data
      summary: Transactions Count
      description: This endpoint returns metrics related to the number of transactions. We provide several metrics, `transactions_count_total`, the total number of transactions, `transactions_count_mean`, the mean number of transactions.
      operationId: getTransactionsCountETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/transactions-count?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/transactions-count?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/transactions-count?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/transactions-count?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/transactions-count?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_TransactionsCount'
      security:
        - Access Token: []
  /eth/network-data/transactions-count-between-eoa:
    get:
      tags:
        - ETH Network Data
      summary: Transactions Count Between EOA
      description: This endpoint returns metrics related to the number of transactions between externally owned accounts (EOAs).
      operationId: getTransactionsCountBetweenEOAETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/transactions-count-between-eoa?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/transactions-count-between-eoa?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/transactions-count-between-eoa?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/transactions-count-between-eoa?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/transactions-count-between-eoa?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TransactionsCountBetweenEOA'
      security:
        - Access Token: []
  /eth/network-data/contract-calls-count-external:
    get:
      tags:
        - ETH Network Data
      summary: Contract Calls Count External
      description: This endpoint returns metrics related to the number of external contract calls.
      operationId: getContractCallsCountExternalETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/contract-calls-count-external?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/contract-calls-count-external?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/contract-calls-count-external?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/contract-calls-count-external?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/contract-calls-count-external?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/ContractCallsCountExternal'
      security:
        - Access Token: []
  /eth/network-data/contract-calls-count-internal:
    get:
      tags:
        - ETH Network Data
      summary: Contract Calls Count Internal
      description: This endpoint returns metrics related to the number of internal contract calls.
      operationId: getContractCallsCountInternalETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/contract-calls-count-internal?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/contract-calls-count-internal?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/contract-calls-count-internal?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/contract-calls-count-internal?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/contract-calls-count-internal?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/ContractCallsCountInternal'
      security:
        - Access Token: []
  /eth/network-data/contract-calls-count:
    get:
      tags:
        - ETH Network Data
      summary: Contract Calls Count
      description: This endpoint returns metrics related to the number of contract calls including both internal and external calls.
      operationId: getContractCallsCountETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/contract-calls-count?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/contract-calls-count?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/contract-calls-count?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/contract-calls-count?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/contract-calls-count?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/ContractCallsCount'
      security:
        - Access Token: []
  /eth/network-data/transactions-count-all:
    get:
      tags:
        - ETH Network Data
      summary: Transactions Count All
      description: This endpoint returns metrics related to the number of transactions including internal contract calls.
      operationId: getTransactionsCountAllETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/transactions-count-all?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/transactions-count-all?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/transactions-count-all?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/transactions-count-all?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/transactions-count-all?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TransactionsCountAll'
      security:
        - Access Token: []
  /eth/network-data/addresses-count:
    get:
      tags:
        - ETH Network Data
      summary: Addresses Count
      description: This endpoint returns metrics relating to the number of used Ethereum addresses. We provide several metrics, `addresses_count_active`, the total number of unique addresses that were active (either sender or receiver) on the blockchain in a given window, `addresses_count_sender`, the number of addresses that were active as a sender, and `addresses_count_receiver`, the number of addresses that were active as a receiver.
      operationId: getAddressesCountETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/addresses-count?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/addresses-count?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/addresses-count?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/addresses-count?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/addresses-count?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_AddressesCount-2'
      security:
        - Access Token: []
  /eth/network-data/addresses-count-all:
    get:
      tags:
        - ETH Network Data
      summary: Addresses Count All
      description: This endpoint returns metrics related to the number of used Ethereum addresses including internal contract calls. We provide several metrics, `addresses_count_active`, the total number of unique addresses that were active (either sender or receiver) on the blockchain, `addresses_count_sender`, the number of addresses that were active as a sender, and `addresses_count_receiver`, the number of addresses that were active as a receiver.
      operationId: getAddressesCountAllETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/addresses-count-all?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/addresses-count-all?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/addresses-count-all?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/addresses-count-all?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/addresses-count-all?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/AddressesCountAll'
      security:
        - Access Token: []
  /eth/network-data/tokens-transferred-count:
    get:
      tags:
        - ETH Network Data
      summary: Tokens Transferred Count
      description: "This endpoint returns metrics related to the number of tokens transferred executed. We provide several metrics,\_`tokens_transferred_count_total`, the total number of executed tokens transferred, and\_`tokens_transferred_count_mean`, the mean number of executed tokens transferred."
      operationId: getTokensTransferredCountETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TokensTransferredCount'
      security:
        - Access Token: []
  /eth/network-data/tokens-transferred-count-between-eoa:
    get:
      tags:
        - ETH Network Data
      summary: Tokens Transferred Count Between EOA
      description: This endpoint returns metrics related to the number of tokens transferred executed between externally owned accounts (EOAs).
      operationId: getTokensTransferredCountBetweenEOAETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count-between-eoa?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count-between-eoa?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count-between-eoa?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count-between-eoa?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count-between-eoa?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TokensTransferredCountBetweenEOA'
      security:
        - Access Token: []
  /eth/network-data/tokens-transferred-count-by-contract-calls-external:
    get:
      tags:
        - ETH Network Data
      summary: Tokens Transferred Count By Contract Calls External
      description: This endpoint returns metrics related to the number of tokens transferred executed by external contract calls.
      operationId: getTokensTransferredCountByContractCallsExternalETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count-by-contract-calls-external?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count-by-contract-calls-external?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count-by-contract-calls-external?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count-by-contract-calls-external?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count-by-contract-calls-external?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TokensTransferredCountByContractCallsExternal'
      security:
        - Access Token: []
  /eth/network-data/tokens-transferred-count-by-contract-calls-internal:
    get:
      tags:
        - ETH Network Data
      summary: Tokens Transferred Count By Contract Calls Internal
      description: This endpoint returns metrics related to the number of tokens transferred executed by internal contract calls.
      operationId: getTokensTransferredCountByContractCallsInternalETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count-by-contract-calls-internal?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count-by-contract-calls-internal?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count-by-contract-calls-internal?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count-by-contract-calls-internal?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count-by-contract-calls-internal?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TokensTransferredCountByContractCallsInternal'
      security:
        - Access Token: []
  /eth/network-data/tokens-transferred-count-by-contract-calls:
    get:
      tags:
        - ETH Network Data
      summary: Tokens Transferred Count By Contract Calls
      description: This endpoint returns metrics related to the number of tokens transferred executed by contract calls including both internal and external calls.
      operationId: getTokensTransferredCountByContractCallsETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count-by-contract-calls?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count-by-contract-calls?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count-by-contract-calls?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count-by-contract-calls?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count-by-contract-calls?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TokensTransferredCountByContractCalls'
      security:
        - Access Token: []
  /eth/network-data/tokens-transferred-count-all:
    get:
      tags:
        - ETH Network Data
      summary: Tokens Transferred Count All
      description: This endpoint returns metrics related to the number of tokens transferred executed including internal contract calls.
      operationId: getTokensTransferredCountAllETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count-all?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count-all?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count-all?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count-all?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-count-all?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TokensTransferredCountAll'
      security:
        - Access Token: []
  /eth/network-data/tokens-transferred:
    get:
      tags:
        - ETH Network Data
      summary: Tokens Transferred
      description: This endpoint returns metrics related to the number of tokens transferred, i.e transaction volume. We provide several metrics, `tokens_transferred_total`, the total number of transferred tokens in that window, `tokens_transferred_mean`, the mean of transferred tokens per transaction in that window, and `tokens_transferred_median`, the median of tokens transferred per transaction. We also provide this value in USD units.
      operationId: getTokensTransferredETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_TokensTransferred-2'
      security:
        - Access Token: []
  /eth/network-data/tokens-transferred-between-eoa:
    get:
      tags:
        - ETH Network Data
      summary: Tokens Transferred Between EOA
      description: This endpoint returns metrics related to the number of tokens transferred, i.e transaction volume. Note these metrics include transactions with tokens transferred between externally owned accounts (EOAs).
      operationId: getTokensTransferredBetweenEOAETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-between-eoa?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-between-eoa?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-between-eoa?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-between-eoa?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-between-eoa?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TokensTransferredBetweenEOA'
      security:
        - Access Token: []
  /eth/network-data/tokens-transferred-by-contract-calls-external:
    get:
      tags:
        - ETH Network Data
      summary: Tokens Transferred By Contract Calls External
      description: This endpoint returns metrics related to the number of tokens transferred by external contract calls, i.e transaction volume.
      operationId: getTokensTransferredByContractCallsExternalETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-by-contract-calls-external?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-by-contract-calls-external?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-by-contract-calls-external?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-by-contract-calls-external?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-by-contract-calls-external?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TokensTransferredByContractCallsExternal'
      security:
        - Access Token: []
  /eth/network-data/tokens-transferred-by-contract-calls-internal:
    get:
      tags:
        - ETH Network Data
      summary: Tokens Transferred By Contract Calls Internal
      description: This endpoint returns metrics related to the number of tokens transferred by internal contract calls, i.e transaction volume.
      operationId: getTokensTransferredByContractCallsInternalETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-by-contract-calls-internal?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-by-contract-calls-internal?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-by-contract-calls-internal?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-by-contract-calls-internal?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-by-contract-calls-internal?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TokensTransferredByContractCallsInternal'
      security:
        - Access Token: []
  /eth/network-data/tokens-transferred-by-contract-calls:
    get:
      tags:
        - ETH Network Data
      summary: Tokens Transferred By Contract Calls
      description: This endpoint returns metrics related to the number of tokens transferred by contract calls including both internal and external calls, i.e transaction volume.
      operationId: getTokensTransferredByContractCallsETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-by-contract-calls?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-by-contract-calls?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-by-contract-calls?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-by-contract-calls?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-by-contract-calls?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TokensTransferredByContractCalls'
      security:
        - Access Token: []
  /eth/network-data/tokens-transferred-all:
    get:
      tags:
        - ETH Network Data
      summary: Tokens Transferred All
      description: This endpoint returns metrics related to the number of tokens transferred, i.e transaction volume. Note these metrics include internal contract calls.
      operationId: getTokensTransferredAllETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-all?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-all?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-all?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-all?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/tokens-transferred-all?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TokensTransferredAll'
      security:
        - Access Token: []
  /eth/network-data/failed-transactions-count:
    get:
      tags:
        - ETH Network Data
      summary: Failed Transactions Count
      description: This endpoint returns metrics related to the number of failed transactions. We provide `failed_transactions_count_total` metric, the total number of failed transactions.
      operationId: getFailedTransactionsCountETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/failed-transactions-count?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/failed-transactions-count?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/failed-transactions-count?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/failed-transactions-count?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/failed-transactions-count?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/FailedTransactionsCount'
      security:
        - Access Token: []
  /eth/network-data/failed-tokens-transferred-count:
    get:
      tags:
        - ETH Network Data
      summary: Failed Tokens Transferred Count
      description: This endpoint returns metrics related to the number of failed transactions with tokens transferred. We provide `failed_tokens_transferred_count_total` metric, the total number of failed transactions with tokens transferred.
      operationId: getFailedTokensTransferredCountETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/failed-tokens-transferred-count?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/failed-tokens-transferred-count?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/failed-tokens-transferred-count?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/failed-tokens-transferred-count?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/failed-tokens-transferred-count?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/FailedTokensTransferredCount'
      security:
        - Access Token: []
  /eth/network-data/block-bytes:
    get:
      tags:
        - ETH Network Data
      summary: Block Bytes
      operationId: getBlockBytesETH
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/block-bytes?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/block-bytes?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/block-bytes?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/block-bytes?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/block-bytes?window=day"
            print(requests.get(url, headers=headers).json())
      description: The mean size(in bytes) of all blocks generated.
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      responses:
        '200':
          $ref: '#/components/responses/responses_BlockBytes'
      security:
        - Access Token: []
  /eth/network-data/block-count:
    get:
      tags:
        - ETH Network Data
      summary: Block Count
      description: The number of blocks generated in a given window.
      operationId: getBlockCountETH
      parameters:
        - $ref: '#/components/parameters/window_dh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/block-count?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/block-count?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/block-count?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/block-count?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/block-count?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_BlockCount'
      security:
        - Access Token: []
  /eth/network-data/block-interval:
    get:
      tags:
        - ETH Network Data
      summary: Block Interval
      description: The average time between blocks generated displayed in seconds.
      operationId: getBlockIntervalETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/block-interval?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/block-interval?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/block-interval?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/block-interval?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/block-interval?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_BlockInterval'
      security:
        - Access Token: []
  /eth/network-data/fees:
    get:
      tags:
        - ETH Network Data
      summary: Fees
      description: This endpoint returns the statistics related to fees paid from executing transactions. We provide the following statistics, `fees_total`, the sum of all fees, `fees_block_mean`, the average fee per block, and `fees_reward_percent`, the percentage of fees relative to the total block reward. We provide the metrics in both ETH and USD units.
      operationId: getFeesETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/fees?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/fees?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/fees?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/fees?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/fees?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_Fees'
      security:
        - Access Token: []
  /eth/network-data/fees-burnt:
    get:
      tags:
        - ETH Network Data
      summary: Fees Burnt
      description: This endpoint returns the statistics related to fees burnt in Ethereum chain by executing transactions, introduced after London upgrade. We provide the total amount of burnt fees as `fees_burnt_total` in ETH and `fees_burnt_total_usd` in USD units. These metrics have data entries starting post to London upgrade (block height `12965000`, datetime `2021-08-05 12:33:42`).
      operationId: getFeesBurntETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/fees-burnt?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/fees-burnt?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/fees-burnt?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/fees-burnt?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/fees-burnt?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/FeesBurnt'
      security:
        - Access Token: []
  /eth/network-data/fees-tips:
    get:
      tags:
        - ETH Network Data
      summary: Fees Tips
      description: This endpoint returns the statistics related to fees directly paid to Ethereum miners, introduced after London upgrade. We provide the total amount of fees as tips as `fees_tips_total` in ETH and `fees_tips_total_usd` in USD units. These metrics have data entries starting post to London upgrade (block height `12965000`, datetime `2021-08-05 12:33:42`).
      operationId: getFeesTipsETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/fees-tips?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/fees-tips?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/fees-tips?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/fees-tips?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/fees-tips?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/FeesTips'
      security:
        - Access Token: []
  /eth/network-data/fees-transaction:
    get:
      tags:
        - ETH Network Data
      summary: Fees Transaction
      description: This endpoint returns the statistics related to fees per transaction that are paid from executing transactions. We provide the following statistics, `fees_transaction_mean`, the average fee per transaction, `fees_transaction_median`, the median fee per transaction. We provide the metrics in both ETH and USD units.
      operationId: getFeesTransactionETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/fees-transaction?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/fees-transaction?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/fees-transaction?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/fees-transaction?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/fees-transaction?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_FeesTransaction'
      security:
        - Access Token: []
  /eth/network-data/fees-burnt-transaction:
    get:
      tags:
        - ETH Network Data
      summary: Fees Burnt Transaction
      description: This endpoint returns the statistics related to fees per transaction burnt in Ethereum chain by executing transactions, introduced after London upgrade. We provide the average amount of burnt fees per transaction as `fees_burnt_transaction_mean` and the median amount as `fees_burnt_transaction_median`. We provide the metrics in both ETH and USD units. These metrics have data entries starting post to London upgrade (block height `12965000`, datetime `2021-08-05 12:33:42`).
      operationId: getFeesBurntTransactionETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/fees-burnt-transaction?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/fees-burnt-transaction?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/fees-burnt-transaction?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/fees-burnt-transaction?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/fees-burnt-transaction?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/FeesBurntTransaction'
      security:
        - Access Token: []
  /eth/network-data/fees-tips-transaction:
    get:
      tags:
        - ETH Network Data
      summary: Fees Tips Transaction
      description: This endpoint returns the statistics related to fees per transaction directly paid to Ethereum miners, introduced after London upgrade. We provide the average amount of fees tips per transaction as `fees_tips_transaction_mean` and the median amount as `fees_tips_transaction_median`. We provide the metrics in both ETH and USD units. These metrics have data entries starting post to London upgrade (block height `12965000`, datetime `2021-08-05 12:33:42`).
      operationId: getFeesTipsTransactionETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/fees-tips-transaction?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/fees-tips-transaction?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/fees-tips-transaction?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/fees-tips-transaction?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/fees-tips-transaction?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/FeesTipsTransaction'
      security:
        - Access Token: []
  /eth/network-data/blockreward:
    get:
      tags:
        - ETH Network Data
      summary: Blockreward
      description: The sum of block rewards (including mining or staking rewards and transaction fees). We also provide this value in USD units.
      operationId: getBlockrewardETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/blockreward?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/blockreward?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/blockreward?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/blockreward?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/blockreward?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/Blockreward'
      security:
        - Access Token: []
  /eth/network-data/blockreward-except-uncle:
    get:
      tags:
        - ETH Network Data
      summary: Blockreward Except Uncle
      description: The sum of block rewards except uncle blocks. We also provide this value in USD units.
      operationId: getBlockrewardExceptUncleETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/blockreward-except-uncle?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/blockreward-except-uncle?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/blockreward-except-uncle?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/blockreward-except-uncle?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/blockreward-except-uncle?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/BlockrewardExceptUncle'
      security:
        - Access Token: []
  /eth/network-data/gas:
    get:
      tags:
        - ETH Network Data
      summary: Gas
      description: This endpoint returns the statistics related to gas used in all transactions. We provide the total amount of gas used as `gas_used_total`, the average amount of gas used as `gas_used_mean`, the average gas price as `gas_price_mean` in Gwei per gas, and the average gas limit as `gas_limit_mean`.
      operationId: getGasETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/gas?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/gas?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/gas?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/gas?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/gas?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/Gas'
      security:
        - Access Token: []
  /eth/network-data/base-fee:
    get:
      tags:
        - ETH Network Data
      summary: Base Fee
      description: Base Fee represents the base fee per gas used to burn the fees in Ethereum chain, introduced after London upgrade. `base_fee_mean` is the average value of the base fee per gas over the blocks in Gwei.
      operationId: getBaseFeeETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/base-fee?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/base-fee?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/base-fee?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/base-fee?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/base-fee?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/BaseFee'
      security:
        - Access Token: []
  /eth/network-data/max-fee:
    get:
      tags:
        - ETH Network Data
      summary: Max Fee
      description: Max Fee represents the fee per gas that the user can maximally admit when submitting the transaction, introduced after London upgrade. `max_fee_mean` is the average value of the max fee per gas over the transactions in Gwei.
      operationId: getMaxFeeETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/max-fee?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/max-fee?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/max-fee?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/max-fee?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/max-fee?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/MaxFee'
      security:
        - Access Token: []
  /eth/network-data/max-priority-fee:
    get:
      tags:
        - ETH Network Data
      summary: Max Priority Fee
      description: Max Priority Fee represents the fee per gas used to provide tips (fees) to the miner, introduced after London upgrade. `max_priority_fee_mean` is the average value of the max priority fee per gas over the transactions in Gwei.
      operationId: getMaxPriorityFeeETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/max-priority-fee?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/max-priority-fee?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/max-priority-fee?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/max-priority-fee?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/max-priority-fee?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/MaxPriorityFee'
      security:
        - Access Token: []
  /eth/network-data/difficulty:
    get:
      tags:
        - ETH Network Data
      summary: Difficulty
      description: The mean difficulty of mining a new block.
      operationId: getDifficultyETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/difficulty?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/difficulty?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/difficulty?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/difficulty?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/difficulty?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_Difficulty'
      security:
        - Access Token: []
  /eth/network-data/hashrate:
    get:
      tags:
        - ETH Network Data
      summary: Hashrate
      description: The mean speed at which miners in the network are solving hash problems. It is displayed as hashes (GigaBytes) per second.
      operationId: getHashrateETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/hashrate?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/hashrate?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/hashrate?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/hashrate?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/hashrate?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_Hashrate'
      security:
        - Access Token: []
  /eth/network-data/uncle-block-count:
    get:
      tags:
        - ETH Network Data
      summary: Uncle Block Count
      description: The number of uncle blocks generated in a given window.
      operationId: getUncleBlockCountETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/uncle-block-count?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/uncle-block-count?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/uncle-block-count?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/uncle-block-count?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/uncle-block-count?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/UncleBlockCount'
      security:
        - Access Token: []
  /eth/network-data/uncle-blockreward:
    get:
      tags:
        - ETH Network Data
      summary: Uncle Blockreward
      description: The sum of uncle block rewards (including mining or staking rewards and transaction fees). We also provide this value in USD units.
      operationId: getUncleBlockrewardETH
      parameters:
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/network-data/uncle-blockreward?window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/network-data/uncle-blockreward?window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/network-data/uncle-blockreward?window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/network-data/uncle-blockreward?window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/network-data/uncle-blockreward?window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/UncleBlockreward'
      security:
        - Access Token: []
  /eth/status/entity-list:
    get:
      tags:
        - ETH Entity Status
      summary: Entity List
      description: |
        This endpoint returns entity list to serve data.
        The meaning of the `market_type` value of the exchange object is as follows. For exchange objects, the `market_type` field tells whether the exchange is a spot exchange or a derivative exchange. Entities without a market type, such as miners or banks, will return 0 for `market_type`.
        |  Exchange Market Type  |  Description         |
        |------------------------|----------------------|
        |  0                     |  Undefined           |
        |  1                     |  Spot Exchange       |
        |  2                     |  Derivative Exchange |
      operationId: getETHEntityList
      parameters:
        - $ref: '#/components/parameters/type_e'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/status/entity-list?type=exchange"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/status/entity-list?type=exchange")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/status/entity-list?type=exchange")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/status/entity-list?type=exchange")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/status/entity-list?type=exchange"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_EntityList'
      security:
        - Access Token: []
  /eth/eth2/total-value-staked:
    get:
      tags:
        - ETH 2.0
      summary: Total Value Staked
      description: This endpoint returns the valid ETH balance of the deposit contract.
      operationId: ETHgetTotalValueStaked
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/eth2/total-value-staked?window=day&from=20201105&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/eth2/total-value-staked?window=day&from=20201105&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/eth2/total-value-staked?window=day&from=20201105&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/eth2/total-value-staked?window=day&from=20201105&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/eth2/total-value-staked?window=day&from=20201105&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TotalValueStaked'
      security:
        - Access Token: []
  /eth/eth2/staking-inflow-total:
    get:
      tags:
        - ETH 2.0
      summary: Staking Inflow Total
      description: This endpoint returns the valid ETH inflow into the deposit contract.
      operationId: ETHgetStakingInflowTotal
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/eth2/staking-inflow-total?window=day&from=20201105&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/eth2/staking-inflow-total?window=day&from=20201105&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/eth2/staking-inflow-total?window=day&from=20201105&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/eth2/staking-inflow-total?window=day&from=20201105&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/eth2/staking-inflow-total?window=day&from=20201105&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/StakingInflowTotal'
      security:
        - Access Token: []
  /eth/eth2/staking-transaction-count:
    get:
      tags:
        - ETH 2.0
      summary: Staking Transaction Count
      description: This endpoint returns the number of valid transactions to the deposit contract.
      operationId: ETHgetStakingTransactionCount
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/eth2/staking-transaction-count?window=day&from=20201105&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/eth2/staking-transaction-count?window=day&from=20201105&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/eth2/staking-transaction-count?window=day&from=20201105&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/eth2/staking-transaction-count?window=day&from=20201105&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/eth2/staking-transaction-count?window=day&from=20201105&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/StakingTransactionCount'
      security:
        - Access Token: []
  /eth/eth2/staking-validator-total:
    get:
      tags:
        - ETH 2.0
      summary: Staking Validator Total
      description: This endpoint returns the number of total validators.
      operationId: ETHgetStakingValidatorTotal
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/eth2/staking-validator-total?window=day&from=20201105&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/eth2/staking-validator-total?window=day&from=20201105&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/eth2/staking-validator-total?window=day&from=20201105&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/eth2/staking-validator-total?window=day&from=20201105&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/eth2/staking-validator-total?window=day&from=20201105&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/StakingValidatorTotal'
      security:
        - Access Token: []
  /eth/eth2/depositor-count-total:
    get:
      tags:
        - ETH 2.0
      summary: Depositor Count Total
      description: This endpoint returns the number of unique accounts who deposited over 32 ETH to the deposit contract.
      operationId: ETHgetDepositorCountTotal
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/eth2/depositor-count-total?window=day&from=20201105&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/eth2/depositor-count-total?window=day&from=20201105&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/eth2/depositor-count-total?window=day&from=20201105&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/eth2/depositor-count-total?window=day&from=20201105&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/eth2/depositor-count-total?window=day&from=20201105&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/DepositorCountTotal'
      security:
        - Access Token: []
  /eth/eth2/depositor-count-new:
    get:
      tags:
        - ETH 2.0
      summary: Depositor Count New
      description: This endpoint returns the number of new unique accounts who deposited over 32 ETH to the deposit contract.
      operationId: ETHgetDepositorCountNew
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/eth2/depositor-count-new?window=day&from=20201105&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/eth2/depositor-count-new?window=day&from=20201105&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/eth2/depositor-count-new?window=day&from=20201105&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/eth2/depositor-count-new?window=day&from=20201105&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/eth2/depositor-count-new?window=day&from=20201105&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/DepositorCountNew'
      security:
        - Access Token: []
  /eth/eth2/staking-rate:
    get:
      tags:
        - ETH 2.0
      summary: Staking Rate
      description: This endpoint returns the percentage of the balance of the ETH 2.0 deposit contract to the total supply.
      operationId: ETHgetStakingRate
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/eth2/staking-rate?window=day&from=20201105&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/eth2/staking-rate?window=day&from=20201105&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/eth2/staking-rate?window=day&from=20201105&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/eth2/staking-rate?window=day&from=20201105&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/eth2/staking-rate?window=day&from=20201105&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/StakingRate'
      security:
        - Access Token: []
  /eth/eth2/phase0-success-rate:
    get:
      tags:
        - ETH 2.0
      summary: Phase 0 Success Rate
      description: This endpoint returns the percentage of the valid ETH balance of the deposit contract to 524,288 ETH.
      operationId: ETHgetPhase0StakingRate
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/eth2/phase0-success-rate?window=day&from=20201105&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/eth2/phase0-success-rate?window=day&from=20201105&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/eth2/phase0-success-rate?window=day&from=20201105&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/eth2/phase0-success-rate?window=day&from=20201105&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/eth2/phase0-success-rate?window=day&from=20201105&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/Phase0SuccessRate'
      security:
        - Access Token: []
  /eth/exchange-flows/reserve:
    get:
      tags:
        - ETH Exchange Flows
      summary: Reserve
      description: This endpoint returns the full historical on-chain balance of Ethereum exchanges.
      operationId: ETHgetReserve
      parameters:
        - $ref: '#/components/parameters/exchange_eth'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/exchange-flows/reserve?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/exchange-flows/reserve?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/exchange-flows/reserve?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/exchange-flows/reserve?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/exchange-flows/reserve?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_Reserve-3'
      security:
        - Access Token: []
  /eth/exchange-flows/netflow:
    get:
      tags:
        - ETH Exchange Flows
      summary: Netflow
      description: The difference between coins flowing into exchanges and flowing out of exchanges. Netflow usually helps us to figure out an increase of idle coins waiting to be traded in a certain time frame.
      operationId: ETHgetExchangeNetflow
      parameters:
        - $ref: '#/components/parameters/exchange_eth'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/exchange-flows/netflow?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/exchange-flows/netflow?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/exchange-flows/netflow?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/exchange-flows/netflow?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/exchange-flows/netflow?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/Netflow'
      security:
        - Access Token: []
  /eth/exchange-flows/inflow:
    get:
      tags:
        - ETH Exchange Flows
      summary: Inflow
      description: This endpoint returns the inflow of ETH into exchange wallets for as far back as we track. The average inflow is the average transaction value for transactions flowing into exchange wallets on a given day.
      operationId: ETHgetInflow
      parameters:
        - $ref: '#/components/parameters/exchange_eth'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/exchange-flows/inflow?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/exchange-flows/inflow?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/exchange-flows/inflow?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/exchange-flows/inflow?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/exchange-flows/inflow?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_Inflow-3'
      security:
        - Access Token: []
  /eth/exchange-flows/outflow:
    get:
      tags:
        - ETH Exchange Flows
      summary: Outflow
      description: This endpoint returns the outflow of ETH into exchange wallets for as far back as we track. The average outflow is the average transaction value for transactions flowing into exchange wallets on a given day.
      operationId: ETHgetOutflow
      parameters:
        - $ref: '#/components/parameters/exchange_eth'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/exchange-flows/outflow?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/exchange-flows/outflow?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/exchange-flows/outflow?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/exchange-flows/outflow?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/exchange-flows/outflow?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_Outflow-3'
      security:
        - Access Token: []
  /eth/exchange-flows/transactions-count:
    get:
      tags:
        - ETH Exchange Flows
      summary: Transactions Count
      description: This endpoint returns the number of transactions flowing in/out of Ethereum exchanges.
      operationId: ETHgetTransactionsCountEF
      parameters:
        - $ref: '#/components/parameters/exchange_eth'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/exchange-flows/transactions-count?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/exchange-flows/transactions-count?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/exchange-flows/transactions-count?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/exchange-flows/transactions-count?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/exchange-flows/transactions-count?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TransactionsCountEF'
      security:
        - Access Token: []
  /eth/exchange-flows/addresses-count:
    get:
      tags:
        - ETH Exchange Flows
      summary: Addresses Count
      description: This endpoint returns the number of addresses involved in inflow/outflow transactions.
      operationId: ETHgetAddressesCountEF
      parameters:
        - $ref: '#/components/parameters/exchange_eth'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/exchange-flows/addresses-count?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/exchange-flows/addresses-count?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/exchange-flows/addresses-count?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/exchange-flows/addresses-count?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/exchange-flows/addresses-count?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/AddressesCountEF'
      security:
        - Access Token: []
  /eth/market-data/price-ohlcv:
    get:
      tags:
        - ETH Market Data
      summary: Price OHLCV
      description: "This endpoint returns metrics related to ETH price. \nWe provide two types of price, CryptoQuant's ETH Index Price and USD or USDT price of ETH of global exchanges.\n\nPrice OHLCV data consists of five metrics.\_\n`open`, the opening price at the beginning of the window,\_`close`, USD closing price at the end of the window,\_\n`high`, the highest USD price in a given window,\_`low`, the lowest USD price in a given window, \nand\_`volume`, the total volume traded in a given window. \n\nAt this endpoint, metrics are calculated by Minute, Hour and Day.\n\nETH Index Price is calculated by taking VWAP(Volume Weighted Average Price) of ETH price data aggregated from all exchanges we provide. The exchanges we provide are as follows. \n\n<br>\n\n### Supported Exchanges By Market\n\n| Name | Market  |    Supported Exchanges     |\n|--------|---------|----------------------------|\n| Spot   | `spot`  | All Exchange*, Binance, Binance US, Bitfinex, Bittrex, Coinbase Advanced, FTX**, Gemini, HTX Global, Kraken, OKX |\n| Perpetual   | `perpetual`  | All Exchange*, Binance, Bitmex, Bybit, Deribit, FTX**, HTX Global, OKX |\n\n> (*) Default exchange <br>\n> (**) Use in cautions due to the deprecation (no data update)\n\nIn order to get USD or USDT price of ETH of specific exchange from above (eg. `ethusdt` pair of `binance`), \nyou must specify `market`, `exchange` and `symbol` of ETH pair.  \n\nFor `volume` metric, the unit of volume could be USD, USDT or ETH. \nThis is because exchanges have their own price data policy. All Exchange's `volume` is in ETH. \nPlease refer to volume unit of each exchange from below table.  \n\n<br>\n\n### Supported Pairs By Exchange\n\n#### ◦ Spot\n| Name           |   Exchange       | Symbol                    |  Volume Unit |    Available Since   |\n|----------------|------------------|---------------------------|--------------|-------------------------------|\n| All Exchange   | `all_exchange`   |  `eth_usd`*                |    ETH       |  The earliest time in the exchanges below.      |\n| Binance        | `binance`        |  `eth_usdt`*               |    ETH       | 2017-08-17 04:00:00           |\n| Binance US     | `binance_us`     |  `eth_usd`* <br/>`eth_usdt` |    ETH       | 2019-09-18 14:58:00 <br/> 2019-09-23 08:36:00 |\n| Bitfinex       | `bitfinex`       |  `eth_usd`* <br/>`eth_usdt` |    ETH       | 2016-03-09 16:04:00 <br/> 2019-03-11 10:03:00 |\n| Bittrex        | `bittrex`        |  `eth_usd`* <br/>`eth_usdt` |    USD <br/> USDT | 2018-06-21 02:17:00 <br/> 2017-04-21 13:30:00 |\n| Coinbase Advanced   | `coinbase_advanced`   |  `eth_usd`*                |    ETH       | 2016-05-18 00:14:00 <br/>  \n| FTX**            | `ftx`            |  `eth_usd`* <br/>`eth_usdt` |    USD <br/> USDT | 2019-09-14 21:07:00 <br/> 2020-03-28 14:40:00 |\n| Gemini         | `gemini`         |  `eth_usd`*                |    ETH       | 2019-08-30 00:00:00           |\n| HTX Global   | `htx_global`   |  `eth_usdt`*               |    ETH       | 2019-11-19 00:00:00           |\n| Kraken         | `kraken`         |  `eth_usd`* <br/>`eth_usdt` |    ETH       | 2015-08-07 14:03:00 <br/> 2019-12-19 16:49:00 |\n| OKX            | `okx`           |  `eth_usdt`*               |    ETH       | 2019-10-01 00:00:00           |\n\n#### ◦ Perpetual\n|    Exchange    | Exchange Symbol  |     Pair Symbol               |    Volume         |    Historical Starting Point   |\n|----------------|------------------|-------------------------------|-------------------|--------------------------------|\n| All Exchange   | `all_exchange`   |  `eth_usd`*                   |    ETH            |  The earliest time in the exchanges below.         |\n| Binance        | `binance`        |  `eth_usd`* <br/> `eth_usdt`  |    Cont <br/> ETH | 2020-08-11 07:02:00 <br/> 2019-09-08 17:57:00 |\n| Bitmex         | `bitmex`         |  `eth_usd`*                   |    Cont           | 2015-09-25 12:34:00            |\n| Bybit          | `bybit`          |  `eth_usd`* <br/> `eth_usdt`  |    USD  <br/> ETH | 2018-11-14 16:00:00 <br/> 2020-03-25 10:36:00 |\n| Deribit        | `deribit`        |  `eth_usd`*                   |    USD            | 2018-08-14 10:34:00  |\n| FTX**            | `ftx`            |  `eth_usd`*                   |    USD            | 2019-07-20 12:35:00  |\n| HTX Global   | `htx_global`   |  `eth_usd`* <br/> `eth_usdt`  |    Cont <br/> ETH | 2020-03-25 09:45:00 <br/> 2020-10-21 09:08:00 |\n| OKX            | `okx`           |  `eth_usd`* <br/> `eth_usdt`  |    Cont <br/> ETH | 2019-03-30 00:00:00 <br/> 2019-12-25 00:00:00 |\n\n> (*) Default exchange <br>\n> (**) Use in cautions due to the deprecation (no data update)\n\n> We calculate the OHLCV data of a day from the beginning of UTC 00:00:00. \n> However, the OHLCV data in official sites of HTX and OKX are calculated from the beginning of UTC 16:00:00. \n> Thus, be aware that there may be some intended discrepancy between those.\n\n<br>\n\n### Supported Windows By Market\n\n|   Market  |   Supported Windows           |\n|-----------|-------------------------------|\n| Spot      | `min`, `hour`, `day*`         |\n| Perpetual | `min`, `hour`, `day*`         |\n\n> (*) Default symbol"
      operationId: getETHPriceOHLCV
      parameters:
        - $ref: '#/components/parameters/market_eth'
        - $ref: '#/components/parameters/eth_exchange_ohlcv'
        - $ref: '#/components/parameters/symbol_eth_ohlcv'
        - $ref: '#/components/parameters/window_mdh_eth_spotperp'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/market-data/price-ohlcv?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/market-data/price-ohlcv?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/market-data/price-ohlcv?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/market-data/price-ohlcv?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/market-data/price-ohlcv?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/PriceOHLCV'
      security:
        - Access Token: []
  /eth/market-data/open-interest:
    get:
      tags:
        - ETH Market Data
      summary: Open Interest
      description: |-
        This endpoint returns ETH Perpetual Open Interest from derivative exchanges. Supported exchanges for Open Interest are below. Note we unify the unit of return value to USD for each exchange where its contract specification may vary.

        | Name           |   Exchange     | Symbol |  Available Since   |
        |----------------|--------------|-------------|-----------------------------|
        | All Exchanges  |   `all_exchange` | `all_symbol`   | The earliest time in the exchanges below. |
        | Binance        |   `binance`  |    `all_symbol` <br/> `eth_usd` <br/> `eth_usdt`  | The earliest time in the symbols. <br/> 2020-08-18 00:00:00 <br/> 2020-05-14 00:00:00     |
        | Bitfinex       |   `bitfinex` |    `all_symbol` <br/> `eth_usdt`  | The earliest time in the symbols. <br/> 2020-06-01 00:00:00  |
        | Bitmex         |   `bitmex`   |    `all_symbol` <br/> `eth_usd`  | The earliest time in the symbols. <br/> 2019-03-30 00:00:00  |
        | Bybit          |   `bybit`    |    `all_symbol` <br/> `eth_usd` <br/> `eth_usdt` | The earliest time in the symbols. <br/> 2019-11-07 00:00:00 <br/> 2020-10-21 00:00:00 |
        | Deribit        |   `deribit`  |    `all_symbol` <br/> `eth_usd`  | The earliest time in the symbols. <br/> 2019-03-31 00:00:00        |
        | FTX**            |   `ftx`      |    `all_symbol` <br/> `eth_usd` | The earliest time in the symbols. <br/> 2020-05-09 00:00:00  |
        | Gate.io        |   `gate_io`  | `all_symbol` <br/> `eth_usd` <br/> `eth_usdt` | The earliest time in the symbols. <br/> 2020-07-01 00:00:00 <br/> 2020-07-01 00:00:00 |
        | HTX          |   `htx_global`    | `all_symbol` <br/> `eth_usd` <br/> `eth_usdt` | The earliest time in the symbols. <br/> 2020-06-24 00:00:00 <br/> 2021-08-26 05:00:00 |
        | Kraken         |   `kraken`   | `all_symbol` <br/> `eth_usd` | The earliest time in the symbols. <br/> 2019-03-30 00:00:00  |
        | OKX            |   `okx`     | `all_symbol` <br/> `eth_usd` <br/> `eth_usdt` | The earliest time in the symbols. <br/> 2019-09-05 00:00:00 <br/> 2020-01-01 00:00:00 |

        > (**) Use in cautions due to the deprecation (no data update)
      operationId: ETHgetOpenInterest
      parameters:
        - $ref: '#/components/parameters/eth_exchange_oi'
        - $ref: '#/components/parameters/window_mhd'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/market-data/open-interest?window=day&from=20191001&exchange=bitmex"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/market-data/open-interest?window=day&from=20191001&exchange=bitmex")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/market-data/open-interest?window=day&from=20191001&exchange=bitmex")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/market-data/open-interest?window=day&from=20191001&exchange=bitmex")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/market-data/open-interest?window=day&from=20191001&exchange=bitmex"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/OpenInterest'
      security:
        - Access Token: []
  /eth/market-data/funding-rates:
    get:
      tags:
        - ETH Market Data
      summary: Funding Rates
      description: |-
        Funding rates represents traders' sentiments of which position they bet on in perpetual swaps market. Positive funding rates implies that many traders are bullish and long traders pay funding to short traders. Negative funding rates implies many traders are bearish and short traders pay funding to long traders.

        | Name           |   Exchange     | Symbol |  Available Since   |
        |----------------|--------------|----|-------------------------|
        | All Exchanges  |   `all_exchange` | | The earliest time in the exchanges below. |
        | Binance        |   `binance`  | ETH-USDT  | 2019-11-29 00:00:00        |
        | Bybit          |   `bybit`    | ETH-USD | 2019-01-25 08:00:00        |
        | Bitmex         |   `bitmex`   | ETH-USD | 2018-08-02 12:00:00  |
        | Deribit        |   `deribit`  | ETH-PERPETUAL | 2019-10-04 00:00:00        |
        | HTX Global   |   `htx_global` | ETH-USD  | 2020-07-04 00:01:00       |
        | OKX            |   `okx`     | ETH-USD | 2019-04-02 02:00:00        |
      operationId: ETHgetFundingRates
      parameters:
        - $ref: '#/components/parameters/exchange_fr'
        - $ref: '#/components/parameters/window_mhd'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/market-data/funding-rates?window=day&from=20191001&exchange=bitmex"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/market-data/funding-rates?window=day&from=20191001&exchange=bitmex")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/market-data/funding-rates?window=day&from=20191001&exchange=bitmex")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/market-data/funding-rates?window=day&from=20191001&exchange=bitmex")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/market-data/funding-rates?window=day&from=20191001&exchange=bitmex"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/FundingRates'
      security:
        - Access Token: []
  /eth/market-data/taker-buy-sell-stats:
    get:
      tags:
        - ETH Market Data
      summary: Taker Buy Sell Stats
      description: |-
        Taker Buy/Sell Stats represent takers' sentiment of which position they are taking in the market. This metric is calculated with perpetual swap trades in each exchange.
        `taker_buy_volume` is volume that takers buy.
        `taker_sell_volume` is volume that takers sell.
        `taker_total_volume` is the sum of `taker_buy_volume` and `taker_sell_volume`.
        `taker_buy_ratio` is the ratio of `taker_buy_volume` divided by `taker_total_volume`.
        `taker_sell_ratio` is the ratio of `taker_sell_volume` divided by `taker_total_volume`.
        `taker_buy_sell_ratio` is the ratio of `taker_buy_volume` divided by `taker_sell_volume`.
        Note we unify the unit of return value to USD for each exchange where its contract specification may vary.

        | Name           |   Exchange     | Symbol |  Available Since   |
        |----------------|--------------|------|-----------------------------|
        | All Exchanges  |   `all_exchange` | | The earliest time in the exchanges below. |
        | Binance        |   `binance`  | ETH-USDT | 2019-12-04 00:00:00        |
        | Bybit          |   `bybit`    | ETH-USD | 2019-12-04 00:00:00        |
        | Bitmex         |   `bitmex`   | ETH-USD | 2018-09-01 00:00:00  |
        | Deribit        |   `deribit`  | ETH-PERPETUAL | 2019-09-04 00:00:00       |
        | HTX Global   |   `htx_global`    | ETH-USD  | 2020-04-18 00:00:00       |
        | OKX            |   `okx`     | ETH-USD | 2019-08-04 00:00:00        |
      operationId: ETHgetTakerBuySellStats
      parameters:
        - $ref: '#/components/parameters/exchange_lss'
        - $ref: '#/components/parameters/window_mhd'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/market-data/taker-buy-sell-stats?window=day&from=20191001&exchange=bitmex"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/market-data/taker-buy-sell-stats?window=day&from=20191001&exchange=bitmex")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/market-data/taker-buy-sell-stats?window=day&from=20191001&exchange=bitmex")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/market-data/taker-buy-sell-stats?window=day&from=20191001&exchange=bitmex")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/market-data/taker-buy-sell-stats?window=day&from=20191001&exchange=bitmex"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TakerBuySellStats'
      security:
        - Access Token: []
  /eth/market-data/liquidations:
    get:
      tags:
        - ETH Market Data
      summary: Liquidations
      description: |-
        Liquidations are sum of forced market orders to exit leveraged positions caused by price volatility. Liquidations indicate current price volatility and traders' sentiment which side they had been betting.
        Note that Binance's liquidation data collection policy has changed since [2021-04-27](https://binance-docs.github.io/apidocs/futures/en/#change-log), which makes the distribution of the data has changed after that.

        | Name           |   Exchange     |    Symbol    |   Available Since           |
        |----------------|----------------|--------------|-----------------------------|
        | All Exchanges  | `all_exchange` | `all_symbol` | The earliest time in the exchanges below. |
        | Binance        | `binance`      | `all_symbol` <br/> `eth_usdt` <br/> `eth_usd` | The earliest time in the symbols. <br/> 2019-11-30 00:00:00 <br/> 2020-08-21 00:00:00 |
        | Bitfinex       | `bitfinex`     | `all_symbol` <br/> `eth_usdt` | The earliest time in the symbols. <br/> 2019-09-17 00:00:00 |
        | Bitmex         | `bitmex`       | `all_symbol` <br/> `eth_usd` | The earliest time in the symbols. <br/> 2019-04-02 00:00:00 |
        | Bybit          | `bybit`        | `all_symbol` <br/> `eth_usd` <br/> `eth_usdt` | The earliest time in the symbols. <br/> 2020-12-20 00:00:00 <br/> 2020-12-18 00:00:00 |
        | Deribit        | `deribit`      | `all_symbol` <br/> `eth_usd` | The earliest time in the symbols. <br/> 2019-05-25 00:00:00 |
        | FTX**            | `ftx`          | `all_symbol` <br/> `eth_usd` | The earliest time in the symbols. <br/> 2019-08-04 00:00:00 |
        | Gate.io        | `gate_io`      | `all_symbol` <br/> `eth_usd` <br/> `eth_usdt` | The earliest time in the symbols. <br/> 2018-12-28 11:00:00 <br/> 2019-11-21 11:00:00 |
        | HTX Global   | `htx_global` | `all_symbol` <br/> `eth_usd` <br/> `eth_usdt` | The earliest time in the symbols. <br/> 2020-06-26 00:00:00 <br/> 2021-09-23 14:00:00 |
        | OKX            | `okx`          | `all_symbol` <br/> `eth_usd` <br/> `eth_usdt` | The earliest time in the symbols. <br/> 2020-12-20 00:00:00 <br/> 2020-12-17 00:00:00 |

        > (**) Use in cautions due to the deprecation (no data update)
      operationId: ETHgetLiquidations
      parameters:
        - $ref: '#/components/parameters/exchange_liq_eth'
        - $ref: '#/components/parameters/symbol_liq_eth'
        - $ref: '#/components/parameters/window_mhd'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/market-data/liquidations?window=day&from=20191001&exchange=deribit"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/market-data/liquidations?window=day&from=20191001&exchange=deribit")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/market-data/liquidations?window=day&from=20191001&exchange=deribit")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/market-data/liquidations?window=day&from=20191001&exchange=deribit")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/market-data/liquidations?window=day&from=20191001&exchange=deribit"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/Liquidations'
      security:
        - Access Token: []
  /eth/market-data/coinbase-premium-index:
    get:
      tags:
        - ETH Market Data
      summary: Coinbase Premium Index
      description: |
        Coinbase Premium Index is calculated as percent difference from Binance price(ETHUSDT) to Coinbase price(ETHUSD). Coinbase Premium Gap is calculated as gap between Coinbase price(ETHUSD) and Binance price(ETHUSDT). The higher the premium, the stronger the spot buying pressure from Coinbase.
      operationId: getETHCoinbasePremiumIndex
      parameters:
        - $ref: '#/components/parameters/window_mhd'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/market-data/coinbase-premium-index?window=day&from=20191001T000000&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/market-data/coinbase-premium-index?window=day&from=20191001T000000&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/market-data/coinbase-premium-index?window=day&from=20191001T000000&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/market-data/coinbase-premium-index?window=day&from=20191001T000000&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/market-data/coinbase-premium-index?window=day&from=20191001T000000&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/ETHCoinbasePremiumIndex'
      security:
        - Access Token: []
  /eth/market-data/capitalization:
    get:
      tags:
        - ETH Market Data
      summary: Capitalization
      description: |
        This endpoint returns metrics related to market capitalization. We provide `market_cap`, which is total market capitalization of ETH, calculated by multiplying the circulating supply with its USD price. 
      operationId: ETHgetCapitalization
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/market-data/capitalization?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/market-data/capitalization?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/market-data/capitalization?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/market-data/capitalization?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/market-data/capitalization?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_Capitalization'
      security:
        - Access Token: []
  /eth/fund-data/market-price-usd:
    get:
      tags:
        - ETH Fund Data
      summary: Market Price USD
      description: The price of certain symbol (e.g. ethe) managed by each fund (e.g. Grayscale) reflects sentiment of investors in regulated markets. In this specific case, having single share of ETHE means having approximately 0.01 ETH invested to Grayscale. This endpoint returns metrics related to the US Dollar(USD) price of fund related stocks (e.g. ethe). We provide five metrics, `price_usd_open`, USD opening price at the beginning of the window, `price_usd_close`, USD closing price at the end of the window, `price_usd_high`, the highest USD price in a given window, `price_usd_low`, the lowest USD price in a given window, and `price_usd_adj_close`, USD adjusted closing price at the end of the window. All Symbol is not supported.
      operationId: getETHMarketPriceUSD
      parameters:
        - $ref: '#/components/parameters/symbol_eth'
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/fund-data/market-price-usd?symbol=ethe&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/fund-data/market-price-usd?symbol=ethe&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/fund-data/market-price-usd?symbol=ethe&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/fund-data/market-price-usd?symbol=ethe&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/fund-data/market-price-usd?symbol=ethe&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/MarketPriceUSD'
      security:
        - Access Token: []
  /eth/fund-data/market-volume:
    get:
      tags:
        - ETH Fund Data
      summary: Market Volume
      description: The volume of certain symbol (e.g. ethe) managed by each fund (e.g. Grayscale) reflects sentiment of investors in regulated markets. This endpoint returns traded volume of fund related stocks (e.g. ethe). At this endpoint, metrics are calculated by Day. We provide one metric, `volume`, traded volume of the window.
      operationId: getETHMarketVolume
      parameters:
        - $ref: '#/components/parameters/symbol_eth'
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/fund-data/market-volume?symbol=ethe&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/fund-data/market-volume?symbol=ethe&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/fund-data/market-volume?symbol=ethe&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/fund-data/market-volume?symbol=ethe&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/fund-data/market-volume?symbol=ethe&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/MarketVolume'
      security:
        - Access Token: []
  /eth/fund-data/market-premium:
    get:
      tags:
        - ETH Fund Data
      summary: Market Premium
      description: The premium of certain symbol (e.g. ethe) is defined as (market price of the symbol - NAV) divided by NAV where NAV (Native Asset Value) is the current value of holdings (e.g. ETH price multiplied by ETH per Share). Higher the premium indicates market bullish, which also indicates downside risk. On the other hand, lower the premium indicates market bearish, which also indicates upside risk. All Symbol market premium is calculated by taking VWAP (Volume Weighted Average Ratio) of each fund data volume (usd).
      operationId: getETHMarketPremium
      parameters:
        - $ref: '#/components/parameters/symbol_eth'
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/fund-data/market-premium?symbol=ethe&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/fund-data/market-premium?symbol=ethe&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/fund-data/market-premium?symbol=ethe&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/fund-data/market-premium?symbol=ethe&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/fund-data/market-premium?symbol=ethe&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/MarketPremium'
      security:
        - Access Token: []
  /eth/fund-data/digital-asset-holdings:
    get:
      tags:
        - ETH Fund Data
      summary: Digital Asset Holdings
      description: This endpoint returns digital asset holdings status of each fund. For example, Grayscale ETH Holdings along with ETHE represents how much ETH Grayscale is holding for its investment. This metric indicates stock market's sentiment where higher the value means bullish sentiment of investors in stock market.
      operationId: getETHDigitalAssetHoldings
      parameters:
        - $ref: '#/components/parameters/symbol_eth'
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/fund-data/digital-asset-holdings?symbol=ethe&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/fund-data/digital-asset-holdings?symbol=ethe&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/fund-data/digital-asset-holdings?symbol=ethe&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/fund-data/digital-asset-holdings?symbol=ethe&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/fund-data/digital-asset-holdings?symbol=ethe&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/DigitalAssetHoldings'
      security:
        - Access Token: []
  /eth/flow-indicator/exchange-supply-ratio:
    get:
      tags:
        - ETH Flow Indicator
      summary: Exchange Supply Ratio
      description: |
        Exchange Supply Ratio is calculated as exchange reserve divided by total supply. The metric measures how much tokens are reserved in the exchange relative to total supply of the token.
      operationId: ETHgetExchangeSupplyRatio
      parameters:
        - $ref: '#/components/parameters/exchange_eth'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/flow-indicator/exchange-supply-ratio?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/flow-indicator/exchange-supply-ratio?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/flow-indicator/exchange-supply-ratio?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/flow-indicator/exchange-supply-ratio?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/flow-indicator/exchange-supply-ratio?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/exchange-supply-ratio'
      security:
        - Access Token: []
  /eth/market-indicator/estimated-leverage-ratio:
    get:
      tags:
        - ETH Market Indicator
      summary: Estimated Leverage Ratio
      description: |
        By dividing the open interest of an exchange by their ETH reserve, you can estimate a relative average user leverage. Whenever the leverage value reaches a high, there is rapid volatility. Similar to Open Interest, but more accurate because it reflects the growth of the exchange itself. This is experimental indicator but it seems this reflects market sentiment. You can see how aggressive people are and how conservative they are in terms of investment. For 'In Progress' exchanges, estimated leverage ratio is not supported yet even though they provide open interest.
        __[Go to Data Guide‣](https://dataguide.cryptoquant.com/market-indicators/estimated-leverage-ratio)__
      operationId: ETHgetEstimatedLeverageRatio
      parameters:
        - $ref: '#/components/parameters/eth_exchange_oi'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/eth/market-indicator/estimated-leverage-ratio?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/eth/market-indicator/estimated-leverage-ratio?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/eth/market-indicator/estimated-leverage-ratio?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/eth/market-indicator/estimated-leverage-ratio?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/eth/market-indicator/estimated-leverage-ratio?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/EstimatedLeverageRatio'
      security:
        - Access Token: []
  /erc20/status/entity-list:
    get:
      tags:
        - ERC20 Entity Status
      summary: Entity List
      description: |
        This endpoint returns entity list to serve data.
        The meaning of the `market_type` value of the exchange object is as follows. For exchange objects, the `market_type` field tells whether the exchange is a spot exchange or a derivative exchange. Entities without a market type, such as miners or banks, will return 0 for `market_type`.
        |  Exchange Market Type  |  Description         |
        |------------------------|----------------------|
        |  0                     |  Undefined           |
        |  1                     |  Spot Exchange       |
        |  2                     |  Derivative Exchange |
      operationId: getERC20EntityList
      parameters:
        - $ref: '#/components/parameters/token_erc20'
        - $ref: '#/components/parameters/type_e'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/erc20/status/entity-list?token=link&type=exchange"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/erc20/status/entity-list?token=link&type=exchange")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/erc20/status/entity-list?token=link&type=exchange")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/erc20/status/entity-list?token=link&type=exchange")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/erc20/status/entity-list?token=link&type=exchange"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_EntityList'
      security:
        - Access Token: []
  /erc20/exchange-flows/reserve:
    get:
      tags:
        - ERC20 Exchange Flows
      summary: Reserve
      description: This endpoint returns the full historical on-chain ERC20 token balance of exchanges.
      operationId: ERC20GetReserve
      parameters:
        - $ref: '#/components/parameters/token_erc20'
        - $ref: '#/components/parameters/exchange_erc20'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/erc20/exchange-flows/reserve?token=link&exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/erc20/exchange-flows/reserve?token=link&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/erc20/exchange-flows/reserve?token=link&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/erc20/exchange-flows/reserve?token=link&exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/erc20/exchange-flows/reserve?token=link&exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_Reserve-4'
      security:
        - Access Token: []
  /erc20/exchange-flows/netflow:
    get:
      tags:
        - ERC20 Exchange Flows
      summary: Netflow
      description: The difference between coins flowing into exchanges and flowing out of exchanges. Netflow usually helps us to figure out an increase of idle coins waiting to be traded in a certain time frame.
      operationId: ERC20GetExchangeNetflow
      parameters:
        - $ref: '#/components/parameters/token_erc20'
        - $ref: '#/components/parameters/exchange_erc20'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/erc20/exchange-flows/netflow?token=link&exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/erc20/exchange-flows/netflow?token=link&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/erc20/exchange-flows/netflow?token=link&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/erc20/exchange-flows/netflow?token=link&exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/erc20/exchange-flows/netflow?token=link&exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/Netflow'
      security:
        - Access Token: []
  /erc20/exchange-flows/inflow:
    get:
      tags:
        - ERC20 Exchange Flows
      summary: Inflow
      description: This endpoint returns the inflow of ERC20 token into exchange wallets for as far back as we track. The average inflow is the average transaction value for transactions flowing into exchange wallets on a given day.
      operationId: ERC20GetInflow
      parameters:
        - $ref: '#/components/parameters/token_erc20'
        - $ref: '#/components/parameters/exchange_erc20'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/erc20/exchange-flows/inflow?token=link&exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/erc20/exchange-flows/inflow?token=link&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/erc20/exchange-flows/inflow?token=link&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/erc20/exchange-flows/inflow?token=link&exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/erc20/exchange-flows/inflow?token=link&exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_Inflow-4'
      security:
        - Access Token: []
  /erc20/exchange-flows/outflow:
    get:
      tags:
        - ERC20 Exchange Flows
      summary: Outflow
      description: This endpoint returns the outflow of ERC20 token into exchange wallets for as far back as we track. The average outflow is the average transaction value for transactions flowing into exchange wallets on a given day.
      operationId: ERC20GetOutflow
      parameters:
        - $ref: '#/components/parameters/token_erc20'
        - $ref: '#/components/parameters/exchange_erc20'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/erc20/exchange-flows/outflow?token=link&exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/erc20/exchange-flows/outflow?token=link&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/erc20/exchange-flows/outflow?token=link&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/erc20/exchange-flows/outflow?token=link&exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/erc20/exchange-flows/outflow?token=link&exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_Outflow-4'
      security:
        - Access Token: []
  /erc20/exchange-flows/transactions-count:
    get:
      tags:
        - ERC20 Exchange Flows
      summary: Transactions Count
      description: This endpoint returns the number of transactions flowing in/out of ERC20 token exchanges.
      operationId: ERC20GetTransactionsCountEF
      parameters:
        - $ref: '#/components/parameters/token_erc20'
        - $ref: '#/components/parameters/exchange_erc20'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/erc20/exchange-flows/transactions-count?token=link&exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/erc20/exchange-flows/transactions-count?token=link&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/erc20/exchange-flows/transactions-count?token=link&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/erc20/exchange-flows/transactions-count?token=link&exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/erc20/exchange-flows/transactions-count?token=link&exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TransactionsCountEF'
      security:
        - Access Token: []
  /erc20/exchange-flows/addresses-count:
    get:
      tags:
        - ERC20 Exchange Flows
      summary: Addresses Count
      description: This endpoint returns the number of addresses involved in inflow/outflow transactions.
      operationId: ERC20GetAddressesCountEF
      parameters:
        - $ref: '#/components/parameters/token_erc20'
        - $ref: '#/components/parameters/exchange_erc20'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/erc20/exchange-flows/addresses-count?token=link&exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/erc20/exchange-flows/addresses-count?token=link&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/erc20/exchange-flows/addresses-count?token=link&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/erc20/exchange-flows/addresses-count?token=link&exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/erc20/exchange-flows/addresses-count?token=link&exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/AddressesCountEF'
      security:
        - Access Token: []
  /erc20/network-data/supply:
    get:
      tags:
        - ERC20 Network Data
      summary: Supply
      description: This endpoint returns metrics related to the supply of ERC20 tokens, i.e. the amount of ERC20s tokens in existence. We currently provide three metrics, `supply_total`, the total amount of ERC20 tokens in existence, `supply_minted`, the amount of newly issued tokens, and `supply_burned`, the amount of newly burnt tokens in a given window.
      operationId: getSupplyERC20
      parameters:
        - $ref: '#/components/parameters/token_erc20'
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/erc20/network-data/supply?token=link&window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/erc20/network-data/supply?token=link&window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/erc20/network-data/supply?token=link&window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/erc20/network-data/supply?token=link&window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/erc20/network-data/supply?token=link&window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_Supply-3'
      security:
        - Access Token: []
  /erc20/network-data/velocity:
    get:
      tags:
        - ERC20 Network Data
      summary: Velocity
      description: This endpoint returns metrics related to the velocity of ERC20 tokens. Velocity is calculated by dividing the trailing 1 year estimated transaction volume(the cumulated sum of transferred tokens) by current supply. Velocity is a metric that explains how actively is money circulating in the market.
      operationId: getVelocityERC20
      parameters:
        - $ref: '#/components/parameters/token_erc20'
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/erc20/network-data/velocity?token=link&window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/erc20/network-data/velocity?token=link&window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/erc20/network-data/velocity?token=link&window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/erc20/network-data/velocity?token=link&window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/erc20/network-data/velocity?token=link&window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_Velocity'
      security:
        - Access Token: []
  /erc20/network-data/transactions-count:
    get:
      tags:
        - ERC20 Network Data
      summary: Transactions Count
      description: This endpoint returns metrics related to the number of transactions. We provide several metrics, `transactions_count_total`, the total number of transactions, `transactions_count_mean`, the mean number of transactions. Note all events executed by the ERC20 contract are counted.
      operationId: getTransactionsCountERC20
      parameters:
        - $ref: '#/components/parameters/token_erc20'
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/erc20/network-data/transactions-count?token=link&window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/erc20/network-data/transactions-count?token=link&window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/erc20/network-data/transactions-count?token=link&window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/erc20/network-data/transactions-count?token=link&window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/erc20/network-data/transactions-count?token=link&window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_TransactionsCount-2'
      security:
        - Access Token: []
  /erc20/network-data/tokens-transferred-count:
    get:
      tags:
        - ERC20 Network Data
      summary: Tokens Transferred Count
      description: This endpoint returns metrics related to the number of tokens transferred executed. We provide several metrics, `tokens_transferred_count_total`, the total number of executed tokens transferred, and `tokens_transferred_count_mean`, the mean number of executed tokens transferred. Note only successful transfers (value > 0) are counted.
      operationId: getTokensTransferredCountERC20
      parameters:
        - $ref: '#/components/parameters/token_erc20'
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/erc20/network-data/tokens-transferred-count?token=link&window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/erc20/network-data/tokens-transferred-count?token=link&window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/erc20/network-data/tokens-transferred-count?token=link&window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/erc20/network-data/tokens-transferred-count?token=link&window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/erc20/network-data/tokens-transferred-count?token=link&window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TokensTransferredCount'
      security:
        - Access Token: []
  /erc20/network-data/tokens-transferred:
    get:
      tags:
        - ERC20 Network Data
      summary: Tokens Transferred
      description: This endpoint returns metrics related to the number of tokens transferred, i.e transaction volume. We provide several metrics, `tokens_transferred_total`, the total number of transferred tokens in that window, `tokens_transferred_mean`, the mean of transferred tokens per transaction in that window, and `tokens_transferred_median`, the median of tokens transferred per transaction.
      operationId: getTokensTransferredERC20
      parameters:
        - $ref: '#/components/parameters/token_erc20'
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/erc20/network-data/tokens-transferred?token=link&window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/erc20/network-data/tokens-transferred?token=link&window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/erc20/network-data/tokens-transferred?token=link&window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/erc20/network-data/tokens-transferred?token=link&window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/erc20/network-data/tokens-transferred?token=link&window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_TokensTransferred-3'
      security:
        - Access Token: []
  /erc20/network-data/addresses-count:
    get:
      tags:
        - ERC20 Network Data
      summary: Addresses Count
      description: This endpoint returns metrics relating to the number of used to transfer the tokens. We provide several metrics, `addresses_count_active`, the total number of unique addresses that were active (either sender or receiver) on the blockchain in a given window, `addresses_count_sender`, the number of addresses that were active as a sender, and `addresses_count_receiver`, the number of addresses that were active as a receiver.
      operationId: getAddressesCountERC20
      parameters:
        - $ref: '#/components/parameters/token_erc20'
        - $ref: '#/components/parameters/window_dbh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/erc20/network-data/addresses-count?token=link&window=day"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/erc20/network-data/addresses-count?token=link&window=day")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/erc20/network-data/addresses-count?token=link&window=day")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/erc20/network-data/addresses-count?token=link&window=day")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/erc20/network-data/addresses-count?token=link&window=day"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_AddressesCount-3'
      security:
        - Access Token: []
  /erc20/market-data/price-ohlcv:
    get:
      tags:
        - ERC20 Market Data
      summary: Price OHLCV
      description: "This endpoint returns metrics related to ERC20 Token's Index Price.  \n\nPrice OHLCV data consists of five metrics.\_\n`open`, the opening price at the beginning of the window,\_`close`, USD closing price at the end of the window,\_\n`high`, the highest USD price in a given window,\_`low`, the lowest USD price in a given window, \nand\_`volume`, the total token volume traded in a given window.  \n\nAt this endpoint, metrics are calculated by Minute, Hour and Day.\n\nERC20 Token Index Price is calculated by taking VWAP(Volume Weighted Average Price) of ERC20 Token price data aggregated from global exchanges. You can check supported exchanges [here](https://www.notion.so/cqlive/Stablecoins-ERC20-Exchange-List-e33b9baeae094fb090983dc1e1183b05)."
      operationId: getPriceOHLCVERC20
      parameters:
        - $ref: '#/components/parameters/token_erc20'
        - $ref: '#/components/parameters/window_mhd'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/erc20/market-data/price-ohlcv?token=link&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/erc20/market-data/price-ohlcv?token=link&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/erc20/market-data/price-ohlcv?token=link&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/erc20/market-data/price-ohlcv?token=link&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/erc20/market-data/price-ohlcv?token=link&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/PriceOHLCVERC20'
      security:
        - Access Token: []
  /erc20/flow-indicator/exchange-supply-ratio:
    get:
      tags:
        - ERC20 Flow Indicator
      summary: Exchange Supply Ratio
      description: |
        Exchange Supply Ratio is calculated as exchange reserve divided by total supply. The metric measures how much tokens are reserved in the exchange relative to total supply of the token.
      operationId: getExchangeSupplyRatioERC20
      parameters:
        - $ref: '#/components/parameters/token_erc20'
        - $ref: '#/components/parameters/exchange_erc20'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/erc20/flow-indicator/exchange-supply-ratio?token=link&exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/erc20/flow-indicator/exchange-supply-ratio?token=link&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/erc20/flow-indicator/exchange-supply-ratio?token=link&exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/erc20/flow-indicator/exchange-supply-ratio?token=link&exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/erc20/flow-indicator/exchange-supply-ratio?token=link&exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/exchange-supply-ratio'
      security:
        - Access Token: []
  /alt/market-data/price-ohlcv:
    get:
      tags:
        - Alt Market Data
      summary: Price OHLCV
      description: "This endpoint returns metrics related to Alt Token's Index Price.  \n\nPrice OHLCV data consists of five metrics.\_\n`open`, the opening price at the beginning of the window,\_`close`, USD closing price at the end of the window,\_\n`high`, the highest USD price in a given window,\_`low`, the lowest USD price in a given window, \nand\_`volume`, the total token volume traded in a given window.  \n\nAt this endpoint, metrics are calculated by Minute, Hour and Day. \n\nAlt Token Index Price is calculated by taking VWAP(Volume Weighted Average Price) of Alt Token price data aggregated from global exchanges."
      operationId: getPriceOHLCVAlt
      parameters:
        - $ref: '#/components/parameters/token_alt'
        - $ref: '#/components/parameters/window_mhd'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/alt/market-data/price-ohlcv?token=doge&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/alt/market-data/price-ohlcv?token=doge&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/alt/market-data/price-ohlcv?token=doge&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/alt/market-data/price-ohlcv?token=doge&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/alt/market-data/price-ohlcv?token=doge&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/PriceOHLCVAlt'
      security:
        - Access Token: []
  /xrp/market-data/price-ohlcv:
    get:
      tags:
        - XRP Market Data
      summary: Price OHLCV
      description: "This endpoint returns metrics related to XRP's Price.\nPrice OHLCV data consists of five metrics.\_\n`open`, the opening price at the beginning of the window,\_`close`, USD closing price at the end of the window,\_\n`high`, the highest USD price in a given window,\_`low`, the lowest USD price in a given window,\nand\_`volume`, the total token volume traded in 24h.\n\n\n### Supported Exchanges By Market\n\n| Name | Market  |    Supported Exchanges     |\n|--------|---------|----------------------------|\n| Spot   | `spot`  | All Exchange*, Binance, Binance US, Bitfinex, Kucoin, Coinbase Advanced, Kraken, HTX Global |\n| Perpetual   | `perpetual`  | All Exchange*, Binance, Deribit, Bitmex, OKX |\n\n> (*) Default exchange <br>\n\n### Supported Pairs By Exchange\n\n#### ◦ Spot\n\n| Name           |   Exchange     | Symbol |\n|----------------|--------------|----|\n| All Exchanges  |   `all_exchange` | `xrp_usd`* |\n| Binance        |   `binance`  | `xrp_usdt`* <br/> `xrp_fdusd`<br/> `xrp_btc`<br/> `xrp_eth`<br/> `xrp_bnb`<br/> `xrp_rub`<br/> `xrp_tusd`|\n| Binance US            |   `binance_us`     | `xrp_usdt`* |\n| Coinbase Advanced          |   `coinbase_advanced`    | `xrp_eur`<br/> `xrp_usdt`<br/> `xrp_usd`* |\n| Bitfinex         |   `bitfinex`   | `xrp_usdt`<br/> `xrp_btc`<br/> `xrp_usd`* |\n| HTX Global   |   `htx_global` | `xrp_usdt`*  |\n| Kucoin            |   `kucoin`     | `xrp_usdc`<br/> `xrp_tusd`<br/> `xrp_btc`<br/> `xrp_eth`<br/> `xrp_usdt`* |\n| Kraken            |   `kraken`     | `xrp_usdt`<br/> `xrp_eur`<br/> `xrp_aud`<br/> `xrp_eth`<br/> `xrp_btc`<br/> `xrp_usd`* |\n\n#### ◦ Perpetual\n\n| Name           |   Exchange     | Symbol |\n|----------------|--------------|----|\n| All Exchanges  |   `all_exchange` | `xrp_usd`* <br/> `xrp_usdt`|\n| Binance        |   `binance`  | `xrp_usd`*|\n| Deribit         |   `deribit`   | `xrp_usdc`* |\n| Okx         |   `okx`   | `xrp_usdt`* |\n| Bitmex            |   `bitmex`     | `xrp_usdt`<br/> `xrp_usd`* |\n\n### Supported Windows By Market\n\n|   Market  |   Supported Windows           |\n|-----------|-------------------------------|\n| Spot      | `min`, `hour`, `day*`         |\n| Perpetual | `min`, `hour`, `day*`         |"
      operationId: getPriceOHLCVXRP
      parameters:
        - $ref: '#/components/parameters/market_xrp'
        - $ref: '#/components/parameters/xrp_exchange_ohlcv'
        - $ref: '#/components/parameters/symbol_xrp_ohlcv'
        - $ref: '#/components/parameters/window_mhd'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/market-data/price-ohlcv?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/market-data/price-ohlcv?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/market-data/price-ohlcv?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/market-data/price-ohlcv?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/market-data/price-ohlcv?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_PriceOHLCV'
      security:
        - Access Token: []
  /xrp/market-data/open-interest:
    get:
      tags:
        - XRP Market Data
      summary: Open Interest
      description: |-
        This endpoint returns XRP Perpetual Open Interest from derivative exchanges. 
        | Name           |   Exchange     | Symbol |
        |----------------|--------------|----|
        | All Exchanges  |   `all_exchange` | `all_symbol`* |
        | Binance        |   `binance`  | `xrp_usdt`<br/>`xrp_usd`<br/> `all_symbol`*|
        | Bybit          |   `bybit`    | `xrp_usdt`<br/>`xrp_usd`<br/> `all_symbol`*| 
        | Bitmex         |   `bitmex`   | `xrp_usd`* | 
        | HTX Global   |   `htx_global` | `xrp_usdt`*  |
        | Kraken         |   `kraken`   | `xrp_usd`* |  
        | OKX            |   `okx`     | `xrp_usdt`<br/>`xrp_usd`<br/> `all_symbol`* | 
        | Bitfinex            |   `bitfinex`     | `xrp_usdt`* | 

        Supported exchanges for Open Interest are available in Discovery section.
        Note we unify the unit of return value to USD for each exchange where its contract specification may vary.
      operationId: XRPgetOpenInterest
      parameters:
        - $ref: '#/components/parameters/exchange'
        - $ref: '#/components/parameters/symbol_xrp_oi'
        - $ref: '#/components/parameters/window_mhd'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/market-data/open-interest?window=day&from=20191001&exchange=bitmex"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/market-data/open-interest?window=day&from=20191001&exchange=bitmex")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/market-data/open-interest?window=day&from=20191001&exchange=bitmex")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/market-data/open-interest?window=day&from=20191001&exchange=bitmex")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/market-data/open-interest?window=day&from=20191001&exchange=bitmex"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/OpenInterest'
      security:
        - Access Token: []
  /xrp/market-data/funding-rates:
    get:
      tags:
        - XRP Market Data
      summary: Funding Rates
      description: |-
        Funding rates represents traders' sentiments of which position they bet on in perpetual swaps market. Positive funding rates implies that many traders are bullish and long traders pay funding to short traders. Negative funding rates implies many traders are bearish and short traders pay funding to long traders.
        | Name           |   Exchange     | Symbol |
        |----------------|--------------|----|
        | All Exchanges  |   `all_exchange` |`all_symbol`*|
        | Binance        |   `binance`  | `xrp_usdt`<br/>`xrp_usd`<br/>`all_symbol`* |
        | Bybit          |   `bybit`    | `xrp_usdt`<br/>`xrp_usd`<br/>`all_symbol`* | 
        | Bitmex         |   `bitmex`   | `xrp_usd`* | 
        | HTX Global   |   `htx_global` | `xrp_usd`* | 
        | OKX            |   `okx`     | `xrp_usdt`<br/>`xrp_usd`<br/>`all_symbol`* |
      operationId: XRPgetFundingRates
      parameters:
        - $ref: '#/components/parameters/exchange'
        - $ref: '#/components/parameters/symbol_xrp_fr'
        - $ref: '#/components/parameters/window_mhd'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/market-data/funding-rates?window=day&from=20191001&exchange=bitmex"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/market-data/funding-rates?window=day&from=20191001&exchange=bitmex")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/market-data/funding-rates?window=day&from=20191001&exchange=bitmex")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/market-data/funding-rates?window=day&from=20191001&exchange=bitmex")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/market-data/funding-rates?window=day&from=20191001&exchange=bitmex"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/FundingRates'
      security:
        - Access Token: []
  /xrp/market-data/taker-buy-sell-stats:
    get:
      tags:
        - XRP Market Data
      summary: Taker Buy Sell Stats
      description: |-
        Taker Buy/Sell Stats represent takers' sentiment of which position they are taking in the market. This metric is calculated with perpetual swap trades in each exchange.
        `taker_buy_volume` is volume that takers buy.
        `taker_sell_volume` is volume that takers sell.
        `taker_total_volume` is the sum of `taker_buy_volume` and `taker_sell_volume`.
        `taker_buy_ratio` is the ratio of `taker_buy_volume` divided by `taker_total_volume`.
        `taker_sell_ratio` is the ratio of `taker_sell_volume` divided by `taker_total_volume`.
        `taker_buy_sell_ratio` is the ratio of `taker_buy_volume` divided by `taker_sell_volume`.
        Note we unify the unit of return value to USD for each exchange where its contract specification may vary.
        | Name           |   Exchange     | Symbol |
        |----------------|--------------|----|
        | All Exchanges  |   `all_exchange` | `all_symbol`* |
        | Binance        |   `binance`  | `xrp_usdt`*  |
        | Bybit          |   `bybit`    | `xrp_usd`* | 
        | Bitmex         |   `bitmex`   | `xrp_usd`* | 
        | HTX Global   |   `htx_global` | `xrp_usd`*  | 
        | OKX            |   `okx`     | `xrp_usd`* |
      operationId: XRPgetTakerBuySellStats
      parameters:
        - $ref: '#/components/parameters/exchange'
        - $ref: '#/components/parameters/window_mhd'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/market-data/taker-buy-sell-stats?window=day&from=20191001&exchange=bitmex"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/market-data/taker-buy-sell-stats?window=day&from=20191001&exchange=bitmex")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/market-data/taker-buy-sell-stats?window=day&from=20191001&exchange=bitmex")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/market-data/taker-buy-sell-stats?window=day&from=20191001&exchange=bitmex")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/market-data/taker-buy-sell-stats?window=day&from=20191001&exchange=bitmex"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TakerBuySellStats'
      security:
        - Access Token: []
  /xrp/market-data/liquidations:
    get:
      tags:
        - XRP Market Data
      summary: Liquidations
      description: |-
        Liquidations are sum of forced market orders to exit leveraged positions caused by price volatility. Liquidations indicate current price volatility and traders' sentiment which side they had been betting.
        Note that Binance's liquidation data collection policy has changed since [2021-04-27](https://binance-docs.github.io/apidocs/futures/en/#change-log), which makes the distribution of the data has changed after that.
        | Name           |   Exchange     | Symbol |
        |----------------|--------------|----|
        | All Exchanges  |   `all_exchange` |`all_symbol`* |
        | Binance        |   `binance`  | `xrp_usdt`<br/> `xrp_usd`<br/> `all_symbol`* |
        | Bybit          |   `bybit`    | `xrp_usdt`<br/> `xrp_usd`<br/> `all_symbol`*| 
        | Bitmex         |   `bitmex`   | `xrp_usd`* | 
        | HTX Global   |   `htx_global` | `xrp_usdt`*| 
        | OKX            |   `okx`     | `xrp_usdt`<br/> `xrp_usd`<br/> `all_symbol`*| 
        | Bitfinex            |   `bitfinex`     | `xrp_usdt`* |
      operationId: XRPgetLiquidations
      parameters:
        - $ref: '#/components/parameters/exchange'
        - $ref: '#/components/parameters/symbol_liq_xrp'
        - $ref: '#/components/parameters/window_mhd'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/market-data/liquidations?window=day&from=20191001&exchange=binance"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/market-data/liquidations?window=day&from=20191001&exchange=binance")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/market-data/liquidations?window=day&from=20191001&exchange=binance")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/market-data/liquidations?window=day&from=20191001&exchange=binance")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/market-data/liquidations?window=day&from=20191001&exchange=binance"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/Liquidations'
      security:
        - Access Token: []
  /xrp/market-data/capitalization:
    get:
      tags:
        - XRP Market Data
      summary: Capitalization
      description: |
        This endpoint returns metrics related to market capitalization. First, we provide `market_cap`, which is total market capitalization of XRP, calculated by multiplying the total supply with its USD price.
        __[Go to Data Guide‣](https://userguide.cryptoquant.com/cryptoquant-metrics/market/capitalization-models)__
      operationId: getCapitalization
      parameters:
        - $ref: '#/components/parameters/window_dh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/market-data/capitalization?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/market-data/capitalization?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/market-data/capitalization?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/market-data/capitalization?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/market-data/capitalization?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_Capitalization-2'
      security:
        - Access Token: []
  /xrp/market-data/estimated-leverage-ratio:
    get:
      tags:
        - XRP Market Data
      summary: Estimated Leverage Ratio
      description: |-
        Estimated Leverage Ratio indicates how much leverage is used by users on average. It is defined as the ratio of open interest divided by the reserve of an exchange. This information measures traders' sentiment whether they take a high risk or low risk.
        __[Go to User Guide‣](https://userguide.cryptoquant.com/cryptoquant-metrics/market/estimated-leverage-ratio)__

        <br>

        > **Note:** This endpoint does not support Point-In-Time (PIT) accuracy due to periodic updates to wallet address clustering. Historical data may change as new exchange wallets are discovered, added, and validated.

        <br>
      operationId: getEstimatedLeverageRatio
      parameters:
        - $ref: '#/components/parameters/exchange'
        - $ref: '#/components/parameters/window_dh10min'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/market-data/estimated-leverage-ratio?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/market-data/estimated-leverage-ratio?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/market-data/estimated-leverage-ratio?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/market-data/estimated-leverage-ratio?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/market-data/estimated-leverage-ratio?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_estimated-leverage-ratio'
      security:
        - Access Token: []
  /xrp/entity-flows/reserve:
    get:
      tags:
        - XRP Entity Flows
      summary: Reserve
      description: This endpoint returns the full historical on-chain balance of xrp ledger entities.
      operationId: XRPgetReserveEF
      parameters:
        - $ref: '#/components/parameters/window_dh10min'
        - $ref: '#/components/parameters/exchange_xrp'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/entity-flows/reserve?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/entity-flows/reserve?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/entity-flows/reserve?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/entity-flows/reserve?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/entity-flows/reserve?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_Reserve-5'
      security:
        - Access Token: []
  /xrp/entity-flows/share:
    get:
      tags:
        - XRP Entity Flows
      summary: Share
      description: This metric is calculated by dividing XRP holdings of the entity by the total supply
      operationId: XRPgetShareEF
      parameters:
        - $ref: '#/components/parameters/window_dh'
        - $ref: '#/components/parameters/exchange_xrp'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/entity-flows/share?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/entity-flows/share?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/entity-flows/share?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/entity-flows/share?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/entity-flows/share?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/share'
      security:
        - Access Token: []
  /xrp/entity-flows/transactions-count:
    get:
      tags:
        - XRP Entity Flows
      summary: Transactions Count
      description: This endpoint returns the number of transactions flowing in/out of XRP Entities.
      operationId: XRPgetTransactionsCountEF
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/exchange_xrp'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/entity-flows/transactions-count?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/entity-flows/transactions-count?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/entity-flows/transactions-count?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/entity-flows/transactions-count?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/entity-flows/transactions-count?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/TransactionsCountXRPEF'
      security:
        - Access Token: []
  /xrp/entity-flows/inflow:
    get:
      tags:
        - XRP Entity Flows
      summary: Inflow
      description: This endpoint returns the inflow of XRP into entity address for as far back as we track.
      operationId: XRPgetInflowEF
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/exchange_xrp'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/entity-flows/inflow?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/entity-flows/inflow?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/entity-flows/inflow?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/entity-flows/inflow?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/entity-flows/inflow?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/XRPInflow'
      security:
        - Access Token: []
  /xrp/entity-flows/outflow:
    get:
      tags:
        - XRP Entity Flows
      summary: Outflow
      description: This endpoint returns the outflow of XRP out of entity address for as far back as we track.
      operationId: XRPgetOutflowEF
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/exchange_xrp'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/entity-flows/outflow?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/entity-flows/outflow?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/entity-flows/outflow?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/entity-flows/outflow?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/entity-flows/outflow?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/XRPOutflow'
      security:
        - Access Token: []
  /xrp/entity-flows/addresses-count:
    get:
      tags:
        - XRP Entity Flows
      summary: Addresses Count
      description: This endpoint returns the number of addresses involved in inflow/outflow transactions.
      operationId: XRPgetAddressesCountEF
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/exchange_xrp'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/entity-flows/addresses-count?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/entity-flows/addresses-count?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/entity-flows/addresses-count?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/entity-flows/addresses-count?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/entity-flows/addresses-count?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/XRPAddressesCountEF'
      security:
        - Access Token: []
  /xrp/entity-flows/whale-movements:
    get:
      tags:
        - XRP Entity Flows
      summary: Whale Movements
      description: This endpoint returns the number of transactions involved in inflow/outflow transactions and the transfer volume
      operationId: XRPgetWhaleMovements
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/entity-flows/whale-movements?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/entity-flows/whale-movements?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/entity-flows/whale-movements?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/entity-flows/whale-movements?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/entity-flows/whale-movements?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/WhaleMovements'
      security:
        - Access Token: []
  /xrp/flow-indicator/exchange-inflow-value-distribution:
    get:
      tags:
        - XRP Flow Indicator
      summary: Exchange Inflow Value Distribution
      description: |
        Exchange Inflow Value Distribution is a metric that shows the amount distribution of xrp tokens flowed into exchange wallets according to its value. 
      operationId: getExchangeInflowValueDistribution
      parameters:
        - $ref: '#/components/parameters/exchange'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/flow-indicator/exchange-inflow-value-distribution?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/flow-indicator/exchange-inflow-value-distribution?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/flow-indicator/exchange-inflow-value-distribution?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/flow-indicator/exchange-inflow-value-distribution?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/flow-indicator/exchange-inflow-value-distribution?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/exchange-inflow-value-distribution'
      security:
        - Access Token: []
  /xrp/flow-indicator/exchange-outflow-value-distribution:
    get:
      tags:
        - XRP Flow Indicator
      summary: Exchange Outflow Value Distribution
      description: |
        Exchange Outflow Value Distribution is a metric that shows the amount distribution of xrp tokens flowed out from exchange wallets according to its value. 
      operationId: getExchangeOutflowValueDistribution
      parameters:
        - $ref: '#/components/parameters/exchange'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/flow-indicator/exchange-outflow-value-distribution?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/flow-indicator/exchange-outflow-value-distribution?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/flow-indicator/exchange-outflow-value-distribution?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/flow-indicator/exchange-outflow-value-distribution?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/flow-indicator/exchange-outflow-value-distribution?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/exchange-outflow-value-distribution'
      security:
        - Access Token: []
  /xrp/flow-indicator/exchange-inflow-count-value-distribution:
    get:
      tags:
        - XRP Flow Indicator
      summary: Exchange Inflow Count Value Distribution
      description: |
        Exchange Inflow Count Value Distribution is a metric that shows the number of transactions of xrp tokens flowed into exchange wallets according to its value segment. 
      operationId: getExchangeInflowCountValueDistribution
      parameters:
        - $ref: '#/components/parameters/exchange'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/flow-indicator/exchange-inflow-count-value-distribution?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/flow-indicator/exchange-inflow-count-value-distribution?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/flow-indicator/exchange-inflow-count-value-distribution?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/flow-indicator/exchange-inflow-count-value-distribution?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/flow-indicator/exchange-inflow-count-value-distribution?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/exchange-inflow-count-value-distribution'
      security:
        - Access Token: []
  /xrp/flow-indicator/exchange-outflow-count-value-distribution:
    get:
      tags:
        - XRP Flow Indicator
      summary: Exchange Outflow Count Value Distribution
      description: |
        Exchange Outflow Count Value Distribution is a metric that shows the number of transactions of xrp tokens flowed into exchange wallets according to its value segment. 
      operationId: getExchangeOutflowCountValueDistribution
      parameters:
        - $ref: '#/components/parameters/exchange'
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/flow-indicator/exchange-outflow-count-value-distribution?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/flow-indicator/exchange-outflow-count-value-distribution?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/flow-indicator/exchange-outflow-count-value-distribution?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/flow-indicator/exchange-outflow-count-value-distribution?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/flow-indicator/exchange-outflow-count-value-distribution?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/exchange-outflow-count-value-distribution'
      security:
        - Access Token: []
  /xrp/flow-indicator/exchange-supply-ratio:
    get:
      tags:
        - XRP Flow Indicator
      summary: Exchange Supply Ratio
      description: |
        The ratio of exchange's xrp reserve compared to total supply of xrp.
      operationId: getExchangeToExchange
      parameters:
        - $ref: '#/components/parameters/exchange'
        - $ref: '#/components/parameters/window_dh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/flow-indicator/exchange-supply-ratio?exchange=binance&window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/flow-indicator/exchange-supply-ratio?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/flow-indicator/exchange-supply-ratio?exchange=binance&window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/flow-indicator/exchange-supply-ratio?exchange=binance&window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/flow-indicator/exchange-supply-ratio?exchange=binance&window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_exchange-supply-ratio-2'
      security:
        - Access Token: []
  /xrp/network-data/addresses-count:
    get:
      tags:
        - XRP Network Data
      summary: Addresses Count
      description: |
        This endpoint returns metrics relating to the number of used XRP addresses. 
        | Metric | Description |
        |--------|-------------|
        | `addresses_count_active` | The total number of unique addresses that were active (either sender or receiver) on the blockchain in a given window. |
        | `addresses_count_sender` | The number of addresses that were active as a sender. |
        | `addresses_count_receiver` | The number of addresses that were active as a receiver. |
      operationId: getAddressesCount
      parameters:
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/network-data/addresses-count?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/network-data/addresses-count?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/network-data/addresses-count?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/network-data/addresses-count?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/network-data/addresses-count?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/addresses-count'
      security:
        - Access Token: []
  /xrp/network-data/velocity:
    get:
      tags:
        - XRP Network Data
      summary: Velocity
      description: Velocity measures how quickly units circulate in the network. It is calculated by dividing on-chain transaction volume by market cap, effectively being the inverse of the NVT Ratio.
      operationId: getVelocity
      parameters:
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/network-data/velocity?window=day&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/network-data/velocity?window=day&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/network-data/velocity?window=day&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/network-data/velocity?window=day&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/network-data/velocity?window=day&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/velocity'
      security:
        - Access Token: []
  /xrp/network-data/block-interval:
    get:
      tags:
        - XRP Network Data
      summary: Block Interval
      description: The average time between blocks generated displayed in seconds.
      operationId: getBlockInterval
      parameters:
        - $ref: '#/components/parameters/window_dh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/network-data/block-interval?window=day&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/network-data/block-interval?window=day&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/network-data/block-interval?window=day&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/network-data/block-interval?window=day&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/network-data/block-interval?window=day&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/block-interval'
      security:
        - Access Token: []
  /xrp/network-data/xrp-burnt:
    get:
      tags:
        - XRP Network Data
      summary: XRP Burnt
      description: The amount of burnt XRP
      operationId: getXRPBurnt
      parameters:
        - $ref: '#/components/parameters/window_dh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/network-data/xrp-burnt?window=day&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/network-data/xrp-burnt?window=day&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/network-data/xrp-burnt?window=day&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/network-data/xrp-burnt?window=day&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/network-data/xrp-burnt?window=day&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/xrp-burnt'
      security:
        - Access Token: []
  /xrp/network-data/ledger-count:
    get:
      tags:
        - XRP Network Data
      summary: Ledger Count
      description: The number of ledgers(XRPL version of 'block') created
      operationId: getLedgerCount
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/network-data/ledger-count?window=day&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/network-data/ledger-count?window=day&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/network-data/ledger-count?window=day&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/network-data/ledger-count?window=day&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/network-data/ledger-count?window=day&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/ledger-count'
      security:
        - Access Token: []
  /xrp/network-data/fees:
    get:
      tags:
        - XRP Network Data
      summary: Fees
      description: This endpoint returns the fees of xrpl chain
      operationId: getFees
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/network-data/fees?window=day&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/network-data/fees?window=day&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/network-data/fees?window=day&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/network-data/fees?window=day&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/network-data/fees?window=day&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/fees'
      security:
        - Access Token: []
  /xrp/network-data/transactions-count:
    get:
      tags:
        - XRP Network Data
      summary: Transactions Count
      description: This endpoint returns metrics the total number of transactions.
      operationId: getTransactionsCount
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/network-data/transactions-count?window=day&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/network-data/transactions-count?window=day&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/network-data/transactions-count?window=day&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/network-data/transactions-count?window=day&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/network-data/transactions-count?window=day&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/transactions-count'
      security:
        - Access Token: []
  /xrp/network-data/tokens-transferred:
    get:
      tags:
        - XRP Network Data
      summary: Tokens Transferred
      description: This endpoint returns metrics the number of tokens transferred.
      operationId: getTokensTransferred
      parameters:
        - $ref: '#/components/parameters/window_dbh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/network-data/tokens-transferred?window=day&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/network-data/tokens-transferred?window=day&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/network-data/tokens-transferred?window=day&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/network-data/tokens-transferred?window=day&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/network-data/tokens-transferred?window=day&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/tokens-transferred'
      security:
        - Access Token: []
  /xrp/network-data/supply:
    get:
      tags:
        - XRP Network Data
      summary: Supply
      description: This endpoint returns total supply of XRP.
      operationId: getSupply
      parameters:
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/network-data/supply?window=day&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/network-data/supply?window=day&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/network-data/supply?window=day&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/network-data/supply?window=day&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/network-data/supply?window=day&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/supply'
      security:
        - Access Token: []
  /xrp/network-indicator/nvt:
    get:
      tags:
        - XRP Network Indicator
      summary: NVT
      description: |
        NVT(Network Value to Transaction) ratio is the network value(`supply_total` * `price_usd`) divided by `tokens_transferred_total`. `nvt` is a metric often used to determine whether the price is overvalued or not. The theory behind this indicator is that the value of the token depends on how actively transactions take place on the network.  
      operationId: getNVT
      parameters:
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/network-indicator/nvt?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/network-indicator/nvt?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/network-indicator/nvt?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/network-indicator/nvt?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/network-indicator/nvt?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_nvt'
      security:
        - Access Token: []
  /xrp/entity-status/entity-list:
    get:
      tags:
        - XRP Entity Status
      summary: Entity List
      description: |
        This endpoint returns entity list to serve data. 

        |  Entity Type  |  Description         |
        |------------------------|----------------------|
        |  exchange                     |  centralized exchange       |
        |  builder                     |  entities contributing to xrp ledger |
        |  team                     |  xrp project related team or related individuals|
        |  foundation                     |  xrp foundation |
        |  custody                     |  custody service |
        |  otc                     |  otc service |
        |  bank                     |  bank |
        |  bridge                     |  bridge |
      operationId: getXRPEntityList
      parameters:
        - $ref: '#/components/parameters/typeXRP'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/status/entity-list"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/status/entity-list")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/status/entity-list")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/status/entity-list")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/status/entity-list"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_EntityList-2'
      security:
        - Access Token: []
  /xrp/dex-data/volume:
    get:
      tags:
        - XRP Dex Data
      summary: Volume
      description: |
        XRP volume traded on XRPL DEX
      operationId: getDexVolume
      parameters:
        - $ref: '#/components/parameters/window_dh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/dex-data/volume?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/dex-data/volume?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/dex-data/volume?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/dex-data/volume?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/dex-data/volume?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/volume'
      security:
        - Access Token: []
  /xrp/dex-data/transactions-count:
    get:
      tags:
        - XRP Dex Data
      summary: Transaction count
      description: |
        XRP transaction count traded on XRPL DEX
      operationId: getDexTransactionCount
      parameters:
        - $ref: '#/components/parameters/window_dh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/dex-data/transactions-count?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/dex-data/transactions-count?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/dex-data/transactions-count?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/dex-data/transactions-count?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/dex-data/transactions-count?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_transactions-count'
      security:
        - Access Token: []
  /xrp/dex-data/liquidity:
    get:
      tags:
        - XRP Dex Data
      summary: Liquidity
      description: |
        USD Liquidity in DEX
      operationId: getDexLiquidity
      parameters:
        - $ref: '#/components/parameters/window_dh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/dex-data/liquidity?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/dex-data/liquidity?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/dex-data/liquidity?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/dex-data/liquidity?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/dex-data/liquidity?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/liquidity'
      security:
        - Access Token: []
  /xrp/dex-data/dex-price:
    get:
      tags:
        - XRP Dex Data
      summary: XRP DEX Price
      description: |
        Price of XRP traded on DEX
      operationId: getDexPrice
      parameters:
        - $ref: '#/components/parameters/window_dh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/dex-data/dex-price?window=day&from=20191001&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/dex-data/dex-price?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/dex-data/dex-price?window=day&from=20191001&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/dex-data/dex-price?window=day&from=20191001&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/dex-data/dex-price?window=day&from=20191001&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/dex-price'
      security:
        - Access Token: []
  /xrp/amm-data/price:
    get:
      tags:
        - XRP AMM Data
      summary: Price
      description: |
        This endpoint returns XRP exchange rate on AMM. Currently, we only cover non-XRP/XRP pairs.
      operationId: getXrplAmmPrice
      parameters:
        - $ref: '#/components/parameters/amm_xrp'
        - $ref: '#/components/parameters/window_dh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/amm-data/price?window=day&from=20240601&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/amm-data/price?window=day&from=20240601&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/amm-data/price?window=day&from=20240601&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/amm-data/price?window=day&from=20240601&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/amm-data/price?window=day&from=20240601&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/price'
      security:
        - Access Token: []
  /xrp/amm-data/liquidity:
    get:
      tags:
        - XRP AMM Data
      summary: Liquidity
      description: |
        This endpoint returns the total amount of liquidity on AMM. Currently, we only cover non-XRP/XRP pairs.
      operationId: getXrplAmmLiquidity
      parameters:
        - $ref: '#/components/parameters/amm_xrp'
        - $ref: '#/components/parameters/window_dh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/amm-data/liquidity?window=day&from=20240601&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/amm-data/liquidity?window=day&from=20240601&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/amm-data/liquidity?window=day&from=20240601&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/amm-data/liquidity?window=day&from=20240601&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/amm-data/liquidity?window=day&from=20240601&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/responses_liquidity'
      security:
        - Access Token: []
  /xrp/amm-data/fee:
    get:
      tags:
        - XRP AMM Data
      summary: Fee
      description: |
        This endpoint returns the trading fee on AMM. Currently, we only cover non-XRP/XRP pairs.
      operationId: getXrplAmmFee
      parameters:
        - $ref: '#/components/parameters/amm_xrp'
        - $ref: '#/components/parameters/window_dh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/amm-data/fee?window=day&from=20240601&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/amm-data/fee?window=day&from=20240601&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/amm-data/fee?window=day&from=20240601&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/amm-data/fee?window=day&from=20240601&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/amm-data/fee?window=day&from=20240601&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/fee'
      security:
        - Access Token: []
  /xrp/amm-data/swap-stats:
    get:
      tags:
        - XRP AMM Data
      summary: Swap Statistics
      description: |
        This endpoint returns the swap statistics on AMM. Currently, we only cover non-XRP/XRP pairs.
      operationId: getXrplAmmSwapStatistics
      parameters:
        - $ref: '#/components/parameters/amm_xrp'
        - $ref: '#/components/parameters/window_dh'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: curl "https://api.cryptoquant.com/v1/xrp/amm-data/swap-stats?window=day&from=20240601&limit=2"
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/xrp/amm-data/swap-stats?window=day&from=20240601&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/xrp/amm-data/swap-stats?window=day&from=20240601&limit=2")
              .then(response => console.log(response))
        - lang: Ruby
          source: |-
            require 'net/http'
            uri = URI("https://api.cryptoquant.com/v1/xrp/amm-data/swap-stats?window=day&from=20240601&limit=2")
            puts Net::HTTP.get(uri)
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            url = "https://api.cryptoquant.com/v1/xrp/amm-data/swap-stats?window=day&from=20240601&limit=2"
            print(requests.get(url, headers=headers).json())
      responses:
        '200':
          $ref: '#/components/responses/swap-stats'
      security:
        - Access Token: []
  /trx/market-data/price-ohlcv:
    get:
      tags:
        - TRX Market Data
      summary: Price OHLCV
      description: |-
        This endpoint returns metrics related to TRX's Price, Price OHLCV data consists of five metrics.<br>
        | Metric | Description |
        |--------|-------------|
        | `open` | The opening price at the beginning of the window. |
        | `close` | The USD closing price at the end of the window. |
        | `high` | The highest USD price in a given window. |
        | `low` | The lowest USD price in a given window. |
        | `volume` | The total volume traded in a given window. |

        > (*) Default exchange <br />
        ### Supported Exchanges By Market
        | Name | Market  |    Supported Exchanges     |
        |--------|---------|----------------------------|
        | Spot   | `spot`  | All Exchange* |

        ### Supported Pairs By Exchange
        | Name           | Exchange       | Symbol     |
        |----------------|----------------|------------|
        |  All Exchanges | `all_exchange` | `trx_usd`* |

        ### Supported Windows By Market
        |   Market  |   Supported Windows   |
        |-----------|-----------------------|
        | Spot      | `day*`                |
      operationId: getPriceOHLCV
      parameters:
        - $ref: '#/components/parameters/trx_market'
        - $ref: '#/components/parameters/trx_exchange_ohlcv'
        - $ref: '#/components/parameters/trx_symbol_ohlcv'
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: |-
            curl -X GET "https://api.cryptoquant.com/v1/trx/market-data/price-ohlcv?window=day&from=20190416&limit=2" \
            -H "Authorization: Bearer ${access_token}"
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            request = requests.get("https://api.cryptoquant.com/v1/trx/market-data/price-ohlcv?window=day&from=20190416&limit=2", headers=headers)
            print(request.json())
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/trx/market-data/price-ohlcv?window=day&from=20190416&limit=2", { headers: { "Authorization": "Bearer {access_token}"} })
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/trx/market-data/price-ohlcv?window=day&from=20190416&limit=2", { headers: { Authorization: 'Bearer {access_token}' } })
              .then(response => console.log(response))
      responses:
        '200':
          $ref: '#/components/responses/responses_PriceOHLCV-2'
      security:
        - Access Token: []
  /trx/market-data/capitalization:
    get:
      tags:
        - TRX Market Data
      summary: Capitalization
      description: |-
        This endpoint returns metrics related to market capitalization.<br />
        We provide `market_cap`, which is total market capitalization of TRX, calculated by multiplying the total supply with its USD price.<br />
        __[Go to Data Guide‣](https://userguide.cryptoquant.com/cryptoquant-metrics/market/capitalization-models)__
      operationId: getCapitalization
      parameters:
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: |-
            curl -X GET "https://api.cryptoquant.com/v1/trx/market-data/capitalization?window=day&from=20191001&limit=2" \
            -H "Authorization: Bearer {access_token}"
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            request = requests.get("https://api.cryptoquant.com/v1/trx/market-data/capitalization?window=day&from=20190416&limit=2", headers=headers)
            print(request.json())
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/trx/market-data/capitalization?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/trx/market-data/capitalization?window=day&from=20191001&limit=2", { headers: { Authorization: 'Bearer {access_token}' } })
              .then(response => console.log(response))
      responses:
        '200':
          $ref: '#/components/responses/responses_Capitalization-3'
      security:
        - Access Token: []
  /trx/network-data/supply:
    get:
      tags:
        - TRX Network Data
      summary: Supply
      description: |-
        This endpoint returns the metrics related to the supply of TRX.
        | Metric | Description |
        |--------|-------------|
        | `supply_total` | The total amount of tokens in existence. |
        | `supply_circulating` | The amount of tokens that are circulating in the market. |
        | `supply_minted` | The amount of tokens minted in the given window. |
        | `supply_burned` | The amount of tokens burned in the given window. |
        | `supply_staked` | The amount of tokens staked in Tron Super Representative members. |
      operationId: getSupply
      parameters:
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: |-
            curl -X GET "https://api.cryptoquant.com/v1/trx/network-data/supply?window=day&from=20190416&limit=2" \
            -H "Authorization: Bearer ${access_token}"
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            request = requests.get("https://api.cryptoquant.com/v1/trx/network-data/supply?window=day&from=20190416&limit=2", headers=headers)
            print(request.json())
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/trx/network-data/supply?window=day&from=20190416&limit=2", { headers: { "Authorization": "Bearer {access_token}"} })
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/trx/network-data/supply?window=day&from=20190416&limit=2", { headers: { Authorization: 'Bearer {access_token}' } })
              .then(response => console.log(response))
      responses:
        '200':
          $ref: '#/components/responses/responses_supply'
      security:
        - Access Token: []
  /trx/network-data/transactions-count:
    get:
      tags:
        - TRX Network Data
      summary: Transactions Count
      description: |-
        This endpoint returns metrics related to the number of transactions.
        | Metric | Description |
        |--------|-------------|
        | `transactions_count_total` | The total number of transactions. |
        | `transactions_count_mean` | The mean number of transactions. |
      operationId: getTransactionsCount
      parameters:
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: |-
            curl -X GET "https://api.cryptoquant.com/v1/trx/network-data/transactions-count?window=day&from=20190416&limit=2" \
            -H "Authorization: Bearer ${access_token}"
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            request = requests.get("https://api.cryptoquant.com/v1/trx/network-data/transactions-count?window=day&from=20190416&limit=2", headers=headers)
            print(request.json())
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/trx/network-data/transactions-count?window=day&from=20190416&limit=2", { headers: { "Authorization": "Bearer {access_token}"} })
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/trx/network-data/transactions-count?window=day&from=20190416&limit=2", { headers: { Authorization: 'Bearer {access_token}' } })
              .then(response => console.log(response))
      responses:
        '200':
          $ref: '#/components/responses/responses_transactions-count-2'
      security:
        - Access Token: []
  /trx/network-data/addresses-count:
    get:
      tags:
        - TRX Network Data
      summary: Addresses Count
      description: |-
        This endpoint returns metrics relating to the number of used TRX addresses. 
        | Metric | Description |
        |--------|-------------|
        | `addresses_count_active` | The total number of unique addresses that were active (either sender or receiver) on the blockchain in a given window. |
        | `addresses_count_sender` | The number of addresses that were active as a sender. |
        | `addresses_count_receiver` | The number of addresses that were active as a receiver. |
      operationId: getAddressesCount
      parameters:
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: |-
            curl -X GET "https://api.cryptoquant.com/v1/trx/network-data/addresses-count?window=day&from=20190416&limit=2" \
            -H "Authorization: Bearer ${access_token}"
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            request = requests.get("https://api.cryptoquant.com/v1/trx/network-data/addresses-count?window=day&from=20190416&limit=2", headers=headers)
            print(request.json())
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/trx/network-data/addresses-count?window=day&from=20190416&limit=2", { headers: { "Authorization": "Bearer {access_token}"} })
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/trx/network-data/addresses-count?window=day&from=20190416&limit=2", { headers: { Authorization: 'Bearer {access_token}' } })
              .then(response => console.log(response))
      responses:
        '200':
          $ref: '#/components/responses/responses_addresses-count'
      security:
        - Access Token: []
  /trx/network-data/tokens-transferred:
    get:
      tags:
        - TRX Network Data
      summary: Tokens Transferred
      description: |-
        This endpoint returns metrics related to the number of tokens transferred.
        | Metric | Description |
        |--------|-------------|
        | `tokens_transferred_total` | The total number of transferred tokens in that window. |
        | `tokens_transferred_mean` | The mean of transferred tokens per transaction in that window. |
        | `tokens_transferred_median` | The median of tokens transferred per transaction in that window. |
      operationId: getTokensTransferred
      parameters:
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: |-
            curl -X GET "https://api.cryptoquant.com/v1/trx/network-data/tokens-transferred?window=day&from=20190416&limit=2" \
            -H "Authorization: Bearer ${access_token}"
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            request = requests.get("https://api.cryptoquant.com/v1/trx/network-data/tokens-transferred?window=day&from=20190416&limit=2", headers=headers)
            print(request.json())
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/trx/network-data/tokens-transferred?window=day&from=20190416&limit=2", { headers: { "Authorization": "Bearer {access_token}"} })
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/trx/network-data/tokens-transferred?window=day&from=20190416&limit=2", { headers: { Authorization: 'Bearer {access_token}' } })
              .then(response => console.log(response))
      responses:
        '200':
          $ref: '#/components/responses/responses_tokens-transferred'
      security:
        - Access Token: []
  /trx/network-data/block-count:
    get:
      tags:
        - TRX Network Data
      summary: Block Count
      description: The number of blocks generated in a given window.
      operationId: getBlockCount
      parameters:
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: |-
            curl -X GET "https://api.cryptoquant.com/v1/trx/network-data/block-count?window=day&from=20190416&limit=2" \
            -H "Authorization: Bearer ${access_token}"
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            request = requests.get("https://api.cryptoquant.com/v1/trx/network-data/block-count?window=day&from=20190416&limit=2", headers=headers)
            print(request.json())
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/trx/network-data/block-count?window=day&from=20190416&limit=2", { headers: { "Authorization": "Bearer {access_token}"} })
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/trx/network-data/block-count?window=day&from=20190416&limit=2", { headers: { Authorization: 'Bearer {access_token}' } })
              .then(response => console.log(response))
      responses:
        '200':
          $ref: '#/components/responses/block-count'
      security:
        - Access Token: []
  /trx/network-data/fees:
    get:
      tags:
        - TRX Network Data
      summary: Fees
      description: |-
        This endpoint returns the statistics related to fees paid from executing transactions
        | Metric | Description |
        |--------|-------------|
        | `fees_total` | The sum of all fees paid from executing transactions. |
        | `fees_total_usd` | The sum of all fees paid from executing transactions, calculated in USD. |
        | `fees_block_mean` | The average fee per block. |
        | `fees_block_mean_usd` | The average fee per block, calculated in USD. |
      operationId: getFees
      parameters:
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: |-
            curl -X GET "https://api.cryptoquant.com/v1/trx/network-data/fees?window=day&from=20190416&limit=2" \
            -H "Authorization: Bearer ${access_token}"
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            request = requests.get("https://api.cryptoquant.com/v1/trx/network-data/fees?window=day&from=20190416&limit=2", headers=headers)
            print(request.json())
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/trx/network-data/fees?window=day&from=20190416&limit=2", { headers: { "Authorization": "Bearer {access_token}"} })
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/trx/network-data/fees?window=day&from=20190416&limit=2", { headers: { Authorization: 'Bearer {access_token}' } })
              .then(response => console.log(response))
      responses:
        '200':
          $ref: '#/components/responses/responses_fees'
      security:
        - Access Token: []
  /trx/network-data/tps:
    get:
      tags:
        - TRX Network Data
      summary: TPS
      description: |-
        This endpoint returns the statistics related to the number of transactions per second.
        | Metric | Description |
        |--------|-------------|
        | `tps` | The number of transactions per second. |
      operationId: getTps
      parameters:
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: |-
            curl -X GET "https://api.cryptoquant.com/v1/trx/network-data/tps?window=day&from=20190416&limit=2" \
            -H "Authorization: Bearer ${access_token}"
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            request = requests.get("https://api.cryptoquant.com/v1/trx/network-data/tps?window=day&from=20190416&limit=2", headers=headers)
            print(request.json())
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/trx/network-data/tps?window=day&from=20190416&limit=2", { headers: { "Authorization": "Bearer {access_token}"} })
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/trx/network-data/tps?window=day&from=20190416&limit=2", { headers: { Authorization: 'Bearer {access_token}' } })
              .then(response => console.log(response))
      responses:
        '200':
          $ref: '#/components/responses/tps'
      security:
        - Access Token: []
  /trx/network-data/total-value-staked:
    get:
      tags:
        - TRX Network Data
      summary: Total Value Staked
      description: |-
        This endpoint returns the total amount of TRX staked by staking model. (Stake 1.0, Stake 2.0)
        This metric reflects how much TRX has been locked to secure the network and obtain resources or staking rewards.
        | Metric | Description |
        |--------|-------------|
        | `v1_staking_amount` | The amount of TRX staked under Stake 1.0. (The legacy staking model on TRON) |
        | `v2_staking_amount` | The amount of TRX staked under Stake 2.0. (The newer staking model on TRON) |
      operationId: getTotalValueStaked
      parameters:
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: |-
            curl -X GET "https://api.cryptoquant.com/v1/trx/network-data/total-value-staked?window=day&from=20190416&limit=2" \
            -H "Authorization: Bearer ${access_token}"
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            request = requests.get("https://api.cryptoquant.com/v1/trx/network-data/total-value-staked?window=day&from=20190416&limit=2", headers=headers)
            print(request.json())
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/trx/network-data/total-value-staked?window=day&from=20190416&limit=2", { headers: { "Authorization": "Bearer {access_token}"} })
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/trx/network-data/total-value-staked?window=day&from=20190416&limit=2", { headers: { Authorization: 'Bearer {access_token}' } })
              .then(response => console.log(response))
      responses:
        '200':
          $ref: '#/components/responses/total-value-staked'
      security:
        - Access Token: []
  /trx/network-data/staking-rate:
    get:
      tags:
        - TRX Network Data
      summary: Staking Rate
      description: |-
        This endpoint returns the staking rate of TRX.
        | Metric | Description |
        |--------|-------------|
        | `staking_rate` | The staking rate of TRX. |
      operationId: getStakingRate
      parameters:
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: |-
            curl -X GET "https://api.cryptoquant.com/v1/trx/network-data/staking-rate?window=day&from=20190416&limit=2" \
            -H "Authorization: Bearer ${access_token}"
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            request = requests.get("https://api.cryptoquant.com/v1/trx/network-data/staking-rate?window=day&from=20190416&limit=2", headers=headers)
            print(request.json())
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/trx/network-data/staking-rate?window=day&from=20190416&limit=2", { headers: { "Authorization": "Bearer {access_token}"} })
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/trx/network-data/staking-rate?window=day&from=20190416&limit=2", { headers: { Authorization: 'Bearer {access_token}' } })
              .then(response => console.log(response))
      responses:
        '200':
          $ref: '#/components/responses/staking-rate'
      security:
        - Access Token: []
  /trx/network-data/energy-stake:
    get:
      tags:
        - TRX Network Data
      summary: Energy Stake
      description: |-
        This endpoint returns the statistics related to the amount of TRX staked for Energy.
        | Metric | Description |
        |--------|-------------|
        | `total_energy_weight` | The total amount of TRX staked for Energy. |
        | `energy_rate` | The percentage of TRX staked for Energy. |
      operationId: getEnergyStake
      parameters:
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: |-
            curl -X GET "https://api.cryptoquant.com/v1/trx/network-data/energy-stake?window=day&from=20190416&limit=2" \
            -H "Authorization: Bearer ${access_token}"
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            request = requests.get("https://api.cryptoquant.com/v1/trx/network-data/energy-stake?window=day&from=20190416&limit=2", headers=headers)
            print(request.json())
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/trx/network-data/energy-stake?window=day&from=20190416&limit=2", { headers: { "Authorization": "Bearer {access_token}"} })
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/trx/network-data/energy-stake?window=day&from=20190416&limit=2", { headers: { Authorization: 'Bearer {access_token}' } })
              .then(response => console.log(response))
      responses:
        '200':
          $ref: '#/components/responses/energy-stake'
      security:
        - Access Token: []
  /trx/defi/sunpump-tokens:
    get:
      tags:
        - TRX DEFI
      summary: Sunpump Tokens
      description: |-
        This endpoint returns metrics related to SunPump token creation on TRON.
        | Metric | Description |
        |--------|-------------|
        | `token_create_event_count` | The total number of tokens that have been created on the SunPump platform. |
        | `cumulative_count_create_events` | The cumulative number of token creation events on SunPump over time. |
      operationId: getSunpumpTokens
      parameters:
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: |-
            curl -X GET "https://api.cryptoquant.com/v1/trx/defi/sunpump-tokens?window=day&from=20190416&limit=2" \
            -H "Authorization: Bearer ${access_token}"
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            request = requests.get("https://api.cryptoquant.com/v1/trx/defi/sunpump-tokens?window=day&from=20190416&limit=2", headers=headers)
            print(request.json())
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/trx/defi/sunpump-tokens?window=day&from=20190416&limit=2", { headers: { "Authorization": "Bearer {access_token}"} })
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/trx/defi/sunpump-tokens?window=day&from=20190416&limit=2", { headers: { Authorization: 'Bearer {access_token}' } })
              .then(response => console.log(response))
      responses:
        '200':
          $ref: '#/components/responses/SunpumpTokens'
      security:
        - Access Token: []
  /trx/defi/sunswap-activity:
    get:
      tags:
        - TRX DEFI
      summary: Sunswap Activity
      description: |-
        This endpoint returns metrics related to Sunswap activity on TRON.
        | Metric | Description |
        |--------|-------------|
        | `total_transaction_count` | The total number of transactions on Sunswap. |
        | `wtrx_transaction_count` | The number of transactions involving WTRX in the given window. |
        | `other_transaction_count` | The number of transactions involving other tokens in the given window. |
        | `wtrx_dominance` | The dominance of WTRX in the total transaction volume in the given window. |
        | `wtrx_amount` | The total amount of WTRX traded in the given window. |
        | `wtrx_amount_usd` | The total amount of WTRX traded in USD in the given window. |
      operationId: getSunswapActivity
      parameters:
        - $ref: '#/components/parameters/window_d'
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/format'
      x-codeSamples:
        - lang: Shell
          source: |-
            curl -X GET "https://api.cryptoquant.com/v1/trx/defi/sunswap-activity?window=day&from=20191001&limit=2" \
            -H "Authorization: Bearer {access_token}"
        - lang: Python
          source: |-
            import requests
            headers = {'Authorization': 'Bearer ' + access_token}
            request = requests.get("https://api.cryptoquant.com/v1/trx/defi/sunswap-activity?window=day&from=20190416&limit=2", headers=headers)
            print(request.json())
        - lang: JavaScript
          source: |-
            fetch("https://api.cryptoquant.com/v1/trx/defi/sunswap-activity?window=day&from=20191001&limit=2")
              .then(response => response.json())
              .then(data => console.log(data))
        - lang: NodeJS
          source: |-
            require('axios')
              .get("https://api.cryptoquant.com/v1/trx/defi/sunswap-activity?window=day&from=20191001&limit=2", { headers: { Authorization: 'Bearer {access_token}' } })
              .then(response => console.log(response))
      responses:
        '200':
          $ref: '#/components/responses/SunswapActivity'
      security:
        - Access Token: []
components:
  parameters:
    format:
      description: A format type about return message type. Supported formats are json, csv.
      explode: false
      in: query
      name: format
      required: false
      schema:
        type: string
        default: json
      style: form
      example: json
    type_ebm:
      description: A type from the entity in exchange, bank, miner.
      explode: false
      in: query
      name: type
      required: true
      schema:
        type: string
      style: form
      example: exchange
    exchange:
      description: An exchange from the table that we support. [See here](#tag/BTC-Exchange-Flows).
      explode: false
      in: query
      name: exchange
      required: true
      schema:
        type: string
      style: form
      example: binance
    window_dbh:
      description: Currently we support `day`, `hour`, and `block`.
      explode: false
      in: query
      name: window
      schema:
        type: string
        default: day
      style: form
      example: day
    from:
      description: This defines the starting time for which data will be gathered, formatted as YYYYMMDDTHHMMSS (indicating YYYY-MM-DDTHH:MM:SS, UTC time). If window=day is used, it can also be formatted as YYYYMMDD (date). If window=block is used, you can also specify the exact block height (e.g. 510000). If this field is not specified, response will include data from the earliest time.
      explode: false
      in: query
      name: from
      required: false
      schema:
        YYYYMMDDTHHMMSS:
          type: string
      style: form
      example: 20191001T100000
    to:
      description: This defines the ending time for which data will be gathered, formatted as YYYYMMDDTHHMMSS (indicating YYYY-MM-DDTHH:MM:SS, UTC time). If window=day is used, it can also be formatted as YYYYMMDD (date). If window=block is used, you can also specify the exact block height (e.g. 510000). If this field is not specified, response will include data from the latest time.
      explode: false
      in: query
      name: to
      required: false
      schema:
        YYYYMMDDTHHMMSS:
          type: string
      style: form
      example: 20191001T103025
    limit:
      description: The maximum number of entries to return before the latest data point (or before `to` if specified). This field ranges from 1 to 100,000.
      explode: false
      in: query
      name: limit
      required: false
      schema:
        type: integer
        default: 100
        minimum: 1
        maximum: 100000
      style: form
      example: 100
    miner:
      description: A mining pool from the table that we support. [See here](#tag/BTC-Miner-Flows).
      explode: false
      in: query
      name: miner
      required: true
      schema:
        type: string
      style: form
      example: f2pool
    from_entity_ex:
      description: An exchange from the table that we support. [See here](#tag/BTC-Exchange-Flows).
      explode: false
      in: query
      name: from_exchange
      required: true
      schema:
        type: string
      style: form
      example: binance
    to_entity_ex:
      description: An exchange from the table that we support. [See here](#tag/BTC-Exchange-Flows). This should not be same as `from_entity`.
      explode: false
      in: query
      name: to_exchange
      required: true
      schema:
        type: string
      style: form
      example: bithumb
    from_entity_mp:
      description: A mining pool from the table that we support. [See here](#tag/BTC-Miner-Flows).
      explode: false
      in: query
      name: from_miner
      required: true
      schema:
        type: string
      style: form
      example: f2pool
    to_entity_mp:
      description: A mining pool from the table that we support. [See here](#tag/BTC-Miner-Flows).
      explode: false
      in: query
      name: to_miner
      required: true
      schema:
        type: string
      style: form
      example: f2pool
    window_dh:
      description: Currently, we support `day` and `hour`.
      explode: false
      in: query
      name: window
      schema:
        type: string
        default: day
      style: form
      example: day
    market_btc:
      description: A market type from the table that we support. [See here](#operation/getBTCPriceOHLCV)
      explode: false
      in: query
      name: market
      required: false
      schema:
        type: string
        default: spot
      style: form
      example: spot
    btc_exchange_ohlcv:
      description: A exchange from the table that we support. [See here](#operation/getBTCPriceOHLCV).
      explode: false
      in: query
      name: exchange
      required: false
      schema:
        type: string
        default: all_exchange
      style: form
      example: binance
    symbol_btc_ohlcv:
      description: A BTC pair symbol from the table that we support. [See here](#operation/getBTCPriceOHLCV)
      explode: false
      in: query
      name: symbol
      required: false
      schema:
        type: string
      style: form
      example: btc_usd
    window_mdh_btc_spotperp:
      description: A window from the table that we support. [See here](#operation/getBTCPriceOHLCV)
      explode: false
      in: query
      name: window
      schema:
        type: string
        default: day
      style: form
      example: day
    btc_exchange_oi:
      description: A derivative exchange from the table that we support. [See here](#operation/BTCgetOpenInterest).
      explode: false
      in: query
      name: exchange
      required: true
      schema:
        type: string
      style: form
      example: bitmex
    window_mhd:
      description: Currently we support `day`, `hour`, and `min`.
      explode: false
      in: query
      name: window
      schema:
        type: string
        default: day
      style: form
      example: day
    exchange_fr:
      description: A derivative exchange from the table that we support. [See here](#operation/getFundingRates).
      explode: false
      in: query
      name: exchange
      required: true
      schema:
        type: string
      style: form
      example: bitmex
    exchange_lss:
      description: A derivative exchange from the table that we support. [See here](#operation/getLongShortStats).
      explode: false
      in: query
      name: exchange
      required: true
      schema:
        type: string
      style: form
      example: bitmex
    exchange_liq:
      description: A derivative exchange from the table that we support. [See here](#operation/getLiquidations).
      explode: false
      in: query
      name: exchange
      required: true
      schema:
        type: string
      style: form
      example: deribit
    symbol_liq_btc:
      description: A BTC pair symbol from the table that we support. [See here](#operation/getLiquidations)
      explode: false
      in: query
      name: symbol
      required: false
      schema:
        type: string
        default: all_symbol
      style: form
      example: btc_usd
    window:
      description: Currently we support `day` and `block`.
      explode: false
      in: query
      name: window
      schema:
        type: string
        default: day
      style: form
      example: day
    symbol_btc:
      description: A stock symbol (ticker) from the table that we support. [See here](#tag/BTC-Fund-Data)
      explode: false
      in: query
      name: symbol
      required: true
      schema:
        type: string
      style: form
      example: gbtc
    window_d:
      description: Currently, we only support `day`.
      explode: false
      in: query
      name: window
      schema:
        type: string
        default: day
      style: form
      example: day
    exchange_sr:
      description: An exchange that supports both BTC and Stablecoins. See here [for BTC](#tag/BTC-Exchange-Flows) and [for Stablecoins](#tag/Stablecoin-Exchange-Flows).
      explode: false
      in: query
      name: exchange
      required: true
      schema:
        type: string
      style: form
      example: binance
    limit_max_1000:
      description: The maximum number of entries to return before the latest data point (or before `to` if specified). This field ranges from 1 to 1000.
      explode: false
      in: query
      name: limit
      required: false
      schema:
        type: integer
        default: 100
        minimum: 1
        maximum: 1000
      style: form
      example: 100
    metric_type:
      description: A metric type derived from statistics. Supported formats are json, csv.
      explode: false
      in: query
      name: metric_type
      required: false
      schema:
        type: string
        default: tx_count
      style: form
      example: tx_count
    miner_company:
      description: A mining company from the table that we support. [See here](#tag/BTC-Miner-Data).
      explode: false
      in: query
      name: miner
      required: true
      schema:
        type: string
      style: form
      example: mara
    token_stablecoin:
      description: A Stablcoin token from the table that we support. [See here](#tag/Supported-Stablecoin-List)
      explode: false
      in: query
      name: token
      required: true
      schema:
        type: string
      style: form
      example: usdt_eth
    type_e:
      description: A type from the entity in exchange.
      explode: false
      in: query
      name: type
      required: true
      schema:
        type: string
      style: form
      example: exchange
    exchange_stablecoin:
      description: An exchange from the table that we support. Please check the supported exchanges for each token from [here](#tag/Stablecoin-Exchange-Flows).
      explode: false
      in: query
      name: exchange
      required: true
      schema:
        type: string
      style: form
      example: binance
    window_dbh10min:
      description: Currently we support `day`, `hour`, `10min`, and `block`.
      explode: false
      in: query
      name: window
      schema:
        type: string
        default: day
      style: form
      example: day
    window_dh10min:
      description: Currently, we support `day`, `hour`, and `10min`.
      explode: false
      in: query
      name: window
      schema:
        type: string
        default: day
      style: form
      example: day
    exchange_eth:
      description: An exchange from the table that we support. [See here](#tag/ETH-Exchange-Flows).
      explode: false
      in: query
      name: exchange
      required: true
      schema:
        type: string
      style: form
      example: binance
    market_eth:
      description: A market type from the table that we support. [See here](#operation/getETHPriceOHLCV)
      explode: false
      in: query
      name: market
      required: false
      schema:
        type: string
        default: spot
      style: form
      example: spot
    eth_exchange_ohlcv:
      description: A exchange from the table that we support. [See here](#operation/getETHPriceOHLCV).
      explode: false
      in: query
      name: exchange
      required: false
      schema:
        type: string
        default: all_exchange
      style: form
      example: binance
    symbol_eth_ohlcv:
      description: A ETH pair symbol from the table that we support. [See here](#operation/getETHPriceOHLCV)
      explode: false
      in: query
      name: symbol
      required: false
      schema:
        type: string
      style: form
      example: eth_usd
    window_mdh_eth_spotperp:
      description: A window from the table that we support. [See here](#operation/getETHPriceOHLCV)
      explode: false
      in: query
      name: window
      schema:
        type: string
        default: day
      style: form
      example: day
    eth_exchange_oi:
      description: A derivative exchange from the table that we support. [See here](#operation/ETHgetOpenInterest).
      explode: false
      in: query
      name: exchange
      required: true
      schema:
        type: string
      style: form
      example: binance
    exchange_liq_eth:
      description: A derivative exchange from the table that we support. [See here](#operation/ETHgetLiquidations).
      explode: false
      in: query
      name: exchange
      required: true
      schema:
        type: string
      style: form
      example: deribit
    symbol_liq_eth:
      description: A ETH pair symbol from the table that we support. [See here](#operation/ETHgetLiquidations)
      explode: false
      in: query
      name: symbol
      required: false
      schema:
        type: string
        default: all_symbol
      style: form
      example: eth_usd
    symbol_eth:
      description: A stock symbol (ticker) from the table that we support. [See here](#tag/ETH-Fund-Data)
      explode: false
      in: query
      name: symbol
      required: true
      schema:
        type: string
      style: form
      example: ethe
    token_erc20:
      description: A ERC20 token from the table that we support. [See here](#tag/Supported-ERC20-List)
      explode: false
      in: query
      name: token
      required: true
      schema:
        type: string
      style: form
      example: link
    exchange_erc20:
      description: An exchange from the table that we support. Please check the supported exchanges for each token from [here](#tag/ERC20-Exchange-Flows).
      explode: false
      in: query
      name: exchange
      required: true
      schema:
        type: string
      style: form
      example: binance
    token_alt:
      description: A Alt token from the table that we support. [See here](#tag/Supported-Alt-List)
      explode: false
      in: query
      name: token
      required: true
      schema:
        type: string
      style: form
      example: doge
    market_xrp:
      description: A market type from the table that we support. [See here](#operation/getPriceOHLCVXRP)
      explode: false
      in: query
      name: market
      required: false
      schema:
        type: string
        default: spot
      style: form
      example: spot
    xrp_exchange_ohlcv:
      description: A exchange from the table that we support. [See here](#operation/getPriceOHLCVXRP).
      explode: false
      in: query
      name: exchange
      required: false
      schema:
        type: string
        default: all_exchange
      style: form
      example: binance
    symbol_xrp_ohlcv:
      description: A XRP pair symbol from the table that we support. [See here](#operation/getPriceOHLCVXRP)
      explode: false
      in: query
      name: symbol
      required: false
      schema:
        type: string
      style: form
      example: xrp_usd
    symbol_xrp_oi:
      description: A pair symbol (ticker) from the table that we support. [See here](#tag/XRPgetOpenInterest)
      explode: false
      in: query
      name: symbol
      required: false
      schema:
        type: string
        default: all_symbol
      style: form
      example: xrp_usdt
    symbol_xrp_fr:
      description: A pair symbol (ticker) from the table that we support. [See here](#tag/XRPgetFundingRates)
      explode: false
      in: query
      name: symbol
      required: false
      schema:
        type: string
        default: all_symbol
      style: form
      example: xrp_usdt
    symbol_liq_xrp:
      description: A XRP pair symbol from the table that we support. [See here](#operation/XRPgetLiquidations)
      explode: false
      in: query
      name: symbol
      required: false
      schema:
        type: string
        default: all_symbol
      style: form
      example: xrp_usd
    exchange_xrp:
      description: An exchange from the table that we support. [See here](#tag/XRP-Entity-Flows).
      explode: false
      in: query
      name: exchange
      required: false
      schema:
        type: string
      style: form
      example: binance
    typeXRP:
      description: A type from the entity
      explode: false
      in: query
      name: type
      required: false
      schema:
        type: string
      style: form
      example: exchange
    amm_xrp:
      description: An AMM pair from the table that we support. [See here](#tag/XRP-AMM-Data).
      explode: false
      in: query
      name: amm
      required: true
      schema:
        type: string
      style: form
      example: mag-xrp
    trx_market:
      description: A market type from the table that we support. [See here](#operation/getTRXPriceOHLCV)
      explode: false
      in: query
      name: market
      required: false
      schema:
        type: string
        default: spot
      style: form
      example: spot
    trx_exchange_ohlcv:
      description: A exchange from the table that we support. [See here](#operation/getTRXPriceOHLCV).
      explode: false
      in: query
      name: exchange
      required: false
      schema:
        type: string
        default: all_exchange
      style: form
      example: all_exchange
    trx_symbol_ohlcv:
      description: A TRX pair symbol from the table that we support. [See here](#operation/getTRXPriceOHLCV)
      explode: false
      in: query
      name: symbol
      required: false
      schema:
        type: string
      style: form
      example: trx_usd
    window_mdhb:
      description: Currently we support `day`, `hour`, `min`, and `block`.
      explode: false
      in: query
      name: window
      schema:
        type: string
        default: day
      style: form
      example: day
    window_b:
      description: Currently, we only support `block`.
      explode: false
      in: query
      name: window
      schema:
        type: string
        default: block
      style: form
      example: block
    window_m:
      description: Currently, we only support `min`.
      explode: false
      in: query
      name: window
      schema:
        type: string
        default: min
      style: form
      example: min
    isrange:
      description: true or false.
      explode: false
      in: query
      name: isrange
      required: true
      schema:
        type: boolean
        default: true
      style: form
      example: true
    period:
      description: The specific period of your interest. It can be YYMMDD or YYMMDD-YYMMDD if window=day is used. if window=block is used, specify the block height or the range of block heights. You should check if isrange=true is used when you want to specify the range.
      explode: false
      in: query
      name: period
      required: false
      schema:
        YYMMDD:
          type: string
        YYMMDD-YYMMDD:
          type: array
      style: form
      example: 190123-190601
    limit_30:
      description: The maximum number of entries to return before the latest data point (or before `to` if specified). This field ranges from 30 to 100,000.
      explode: false
      in: query
      name: limit
      required: false
      schema:
        type: integer
        default: 100
        minimum: 30
        maximum: 100000
      style: form
      example: 100
    limit_365:
      description: The maximum number of entries to return before the latest data point (or before `to` if specified). This field ranges from 365 to 100,000.
      explode: false
      in: query
      name: limit
      required: false
      schema:
        type: integer
        default: 100
        minimum: 365
        maximum: 100000
      style: form
      example: 100
    limit_375:
      description: The maximum number of entries to return before the latest data point (or before `to` if specified). This field ranges from 375 to 100,000.
      explode: false
      in: query
      name: limit
      required: false
      schema:
        type: integer
        default: 100
        minimum: 375
        maximum: 100000
      style: form
      example: 100
    exchange_fr_xrp:
      description: A derivative exchange from the table that we support. [See here](#operation/XRPgetFundingRates).
      explode: false
      in: query
      name: exchange
      required: false
      schema:
        type: string
      style: form
      example: bitmex
    xrp_exchange_liq:
      description: A derivative exchange from the table that we support. [See here](#operation/XRPgetLiquidations).
      explode: false
      in: query
      name: exchange
      required: false
      schema:
        type: string
      style: form
      example: deribit
    miner_eth:
      description: A mining pool from the table that we support. [See here](#tag/ETH-Miner-Flows).
      explode: false
      in: query
      name: miner
      required: true
      schema:
        type: string
      style: form
      example: f2pool
    from_entity_ex_eth:
      description: An exchange from the table that we support. [See here](#tag/ETH-Exchange-Flows).
      explode: false
      in: query
      name: from_exchange
      required: true
      schema:
        type: string
      style: form
      example: binance
    from_entity_mp_eth:
      description: A mining pool from the table that we support. [See here](#tag/ETH-Miner-Flows).
      explode: false
      in: query
      name: from_miner
      required: true
      schema:
        type: string
      style: form
      example: f2pool
    from_entity_bank:
      description: A bank from the table that we support. [See here](#tag/BTC-Bank-Flows).
      explode: false
      in: query
      name: from_bank
      required: true
      schema:
        type: string
      style: form
      example: blockfi
    to_entity_bank:
      description: A bank from the table that we support. [See here](#tag/BTC-Bank-Flows).
      explode: false
      in: query
      name: to_bank
      required: true
      schema:
        type: string
      style: form
      example: blockfi
    to_entity_ex_eth:
      description: An exchange from the table that we support. [See here](#tag/ETH-Exchange-Flows). This should not be same as `from_entity`.
      explode: false
      in: query
      name: to_exchange
      required: true
      schema:
        type: string
      style: form
      example: bithumb
    to_entity_mp_eth:
      description: A mining pool from the table that we support. [See here](#tag/ETH-Miner-Flows).
      explode: false
      in: query
      name: to_miner
      required: true
      schema:
        type: string
      style: form
      example: f2pool
    type_em:
      description: A type from the entity in exchange, miner.
      explode: false
      in: query
      name: type
      required: true
      schema:
        type: string
      style: form
      example: exchange
    symbol_xrp_lss:
      description: A pair symbol (ticker) from the table that we support. [See here](#tag/XRPgetTakerBuySellStats)
      explode: false
      in: query
      name: symbol
      required: false
      schema:
        type: string
      style: form
      example: xrp-usdt
    bank:
      description: An bank from the table that we support. [See here](#tag/BTC-Bank-Flows).
      explode: false
      in: query
      name: bank
      required: true
      schema:
        type: string
      style: form
      example: blockfi
    builder_xrp:
      description: supported builder entities
      explode: false
      in: query
      name: builder
      required: false
      schema:
        type: string
      style: form
      example: stably
    bank_xrp:
      description: supported bank entities
      explode: false
      in: query
      name: bank
      required: false
      schema:
        type: string
      style: form
      example: coinbase
    bridge_xrp:
      description: supported bridge entities
      explode: false
      in: query
      name: bridge
      required: false
      schema:
        type: string
      style: form
      example: proton_bridge
    custody_xrp:
      description: supported custody entities
      explode: false
      in: query
      name: custody
      required: false
      schema:
        type: string
      style: form
      example: cobo_custody
    foundation_xrp:
      description: xrp foundation entities
      explode: false
      in: query
      name: foundation
      required: false
      schema:
        type: string
      style: form
      example: ripple
    team_xrp:
      description: team entities
      explode: false
      in: query
      name: team
      required: false
      schema:
        type: string
      style: form
      example: ahbritto
    entity_type:
      description: xrp ledger entity types from the table that we support. [See here](#tag/XRP-Entity-Flows).
      explode: false
      in: query
      name: entity_type
      required: false
      schema:
        type: string
        default: exchange
      style: form
      example: exchange
    entity_name:
      description: xrp ledger entities from the table that we support. [See here](#tag/XRP-Entity-Flows).
      explode: false
      in: query
      name: entity_name
      required: true
      schema:
        type: string
        default: all_exchange
      style: form
      example: binance
    xrp_exchange_oi:
      description: A derivative exchange from the table that we support. [See here](#operation/XRPgetOpenInterest).
      explode: false
      in: query
      name: exchange
      required: false
      schema:
        type: string
      style: form
      example: bitmex
    xrp_exchange_lss:
      description: A derivative exchange from the table that we support. [See here](#operation/XRPgetTakerBuySellStats).
      explode: false
      in: query
      name: exchange
      required: false
      schema:
        type: string
      style: form
      example: bitmex
    otc_xrp:
      description: OTC entities
      explode: false
      in: query
      name: otc
      required: false
      schema:
        type: string
      style: form
      example: coinmotionß
    custody:
      description: An custody from the table that we support. [See here](#tag/BTC-Custody-Flows).
      explode: false
      in: query
      name: custody
      required: true
      schema:
        type: string
      style: form
      example: coinbase_vault
    from_entity_custody:
      description: A custody from the table that we support. [See here](#tag/BTC-Custody-Flows).
      explode: false
      in: query
      name: from_custody
      required: true
      schema:
        type: string
      style: form
      example: coinbase_vault
    to_entity_custody:
      description: A custody from the table that we support. [See here](#tag/BTC-Custody-Flows). This should not be same as `from_entity`.
      explode: false
      in: query
      name: to_custody
      required: true
      schema:
        type: string
      style: form
      example: coinbase_vault
  securitySchemes:
    Access Token:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |-
        For each API request, include this HTTP header:
        `Authorization` with the `Bearer {access_token}`. Bearer access token is the type of HTTP Authorization.  You have to include access token to the HTTP header and note that leading bearer is required.
        You must include your access token in HTTP header in every request you make. The token is unique, issued for each client, and regularly changed(once a year). To obtain an access token, please [upgrade your plan](https://cryptoquant.com/pricing) to Professional or Premium plan. You'll be able to see your access token on the [API tab](https://cryptoquant.com/settings/api) of your profile page after the subscription.
    Query Parameter:
      tags: query parameter
      type: apiKey
      name: api_key
      in: query
      description: |-
        For each API reqeust, include `api_key` parameter.
        You must request with your access token in query parameter in every request you make. The token is unique, issued for each client, and regularly changed(once a year). To obtain an access token, please [upgrade your plan](https://cryptoquant.com/pricing) to Professional or Premium plan. You'll be able to see your access token on the [API tab](https://cryptoquant.com/settings/api) of your profile page after the subscription.
        If you are using Excel, you can use the `api_key` parameter to request with your access token to return data either in `json` or `csv`.
  examples:
    Order:
      value:
        quantity: 1,
        shipDate: 2018-10-19T16:46:45Z,
        status: placed,
        complete: false
  schemas:
    Status:
      type: object
      description: The status object is return with most of requests and indicates if the request was successful. If it is not successful, error information is included.
      properties:
        code:
          type: integer
          format: int32
          description: HTTP status code
        message:
          type: string
          description: Text description of the error or success.
      required:
        - code
        - message
    Path:
      type: string
      description: It represents the path of the endpoint.
    Parameters:
      type: string
      description: It represents the parameters required for the corresponding endpoint.
    Endpoints:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - data
          properties:
            data:
              type: array
              items:
                type: object
                required:
                  - path
                  - parameters
                properties:
                  path:
                    $ref: '#/components/schemas/Path'
                  parameters:
                    $ref: '#/components/schemas/Parameters'
    Type:
      type: string
      description: Type of given entity list. This field is one of "exchange", "miner"
    EntityListResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - type
            - data
          properties:
            type:
              $ref: '#/components/schemas/Type'
            data:
              type: array
              items:
                type: object
                required:
                  - name
                  - symbol
                  - is_validated
                  - market_type
                properties:
                  name:
                    type: string
                    description: The name of entity.
                  symbol:
                    type: string
                    description: The name of calling symbol.
                  is_validated:
                    type: int
                    description: Entity is validated or in progress.
                  market_type:
                    type: int
                    description: Market type of entity.
    Window_DBH:
      type: string
      description: The size of window. It can be day, hour, or block, and it depends on the user request.
    Blockheight:
      type: string
      description: The height of the block. This optional field only appears when window=block is used.
    Date:
      type: string
      description: The date in YYYY-DD-MM. This optional field only appears when window=day is used.
    Datetime:
      type: string
      description: The date and time formatted as YYYY-MM-DD HH:MM:SS (UTC time). This field only appears when window=block is used.
    ReserveResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - reserve
                  - reserve_usd
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  reserve:
                    type: decimal
                    description: The amount of BTC on a given exchange.
                  reserve_usd:
                    type: decimal
                    description: The USD value of BTC held by an exchange.
    Datetime_H:
      type: string
      description: The date and time formatted as YYYY-MM-DD HH:MM:SS (UTC time). This field only appears when window=block or window=hour is used.
    NetflowResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - netflow_total
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  netflow_total:
                    type: decimal
                    description: The difference between coins flowing into/out of exchanges.
    InflowResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - inflow_total
                  - inflow_top10
                  - inflow_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  inflow_total:
                    type: decimal
                    description: The total amount of BTC that transferred to the exchange.
                  inflow_top10:
                    type: decimal
                    description: The total BTC amount of top 10 transactions (in terms of total BTC sent) flowing into exchange wallets for every day that the exchange wallets we track have been live on the blockchain.
                  inflow_mean:
                    type: decimal
                    description: The mean of tokens per transaction sent an exchange.
    OutflowResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - outflow_total
                  - outflow_top10
                  - outflow_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  outflow_total:
                    type: decimal
                    description: The total amount of BTC that traneferred from the exchange
                  outflow_top10:
                    type: decimal
                    description: The total BTC amount of top 10 transactions (in terms of total BTC sent) flowing out of exchange wallets for every day that the exchange wallets we track have been live on the blockchain.
                  outflow_mean:
                    type: decimal
                    description: The mean of tokens per transaction sent from an exchange.
    TransactionsCountEFResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - transactions_count_inflow
                  - transactions_count_outflow
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  transactions_count_inflow:
                    type: decimal
                    description: The number of transactions sent to the exchange .
                  transactions_count_outflow:
                    type: decimal
                    description: The number of transactions sent from the exchange.
    AddressesCountEFResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - addresses_count_inflow
                  - addresses_count_outflow
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  addresses_count_inflow:
                    type: decimal
                    description: The number of addresses evoking inflow transactions to exchange wallets
                  addresses_count_outflow:
                    type: decimal
                    description: The number of addresses evoking outflow transactions from exchange wallets
    InHouseFlowResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - flow_total
                  - flow_mean
                  - transactions_count_flow
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  flow_total:
                    type: decimal
                    description: The total amount of BTC circulated within an exchange.
                  flow_mean:
                    type: decimal
                    description: The mean of tokens per transaction circulated within an exchange.
                  transactions_count_flow:
                    type: decimal
                    description: The number of transactions circulated within an exchange.
    Window:
      type: string
      description: The size of window. It can be day or block, and it depends on the user request.
    schemas_ReserveResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - reserve
                  - reserve_usd
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  reserve:
                    type: decimal
                    description: The amount of BTC on a given mining pool.
                  reserve_usd:
                    type: decimal
                    description: The USD value of BTC held by a mining pool.
    schemas_NetflowResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - netflow_total
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  netflow_total:
                    type: decimal
                    description: The difference between coins flowing into/out of mining pools.
    schemas_InflowResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - inflow_total
                  - inflow_top10
                  - inflow_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  inflow_total:
                    type: decimal
                    description: The total amount of BTC transferred to the miner.
                  inflow_top10:
                    type: decimal
                    description: The total BTC amount of top 10 transactions (in terms of total BTC sent) flowing into miner wallets for every day that the miner wallets we track have been live on the blockchain.
                  inflow_mean:
                    type: decimal
                    description: The mean of tokens per transactions sent to a miner.
    schemas_OutflowResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - outflow_total
                  - outflow_top10
                  - outflow_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  outflow_total:
                    type: decimal
                    description: The total amount of BTC transferred from the miner.
                  outflow_top10:
                    type: decimal
                    description: The total BTC amount of top 10 transactions (in terms of total BTC sent) flowing out of miner wallets for every day that the miner wallets we track have been live on the blockchain.
                  outflow_mean:
                    type: decimal
                    description: The mean of tokens per transaction sent from a miner.
    TransactionsCountMFResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - transactions_count_inflow
                  - transactions_count_outflow
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  transactions_count_inflow:
                    type: decimal
                    description: The number of transactions sent to the miner.
                  transactions_count_outflow:
                    type: decimal
                    description: The number of transactions sent from the miner.
    AddressesCountMFResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - addresses_count_inflow
                  - addresses_count_outflow
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  addresses_count_inflow:
                    type: decimal
                    description: The number of addresses evoking inflow transactions to mining pool wallets
                  addresses_count_outflow:
                    type: decimal
                    description: The number of addresses evoking outflow transactions from mining pool wallets
    schemas_InHouseFlowResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - flow_total
                  - flow_mean
                  - transactions_count_flow
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  flow_total:
                    type: decimal
                    description: The total amount of BTC circulated within an miner.
                  flow_mean:
                    type: decimal
                    description: The mean of tokens per transaction circulated within an miner.
                  transactions_count_flow:
                    type: decimal
                    description: The number of transactions circulated within an miner.
    Exchange-to-exchangeResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - flow_total
                  - flow_mean
                  - transactions_count_flow
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  flow_total:
                    type: decimal
                    description: The total number of tokens transferred from one exchange to another.
                  flow_mean:
                    type: decimal
                    description: The mean of tokens transferred from one exchange to another.
                  transactions_count_flow:
                    type: decimal
                    description: The number of transactions from one exchange to another.
    Miner-to-exchangeResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - flow_total
                  - flow_mean
                  - transactions_count_flow
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  flow_total:
                    type: decimal
                    description: The total number of tokens transferred from a mining pool to an exchange.
                  flow_mean:
                    type: decimal
                    description: The mean of tokens transferred from a mining pool to an exchange.
                  transactions_count_flow:
                    type: decimal
                    description: The number of transactions from a mining pool to an exchange.
    Exchange-to-minerResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - flow_total
                  - flow_mean
                  - transactions_count_flow
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  flow_total:
                    type: decimal
                    description: The total number of tokens transferred from an exchange to a mining pool.
                  flow_mean:
                    type: decimal
                    description: The mean of tokens transferred from an exchange to a mining pool.
                  transactions_count_flow:
                    type: decimal
                    description: The number of transactions from an exchange to a mining pool.
    Miner-to-minerResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - flow_total
                  - flow_mean
                  - transactions_count_flow
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  flow_total:
                    type: decimal
                    description: The total number of tokens transferred from one mining pool to another.
                  flow_mean:
                    type: decimal
                    description: The mean of tokens transferred from one mining pool to another.
                  transactions_count_flow:
                    type: decimal
                    description: The number of transactions from one mining pool to another.
    SupplyResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - supply_total
                  - supply_new
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  supply_total:
                    type: decimal
                    description: The total amount of BTC in existence.
                  supply_new:
                    type: decimal
                    description: The sum of newly issued tokens in that window.
    VelocityResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - velocity_supply_total
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  velocity_supply_total:
                    type: decimal
                    description: Estimated transaction volume in the trailing 1 year divided by current total supply.
    TransactionsCountResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - transactions_count_total
                  - transactions_count_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  transactions_count_total:
                    type: decimal
                    description: Total number of transactions whether they execute or not, and whether they result in the transfer of tokens or not.
                  transactions_count_mean:
                    type: decimal
                    description: The mean of number transactions per block. For window=block, this value will be same as transactions_count_total.
    AddressesCountResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - addresses_count_active
                  - addresses_count_sender
                  - addresses_count_receiver
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  addresses_count_active:
                    type: decimal
                    description: The total number of unique addresses that were active (either sender or receiver) on the blockchain in a given window.
                  addresses_count_sender:
                    type: decimal
                    description: The number of addresses that were active as a sender.
                  addresses_count_receiver:
                    type: decimal
                    description: The number of addresses that were active as a receiver.
    TokensTransferredResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - tokens_transferred_total
                  - tokens_transferred_mean
                  - tokens_transferred_median
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  tokens_transferred_total:
                    type: decimal
                    description: Total number of tokens transferred in that window.
                  tokens_transferred_mean:
                    type: decimal
                    description: The mean of tokens transferred per transaction.
                  tokens_transferred_median:
                    type: decimal
                    description: The median of tokens transferred per transaction.
    BlockBytesResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - data
            - window
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - block_bytes
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  block_bytes:
                    type: integer
                    description: The mean size(in bytes) of all blocks generated
    Window_DH:
      type: string
      description: The size of window. It can be day or hour, and it depends on the user request.
    BlockCountResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - data
            - window
          properties:
            window:
              $ref: '#/components/schemas/Window_DH'
            data:
              type: array
              items:
                type: object
                required:
                  - block_count
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  block_count:
                    type: integer
                    description: The number of blocks generated in a given window.
    BlockIntervalResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - block_interval
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  block_interval:
                    type: integer
                    description: The average time between blocks generated in seconds.
    UTXOCountResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - utxo_count
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  utxo_count:
                    type: integer
                    description: Number of unspent transaction outputs.
    FeesResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - fees_block_mean
                  - fees_block_mean_usd
                  - fees_total
                  - fees_total_usd
                  - fees_reward_percent
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  fees_block_mean:
                    type: decimal
                    description: The average fee per block.
                  fees_block_mean_usd:
                    type: decimal
                    description: The average fee per block, calculated in USD.
                  fees_total:
                    type: decimal
                    description: The sum of all fees that are paid to bitcoin miners.
                  fees_total_usd:
                    type: decimal
                    description: The sum of all fees that are paid to bitcoin miners, calculated in USD.
                  fees_reward_percent:
                    type: decimal
                    description: The percentage of fee in total block reward. Values are between 0 and 1.
    FeesTransactionResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - fees_transaction_mean
                  - fees_transaction_mean_usd
                  - fees_transaction_median
                  - fees_transaction_median_usd
                  - fees_reward_percent
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  fees_transaction_mean:
                    type: decimal
                    description: The average fee per transaction.
                  fees_transaction_mean_usd:
                    type: decimal
                    description: The average fee per transaction, calculated in USD.
                  fees_transaction_median:
                    type: decimal
                    description: The median fee per transaction.
                  fees_transaction_median_usd:
                    type: decimal
                    description: The median fee per transaction, calculated in USD.
    BlockRewardResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - blockreward
                  - blockreward_usd
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  blockreward:
                    type: decimal
                    description: The sum of block rewards (including mining or staking rewards and transaction fees).
                  blockreward_usd:
                    type: decimal
                    description: The sum of block rewards (including mining or staking rewards and transaction fees), calculated in USD.
    DifficultyResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - difficulty
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  difficulty:
                    type: decimal
                    description: The mean difficulty of mining a new block.
    HashrateResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - hashrate
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  hashrate:
                    type: decimal
                    description: The mean of hashes that miners calculates per second across all miners in the network. (Bytes/Sec)
    Window_MDHB:
      type: string
      description: The size of window. It can be day, hour, min, or block and it depends on the user request.
    PriceOHLCVResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - open
                  - high
                  - low
                  - close
                  - volume
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  open:
                    type: decimal
                    description: opening price at the beginning of the window.
                  high:
                    type: decimal
                    description: opening price at the end of the window.
                  low:
                    type: decimal
                    description: The highest price in a given window.
                  close:
                    type: decimal
                    description: The lowest price in a given window.
                  volume:
                    type: decimal
                    description: The total traded amount in a given window.
    Window_MDH:
      type: string
      description: The size of window. It can be day, hour, or min and it depends on the user request.
    OpenInterestResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_MDH'
            data:
              type: array
              items:
                type: object
                required:
                  - open_interest
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  open_interest:
                    type: string
                    description: The amount of open interest in the given period and exchange. The standard unit can differ from each exchange.
    FundingRatesResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_MDH'
            data:
              type: array
              items:
                type: object
                required:
                  - funding_rates
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  funding_rates:
                    type: decimal
                    description: Funding rates in the given period and exchange. The standard unit is percentage.
    TakerBuySellStatsResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_MDH'
            data:
              type: array
              items:
                type: object
                required:
                  - taker_buy_volume
                  - taker_sell_volume
                  - taker_buy_ratio
                  - taker_sell_ratio
                  - taker_buy_sell_ratio
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  taker_buy_volume:
                    type: decimal
                    description: Volume that takers buy in the given period and exchange.
                  taker_sell_volume:
                    type: decimal
                    description: Volume that takers sell in the given period and exchange.
                  taker_buy_ratio:
                    type: decimal
                    description: The ratio of taker buy volume to taker total volume in the given period and exchange. Taker total volume is sum of taker buy and sell volume.
                  taker_sell_ratio:
                    type: decimal
                    description: The ratio of taker sell volume to taker total volume in the given period and exchange. Taker total volume is sum of taker buy and sell volume.
                  taker_buy_sell_ratio:
                    type: decimal
                    description: The ratio fo taker buy volume to taker sell volume in the given period and exchange.
    LiquidationsResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_MDH'
            data:
              type: array
              items:
                type: object
                required:
                  - long_liquidations
                  - short_liquidations
                  - long_liquidations_usd
                  - short_liquidations_usd
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  long_liquidations:
                    type: decimal
                    description: Amount of liquidated orders in long positions.
                  short_liquidations:
                    type: decimal
                    description: Amount of liquidated orders in short positions.
                  long_liquidations_usd:
                    type: decimal
                    description: Amount of liquidated orders in long positions in USD.
                  short_liquidations_usd:
                    type: decimal
                    description: Amount of liquidated orders in short positions in USD.
    CapitalizationResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - market_cap
                  - realized_cap
                  - average_cap
                  - delta_cap
                  - thermo_cap
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  market_cap:
                    type: decimal
                    description: Market capitalization of BTC, calculated by total_supply * price_usd_close.
                  realized_cap:
                    type: decimal
                    description: The sum of all UTXOs multiplied by the price they last moved.
                  average_cap:
                    type: decimal
                    description: Forever moving average, calculated by dividing the cumulated sum of daily market cap with the age of market.
                  delta_cap:
                    type: decimal
                    description: realized_cap minus average_cap.
                  thermo_cap:
                    type: decimal
                    description: The weighted cumulative sum of the mined cryptocurrency price.
    Datetime_MH:
      type: string
      description: The date and time formatted as YYYY-MM-DD HH:MM:SS (UTC time). This field only appears when window=min or window=hour is used.
    BTCCoinbasePremiumIndexResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_MDH'
            data:
              type: array
              items:
                type: object
                required:
                  - coinbase_premium_gap
                  - coinbase_premium_index
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_MH'
                  coinbase_premium_gap:
                    type: decimal
                    description: The gap between Coinbase Advanced price(USD pair) and Binance price(USDT pair).
                  coinbase_premium_index:
                    type: decimal
                    description: The percent difference from Binance price(BTCUSDT) to Coinbase price(BTCUSD).
    Window_D:
      type: string
      description: The size of window. This metric supports only day resolution.
    MarketPriceUSDResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - price_usd_open
                  - price_usd_high
                  - price_usd_low
                  - price_usd_close
                  - price_usd_adj_close
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  price_usd_open:
                    type: decimal
                    description: USD opening price at the beginning of the window.
                  price_usd_high:
                    type: decimal
                    description: The highest USD price in a given window.
                  price_usd_low:
                    type: decimal
                    description: The lowest USD price in a given window.
                  price_usd_close:
                    type: decimal
                    description: USD closing price at the end of the window.
                  price_usd_adj_close:
                    type: decimal
                    description: USD adjusted closing price at the end of the window.
    MarketVolumeResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - volume
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  volume:
                    type: decimal
                    description: Traded volume of the window.
    MarketPremiumResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - market_premium
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  market_premium:
                    type: decimal
                    description: Market premium of the window.
    DigitalAssetHoldingsResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - digital_asset_holdings
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  digital_asset_holdings:
                    type: decimal
                    description: Digital Asset Holdings of the window.
    StockToFlowResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - stock_to_flow
                  - stock_to_flow_reversion
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  stock_to_flow:
                    type: decimal
                    description: Stock to Flow is a ratio of currently circulating BTC divided by newly supplied BTC.
                  stock_to_flow_reversion:
                    type: decimal
                    description: Stock to Flow Reversion is used to spot market bottoms. It is calculated by dividing the price of bitcoin to its stock-to-flow ratio.
    NVTResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - nvt
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  nvt:
                    type: decimal
                    description: NVT(Network Value to Transaction) ratio is the network value(supply_total) divided by tokens_transferred_total.
    NVTGoldenCrossResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - nvt_golden_cross
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  nvt_golden_cross:
                    type: decimal
                    description: NVT Golden Cross is a modified index of NVT. NVT Golden Cross value will return null if std is 0.
    NVMResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - nvm
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  nvm:
                    type: decimal
                    description: NVM is a ratio of market cap divided by daily active address.
    PuellMultipleResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - puell_multiple
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  puell_multiple:
                    type: decimal
                    description: Puell Multiple is the mining revenue usd divided by MA 365 mining revenue usd.
    CDDResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - cdd
                  - a_cdd
                  - sa_cdd
                  - average_sa_cdd
                  - binary_cdd
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  cdd:
                    type: decimal
                    description: When UTxO destroyed, Coin Days Destroyed is calculated as the sum value of the number of days between created and spent multiplied by UTxO amount.
                  sa_cdd:
                    type: decimal
                    description: Supply Adjusted Coin Days Destroyed is `cdd` value adjusted by supply. It is calculated as the value of `cdd` divided by total supply.
                  average_sa_cdd:
                    type: decimal
                    description: Average Supply Adjusted Coin Days Destroyed is the historical average value of `sa_cdd` after generation block.
                  binary_cdd:
                    type: integer
                    description: Binary Coin Days Destroyed is binary value. When `sa_cdd` is larger than `average_sa_cdd`, `binary_cdd` is 1.
    MCAResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - mca
                  - mcda
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  mca:
                    type: decimal
                    description: Mean Coin Age is the mean value of products of bitcoin unspent transaction output alive days and its value.
                  mcda:
                    type: decimal
                    description: Mean Coin Dollar Age is the mean value of products of bitcoin unspent transaction output alive days, value, and price at the created time.
    SCAResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - sca
                  - scda
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  sca:
                    type: decimal
                    description: Sum Coin Age is the sum value of products of bitcoin unspent transaction output alive days and its value.
                  scda:
                    type: decimal
                    description: Sum Coin Dollar Age is the sum value of products of bitcoin unspent transaction output alive days, value, and price at the created time.
    SCADistributionResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - range_0d_1d
                  - range_1d_1w
                  - range_1w_1m
                  - range_1m_3m
                  - range_3m_6m
                  - range_6m_12m
                  - range_12m_18m
                  - range_18m_2y
                  - range_2y_3y
                  - range_3y_5y
                  - range_5y_7y
                  - range_7y_10y
                  - range_10y_inf
                  - range_0d_1d_percent
                  - range_1d_1w_percent
                  - range_1w_1m_percent
                  - range_1m_3m_percent
                  - range_3m_6m_percent
                  - range_6m_12m_percent
                  - range_12m_18m_percent
                  - range_18m_2y_percent
                  - range_2y_3y_percent
                  - range_3y_5y_percent
                  - range_5y_7y_percent
                  - range_7y_10y_percent
                  - range_10y_inf_percent
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  range_0d_1d:
                    type: decimal
                    description: Sum Coin Age distribution value of which alive time is less than 1 day.
                  range_1d_1w:
                    type: decimal
                    description: Sum Coin Age distribution value of which alive time is more than 1 day and less than 7 days.
                  range_1w_1m:
                    type: decimal
                    description: Sum Coin Age distribution value of which alive time is more than 7 days and less than 1 month.
                  range_1m_3m:
                    type: decimal
                    description: Sum Coin Age distribution value of which alive time is more than 1 month and less than 3 months.
                  range_3m_6m:
                    type: decimal
                    description: Sum Coin Age distribution value of which alive time is more than 3 months and less than 6 months.
                  range_6m_12m:
                    type: decimal
                    description: Sum Coin Age distribution value of which alive time is more than 6 months and less than 12 months.
                  range_12m_18m:
                    type: decimal
                    description: Sum Coin Age distribution value of which alive time is more than 12 months and less than 18 months.
                  range_18m_2y:
                    type: decimal
                    description: Sum Coin Age distribution value of which alive time is more than 18 months and less than 2 years.
                  range_2y_3y:
                    type: decimal
                    description: Sum Coin Age distribution value of which alive time is more than 2 years and less than 3 years.
                  range_3y_5y:
                    type: decimal
                    description: Sum Coin Age distribution value of which alive time is more than 3 years and less than 5 years.
                  range_5y_7y:
                    type: decimal
                    description: Sum Coin Age distribution value of which alive time is more than 5 years and less than 7 years.
                  range_7y_10y:
                    type: decimal
                    description: Sum Coin Age distribution value of which alive time is more than 7 years and less than 10 years.
                  range_10y_inf:
                    type: decimal
                    description: Sum Coin Age distribution percent value of which alive time is more than 10 years.
                  range_0d_1d_percent:
                    type: decimal
                    description: Sum Coin Age distribution percent value of which alive time is less than 1 day.
                  range_1d_1w_percent:
                    type: decimal
                    description: Sum Coin Age distribution percent value of which alive time is more than 1 day and less than 7 days.
                  range_1w_1m_percent:
                    type: decimal
                    description: Sum Coin Age distribution percent value of which alive time is more than 7 days and less than 1 month.
                  range_1m_3m_percent:
                    type: decimal
                    description: Sum Coin Age distribution percent value of which alive time is more than 1 month and less than 3 months.
                  range_3m_6m_percent:
                    type: decimal
                    description: Sum Coin Age distribution percent value of which alive time is more than 3 months and less than 6 months.
                  range_6m_12m_percent:
                    type: decimal
                    description: Sum Coin Age distribution percent value of which alive time is more than 6 months and less than 12 months.
                  range_12m_18m_percent:
                    type: decimal
                    description: Sum Coin Age distribution percent value of which alive time is more than 12 months and less than 18 months.
                  range_18m_2y_percent:
                    type: decimal
                    description: Sum Coin Age distribution percent value of which alive time is more than 18 months and less than 2 years.
                  range_2y_3y_percent:
                    type: decimal
                    description: Sum Coin Age distribution percent value of which alive time is more than 2 years and less than 3 years.
                  range_3y_5y_percent:
                    type: decimal
                    description: Sum Coin Age distribution percent value of which alive time is more than 3 years and less than 5 years.
                  range_5y_7y_percent:
                    type: decimal
                    description: Sum Coin Age distribution percent value of which alive time is more than 5 years and less than 7 years.
                  range_7y_10y_percent:
                    type: decimal
                    description: Sum Coin Age distribution percent value of which alive time is more than 7 years and less than 10 years.
                  range_10y_inf_percent:
                    type: decimal
                    description: Sum Coin Age distribution percent value of which alive time is more than 10 years.
    NUPLResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - nupl
                  - nup
                  - nul
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  nupl:
                    type: decimal
                    description: Net Unrealized Profit and Loss is the difference between `market_cap` and `realized_cap` divided by `market_cap`.
                  nup:
                    type: decimal
                    description: Net Unrealized Profit is the sum of products of UTxO's value and price difference between created and destroyed only in profit, divided by `market_cap`.
                  nul:
                    type: decimal
                    description: Net Unrealized Loss is the sum of products of UTxO's value and price difference between created and destroyed only in loss, divided by `market_cap`.
    NRPLResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - nrpl
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  nrpl:
                    type: decimal
                    description: Net Realized Profit/Loss metric presenting the net magnitude of profit, or loss realized by all holders spending coins.
    PNLUTxOResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - profit_percent
                  - loss_percent
                  - profit_amount
                  - loss_amount
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  profit_percent:
                    type: decimal
                    description: A percent of the number of UTxO in profit among total number of UTxO.
                  loss_percent:
                    type: decimal
                    description: A percent of the number of UTxO in loss among total number of UTxO.
                  profit_amount:
                    type: decimal
                    description: The number of UTxO in profit.
                  loss_amount:
                    type: decimal
                    description: The number of UTxO in loss.
    PNLSupplyResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - profit_percent
                  - loss_percent
                  - profit_amount
                  - loss_amount
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  profit_percent:
                    type: decimal
                    description: A percent of the sum of UTxO value in profit among total sum of UTxO value.
                  loss_percent:
                    type: decimal
                    description: A percent of the sum of UTxO value in loss among total sum of UTxO value.
                  profit_amount:
                    type: decimal
                    description: The sum of UTxO value in profit.
                  loss_amount:
                    type: decimal
                    description: The sum of UTxO value in loss.
    DormancyResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - average_dormancy
                  - sa_average_dormancy
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  average_dormancy:
                    type: decimal
                    description: The average number of days destroyed per coin transacted.
                  sa_average_dormancy:
                    type: decimal
                    description: Average dormancy normalized by supply total.
    UTxOAgeDistributionResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - range_0d_1d
                  - range_1d_1w
                  - range_1w_1m
                  - range_1m_3m
                  - range_3m_6m
                  - range_6m_12m
                  - range_12m_18m
                  - range_18m_2y
                  - range_2y_3y
                  - range_3y_5y
                  - range_5y_7y
                  - range_7y_10y
                  - range_10y_inf
                  - range_0d_1d_usd
                  - range_1d_1w_usd
                  - range_1w_1m_usd
                  - range_1m_3m_usd
                  - range_3m_6m_usd
                  - range_6m_12m_usd
                  - range_12m_18m_usd
                  - range_18m_2y_usd
                  - range_2y_3y_usd
                  - range_3y_5y_usd
                  - range_5y_7y_usd
                  - range_7y_10y_usd
                  - range_10y_inf_usd
                  - range_0d_1d_percent
                  - range_1d_1w_percent
                  - range_1w_1m_percent
                  - range_1m_3m_percent
                  - range_3m_6m_percent
                  - range_6m_12m_percent
                  - range_12m_18m_percent
                  - range_18m_2y_percent
                  - range_2y_3y_percent
                  - range_3y_5y_percent
                  - range_5y_7y_percent
                  - range_7y_10y_percent
                  - range_10y_inf_percent
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  range_0d_1d:
                    type: decimal
                    description: Total supply of UTxOs of ages between 0 day to 1 day.
                  range_1d_1w:
                    type: decimal
                    description: Total supply of UTxOs of ages between 1 day to 1 week.
                  range_1w_1m:
                    type: decimal
                    description: Total supply of UTxOs of ages between 1 week to 1 month.
                  range_1m_3m:
                    type: decimal
                    description: Total supply of UTxOs of ages between 1 month to 3 months.
                  range_3m_6m:
                    type: decimal
                    description: Total supply of UTxOs of ages between 3 months to 6 months.
                  range_6m_12m:
                    type: decimal
                    description: Total supply of UTxOs of ages between 6 months to 12 months.
                  range_12m_18m:
                    type: decimal
                    description: Total supply of UTxOs of ages between 12 months to 18 months.
                  range_18m_2y:
                    type: decimal
                    description: Total supply of UTxOs of ages between 18 months to 2 years.
                  range_2y_3y:
                    type: decimal
                    description: Total supply of UTxOs of ages between 2 years to 3 years.
                  range_3y_5y:
                    type: decimal
                    description: Total supply of UTxOs of ages between 3 years to 5 years.
                  range_5y_7y:
                    type: decimal
                    description: Total supply of UTxOs of ages between 5 years to 7 years.
                  range_7y_10y:
                    type: decimal
                    description: Total supply of UTxOs of ages between 7 years to 10 years.
                  range_10y_inf:
                    type: decimal
                    description: Total supply of UTxOs of ages over 10 years.
                  range_0d_1d_usd:
                    type: decimal
                    description: Total supply of UTxOs of ages between 0 day to 1 day in USD.
                  range_1d_1w_usd:
                    type: decimal
                    description: Total supply of UTxOs of ages between 1 day to 1 week in USD.
                  range_1w_1m_usd:
                    type: decimal
                    description: Total supply of UTxOs of ages between 1 week to 1 month in USD.
                  range_1m_3m_usd:
                    type: decimal
                    description: Total supply of UTxOs of ages between 1 month to 3 months in USD.
                  range_3m_6m_usd:
                    type: decimal
                    description: Total supply of UTxOs of ages between 3 months to 6 months in USD.
                  range_6m_12m_usd:
                    type: decimal
                    description: Total supply of UTxOs of ages between 6 months to 12 months in USD.
                  range_12m_18m_usd:
                    type: decimal
                    description: Total supply of UTxOs of ages between 12 months to 18 months in USD.
                  range_18m_2y_usd:
                    type: decimal
                    description: Total supply of UTxOs of ages between 18 months to 2 years in USD.
                  range_2y_3y_usd:
                    type: decimal
                    description: Total supply of UTxOs of ages between 2 years to 3 years in USD.
                  range_3y_5y_usd:
                    type: decimal
                    description: Total supply of UTxOs of ages between 3 years to 5 years in USD.
                  range_5y_7y_usd:
                    type: decimal
                    description: Total supply of UTxOs of ages between 5 years to 7 years in USD.
                  range_7y_10y_usd:
                    type: decimal
                    description: Total supply of UTxOs of ages between 7 years to 10 years in USD.
                  range_10y_inf_usd:
                    type: decimal
                    description: Total supply of UTxOs of ages over 10 years in USD.
                  range_0d_1d_percent:
                    type: decimal
                    description: Percent supply held by UTxOs of ages between 0 day to 1 day.
                  range_1d_1w_percent:
                    type: decimal
                    description: Percent supply held by UTxOs of ages between 1 day to 1 week.
                  range_1w_1m_percent:
                    type: decimal
                    description: Percent supply held by UTxOs of ages between 1 week to 1 month.
                  range_1m_3m_percent:
                    type: decimal
                    description: Percent supply held by UTxOs of ages between 1 month to 3 months.
                  range_3m_6m_percent:
                    type: decimal
                    description: Percent supply held by UTxOs of ages between 3 months to 6 months.
                  range_6m_12m_percent:
                    type: decimal
                    description: Percent supply held by UTxOs of ages between 6 months to 12 months.
                  range_12m_18m_percent:
                    type: decimal
                    description: Percent supply held by UTxOs of ages between 12 months to 18 months.
                  range_18m_2y_percent:
                    type: decimal
                    description: Percent supply held by UTxOs of ages between 18 months to 2 years.
                  range_2y_3y_percent:
                    type: decimal
                    description: Percent supply held by UTxOs of ages between 2 years to 3 years.
                  range_3y_5y_percent:
                    type: decimal
                    description: Percent supply held by UTxOs of ages between 3 years to 5 years.
                  range_5y_7y_percent:
                    type: decimal
                    description: Percent supply held by UTxOs of ages between 5 years to 7 years.
                  range_7y_10y_percent:
                    type: decimal
                    description: Percent supply held by UTxOs of ages between 7 years to 10 years.
                  range_10y_inf_percent:
                    type: decimal
                    description: Percent supply held by UTxOs of ages over 10 years.
    UTxORealizedAgeDistributionResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - range_0d_1d_usd
                  - range_1d_1w_usd
                  - range_1w_1m_usd
                  - range_1m_3m_usd
                  - range_3m_6m_usd
                  - range_6m_12m_usd
                  - range_12m_18m_usd
                  - range_18m_2y_usd
                  - range_2y_3y_usd
                  - range_3y_5y_usd
                  - range_5y_7y_usd
                  - range_7y_10y_usd
                  - range_10y_inf_usd
                  - range_0d_1d_percent
                  - range_1d_1w_percent
                  - range_1w_1m_percent
                  - range_1m_3m_percent
                  - range_3m_6m_percent
                  - range_6m_12m_percent
                  - range_12m_18m_percent
                  - range_18m_2y_percent
                  - range_2y_3y_percent
                  - range_3y_5y_percent
                  - range_5y_7y_percent
                  - range_7y_10y_percent
                  - range_10y_inf_percent
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  range_0d_1d_usd:
                    type: decimal
                    description: Realized supply of UTxOs of ages between 0 day to 1 day in USD.
                  range_1d_1w_usd:
                    type: decimal
                    description: Realized supply of UTxOs of ages between 1 day to 1 week in USD.
                  range_1w_1m_usd:
                    type: decimal
                    description: Realized supply of UTxOs of ages between 1 week to 1 month in USD.
                  range_1m_3m_usd:
                    type: decimal
                    description: Realized supply of UTxOs of ages between 1 month to 3 months in USD.
                  range_3m_6m_usd:
                    type: decimal
                    description: Realized supply of UTxOs of ages between 3 months to 6 months in USD.
                  range_6m_12m_usd:
                    type: decimal
                    description: Realized supply of UTxOs of ages between 6 months to 12 months in USD.
                  range_12m_18m_usd:
                    type: decimal
                    description: Realized supply of UTxOs of ages between 12 months to 18 months in USD.
                  range_18m_2y_usd:
                    type: decimal
                    description: Realized supply of UTxOs of ages between 18 months to 2 years in USD.
                  range_2y_3y_usd:
                    type: decimal
                    description: Realized supply of UTxOs of ages between 2 years to 3 years in USD.
                  range_3y_5y_usd:
                    type: decimal
                    description: Realized supply of UTxOs of ages between 3 years to 5 years in USD.
                  range_5y_7y_usd:
                    type: decimal
                    description: Realized supply of UTxOs of ages between 5 years to 7 years in USD.
                  range_7y_10y_usd:
                    type: decimal
                    description: Realized supply of UTxOs of ages between 7 years to 10 years in USD.
                  range_10y_inf_usd:
                    type: decimal
                    description: Realized supply of UTxOs of ages over 10 years in USD.
                  range_0d_1d_percent:
                    type: decimal
                    description: Percent realized supply held by UTxOs of ages between 0 day to 1 day.
                  range_1d_1w_percent:
                    type: decimal
                    description: Percent realized supply held by UTxOs of ages between 1 day to 1 week.
                  range_1w_1m_percent:
                    type: decimal
                    description: Percent realized supply held by UTxOs of ages between 1 week to 1 month.
                  range_1m_3m_percent:
                    type: decimal
                    description: Percent realized supply held by UTxOs of ages between 1 month to 3 months.
                  range_3m_6m_percent:
                    type: decimal
                    description: Percent realized supply held by UTxOs of ages between 3 months to 6 months.
                  range_6m_12m_percent:
                    type: decimal
                    description: Percent realized supply held by UTxOs of ages between 6 months to 12 months.
                  range_12m_18m_percent:
                    type: decimal
                    description: Percent realized supply held by UTxOs of ages between 12 months to 18 months.
                  range_18m_2y_percent:
                    type: decimal
                    description: Percent realized supply held by UTxOs of ages between 18 months to 2 years.
                  range_2y_3y_percent:
                    type: decimal
                    description: Percent realized supply held by UTxOs of ages between 2 years to 3 years.
                  range_3y_5y_percent:
                    type: decimal
                    description: Percent realized supply held by UTxOs of ages between 3 years to 5 years.
                  range_5y_7y_percent:
                    type: decimal
                    description: Percent realized supply held by UTxOs of ages between 5 years to 7 years.
                  range_7y_10y_percent:
                    type: decimal
                    description: Percent realized supply held by UTxOs of ages between 7 years to 10 years.
                  range_10y_inf_percent:
                    type: decimal
                    description: Percent realized supply held by UTxOs of ages over 10 years.
    UTxOCountAgeDistributionResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - range_0d_1d
                  - range_1d_1w
                  - range_1w_1m
                  - range_1m_3m
                  - range_3m_6m
                  - range_6m_12m
                  - range_12m_18m
                  - range_18m_2y
                  - range_2y_3y
                  - range_3y_5y
                  - range_5y_7y
                  - range_7y_10y
                  - range_10y_inf
                  - range_0d_1d_percent
                  - range_1d_1w_percent
                  - range_1w_1m_percent
                  - range_1m_3m_percent
                  - range_3m_6m_percent
                  - range_6m_12m_percent
                  - range_12m_18m_percent
                  - range_18m_2y_percent
                  - range_2y_3y_percent
                  - range_3y_5y_percent
                  - range_5y_7y_percent
                  - range_7y_10y_percent
                  - range_10y_inf_percent
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  range_0d_1d:
                    type: decimal
                    description: Total count of UTxOs of ages between 0 day to 1 day.
                  range_1d_1w:
                    type: decimal
                    description: Total count of UTxOs of ages between 1 day to 1 week.
                  range_1w_1m:
                    type: decimal
                    description: Total count of UTxOs of ages between 1 week to 1 month.
                  range_1m_3m:
                    type: decimal
                    description: Total count of UTxOs of ages between 1 month to 3 months.
                  range_3m_6m:
                    type: decimal
                    description: Total count of UTxOs of ages between 3 months to 6 months.
                  range_6m_12m:
                    type: decimal
                    description: Total count of UTxOs of ages between 6 months to 12 months.
                  range_12m_18m:
                    type: decimal
                    description: Total count of UTxOs of ages between 12 months to 18 months.
                  range_18m_2y:
                    type: decimal
                    description: Total count of UTxOs of ages between 18 months to 2 years.
                  range_2y_3y:
                    type: decimal
                    description: Total count of UTxOs of ages between 2 years to 3 years.
                  range_3y_5y:
                    type: decimal
                    description: Total count of UTxOs of ages between 3 years to 5 years.
                  range_5y_7y:
                    type: decimal
                    description: Total count of UTxOs of ages between 5 years to 7 years.
                  range_7y_10y:
                    type: decimal
                    description: Total count of UTxOs of ages between 7 years to 10 years.
                  range_10y_inf:
                    type: decimal
                    description: Total count of UTxOs of ages over 10 years.
                  range_0d_1d_percent:
                    type: decimal
                    description: Percent count held by UTxOs of ages between 0 day to 1 day.
                  range_1d_1w_percent:
                    type: decimal
                    description: Percent count held by UTxOs of ages between 1 day to 1 week.
                  range_1w_1m_percent:
                    type: decimal
                    description: Percent count held by UTxOs of ages between 1 week to 1 month.
                  range_1m_3m_percent:
                    type: decimal
                    description: Percent count held by UTxOs of ages between 1 month to 3 months.
                  range_3m_6m_percent:
                    type: decimal
                    description: Percent count held by UTxOs of ages between 3 months to 6 months.
                  range_6m_12m_percent:
                    type: decimal
                    description: Percent count held by UTxOs of ages between 6 months to 12 months.
                  range_12m_18m_percent:
                    type: decimal
                    description: Percent count held by UTxOs of ages between 12 months to 18 months.
                  range_18m_2y_percent:
                    type: decimal
                    description: Percent count held by UTxOs of ages between 18 months to 2 years.
                  range_2y_3y_percent:
                    type: decimal
                    description: Percent count held by UTxOs of ages between 2 years to 3 years.
                  range_3y_5y_percent:
                    type: decimal
                    description: Percent count held by UTxOs of ages between 3 years to 5 years.
                  range_5y_7y_percent:
                    type: decimal
                    description: Percent count held by UTxOs of ages between 5 years to 7 years.
                  range_7y_10y_percent:
                    type: decimal
                    description: Percent count held by UTxOs of ages between 7 years to 10 years.
                  range_10y_inf_percent:
                    type: decimal
                    description: Percent count held by UTxOs of ages over 10 years.
    SpentOutputAgeDistributionResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - range_0d_1d
                  - range_1d_1w
                  - range_1w_1m
                  - range_1m_3m
                  - range_3m_6m
                  - range_6m_12m
                  - range_12m_18m
                  - range_18m_2y
                  - range_2y_3y
                  - range_3y_5y
                  - range_5y_7y
                  - range_7y_10y
                  - range_10y_inf
                  - range_0d_1d_usd
                  - range_1d_1w_usd
                  - range_1w_1m_usd
                  - range_1m_3m_usd
                  - range_3m_6m_usd
                  - range_6m_12m_usd
                  - range_12m_18m_usd
                  - range_18m_2y_usd
                  - range_2y_3y_usd
                  - range_3y_5y_usd
                  - range_5y_7y_usd
                  - range_7y_10y_usd
                  - range_10y_inf_usd
                  - range_0d_1d_percent
                  - range_1d_1w_percent
                  - range_1w_1m_percent
                  - range_1m_3m_percent
                  - range_3m_6m_percent
                  - range_6m_12m_percent
                  - range_12m_18m_percent
                  - range_18m_2y_percent
                  - range_2y_3y_percent
                  - range_3y_5y_percent
                  - range_5y_7y_percent
                  - range_7y_10y_percent
                  - range_10y_inf_percent
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  range_0d_1d:
                    type: decimal
                    description: Total sum of spent outputs of ages between 0 day to 1 day.
                  range_1d_1w:
                    type: decimal
                    description: Total sum of spent outputs of ages between 1 day to 1 week.
                  range_1w_1m:
                    type: decimal
                    description: Total sum of spent outputs of ages between 1 week to 1 month.
                  range_1m_3m:
                    type: decimal
                    description: Total sum of spent outputs of ages between 1 month to 3 months.
                  range_3m_6m:
                    type: decimal
                    description: Total sum of spent outputs of ages between 3 months to 6 months.
                  range_6m_12m:
                    type: decimal
                    description: Total sum of spent outputs of ages between 6 months to 12 months.
                  range_12m_18m:
                    type: decimal
                    description: Total sum of spent outputs of ages between 12 months to 18 months.
                  range_18m_2y:
                    type: decimal
                    description: Total sum of spent outputs of ages between 18 months to 2 years.
                  range_2y_3y:
                    type: decimal
                    description: Total sum of spent outputs of ages between 2 years to 3 years.
                  range_3y_5y:
                    type: decimal
                    description: Total sum of spent outputs of ages between 3 years to 5 years.
                  range_5y_7y:
                    type: decimal
                    description: Total sum of spent outputs of ages between 5 years to 7 years.
                  range_7y_10y:
                    type: decimal
                    description: Total sum of spent outputs of ages between 7 years to 10 years.
                  range_10y_inf:
                    type: decimal
                    description: Total sum of spent outputs of ages over 10 years.
                  range_0d_1d_usd:
                    type: decimal
                    description: Total sum of spent outputs of ages between 0 day to 1 day in USD.
                  range_1d_1w_usd:
                    type: decimal
                    description: Total sum of spent outputs of ages between 1 day to 1 week in USD.
                  range_1w_1m_usd:
                    type: decimal
                    description: Total sum of spent outputs of ages between 1 week to 1 month in USD.
                  range_1m_3m_usd:
                    type: decimal
                    description: Total sum of spent outputs of ages between 1 month to 3 months in USD.
                  range_3m_6m_usd:
                    type: decimal
                    description: Total sum of spent outputs of ages between 3 months to 6 months in USD.
                  range_6m_12m_usd:
                    type: decimal
                    description: Total sum of spent outputs of ages between 6 months to 12 months in USD.
                  range_12m_18m_usd:
                    type: decimal
                    description: Total sum of spent outputs of ages between 12 months to 18 months in USD.
                  range_18m_2y_usd:
                    type: decimal
                    description: Total sum of spent outputs of ages between 18 months to 2 years in USD.
                  range_2y_3y_usd:
                    type: decimal
                    description: Total sum of spent outputs of ages between 2 years to 3 years in USD.
                  range_3y_5y_usd:
                    type: decimal
                    description: Total sum of spent outputs of ages between 3 years to 5 years in USD.
                  range_5y_7y_usd:
                    type: decimal
                    description: Total sum of spent outputs of ages between 5 years to 7 years in USD.
                  range_7y_10y_usd:
                    type: decimal
                    description: Total sum of spent outputs of ages between 7 years to 10 years in USD.
                  range_10y_inf_usd:
                    type: decimal
                    description: Total sum of spent outputs of ages over 10 years in USD.
                  range_0d_1d_percent:
                    type: decimal
                    description: Percent sum of spent outputs of ages between 0 day to 1 day.
                  range_1d_1w_percent:
                    type: decimal
                    description: Percent sum of spent outputs of ages between 1 day to 1 week.
                  range_1w_1m_percent:
                    type: decimal
                    description: Percent sum of spent outputs of ages between 1 week to 1 month.
                  range_1m_3m_percent:
                    type: decimal
                    description: Percent sum of spent outputs of ages between 1 month to 3 months.
                  range_3m_6m_percent:
                    type: decimal
                    description: Percent sum of spent outputs of ages between 3 months to 6 months.
                  range_6m_12m_percent:
                    type: decimal
                    description: Percent sum of spent outputs of ages between 6 months to 12 months.
                  range_12m_18m_percent:
                    type: decimal
                    description: Percent sum of spent outputs of ages between 12 months to 18 months.
                  range_18m_2y_percent:
                    type: decimal
                    description: Percent sum of spent outputs of ages between 18 months to 2 years.
                  range_2y_3y_percent:
                    type: decimal
                    description: Percent sum of spent outputs of ages between 2 years to 3 years.
                  range_3y_5y_percent:
                    type: decimal
                    description: Percent sum of spent outputs of ages between 3 years to 5 years.
                  range_5y_7y_percent:
                    type: decimal
                    description: Percent sum of spent outputs of ages between 5 years to 7 years.
                  range_7y_10y_percent:
                    type: decimal
                    description: Percent sum of spent outputs of ages between 7 years to 10 years.
                  range_10y_inf_percent:
                    type: decimal
                    description: Percent sum of spent outputs of ages over 10 years.
    UTxOSupplyDistributionResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - range_0_001
                  - range_001_01
                  - range_01_1
                  - range_1_10
                  - range_10_100
                  - range_100_1k
                  - range_1k_10k
                  - range_10k_inf
                  - range_0_001_percent
                  - range_001_01_percent
                  - range_01_1_percent
                  - range_1_10_percent
                  - range_10_100_percent
                  - range_100_1k_percent
                  - range_1k_10k_percent
                  - range_10k_inf_percent
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  range_0_001:
                    type: decimal
                    description: Total supply of UTxOs with balance between 0 and 0.01.
                  range_001_01:
                    type: decimal
                    description: Total supply of UTxOs with balance between 0.01 and 0.1.
                  range_01_1:
                    type: decimal
                    description: Total supply of UTxOs with balance between 0.1 and 1.
                  range_1_10:
                    type: decimal
                    description: Total supply of UTxOs with balance between 1 and 10.
                  range_10_100:
                    type: decimal
                    description: Total supply of UTxOs with balance between 10 and 100.
                  range_100_1k:
                    type: decimal
                    description: Total supply of UTxOs with balance between 100 and 1k.
                  range_1k_10k:
                    type: decimal
                    description: Total supply of UTxOs with balance between 1k and 10k.
                  range_10k_inf:
                    type: decimal
                    description: Total supply of UTxOs with balance over 10k.
                  range_0_001_percent:
                    type: decimal
                    description: Percent supply held by UTxOs with balance between 0 and 0.01.
                  range_001_01_percent:
                    type: decimal
                    description: Percent supply held by UTxOs with balance between 0.01 and 0.1.
                  range_01_1_percent:
                    type: decimal
                    description: Percent supply held by UTxOs with balance between 0.1 and 1.
                  range_1_10_percent:
                    type: decimal
                    description: Percent supply held by UTxOs with balance between 1 and 10.
                  range_10_100_percent:
                    type: decimal
                    description: Percent supply held by UTxOs with balance between 10 and 100.
                  range_100_1k_percent:
                    type: decimal
                    description: Percent supply held by UTxOs with balance between 100 and 1k.
                  range_1k_10k_percent:
                    type: decimal
                    description: Percent supply held by UTxOs with balance between 1k and 10k.
                  range_10k_inf_percent:
                    type: decimal
                    description: Percent supply held by UTxOs with balance over 10k.
    UTxORealizedSupplyDistributionResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - range_0_1_usd
                  - range_1_10_usd
                  - range_10_100_usd
                  - range_100_1k_usd
                  - range_1k_10k_usd
                  - range_10k_100k_usd
                  - range_100k_1M_usd
                  - range_1M_inf_usd
                  - range_0_1_percent
                  - range_1_10_percent
                  - range_10_100_percent
                  - range_100_1k_percent
                  - range_1k_10k_percent
                  - range_10k_100k_percent
                  - range_100k_1M_percent
                  - range_1M_inf_percent
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  range_0_1_usd:
                    type: decimal
                    description: Total supply of UTxOs with balance between $0 and $1.
                  range_1_10_usd:
                    type: decimal
                    description: Total supply of UTxOs with balance between $1 and $10.
                  range_10_100_usd:
                    type: decimal
                    description: Total supply of UTxOs with balance between $10 and $100.
                  range_100_1k_usd:
                    type: decimal
                    description: Total supply of UTxOs with balance between $100 and $1k.
                  range_1k_10k_usd:
                    type: decimal
                    description: Total supply of UTxOs with balance between $1k and $10k.
                  range_10k_100k_usd:
                    type: decimal
                    description: Total supply of UTxOs with balance between $10k and $100k.
                  range_100k_1M_usd:
                    type: decimal
                    description: Total supply of UTxOs with balance between $100k and $1M.
                  range_1M_inf_usd:
                    type: decimal
                    description: Total supply of UTxOs with balance over $1M.
                  range_0_1_percent:
                    type: decimal
                    description: Percent supply held by UTxOs with balance between $0 and $1.
                  range_1_10_percent:
                    type: decimal
                    description: Percent supply held by UTxOs with balance between $1 and $10.
                  range_10_100_percent:
                    type: decimal
                    description: Percent supply held by UTxOs with balance between $10 and $100.
                  range_100_1k_percent:
                    type: decimal
                    description: Percent supply held by UTxOs with balance between $100 and $1k.
                  range_1k_10k_percent:
                    type: decimal
                    description: Percent supply held by UTxOs with balance between $1k and $10k.
                  range_10k_100k_percent:
                    type: decimal
                    description: Percent supply held by UTxOs with balance between $10k and $100k.
                  range_100k_1M_percent:
                    type: decimal
                    description: Percent supply held by UTxOs with balance between $100k and $1M.
                  range_1M_inf_percent:
                    type: decimal
                    description: Percent supply held by UTxOs with balance over $1M.
    UTxOCountSupplyDistributionResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - range_0_001
                  - range_001_01
                  - range_01_1
                  - range_1_10
                  - range_10_100
                  - range_100_1k
                  - range_1k_10k
                  - range_10k_inf
                  - range_0_001_percent
                  - range_001_01_percent
                  - range_01_1_percent
                  - range_1_10_percent
                  - range_10_100_percent
                  - range_100_1k_percent
                  - range_1k_10k_percent
                  - range_10k_inf_percent
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  range_0_001:
                    type: decimal
                    description: Total count of UTxOs with balance between 0 and 0.01.
                  range_001_01:
                    type: decimal
                    description: Total count of UTxOs with balance between 0.01 and 0.1.
                  range_01_1:
                    type: decimal
                    description: Total count of UTxOs with balance between 0.1 and 1.
                  range_1_10:
                    type: decimal
                    description: Total count of UTxOs with balance between 1 and 10.
                  range_10_100:
                    type: decimal
                    description: Total count of UTxOs with balance between 10 and 100.
                  range_100_1k:
                    type: decimal
                    description: Total count of UTxOs with balance between 100 and 1k.
                  range_1k_10k:
                    type: decimal
                    description: Total count of UTxOs with balance between 1k and 10k.
                  range_10k_inf:
                    type: decimal
                    description: Total count of UTxOs with balance over 10k.
                  range_0_001_percent:
                    type: decimal
                    description: Percent count held by UTxOs with balance between 0 and 0.01.
                  range_001_01_percent:
                    type: decimal
                    description: Percent count held by UTxOs with balance between 0.01 and 0.1.
                  range_01_1_percent:
                    type: decimal
                    description: Percent count held by UTxOs with balance between 0.1 and 1.
                  range_1_10_percent:
                    type: decimal
                    description: Percent count held by UTxOs with balance between 1 and 10.
                  range_10_100_percent:
                    type: decimal
                    description: Percent count held by UTxOs with balance between 10 and 100.
                  range_100_1k_percent:
                    type: decimal
                    description: Percent count held by UTxOs with balance between 100 and 1k.
                  range_1k_10k_percent:
                    type: decimal
                    description: Percent count held by UTxOs with balance between 1k and 10k.
                  range_10k_inf_percent:
                    type: decimal
                    description: Percent count held by UTxOs with balance over 10k.
    SpentOutputSupplyDistributionResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - range_0_001
                  - range_001_01
                  - range_01_1
                  - range_1_10
                  - range_10_100
                  - range_100_1k
                  - range_1k_10k
                  - range_10k_inf
                  - range_0_1_usd
                  - range_1_10_usd
                  - range_10_100_usd
                  - range_100_1k_usd
                  - range_1k_10k_usd
                  - range_10k_100k_usd
                  - range_100k_1M_usd
                  - range_1M_inf_usd
                  - range_0_001_percent
                  - range_001_01_percent
                  - range_01_1_percent
                  - range_1_10_percent
                  - range_10_100_percent
                  - range_100_1k_percent
                  - range_1k_10k_percent
                  - range_10k_inf_percent
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  range_0_001:
                    type: decimal
                    description: Total sum of spent outputs with balance between 0 and 0.01.
                  range_001_01:
                    type: decimal
                    description: Total sum of spent outputs with balance between 0.01 and 0.1.
                  range_01_1:
                    type: decimal
                    description: Total sum of spent outputs with balance between 0.1 and 1.
                  range_1_10:
                    type: decimal
                    description: Total sum of spent outputs with balance between 1 and 10.
                  range_10_100:
                    type: decimal
                    description: Total sum of spent outputs with balance between 10 and 100.
                  range_100_1k:
                    type: decimal
                    description: Total sum of spent outputs with balance between 100 and 1k.
                  range_1k_10k:
                    type: decimal
                    description: Total sum of spent outputs with balance between 1k and 10k.
                  range_10k_inf:
                    type: decimal
                    description: Total sum of spent outputs with balance over 10k.
                  range_0_1_usd:
                    type: decimal
                    description: Total sum of spent outputs with balance between $0 and $1.
                  range_1_10_usd:
                    type: decimal
                    description: Total sum of spent outputs with balance between $1 and $10.
                  range_10_100_usd:
                    type: decimal
                    description: Total sum of spent outputs with balance between $10 and $100.
                  range_100_1k_usd:
                    type: decimal
                    description: Total sum of spent outputs with balance between $100 and $1k.
                  range_1k_10k_usd:
                    type: decimal
                    description: Total sum of spent outputs with balance between $1k and $10k.
                  range_10k_100k_usd:
                    type: decimal
                    description: Total sum of spent outputs with balance between $10k and $100k.
                  range_100k_1M_usd:
                    type: decimal
                    description: Total sum of spent outputs with balance between $100k and $1M.
                  range_1M_inf_usd:
                    type: decimal
                    description: Total sum of spent outputs with balance over $1M.
                  range_0_001_percent:
                    type: decimal
                    description: Percent sum of spent outputs with balance between 0 and 0.01.
                  range_001_01_percent:
                    type: decimal
                    description: Percent sum of spent outputs with balance between 0.01 and 0.1.
                  range_01_1_percent:
                    type: decimal
                    description: Percent sum of spent outputs with balance between 0.1 and 1.
                  range_1_10_percent:
                    type: decimal
                    description: Percent sum of spent outputs with balance between 1 and 10.
                  range_10_100_percent:
                    type: decimal
                    description: Percent sum of spent outputs with balance between 10 and 100.
                  range_100_1k_percent:
                    type: decimal
                    description: Percent sum of spent outputs with balance between 100 and 1k.
                  range_1k_10k_percent:
                    type: decimal
                    description: Percent sum of spent outputs with balance between 1k and 10k.
                  range_10k_inf_percent:
                    type: decimal
                    description: Percent sum of spent outputs with balance over 10k.
    EstimatedLeverageRatioResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - estimated_leverage_ratio
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  estimated_leverage_ratio:
                    type: decimal
                    description: The amount of open interest in the given period and exchange divided by the BTC reserve of given exchange
    SSRResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - stablecoin_supply_ratio
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  stablecoin_supply_ratio:
                    type: decimal
                    description: SSR is a ratio of stablecoin supply in the whole cryptocurrency market.
    MVRVResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - mvrv
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  mvrv:
                    type: decimal
                    description: market_cap/realized_cap
    SOPRResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - sopr
                  - a_sopr
                  - sth_sopr
                  - lth_sopr
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  sopr:
                    type: decimal
                    description: Spent Output Profit Ratio is a ratio of spent outputs in profit at the time of the window.
                  a_sopr:
                    type: decimal
                    description: Adjusted spent output only includes alive more than 1 hour.
                  sth_sopr:
                    type: decimal
                    description: Short term holder spent output only includes alive more than 1 hour and less than 155 days.
                  lth_sopr:
                    type: decimal
                    description: Long term holder spent output only includes alive more than 155 days.
    SOPRRatioResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - sopr_ratio
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  sopr_ratio:
                    type: decimal
                    description: Long term holders' SOPR divided by short term holders' SOPR.
    RealizedPriceResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - realized_price
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  realized_price:
                    type: decimal
                    description: Realized Cap divided by total supply.
    UTxORealizedPriceAgeDistributionResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - range_0d_1d
                  - range_1d_1w
                  - range_1w_1m
                  - range_1m_3m
                  - range_3m_6m
                  - range_6m_12m
                  - range_12m_18m
                  - range_18m_2y
                  - range_2y_3y
                  - range_3y_5y
                  - range_5y_7y
                  - range_7y_10y
                  - range_10y_inf
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  range_0d_1d:
                    type: decimal
                    description: Realized price of UTxOs of ages between 0 day to 1 day.
                  range_1d_1w:
                    type: decimal
                    description: Realized price of UTxOs of ages between 1 day to 1 week.
                  range_1w_1m:
                    type: decimal
                    description: Realized price of UTxOs of ages between 1 week to 1 month.
                  range_1m_3m:
                    type: decimal
                    description: Realized price of UTxOs of ages between 1 month to 3 months.
                  range_3m_6m:
                    type: decimal
                    description: Realized price of UTxOs of ages between 3 months to 6 months.
                  range_6m_12m:
                    type: decimal
                    description: Realized price of UTxOs of ages between 6 months to 12 months.
                  range_12m_18m:
                    type: decimal
                    description: Realized price of UTxOs of ages between 12 months to 18 months.
                  range_18m_2y:
                    type: decimal
                    description: Realized price of UTxOs of ages between 18 months to 2 years.
                  range_2y_3y:
                    type: decimal
                    description: Realized price of UTxOs of ages between 2 years to 3 years.
                  range_3y_5y:
                    type: decimal
                    description: Realized price of UTxOs of ages between 3 years to 5 years.
                  range_5y_7y:
                    type: decimal
                    description: Realized price of UTxOs of ages between 5 years to 7 years.
                  range_7y_10y:
                    type: decimal
                    description: Realized price of UTxOs of ages between 7 years to 10 years.
                  range_10y_inf:
                    type: decimal
                    description: Realized price of UTxOs of ages over 10 years.
    MPIResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - mpi
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  mpi:
                    type: decimal
                    description: MPI(Miners’ position index) is the total miner outflow usd divided by MA 365 total miner outflow usd.
    ExchangeShutdownIndexResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - is_shutdown
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  is_shutdown:
                    type: decimal
                    description: If the total BTC outflow amount of exchange is zero at each time unit, returns 1. Otherwise, it returns 0.
    ExchangeWhaleRatioResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - exchange_whale_ratio
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  exchange_whale_ratio:
                    type: decimal
                    description: The total BTC amount of top 10 transactions (in terms of total BTC sent) divided by the total BTC amount flowing into exchange.
    FundFlowRatioResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - fund_flow_ratio
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  fund_flow_ratio:
                    type: decimal
                    description: The total BTC amount flowing into or out of exchange divided by the total BTC amount transferred on the whole Bitcoin network.
    StablecoinsRatioResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - stablecoins_ratio
                  - stablecoins_ratio_usd
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  stablecoins_ratio:
                    type: decimal
                    description: Total BTC reserve divided by all stablecoins reserve held by an exchange.
                  stablecoins_ratio_usd:
                    type: decimal
                    description: Total BTC reserve in USD divided by all stablecoins reserve held by an exchange.
    ExchangeInflowAgeDistributionResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - range_0d_1d
                  - range_1d_1w
                  - range_1w_1m
                  - range_1m_3m
                  - range_3m_6m
                  - range_6m_12m
                  - range_12m_18m
                  - range_18m_2y
                  - range_2y_3y
                  - range_3y_5y
                  - range_5y_7y
                  - range_7y_10y
                  - range_10y_inf
                  - range_0d_1d_percent
                  - range_1d_1w_percent
                  - range_1w_1m_percent
                  - range_1m_3m_percent
                  - range_3m_6m_percent
                  - range_6m_12m_percent
                  - range_12m_18m_percent
                  - range_18m_2y_percent
                  - range_2y_3y_percent
                  - range_3y_5y_percent
                  - range_5y_7y_percent
                  - range_7y_10y_percent
                  - range_10y_inf_percent
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  range_0d_1d:
                    type: decimal
                    description: Sum of destroyed UTxOs of ages between 0 day to 1 day as inflow to exchanges.
                  range_1d_1w:
                    type: decimal
                    description: Sum of destroyed UTxOs of ages between 1 day to 1 week as inflow to exchanges.
                  range_1w_1m:
                    type: decimal
                    description: Sum of destroyed UTxOs of ages between 1 week to 1 month as inflow to exchanges.
                  range_1m_3m:
                    type: decimal
                    description: Sum of destroyed UTxOs of ages between 1 month to 3 months as inflow to exchanges.
                  range_3m_6m:
                    type: decimal
                    description: Sum of destroyed UTxOs of ages between 3 months to 6 months as inflow to exchanges.
                  range_6m_12m:
                    type: decimal
                    description: Sum of destroyed UTxOs of ages between 6 months to 12 months as inflow to exchanges.
                  range_12m_18m:
                    type: decimal
                    description: Sum of destroyed UTxOs of ages between 12 months to 18 months as inflow to exchanges.
                  range_18m_2y:
                    type: decimal
                    description: Sum of destroyed UTxOs of ages between 18 months to 2 years as inflow to exchanges.
                  range_2y_3y:
                    type: decimal
                    description: Sum of destroyed UTxOs of ages between 2 years to 3 years as inflow to exchanges.
                  range_3y_5y:
                    type: decimal
                    description: Sum of destroyed UTxOs of ages between 3 years to 5 years as inflow to exchanges.
                  range_5y_7y:
                    type: decimal
                    description: Sum of destroyed UTxOs of ages between 5 years to 7 years as inflow to exchanges.
                  range_7y_10y:
                    type: decimal
                    description: Sum of destroyed UTxOs of ages between 7 years to 10 years as inflow to exchanges.
                  range_10y_inf:
                    type: decimal
                    description: Sum of destroyed UTxOs of ages over 10 years as inflow to exchanges.
                  range_0d_1d_percent:
                    type: decimal
                    description: Percent sum of destroyed UTxOs of ages between 0 day to 1 day as inflow to exchanges.
                  range_1d_1w_percent:
                    type: decimal
                    description: Percent sum of destroyed UTxOs of ages between 1 day to 1 week as inflow to exchanges.
                  range_1w_1m_percent:
                    type: decimal
                    description: Percent sum of destroyed UTxOs of ages between 1 week to 1 month as inflow to exchanges.
                  range_1m_3m_percent:
                    type: decimal
                    description: Percent sum of destroyed UTxOs of ages between 1 month to 3 months as inflow to exchanges.
                  range_3m_6m_percent:
                    type: decimal
                    description: Percent sum of destroyed UTxOs of ages between 3 months to 6 months as inflow to exchanges.
                  range_6m_12m_percent:
                    type: decimal
                    description: Percent sum of destroyed UTxOs of ages between 6 months to 12 months as inflow to exchanges.
                  range_12m_18m_percent:
                    type: decimal
                    description: Percent sum of destroyed UTxOs of ages between 12 months to 18 months as inflow to exchanges.
                  range_18m_2y_percent:
                    type: decimal
                    description: Percent sum of destroyed UTxOs of ages between 18 months to 2 years as inflow to exchanges.
                  range_2y_3y_percent:
                    type: decimal
                    description: Percent sum of destroyed UTxOs of ages between 2 years to 3 years as inflow to exchanges.
                  range_3y_5y_percent:
                    type: decimal
                    description: Percent sum of destroyed UTxOs of ages between 3 years to 5 years as inflow to exchanges.
                  range_5y_7y_percent:
                    type: decimal
                    description: Percent sum of destroyed UTxOs of ages between 5 years to 7 years as inflow to exchanges.
                  range_7y_10y_percent:
                    type: decimal
                    description: Percent sum of destroyed UTxOs of ages between 7 years to 10 years as inflow to exchanges.
                  range_10y_inf_percent:
                    type: decimal
                    description: Percent sum of destroyed UTxOs of ages over 10 years as inflow to exchanges.
    ExchangeInflowSupplyDistributionResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - range_0_001
                  - range_001_01
                  - range_01_1
                  - range_1_10
                  - range_10_100
                  - range_100_1k
                  - range_1k_10k
                  - range_10k_inf
                  - range_0_001_percent
                  - range_001_01_percent
                  - range_01_1_percent
                  - range_1_10_percent
                  - range_10_100_percent
                  - range_100_1k_percent
                  - range_1k_10k_percent
                  - range_10k_inf_percent
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  range_0_001:
                    type: decimal
                    description: Sum of destroyed UTxOs with balance between 0 and 0.01 as inflow to exchanges.
                  range_001_01:
                    type: decimal
                    description: Sum of destroyed UTxOs with balance between 0.01 and 0.1 as inflow to exchanges.
                  range_01_1:
                    type: decimal
                    description: Sum of destroyed UTxOs with balance between 0.1 and 1 as inflow to exchanges.
                  range_1_10:
                    type: decimal
                    description: Sum of destroyed UTxOs with balance between 1 and 10 as inflow to exchanges.
                  range_10_100:
                    type: decimal
                    description: Sum of destroyed UTxOs with balance between 10 and 100 as inflow to exchanges.
                  range_100_1k:
                    type: decimal
                    description: Sum of destroyed UTxOs with balance between 100 and 1k as inflow to exchanges.
                  range_1k_10k:
                    type: decimal
                    description: Sum of destroyed UTxOs with balance between 1k and 10k as inflow to exchanges.
                  range_10k_inf:
                    type: decimal
                    description: Sum of destroyed UTxOs with balance over 10k as inflow to exchanges.
                  range_0_001_percent:
                    type: decimal
                    description: Percent sum of destroyed UTxOs with balance between 0 and 0.01 as inflow to exchanges.
                  range_001_01_percent:
                    type: decimal
                    description: Percent sum of destroyed UTxOs with balance between 0.01 and 0.1 as inflow to exchanges.
                  range_01_1_percent:
                    type: decimal
                    description: Percent sum of destroyed UTxOs with balance between 0.1 and 1 as inflow to exchanges.
                  range_1_10_percent:
                    type: decimal
                    description: Percent sum of destroyed UTxOs with balance between 1 and 10 as inflow to exchanges.
                  range_10_100_percent:
                    type: decimal
                    description: Percent sum of destroyed UTxOs with balance between 10 and 100 as inflow to exchanges.
                  range_100_1k_percent:
                    type: decimal
                    description: Percent sum of destroyed UTxOs with balance between 100 and 1k as inflow to exchanges.
                  range_1k_10k_percent:
                    type: decimal
                    description: Percent sum of destroyed UTxOs with balance between 1k and 10k as inflow to exchanges.
                  range_10k_inf_percent:
                    type: decimal
                    description: Percent sum of destroyed UTxOs with balance over 10k as inflow to exchanges.
    ExchangeInflowCDDResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - inflow_cdd
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  inflow_cdd:
                    type: decimal
                    description: Coin days destroyed by flowing into exchanges.
    ExchangeSupplyRatioResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - supply_ratio
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  supply_ratio:
                    type: decimal
                    description: Ratio of reserved token in the exchange relative to total supply.
    MinerSupplyRatioResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - supply_ratio
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  supply_ratio:
                    type: decimal
                    description: Ratio of reserved token in the miner relative to total supply.
    BTCMempoolStatsByRelativeFeeResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DH'
            data:
              type: array
              items:
                type: object
                required:
                  - date
                  - metric_type
                  - metric_unit
                  - relative_fee_range_a_b
                properties:
                  date:
                    $ref: '#/components/schemas/Datetime'
                  metric_type:
                    type: string
                    description: metric type.
                  metric_unit:
                    type: string
                    description: an unit of the retrieved metric.
                  relative_fee_range_0_1:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 0 ~ 1 (sat.vByte).
                  relative_fee_range_1_2:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 1 ~ 2 (sat.vByte).
                  relative_fee_range_2_3:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 2 ~ 3 (sat.vByte).
                  relative_fee_range_3_4:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 3 ~ 4 (sat.vByte).
                  relative_fee_range_4_5:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 4 ~ 5 (sat.vByte).
                  relative_fee_range_5_6:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 5 ~ 6 (sat.vByte).
                  relative_fee_range_6_7:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 6 ~ 7 (sat.vByte).
                  relative_fee_range_7_8:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 7 ~ 8 (sat.vByte).
                  relative_fee_range_8_10:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 8 ~ 10 (sat.vByte).
                  relative_fee_range_10_12:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 10 ~ 12 (sat.vByte).
                  relative_fee_range_12_14:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 12 ~ 14 (sat.vByte).
                  relative_fee_range_14_17:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 14 ~ 17 (sat.vByte).
                  relative_fee_range_17_20:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 17 ~ 20 (sat.vByte).
                  relative_fee_range_20_25:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 20 ~ 25 (sat.vByte).
                  relative_fee_range_25_30:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 25 ~ 30 (sat.vByte).
                  relative_fee_range_30_40:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 30 ~ 40 (sat.vByte).
                  relative_fee_range_40_50:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 40 ~ 50 (sat.vByte).
                  relative_fee_range_50_60:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 50 ~ 60 (sat.vByte).
                  relative_fee_range_60_70:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 60 ~ 70 (sat.vByte).
                  relative_fee_range_70_80:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 70 ~ 80 (sat.vByte).
                  relative_fee_range_80_100:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 80 ~ 100 (sat.vByte).
                  relative_fee_range_100_120:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 100 ~ 120 (sat.vByte).
                  relative_fee_range_120_140:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 120 ~ 140 (sat.vByte).
                  relative_fee_range_140_170:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 140 ~ 170 (sat.vByte).
                  relative_fee_range_170_200:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 170 ~ 200 (sat.vByte).
                  relative_fee_range_200_250:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 200 ~ 250 (sat.vByte).
                  relative_fee_range_250_300:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 250 ~ 300 (sat.vByte).
                  relative_fee_range_300_400:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 300 ~ 400 (sat.vByte).
                  relative_fee_range_400_500:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 400 ~ 500 (sat.vByte).
                  relative_fee_range_500_600:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 500 ~ 600 (sat.vByte).
                  relative_fee_range_600_700:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 600 ~ 700 (sat.vByte).
                  relative_fee_range_700_800:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 700 ~ 800 (sat.vByte).
                  relative_fee_range_800_1000:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 800 ~ 1000 (sat.vByte).
                  relative_fee_range_1000_1200:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 1000 ~ 1200 (sat.vByte).
                  relative_fee_range_1200_1400:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 1200 ~ 1400 (sat.vByte).
                  relative_fee_range_1400_1700:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 1400 ~ 1700 (sat.vByte).
                  relative_fee_range_1700_2000:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 1700 ~ 2000 (sat.vByte).
                  relative_fee_range_2000_2500:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 2000 ~ 2500 (sat.vByte).
                  relative_fee_range_2500_3000:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 2500 ~ 3000 (sat.vByte).
                  relative_fee_range_3000_4000:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 3000 ~ 4000 (sat.vByte).
                  relative_fee_range_4000_5000:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 4000 ~ 5000 (sat.vByte).
                  relative_fee_range_5000_6000:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 5000 ~ 6000 (sat.vByte).
                  relative_fee_range_6000_7000:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 6000 ~ 7000 (sat.vByte).
                  relative_fee_range_7000_8000:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 7000 ~ 8000 (sat.vByte).
                  relative_fee_range_8000_10000:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 8000 ~ 10000 (sat.vByte).
                  relative_fee_range_10000_inf:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions which are contained in Fee level 10000 ~ inf (sat.vByte).
    BTCMempoolStatsInTotalResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DH'
            data:
              type: array
              items:
                type: object
                required:
                  - date
                  - metric_type
                  - metric_unit
                  - result
                properties:
                  date:
                    $ref: '#/components/schemas/Datetime'
                  metric_type:
                    type: string
                    description: metric type.
                  metric_unit:
                    type: string
                    description: an unit of the retrieved metric.
                  result:
                    type: decimal
                    description: calculated metrics from unconfirmed transactions in Memory pool.
    BTCLightningNetworkStatsInTotalResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DH'
            data:
              type: array
              items:
                type: object
                required:
                  - date
                  - network_capacity
                  - network_capacity_usd
                  - capacity_per_channel_mean
                  - capacity_per_channel_mean_usd
                  - capacity_per_node_mean
                  - capacity_per_node_mean_usd
                  - number_of_node
                  - number_of_channel
                  - channel_per_node_mean
                  - node_age_days
                  - channel_age_days
                  - base_fee_median
                  - base_fee_median_usd
                  - fee_rate_median
                  - fee_rate_median_usd
                properties:
                  date:
                    $ref: '#/components/schemas/Datetime'
                  network_capacity:
                    type: decimal
                    description: The total network capacity (sum of balances available across all lightning payment channels) (BTC)
                  network_capacity_usd:
                    type: decimal
                    description: The total network capacity (sum of balances available across all lightning payment channels) (USD)
                  capacity_per_channel_mean:
                    type: decimal
                    description: The average channel capacity (BTC)
                  capacity_per_channel_mean_usd:
                    type: decimal
                    description: The average channel capacity (USD)
                  capacity_per_node_mean:
                    type: decimal
                    description: The average node capacity (BTC)
                  capacity_per_node_mean_usd:
                    type: decimal
                    description: The average node capacity (USD)
                  number_of_node:
                    type: integer
                    description: The total number of available nodes (Number)
                  number_of_channel:
                    type: integer
                    description: The total number of available payment channels  (Number)
                  channel_per_node_mean:
                    type: decimal
                    description: The average number of channels per node    (Number)
                  node_age_days:
                    type: decimal
                    description: The average day of duration of nodes (Number)
                  channel_age_days:
                    type: decimal
                    description: The average day of duration of channels (Number)
                  base_fee_median:
                    type: decimal
                    description: The median base fee of transactions (Sat)
                  base_fee_median_usd:
                    type: decimal
                    description: The median base fee of transactions (USD)
                  fee_rate_median:
                    type: decimal
                    description: The median fee rates of transactions (Sat)
                  fee_rate_median_usd:
                    type: decimal
                    description: The median fee rates of transactions (USD)
    CompaniesResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - data
            - window
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - block_bytes
                  - coinbase_rewards
                  - other_mining_rewards
                  - total_rewards
                  - accumulated_monthly_rewards
                  - unique_txn
                  - active_address_count
                  - reported_production
                  - report_accuracy
                  - closing_usd
                  - total_daily_rewards_closing_usd
                  - accumulated_monthly_rewards_closing_usd
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  coinbase_rewards:
                    type: decimal
                    description: The daily amount of Bitcoin mined directly from a coinbase transaction.
                  other_mining_rewards:
                    type: decimal
                    description: The daily amount of Bitcoin received as payment from a mining pool. Tipically, mining pools pay miners with Bitcoin from a coinbase transaction.
                  total_rewards:
                    type: decimal
                    description: The daily sum of coinbase_rewards and Other Mining Rewards (in number of Bitcoin).
                  accumulated_monthly_rewards:
                    type: decimal
                    description: The daily running sum of total_rewards in each month (in number of Bitcoin).
                  unique_txn:
                    type: decimal
                    description: The total number of Bitcoin transactions involving a mining reward.
                  active_address_count:
                    type: decimal
                    description: The number of addresses from a company that received a block reward each day.
                  reported_production:
                    type: decimal
                    description: The company's reported total monthly production (in number of Bitcoin).
                  report_accuracy:
                    type: decimal
                    description: The ratio of accumulated_monthly_rewards to reported_production times 100. It represents the % of total reported production captured by On-chain transactions.
                  closing_usd:
                    type: decimal
                    description: The daily closing price of Bitcoin in USD.
                  total_daily_rewards_closing_usd:
                    type: decimal
                    description: Daily total_rewards in USD using the closing_usd price.
                  accumulated_monthly_rewards_closing_usd:
                    type: decimal
                    description: accumulated_monthly_rewards in USD using the closing_usd price.
    schemas_EntityListResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - type
            - data
          properties:
            type:
              $ref: '#/components/schemas/Type'
            data:
              type: array
              items:
                type: object
                required:
                  - name
                  - symbol
                  - is_validated
                  - market_type
                properties:
                  name:
                    type: string
                    description: The name of entity.
                  symbol:
                    type: string
                    description: The name of calling symbol.
                  is_validated:
                    type: int
                    description: validated or in progress.
                  market_type:
                    type: int
                    description: Market type of entity.
    schemas_ReserveResponse-2:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - reserve
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  reserve:
                    type: decimal
                    description: The amount of Stablecoin on a given exchange.
    schemas_InflowResponse-2:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - inflow_total
                  - inflow_top10
                  - inflow_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  inflow_total:
                    type: decimal
                    description: The total amount of Stablecoin that transferred to the exchange.
                  inflow_top10:
                    type: decimal
                    description: The total Stablecoin amount of top 10 transactions (in terms of total tokens sent) flowing out of exchange wallets for every day that the exchange wallets we track have been live on the blockchain.
                  inflow_mean:
                    type: decimal
                    description: The mean of tokens per transaction sent an exchange.
    schemas_OutflowResponse-2:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - outflow_total
                  - outflow_top10
                  - outflow_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  outflow_total:
                    type: decimal
                    description: The total amount of Stablecoin that transferred from the exchange
                  outflow_top10:
                    type: decimal
                    description: The total Stablecoin amount of top 10 transactions (in terms of total tokens sent) flowing out of exchange wallets for every day that the exchange wallets we track have been live on the blockchain.
                  outflow_mean:
                    type: decimal
                    description: The mean of tokens per transaction sent from an exchange.
    schemas_SupplyResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - supply_total
                  - supply_minted
                  - supply_burned
                  - supply_circulating
                  - supply_issued
                  - supply_redeemed
                properties:
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  supply_total:
                    type: decimal
                    description: The total amount of BTC in existence.
                  supply_minted:
                    type: decimal
                    description: The amount of tokens minted (increase in total supply).
                  supply_burned:
                    type: decimal
                    description: The amount of tokens burned (decrease in total supply).
                  supply_circulating:
                    type: decimal
                    description: The approximation of the amount of tokens that are circulating in the market.
                  supply_issued:
                    type: decimal
                    description: The amount of tokens issued (increase in circulating supply).
                  supply_redeemed:
                    type: decimal
                    description: The amount of tokens redeemed (decrease in circulating supply).
    EventsCountResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - events_transfer_count
                  - events_mint_count
                  - events_issue_count
                  - events_burn_count
                  - events_redeem_count
                properties:
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  events_transfer_count:
                    type: decimal
                    description: The number of events that invokes transfer of positive(non-zero) amount of tokens.
                  events_mint_count:
                    type: decimal
                    description: The number of events to mint(i.e. create) tokens, which results in a increased total supply.
                  events_issue_count:
                    type: decimal
                    description: The number of events to issue tokens, which delivered tokens to the clients and increased circulating supply.
                  events_burn_count:
                    type: decimal
                    description: The number of events to burn(i.e. revoke) tokens that results in a decreased supply.
                  events_redeem_count:
                    type: decimal
                    description: The number of events to redeem tokens that results in a decrease in the circulating supply.
    schemas_TokensTransferredResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - tokens_transferred_total
                  - tokens_transferred_mean
                  - tokens_transferred_median
                properties:
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  tokens_transferred_total:
                    type: decimal
                    description: Total number of tokens transferred in that window.
                  tokens_transferred_mean:
                    type: decimal
                    description: The mean of tokens transferred per transaction.
    schemas_AddressesCountResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - addresses_active_count
                  - addresses_active_sender_count
                  - addresses_active_receiver_count
                  - addresses_active_sender_percent
                  - addresses_active_receiver_percent
                properties:
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  addresses_active_count:
                    type: decimal
                    description: The total number of unique addresses that were active (either sender or receiver) on the blockchain in a given window.
                  addresses_active_sender_count:
                    type: decimal
                    description: The number of addresses that were active as a sender.
                  addresses_active_receiver_count:
                    type: decimal
                    description: The number of addresses that were active as a receiver.
                  addresses_active_sender_percent:
                    type: decimal
                    description: The percentage of active senders relative to total active addresses.
                  addresses_active_receiver_percent:
                    type: decimal
                    description: The percentage of active receivers relative to total active addresses.
    PriceOHLCVSCResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - open
                  - high
                  - low
                  - close
                  - volume
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  datetime:
                    type: string
                    description: The date and time formatted as YYYY-MM-DDTHH:MM:SS (UTC time). This field only appears when window=block or window=min is used.
                  open:
                    type: decimal
                    description: opening price at the beginning of the window.
                  high:
                    type: decimal
                    description: opening price at the end of the window.
                  low:
                    type: decimal
                    description: The highest price in a given window.
                  close:
                    type: decimal
                    description: The lowest price in a given window.
                  volume:
                    type: decimal
                    description: The total traded amount in a given window.
    CapitalizationSCResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - market_cap
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  market_cap:
                    type: decimal
                    description: Market capitalization of the stable coin, calculated by total_supply * price_usd_close.
    schemas_ExchangeSupplyRatioResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - supply_ratio
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  supply_ratio:
                    type: decimal
                    description: Ratio of reserved token in the exchange relative to total supply.
    Window_10MDHB:
      type: string
      description: The size of window. It can be day, hour, 10min, or block and it depends on the user request.
    Datetime_10MHB:
      type: string
      description: The date and time formatted as YYYY-MM-DD HH:MM:SS (UTC time). This field only appears when window=block, window=10min, or window=hour is used.
    schemas_SupplyResponse-2:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - supply_total
                  - supply_new
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  supply_total:
                    type: decimal
                    description: The total amount of ETH in existence.
                  supply_new:
                    type: decimal
                    description: The sum of newly issued tokens in that window.
    schemas_VelocityResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - velocity_supply_total
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  velocity_supply_total:
                    type: decimal
                    description: Estimated transaction volume in the trailing 1 year divided by current total supply.
    ContractsCountResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - contracts_created_new
                  - contracts_destroyed_new
                  - contracts_count_total
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  contracts_created_new:
                    type: decimal
                    description: The number of new contracts created in the window.
                  contracts_destroyed_new:
                    type: decimal
                    description: The number of contracts destroyed in the window.
                  contracts_count_total:
                    type: decimal
                    description: The number of unique contracts in existence.
    schemas_TransactionsCountResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - transactions_count_total
                  - transactions_count_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  transactions_count_total:
                    type: decimal
                    description: Total number of transactions in that window.
                  transactions_count_mean:
                    type: decimal
                    description: The mean number of transactions per block. For window=block, this value will be same as transactions_count_total.
    TransactionsCountBetweenEOAResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - transactions_count_total
                  - transactions_count_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  transactions_count_total:
                    type: decimal
                    description: Total number of transactions in that window.
                  transactions_count_mean:
                    type: decimal
                    description: The mean number of transactions per block. For window=block, this value will be same as transactions_count_total.
    ContractCallsCountExternalResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - contract_calls_count_total
                  - contract_calls_count_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  contract_calls_count_total:
                    type: decimal
                    description: Total number of contract calls in that window.
                  contract_calls_count_mean:
                    type: decimal
                    description: The mean number of contract calls per block. For window=block, this value will be same as contract_calls_count_total.
    ContractCallsCountInternalResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - contract_calls_count_total
                  - contract_calls_count_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  contract_calls_count_total:
                    type: decimal
                    description: Total number of contract calls in that window.
                  contract_calls_count_mean:
                    type: decimal
                    description: The mean number of contract calls per block. For window=block, this value will be same as contract_calls_count_total.
    ContractCallsCountResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - contract_calls_count_total
                  - contract_calls_count_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  contract_calls_count_total:
                    type: decimal
                    description: Total number of contract calls in that window.
                  contract_calls_count_mean:
                    type: decimal
                    description: The mean number of contract calls per block. For window=block, this value will be same as contract_calls_count_total.
    TransactionsCountAllResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - transactions_count_total
                  - transactions_count_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  transactions_count_total:
                    type: decimal
                    description: Total number of transactions in that window.
                  transactions_count_mean:
                    type: decimal
                    description: The mean number of transactions per block. For window=block, this value will be same as transactions_count_total.
    schemas_AddressesCountResponse-2:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - addresses_count_active
                  - addresses_count_sender
                  - addresses_count_receiver
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  addresses_count_active:
                    type: decimal
                    description: The total number of unique addresses that were active (either sender or receiver) on the blockchain in a given window.
                  addresses_count_sender:
                    type: decimal
                    description: The number of addresses that were active as a sender.
                  addresses_count_receiver:
                    type: decimal
                    description: The number of addresses that were active as a receiver.
    AddressesCountAllResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - addresses_count_active
                  - addresses_count_sender
                  - addresses_count_receiver
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  addresses_count_active:
                    type: decimal
                    description: The total number of unique addresses that were active (either sender or receiver) on the blockchain in a given window.
                  addresses_count_sender:
                    type: decimal
                    description: The number of addresses that were active as a sender.
                  addresses_count_receiver:
                    type: decimal
                    description: The number of addresses that were active as a receiver.
    TokensTransferredCountResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - tokens_transferred_count_total
                  - tokens_transferred_count_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  tokens_transferred_count_total:
                    type: decimal
                    description: Total number of tokens transferred count in that window.
                  tokens_transferred_count_mean:
                    type: decimal
                    description: The mean number of tokens transferred count per block. For window=block, this value will be same as tokens_transferred_count_total.
    TokensTransferredCountBetweenEOAResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - tokens_transferred_count_total
                  - tokens_transferred_count_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  tokens_transferred_count_total:
                    type: decimal
                    description: Total number of tokens transferred count in that window.
                  tokens_transferred_count_mean:
                    type: decimal
                    description: The mean number of tokens transferred count per block. For window=block, this value will be same as tokens_transferred_count_total.
    TokensTransferredCountByContractCallsExternalResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - tokens_transferred_count_total
                  - tokens_transferred_count_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  tokens_transferred_count_total:
                    type: decimal
                    description: Total number of tokens transferred count in that window.
                  tokens_transferred_count_mean:
                    type: decimal
                    description: The mean number of tokens transferred count per block. For window=block, this value will be same as tokens_transferred_count_total.
    TokensTransferredCountByContractCallsInternalResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - tokens_transferred_count_total
                  - tokens_transferred_count_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  tokens_transferred_count_total:
                    type: decimal
                    description: Total number of tokens transferred count in that window.
                  tokens_transferred_count_mean:
                    type: decimal
                    description: The mean number of tokens transferred count per block. For window=block, this value will be same as tokens_transferred_count_total.
    TokensTransferredCountByContractCallsResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - tokens_transferred_count_total
                  - tokens_transferred_count_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  tokens_transferred_count_total:
                    type: decimal
                    description: Total number of tokens transferred count in that window.
                  tokens_transferred_count_mean:
                    type: decimal
                    description: The mean number of tokens transferred count per block. For window=block, this value will be same as tokens_transferred_count_total.
    TokensTransferredCountAllResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - tokens_transferred_count_total
                  - tokens_transferred_count_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  tokens_transferred_count_total:
                    type: decimal
                    description: Total number of tokens transferred count in that window.
                  tokens_transferred_count_mean:
                    type: decimal
                    description: The mean number of tokens transferred count per block. For window=block, this value will be same as tokens_transferred_count_total.
    schemas_TokensTransferredResponse-2:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - tokens_transferred_total
                  - tokens_transferred_mean
                  - tokens_transferred_median
                  - tokens_transferred_total_usd
                  - tokens_transferred_mean_usd
                  - tokens_transferred_median_usd
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  tokens_transferred_total:
                    type: decimal
                    description: Total number of tokens transferred in that window.
                  tokens_transferred_mean:
                    type: decimal
                    description: The mean number of tokens transferred per block. For window=block, this value will be same as tokens_transferred_total.
                  tokens_transferred_median:
                    type: decimal
                    description: The median number of tokens transferred per block. For window=block, this value will be same as tokens_transferred_total.
                  tokens_transferred_total_usd:
                    type: decimal
                    description: Total number of tokens transferred in that window, calculated in USD.
                  tokens_transferred_mean_usd:
                    type: decimal
                    description: The mean number of tokens transferred per block, calculated in USD.
                  tokens_transferred_median_usd:
                    type: decimal
                    description: The median number of tokens transferred per block, calculated in USD.
    TokensTransferredBetweenEOAResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - tokens_transferred_total
                  - tokens_transferred_mean
                  - tokens_transferred_median
                  - tokens_transferred_total_usd
                  - tokens_transferred_mean_usd
                  - tokens_transferred_median_usd
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  tokens_transferred_total:
                    type: decimal
                    description: Total number of tokens transferred in that window.
                  tokens_transferred_mean:
                    type: decimal
                    description: The mean number of tokens transferred per block. For window=block, this value will be same as tokens_transferred_total.
                  tokens_transferred_median:
                    type: decimal
                    description: The median number of tokens transferred per block. For window=block, this value will be same as tokens_transferred_total.
                  tokens_transferred_total_usd:
                    type: decimal
                    description: Total number of tokens transferred in that window, calculated in USD.
                  tokens_transferred_mean_usd:
                    type: decimal
                    description: The mean number of tokens transferred per block, calculated in USD.
                  tokens_transferred_median_usd:
                    type: decimal
                    description: The median number of tokens transferred per block, calculated in USD.
    TokensTransferredByContractCallsExternalResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - tokens_transferred_total
                  - tokens_transferred_mean
                  - tokens_transferred_median
                  - tokens_transferred_total_usd
                  - tokens_transferred_mean_usd
                  - tokens_transferred_median_usd
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  tokens_transferred_total:
                    type: decimal
                    description: Total number of tokens transferred in that window.
                  tokens_transferred_mean:
                    type: decimal
                    description: The mean number of tokens transferred per block. For window=block, this value will be same as tokens_transferred_total.
                  tokens_transferred_median:
                    type: decimal
                    description: The median number of tokens transferred per block. For window=block, this value will be same as tokens_transferred_total.
                  tokens_transferred_total_usd:
                    type: decimal
                    description: Total number of tokens transferred in that window, calculated in USD.
                  tokens_transferred_mean_usd:
                    type: decimal
                    description: The mean number of tokens transferred per block, calculated in USD.
                  tokens_transferred_median_usd:
                    type: decimal
                    description: The median number of tokens transferred per block, calculated in USD.
    TokensTransferredByContractCallsInternalResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - tokens_transferred_total
                  - tokens_transferred_mean
                  - tokens_transferred_median
                  - tokens_transferred_total_usd
                  - tokens_transferred_mean_usd
                  - tokens_transferred_median_usd
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  tokens_transferred_total:
                    type: decimal
                    description: Total number of tokens transferred in that window.
                  tokens_transferred_mean:
                    type: decimal
                    description: The mean number of tokens transferred per block. For window=block, this value will be same as tokens_transferred_total.
                  tokens_transferred_median:
                    type: decimal
                    description: The median number of tokens transferred per block. For window=block, this value will be same as tokens_transferred_total.
                  tokens_transferred_total_usd:
                    type: decimal
                    description: Total number of tokens transferred in that window, calculated in USD.
                  tokens_transferred_mean_usd:
                    type: decimal
                    description: The mean number of tokens transferred per block, calculated in USD.
                  tokens_transferred_median_usd:
                    type: decimal
                    description: The median number of tokens transferred per block, calculated in USD.
    TokensTransferredByContractCallsResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - tokens_transferred_total
                  - tokens_transferred_mean
                  - tokens_transferred_median
                  - tokens_transferred_total_usd
                  - tokens_transferred_mean_usd
                  - tokens_transferred_median_usd
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  tokens_transferred_total:
                    type: decimal
                    description: Total number of tokens transferred in that window.
                  tokens_transferred_mean:
                    type: decimal
                    description: The mean number of tokens transferred per block. For window=block, this value will be same as tokens_transferred_total.
                  tokens_transferred_median:
                    type: decimal
                    description: The median number of tokens transferred per block. For window=block, this value will be same as tokens_transferred_total.
                  tokens_transferred_total_usd:
                    type: decimal
                    description: Total number of tokens transferred in that window, calculated in USD.
                  tokens_transferred_mean_usd:
                    type: decimal
                    description: The mean number of tokens transferred per block, calculated in USD.
                  tokens_transferred_median_usd:
                    type: decimal
                    description: The median number of tokens transferred per block, calculated in USD.
    TokensTransferredAllResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - tokens_transferred_total
                  - tokens_transferred_mean
                  - tokens_transferred_median
                  - tokens_transferred_total_usd
                  - tokens_transferred_mean_usd
                  - tokens_transferred_median_usd
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  tokens_transferred_total:
                    type: decimal
                    description: Total number of tokens transferred in that window.
                  tokens_transferred_mean:
                    type: decimal
                    description: The mean number of tokens transferred per block. For window=block, this value will be same as tokens_transferred_total.
                  tokens_transferred_median:
                    type: decimal
                    description: The median number of tokens transferred per block. For window=block, this value will be same as tokens_transferred_total.
                  tokens_transferred_total_usd:
                    type: decimal
                    description: Total number of tokens transferred in that window, calculated in USD.
                  tokens_transferred_mean_usd:
                    type: decimal
                    description: The mean number of tokens transferred per block, calculated in USD.
                  tokens_transferred_median_usd:
                    type: decimal
                    description: The median number of tokens transferred per block, calculated in USD.
    FailedTransactionsCountResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - failed_transactions_count_total
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  failed_transactions_count_total:
                    type: decimal
                    description: The number of failed transactions count.
    FailedTokensTransferredCountResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - failed_tokens_transferred_count_total
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  failed_tokens_transferred_count_total:
                    type: decimal
                    description: The number of failed tokens transferred count.
    schemas_BlockBytesResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - block_bytes
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  block_bytes:
                    type: integer
                    description: The mean size(in bytes) of all blocks generated.
    Window_10MDH:
      type: string
      description: The size of window. It can be day, hour, or 10min and it depends on the user request.
    Datetime_10MH:
      type: string
      description: The date and time formatted as YYYY-MM-DD HH:MM:SS (UTC time). This field only appears when window=10min or window=hour is used.
    schemas_BlockCountResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDH'
            data:
              type: array
              items:
                type: object
                required:
                  - block_count
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MH'
                  block_count:
                    type: integer
                    description: The number of blocks generated in a given window.
    schemas_BlockIntervalResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - block_interval
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  block_interval:
                    type: integer
                    description: The average time between blocks generated in seconds.
    schemas_FeesResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - fees_block_mean
                  - fees_block_mean_usd
                  - fees_total
                  - fees_total_usd
                  - fees_reward_percent
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  fees_block_mean:
                    type: decimal
                    description: The average fee per block.
                  fees_block_mean_usd:
                    type: decimal
                    description: The average fee per block, calculated in USD.
                  fees_total:
                    type: decimal
                    description: The sum of all fees that are paid from executing Ethereum transactions.
                  fees_total_usd:
                    type: decimal
                    description: The sum of all fees that are paid from executing Ethereum transactions, calculated in USD.
                  fees_reward_percent:
                    type: decimal
                    description: The percentage of fee in total block reward. Values are between 0 and 1.
    FeesBurntResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - fees_burnt_total
                  - fees_burnt_total_usd
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  fees_burnt_total:
                    type: decimal
                    description: The sum of all fees that are burnt in Ethereum chain by executing transactions.
                  fees_burnt_total_usd:
                    type: decimal
                    description: The sum of all fees that are burnt in Ethereum chain by executing transactions, calculated in USD.
    FeesTipsResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - fees_tips_total
                  - fees_tips_total_usd
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  fees_tips_total:
                    type: decimal
                    description: The sum of all fees that are directly paid to Ethereum miners.
                  fees_tips_total_usd:
                    type: decimal
                    description: The sum of all fees that are directly paid to Ethereum miners, calculated in USD.
    schemas_FeesTransactionResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - fees_transaction_mean
                  - fees_transaction_mean_usd
                  - fees_transaction_median
                  - fees_transaction_median_usd
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  fees_transaction_mean:
                    type: decimal
                    description: The average fee per transaction.
                  fees_transaction_mean_usd:
                    type: decimal
                    description: The average fee per transaction, calculated in USD.
                  fees_transaction_median:
                    type: decimal
                    description: The median fee per transaction.
                  fees_transaction_median_usd:
                    type: decimal
                    description: The median fee per transaction, calculated in USD.
    FeesBurntTransactionResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - fees_burnt_transaction_mean
                  - fees_burnt_transaction_mean_usd
                  - fees_burnt_transaction_median
                  - fees_burnt_transaction_median_usd
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  fees_burnt_transaction_mean:
                    type: decimal
                    description: The average burnt fee per transaction.
                  fees_burnt_transaction_mean_usd:
                    type: decimal
                    description: The average burnt fee per transaction, calculated in USD.
                  fees_burnt_transaction_median:
                    type: decimal
                    description: The median burnt fee per transaction.
                  fees_burnt_transaction_median_usd:
                    type: decimal
                    description: The median burnt fee per transaction, calculated in USD.
    FeesTipsTransactionResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - fees_tips_transaction_mean
                  - fees_tips_transaction_mean_usd
                  - fees_tips_transaction_median
                  - fees_tips_transaction_median_usd
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  fees_tips_transaction_mean:
                    type: decimal
                    description: The average fee for tips per transaction.
                  fees_tips_transaction_mean_usd:
                    type: decimal
                    description: The average fee for tips per transaction, calculated in USD.
                  fees_tips_transaction_median:
                    type: decimal
                    description: The median fee for tips per transaction.
                  fees_tips_transaction_median_usd:
                    type: decimal
                    description: The median fee for tips per transaction, calculated in USD.
    BlockrewardResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - blockreward
                  - blockreward_usd
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  blockreward:
                    type: decimal
                    description: The sum of block rewards (including mining or staking rewards and transaction fees).
                  blockreward_usd:
                    type: decimal
                    description: The sum of block rewards (including mining or staking rewards and transaction fees), calculated in USD.
    BlockrewardExceptUncleResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - blockreward_except_uncle
                  - blockreward_except_uncle_usd
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  blockreward_except_uncle:
                    type: decimal
                    description: The sum of block rewards except uncle blocks.
                  blockreward_except_uncle_usd:
                    type: decimal
                    description: The sum of block rewards except uncle blocks, calculated in USD.
    GasResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - gas_used_total
                  - gas_used_mean
                  - gas_price_mean
                  - gas_limit_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  gas_used_total:
                    type: decimal
                    description: The total amount of gas used in that window.
                  gas_used_mean:
                    type: decimal
                    description: The average amount of gas used per transaction.
                  gas_price_mean:
                    type: decimal
                    description: The average gas price per transaction.
                  gas_limit_mean:
                    type: decimal
                    description: The average gas limit per transaction.
    BaseFeeResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - base_fee_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  base_fee_mean:
                    type: decimal
                    description: The average base fee per gas in that window.
    MaxFeeResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - max_fee_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  max_fee_mean:
                    type: decimal
                    description: The average max fee per gas in that window.
    MaxPriorityFeeResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - max_priority_fee_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  max_priority_fee_mean:
                    type: decimal
                    description: The average max priority fee per gas in that window.
    schemas_DifficultyResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - difficulty
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  difficulty:
                    type: decimal
                    description: The mean difficulty of mining a new block.
    schemas_HashrateResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - hashrate
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  hashrate:
                    type: decimal
                    description: The mean speed at which hash problems are being solved across all miners in the network. It is displayed as hashes (Gigabytes) per second.
    UncleBlockCountResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - uncle_block_count
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  uncle_block_count:
                    type: decimal
                    description: The number of uncle blocks generated in a given window.
    UncleBlockrewardResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - uncle_blockreward
                  - uncle_blockreward_usd
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  uncle_blockreward:
                    type: decimal
                    description: The sum of uncle block rewards (including mining or staking rewards and transaction fees).
                  uncle_blockreward_usd:
                    type: decimal
                    description: The sum of uncle block rewards (including mining or staking rewards and transaction fees), calculated in USD.
    TotalValueStakedResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - total_value_staked
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  total_value_staked:
                    type: decimal
                    description: The valid amount of ETH in the deposit contract.
    StakingInflowTotalResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - staking_inflow_total
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  staking_inflow_total:
                    type: decimal
                    description: The amount of ETH valid inflow to the deposit contract.
    StakingTransactionCountResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - staking_transaction_count
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  staking_transaction_count:
                    type: decimal
                    description: The number of valid transactions to the deposit contract.
    StakingValidatorTotalResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - staking_validator_total
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  staking_validator_total:
                    type: decimal
                    description: The number of the number of total validators.
    DepositorCountTotalResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - depositor_count_total
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  depositor_count_total:
                    type: decimal
                    description: The number of unique accounts who deposited over 32 ETH.
    DepositorCountNewResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - depositor_count_new
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  depositor_count_new:
                    type: decimal
                    description: The number of new unique accounts who deposited over 32 ETH.
    StakingRateResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - staking_rate
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  staking_rate:
                    type: decimal
                    description: The percentage of valid balance of the deposit contract to the total supply.
    Phase0SuccessRateResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - phase0_success_rate
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  phase0_success_rate:
                    type: decimal
                    description: The percentage of valid balance of the deposit contract to 524,288 ETH.
    schemas_ReserveResponse-3:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - reserve
                  - reserve_usd
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  reserve:
                    type: decimal
                    description: The amount of ETH on a given exchange.
                  reserve_usd:
                    type: decimal
                    description: The USD value of ETH held by an exchange.
    schemas_InflowResponse-3:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - inflow_total
                  - inflow_top10
                  - inflow_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  inflow_total:
                    type: decimal
                    description: The total amount of ETH that transferred to the exchange.
                  inflow_top10:
                    type: decimal
                    description: The total ETH amount of top 10 transactions (in terms of total ETH sent) flowing out of exchange wallets for every day that the exchange wallets we track have been live on the blockchain.
                  inflow_mean:
                    type: decimal
                    description: The mean of tokens per transaction sent an exchange.
    schemas_OutflowResponse-3:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - outflow_total
                  - outflow_top10
                  - outflow_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  outflow_total:
                    type: decimal
                    description: The total amount of ETH that traneferred from the exchange
                  outflow_top10:
                    type: decimal
                    description: The total ETH amount of top 10 transactions (in terms of total ETH sent) flowing out of exchange wallets for every day that the exchange wallets we track have been live on the blockchain.
                  outflow_mean:
                    type: decimal
                    description: The mean of tokens per transaction sent from an exchange.
    ETHCoinbasePremiumIndexResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_MDH'
            data:
              type: array
              items:
                type: object
                required:
                  - coinbase_premium_gap
                  - coinbase_premium_index
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_MH'
                  coinbase_premium_gap:
                    type: decimal
                    description: The gap between Coinbase Advanced price(USD pair) and Binance price(USDT pair).
                  coinbase_premium_index:
                    type: decimal
                    description: The percent difference from Binance price(ETHUSDT) to Coinbase price(ETHUSD).
    schemas_CapitalizationResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - market_cap
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  market_cap:
                    type: decimal
                    description: Market capitalization of ETH, calculated by circulating_supply * price_usd_close.
    schemas_EstimatedLeverageRatioResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - windwow
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - estimated_leverage_ratio
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  estimated_leverage_ratio:
                    type: decimal
                    description: The amount of open interest in the given period and exchange divided by the ETH reserve of given exchange.
    schemas_ReserveResponse-4:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - reserve
                  - reserve_usd
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  reserve:
                    type: decimal
                    description: The amount of ERC20 token held by an exchange.
                  reserve_usd:
                    type: decimal
                    description: The USD value of ERC20 token held by an exchange.
    schemas_InflowResponse-4:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - inflow_total
                  - inflow_top10
                  - inflow_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  inflow_total:
                    type: decimal
                    description: The total amount of ERC20 token that transferred to the exchange.
                  inflow_top10:
                    type: decimal
                    description: The total ERC20 token amount of top 10 transactions (in terms of total tokens sent) flowing out of exchange wallets for every day that the exchange wallets we track have been live on the blockchain.
                  inflow_mean:
                    type: decimal
                    description: The mean of tokens per transaction sent an exchange.
    schemas_OutflowResponse-4:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - outflow_total
                  - outflow_top10
                  - outflow_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  outflow_total:
                    type: decimal
                    description: The total amount of ERC20 token that transferred from the exchange
                  outflow_top10:
                    type: decimal
                    description: The total ERC20 token amount of top 10 transactions (in terms of total tokens sent) flowing out of exchange wallets for every day that the exchange wallets we track have been live on the blockchain.
                  outflow_mean:
                    type: decimal
                    description: The mean of tokens per transaction sent from an exchange.
    schemas_SupplyResponse-3:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - supply_total
                  - supply_minted
                  - supply_burned
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  supply_total:
                    type: decimal
                    description: The total amount of ERC20 tokens in existence.
                  supply_minted:
                    type: decimal
                    description: The sum of newly issued tokens in that window.
                  supply_burned:
                    type: decimal
                    description: The sum of newly burnt tokens in that window.
    schemas_TransactionsCountResponse-2:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - transactions_count_total
                  - transactions_count_mean
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  transactions_count_total:
                    type: decimal
                    description: Total number of ERC20 events (transactions) in that window.
                  transactions_count_mean:
                    type: decimal
                    description: The mean number of ERC20 events (transactions) per block. For window=block, this value will be same as transactions_count_total.
    schemas_TokensTransferredResponse-3:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - tokens_transferred_total
                  - tokens_transferred_mean
                  - tokens_transferred_median
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  tokens_transferred_total:
                    type: decimal
                    description: Total number of tokens transferred in that window.
                  tokens_transferred_mean:
                    type: decimal
                    description: The mean number of tokens transferred per block. For window=block, this value will be same as tokens_transferred_total.
                  tokens_transferred_median:
                    type: decimal
                    description: The median number of tokens transferred per block. For window=block, this value will be same as tokens_transferred_total.
    schemas_AddressesCountResponse-3:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - addresses_count_active
                  - addresses_count_sender
                  - addresses_count_receiver
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_10MHB'
                  addresses_count_active:
                    type: decimal
                    description: The number of addresses that were active (either sender or receiver) in ERC20 events (transactions).
                  addresses_count_sender:
                    type: decimal
                    description: The number of addresses that were active in ERC20 events (transactions) as a sender.
                  addresses_count_receiver:
                    type: decimal
                    description: The number of addresses that were active in ERC20 events (transactions) as a receiver.
    PriceOHLCVERC20Response:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_MDHB'
            data:
              type: array
              items:
                type: object
                required:
                  - open
                  - high
                  - low
                  - close
                  - volume
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  datetime:
                    type: string
                    description: The date and time formatted as YYYY-MM-DDTHH:MM:SS (UTC time). This field only appears when window=block or window=min is used.
                  open:
                    type: decimal
                    description: opening price at the beginning of the window.
                  high:
                    type: decimal
                    description: opening price at the end of the window.
                  low:
                    type: decimal
                    description: The highest price in a given window.
                  close:
                    type: decimal
                    description: The lowest price in a given window.
                  volume:
                    type: decimal
                    description: The total traded amount in a given window.
    PriceOHLCVAltResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_MDH'
            data:
              type: array
              items:
                type: object
                required:
                  - open
                  - high
                  - low
                  - close
                  - volume
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    type: string
                    description: The date and time formatted as YYYY-MM-DDTHH:MM:SS (UTC time). This field only appears when window=block or window=min is used.
                  open:
                    type: decimal
                    description: The opening price at the beginning of the window.
                  high:
                    type: decimal
                    description: The highest price in the given window.
                  low:
                    type: decimal
                    description: The lowest price in the given window.
                  close:
                    type: decimal
                    description: The closing price at the end of the window.
                  volume:
                    type: decimal
                    description: The total traded amount in the given window.
    schemas_CapitalizationResponse-2:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window'
            data:
              type: array
              items:
                type: object
                required:
                  - market_cap
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  market_cap:
                    type: decimal
                    description: Market capitalization of XRP, calculated by total_supply * price_usd_close.
    schemas_EstimatedLeverageRatioResponse-2:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDH'
            data:
              type: array
              items:
                type: object
                required:
                  - estimated_leverage_ratio
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  estimated_leverage_ratio:
                    type: decimal
                    description: estimated leverage ratio
    schemas_ReserveResponse-5:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_10MDH'
            data:
              type: array
              items:
                type: object
                required:
                  - reserve
                  - reserve_usd
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  reserve:
                    type: decimal
                    description: The amount of BTC on a given bank.
                  reserve_usd:
                    type: decimal
                    description: The USD value of BTC held by an bank.
    ShareResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DH'
            data:
              type: array
              items:
                type: object
                required:
                  - share
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  share:
                    type: decimal
                    description: The % of XRP held by an entity.
    TransactionsCountXRPEFResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - transactions_count_deposit
                  - transactions_count_withdraw
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  transactions_count_deposit:
                    type: decimal
                    description: The number of transactions sent to the entity.
                  transactions_count_withdraw:
                    type: decimal
                    description: The number of transactions sent from the entity.
    XRPInflowResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - inflow
                  - inflow_usd
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  inflow:
                    type: decimal
                    description: The total amount of XRP that transferred to the entity
                  inflow_usd:
                    type: decimal
                    description: The total amount of XRP that transferred to the entity denominated in dollars
    XRPOutflowResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - outflow
                  - outflow_usd
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  outflow:
                    type: decimal
                    description: The total amount of XRP that transferred out of the entity
                  outflow_usd:
                    type: decimal
                    description: The total amount of XRP that transferred out of the entity denominated in dollars
    XRPAddressesCountEFResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - addresses_count_deposit
                  - addresses_count_withdraw
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  addresses_count_deposit:
                    type: decimal
                    description: The number of addresses evoking inflow transactions to entity
                  addresses_count_withdraw:
                    type: decimal
                    description: The number of addresses evoking outflow transactions from entity
    WhaleMovements:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - transaction_counts
                  - volume
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime_H'
                  transaction_counts:
                    type: Integer
                    description: The number of transactions to/from whale
                  volume:
                    type: decimal
                    description: transaction volume to/from whale
    ExchangeInflowValueDistributionResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - range_1000_below
                  - range_1001_to_10000
                  - range_10001_to_100000
                  - range_100001_to_1000000
                  - range_1000000_over
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  range_1000_below:
                    type: decimal
                    description: Exchange Inflow distribution value of which transferred xrp value is 1000 or less.
                  range_1001_to_10000:
                    type: decimal
                    description: Exchange Inflow distribution value of which transferred xrp value is more than 1000 or less than 10000.
                  range_10001_to_100000:
                    type: decimal
                    description: Exchange Inflow distribution value of which transferred xrp value is more than 10000 or less than 100000.
                  range_100001_to_1000000:
                    type: decimal
                    description: Exchange Inflow distribution value of which transferred xrp value is more than 1000 or less than 100000.
                  range_1000000_over:
                    type: decimal
                    description: Exchange Inflow distribution value of which transferred xrp value is 1000000 or more.
    ExchangeOutflowValueDistributionResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - range_1000_below
                  - range_1001_to_10000
                  - range_10001_to_100000
                  - range_100001_to_1000000
                  - range_1000000_over
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  range_1000_below:
                    type: decimal
                    description: Exchange Outflow distribution value of which transferred xrp value is 1000 or less.
                  range_1001_to_10000:
                    type: decimal
                    description: Exchange Outflow distribution value of which transferred xrp value is more than 1000 or less than 10000.
                  range_10001_to_100000:
                    type: decimal
                    description: Exchange Outflow distribution value of which transferred xrp value is more than 10000 or less than 100000.
                  range_100001_to_1000000:
                    type: decimal
                    description: Exchange Outflow distribution value of which transferred xrp value is more than 1000 or less than 100000.
                  range_1000000_over:
                    type: decimal
                    description: Exchange Outflow distribution value of which transferred xrp value is 1000000 or more.
    ExchangeInflowCountValueDistributionResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - range_1000_below
                  - range_1001_to_10000
                  - range_10001_to_100000
                  - range_100001_to_1000000
                  - range_1000000_over
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  range_1000_below:
                    type: decimal
                    description: Number of transactions of exchange inflow's value band of which transferred xrp value is 1000 or less.
                  range_1001_to_10000:
                    type: decimal
                    description: Number of transactions of exchange inflow's value band of which transferred xrp value is more than 1000 or less than 10000.
                  range_10001_to_100000:
                    type: decimal
                    description: Number of transactions of exchange inflow's value band of which transferred xrp value is more than 10000 or less than 100000.
                  range_100001_to_1000000:
                    type: decimal
                    description: Number of transactions of exchange inflow's value band of which transferred xrp value is more than 1000 or less than 100000.
                  range_1000000_over:
                    type: decimal
                    description: Number of transactions of exchange inflow's value band of which transferred xrp value is 1000000 or more.
    ExchangeOutflowCountValueDistributionResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - range_1000_below
                  - range_1001_to_10000
                  - range_10001_to_100000
                  - range_100001_to_1000000
                  - range_1000000_over
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  range_1000_below:
                    type: decimal
                    description: Number of transactions of exchange outflow's value band of which transferred xrp value is 1000 or less.
                  range_1001_to_10000:
                    type: decimal
                    description: Number of transactions of exchange outflow's value band of which transferred xrp value is more than 1000 or less than 10000.
                  range_10001_to_100000:
                    type: decimal
                    description: Number of transactions of exchange outflow's value band of which transferred xrp value is more than 10000 or less than 100000.
                  range_100001_to_1000000:
                    type: decimal
                    description: Number of transactions of exchange outflow's value band of which transferred xrp value is more than 1000 or less than 100000.
                  range_1000000_over:
                    type: decimal
                    description: Number of transactions of exchange outflow's value band of which transferred xrp value is 1000000 or more.
    schemas_ExchangeSupplyRatioResponse-2:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DH'
            data:
              type: array
              items:
                type: object
                required:
                  - exchange_supply_ratio
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  exchange_supply_ratio:
                    type: decimal
                    description: exchange supply ratio
    schemas_AddressesCountResponse-4:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - active_account
                  - total_account
                  - sending_account
                  - recieving_account
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  active_account:
                    type: decimal
                    description: The total number of unique addresses that were active (either sender or receiver) on the blockchain in a given window.
                  total_account:
                    type: decimal
                    description: The total number of unique addresses
                  sending_account:
                    type: decimal
                    description: The number of addresses that were active as a sender.
                  recieving_account:
                    type: decimal
                    description: The number of addresses that were active as a receiver.
    schemas_VelocityResponse-2:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - velocity
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  velocity:
                    type: decimal
                    description: null
    schemas_BlockIntervalResponse-2:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - data
            - window
          properties:
            window:
              $ref: '#/components/schemas/Window_DH'
            data:
              type: array
              items:
                type: object
                required:
                  - average_block_interval
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  average_block_interval:
                    type: decimal
                    description: The mean size(in bytes) of all blocks generated
    XRPBurntResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - data
            - window
          properties:
            window:
              $ref: '#/components/schemas/Window_DH'
            data:
              type: array
              items:
                type: object
                required:
                  - xrp_burnt
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  xrp_burnt:
                    type: integer
                    description: The amount of xrp burnt
    LedgerCountResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - total_ledgers
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  total_ledgers:
                    type: integer
                    description: Number of unspent transaction outputs.
    schemas_FeesResponse-2:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - total_fees
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  total_fees:
                    type: decimal
                    description: fees per time frame in xrp
    schemas_TransactionsCountResponse-3:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - total_transactions_count
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  total_transactions_count:
                    type: decimal
                    description: Total number of transactions.
    schemas_TokensTransferredResponse-4:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DBH'
            data:
              type: array
              items:
                type: object
                required:
                  - total_transfer_volume
                properties:
                  blockheight:
                    $ref: '#/components/schemas/Blockheight'
                  date:
                    $ref: '#/components/schemas/Date'
                  datetime:
                    $ref: '#/components/schemas/Datetime'
                  tokens_transferred_total:
                    type: decimal
                    description: Total number of tokens transferred in that window.
    schemas_SupplyResponse-4:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - supply_total
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  supply_total:
                    type: decimal
                    description: The total amount of XRP.
    VolumeResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DH'
            data:
              type: array
              items:
                type: object
                required:
                  - dex_volume
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  dex_volume:
                    type: decimal
                    description: XRP volume traded on XRPL DEX.
    TransactionCountResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DH'
            data:
              type: array
              items:
                type: object
                required:
                  - transacions_count
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  transactions_count:
                    type: decimal
                    description: XRP transactions count traded on XRPL DEX.
    LiquidityResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DH'
            data:
              type: array
              items:
                type: object
                required:
                  - liquidity
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  liquidity:
                    type: decimal
                    description: XRP transactions count traded on XRPL DEX.
    DexPriceResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DH'
            data:
              type: array
              items:
                type: object
                required:
                  - dex_price_usd
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  dex_price_usd:
                    type: decimal
                    description: Price of XRP traded on XRP
    PriceResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DH'
            data:
              type: array
              items:
                type: object
                required:
                  - price_xrp
                  - price_usd
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  price_xrp:
                    type: decimal
                    description: XRP exchange rate
                  price_usd:
                    type: decimal
                    description: USD exchange rate
    schemas_LiquidityResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DH'
            data:
              type: array
              items:
                type: object
                required:
                  - liquidity_xrp
                  - liquidity_usd
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  liquidity_xrp:
                    type: decimal
                    description: Total amount of liquidity in XRP
                  liquidity_usd:
                    type: decimal
                    description: Total amount of liquidity in USD
    FeeResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DH'
            data:
              type: array
              items:
                type: object
                required:
                  - fee_percent
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  fee_percent:
                    type: decimal
                    description: Trading fee percentage
    SwapStatsResponse:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_DH'
            data:
              type: array
              items:
                type: object
                required:
                  - num_swaps
                  - num_traders
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  num_swaps:
                    type: decimal
                    description: Number of swaps
                  num_traders:
                    type: decimal
                    description: Number of traders
    PriceOHLCV:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - open
                  - high
                  - low
                  - close
                  - volume
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  open:
                    type: decimal
                    description: opening price at the beginning of the window.
                  high:
                    type: decimal
                    description: The highest price in a given window.
                  low:
                    type: decimal
                    description: The lowest price in a given window.
                  close:
                    type: decimal
                    description: The opening price at the end of the window.
                  volume:
                    type: decimal
                    description: The total traded amount in a given window.
    Capitalization:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - market_cap
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  market_cap:
                    type: decimal
                    description: Market capitalization of TRX, calculated by total_supply * price_usd_close.
    Supply:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - supply_total
                  - supply_circulating
                  - supply_minted
                  - supply_burned
                  - supply_staked
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  supply_total:
                    type: decimal
                    description: The total amount of TRX.
                  supply_circulating:
                    type: decimal
                    description: The circulating amount of TRX.
                  supply_minted:
                    type: decimal
                    description: The minted amount of TRX.
                  supply_burned:
                    type: decimal
                    description: The burned amount of TRX.
                  supply_staked:
                    type: decimal
                    description: The staked amount of TRX.
    TransactionsCount:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - transactions_count_total
                  - transactions_count_mean
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  transactions_count_total:
                    type: decimal
                    description: The total number of transactions.
                  transactions_count_mean:
                    type: decimal
                    description: The mean number of transactions.
    AddressesCount:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - addresses_count_active
                  - addresses_count_sender
                  - addresses_count_receiver
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  addresses_count_active:
                    type: decimal
                    description: The total number of unique addresses that were active (either sender or receiver) on the blockchain in a given window.
                  addresses_count_sender:
                    type: decimal
                    description: The number of addresses that were active as a sender.
                  addresses_count_receiver:
                    type: decimal
                    description: The number of addresses that were active as a receiver.
    TokensTransferred:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - tokens_transferred_total
                  - tokens_transferred_mean
                  - tokens_transferred_median
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  tokens_transferred_total:
                    type: decimal
                    description: The total number of tokens transferred.
                  tokens_transferred_mean:
                    type: decimal
                    description: The mean number of tokens transferred.
                  tokens_transferred_median:
                    type: decimal
                    description: The median number of tokens transferred.
    BlockCount:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - block_count
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  block_count:
                    type: decimal
                    description: The number of blocks.
    Fees:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - fees_total
                  - fees_total_usd
                  - fees_block_mean
                  - fees_block_mean_usd
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  fees_total:
                    type: decimal
                    description: The total fees.
                  fees_total_usd:
                    type: decimal
                    description: The total fees in USD.
                  fees_block_mean:
                    type: decimal
                    description: The mean fees per block.
                  fees_block_mean_usd:
                    type: decimal
                    description: The mean fees per block in USD.
    Tps:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - tps
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  tps:
                    type: decimal
                    description: The number of transactions per second.
    TotalValueStaked:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - v1_staking_amount
                  - v2_staking_amount
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  v1_staking_amount:
                    type: decimal
                    description: The amount of TRX staked in v1.
                  v2_staking_amount:
                    type: decimal
                    description: The amount of TRX staked in v2.
    StakingRate:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - staking_rate
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  staking_rate:
                    type: decimal
                    description: The staking rate of TRX.
    EnergyStake:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - total_energy_weight
                  - energy_rate
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  total_energy_weight:
                    type: decimal
                    description: The total amount of TRX staked for Energy.
                  energy_rate:
                    type: decimal
                    description: The percentage of TRX staked for Energy.
    SunpumpTokens:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - token_create_event_count
                  - cumulative_count_create_events
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  token_create_event_count:
                    type: decimal
                    description: The number of new token creation events observed on the SunPump platform within the requested window (e.g., per day).
                  cumulative_count_create_events:
                    type: decimal
                    description: The cumulative total number of token creation events recorded on the SunPump platform from inception up to the end of the requested window.
    SunswapActivity:
      type: object
      required:
        - status
        - result
      properties:
        status:
          $ref: '#/components/schemas/Status'
        result:
          type: object
          required:
            - window
            - data
          properties:
            window:
              $ref: '#/components/schemas/Window_D'
            data:
              type: array
              items:
                type: object
                required:
                  - total_transaction_count
                  - wtrx_transaction_count
                  - other_transaction_count
                  - wtrx_dominance
                  - wtrx_amount
                  - wtrx_amount_usd
                properties:
                  date:
                    $ref: '#/components/schemas/Date'
                  total_transaction_count:
                    type: decimal
                    description: The total number of transactions on Sunswap.
                  wtrx_transaction_count:
                    type: decimal
                    description: The number of transactions involving WTRX in the given window.
                  other_transaction_count:
                    type: decimal
                    description: The number of transactions involving other tokens in the given window.
                  wtrx_dominance:
                    type: decimal
                    description: The dominance of WTRX in the total transaction volume in the given window.
                  wtrx_amount:
                    type: decimal
                    description: The total amount of WTRX traded in the given window.
                  wtrx_amount_usd:
                    type: decimal
                    description: The total amount of WTRX traded in USD in the given window.
  responses:
    Endpoints:
      description: All endpoints we support.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Endpoints'
          example:
            status:
              code: 200
              message: success
            result:
              data:
                - path: /v1/btc/status/entity-list
                  parameters:
                    - type:
                        - exchange
                        - miner
    EntityList:
      description: Entity list on a given type.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/EntityListResponse'
          example:
            status:
              code: 200
              message: success
            result:
              type: exchange
              data:
                - name: example
                  symbol: example
                  is_validated: 1
                  market_type: 1
    Reserve:
      description: The amount of BTC on a given exchange on this window.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ReserveResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  reserve: null
                  reserve_usd: null
                - date: '2019-10-01'
                  reserve: null
                  reserve_usd: null
    Netflow:
      description: netflow_total
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NetflowResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  netflow_total: null
                - date: '2019-10-01'
                  netflow_total: null
    Inflow:
      description: inflow_total, inflow_top10, inflow_mean
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/InflowResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  inflow_total: null
                  inflow_top10: null
                  inflow_mean: null
                - date: '2019-10-01'
                  inflow_total: null
                  inflow_top10: null
                  inflow_mean: null
    Outflow:
      description: outflow_total, outflow_top10, outflow_mean
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/OutflowResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  outflow_total: null
                  outflow_top10: null
                  outflow_mean: null
                - date: '2019-10-01'
                  outflow_total: null
                  outflow_top10: null
                  outflow_mean: null
    TransactionsCountEF:
      description: transactions_count_inflow, transactions_count_outflow
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TransactionsCountEFResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  transactions_count_inflow: null
                  transactions_count_outflow: null
                - date: '2019-10-01'
                  transactions_count_inflow: null
                  transactions_count_outflow: null
    AddressesCountEF:
      description: The number of addresses evoking inflow/outflow transactions to exchange wallets
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/AddressesCountEFResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  addresses_count_inflow: null
                  addresses_count_outflow: null
                - date: '2019-10-01'
                  addresses_count_inflow: null
                  addresses_count_outflow: null
    InHouseFlow:
      description: flow_total, flow_mean, transactions_count_flow
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/InHouseFlowResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  flow_total: null
                  flow_mean: null
                  transactions_count_flow: null
                - date: '2019-10-01'
                  flow_total: null
                  flow_mean: null
                  transactions_count_flow: null
    responses_Reserve:
      description: The amount of BTC on the given miner on this window.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_ReserveResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  reserve: null
                  reserve_usd: null
                - date: '2019-10-01'
                  reserve: null
                  reserve_usd: null
    responses_Netflow:
      description: netflow_total
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_NetflowResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  netflow_total: null
                - date: '2019-10-01'
                  netflow_total: null
    responses_Inflow:
      description: inflow_total, inflow_top10, inflow_mean
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_InflowResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  inflow_total: null
                  inflow_top10: null
                  inflow_mean: null
                - date: '2019-10-01'
                  inflow_total: null
                  inflow_top10: null
                  inflow_mean: null
    responses_Outflow:
      description: outflow_total, outflow_top10, outflow_mean
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_OutflowResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  outflow_total: null
                  outflow_top10: null
                  outflow_mean: null
                - date: '2019-10-01'
                  outflow_total: null
                  outflow_top10: null
                  outflow_mean: null
    TransactionsCountMF:
      description: transactions_count_inflow, transactions_count_outflow
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TransactionsCountMFResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  transactions_count_inflow: null
                  transactions_count_outflow: null
                - date: '2019-10-01'
                  transactions_count_inflow: null
                  transactions_count_outflow: null
    AddressesCountMF:
      description: The number of addresses evoking inflow/outflow transactions to miner wallets
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/AddressesCountMFResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  addresses_count_inflow: null
                  addresses_count_outflow: null
                - date: '2019-10-01'
                  addresses_count_inflow: null
                  addresses_count_outflow: null
    responses_InHouseFlow:
      description: flow_total, flow_mean, transactions_count_flow
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_InHouseFlowResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  flow_total: null
                  flow_mean: null
                  transactions_count_flow: null
                - date: '2019-10-01'
                  flow_total: null
                  flow_mean: null
                  transactions_count_flow: null
    Exchange-to-exchange:
      description: from_exchange, to_exchange, flow
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Exchange-to-exchangeResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  flow_total: null
                  flow_mean: null
                  transactions_count_flow: null
                - date: '2019-10-01'
                  flow_total: null
                  flow_mean: null
                  transactions_count_flow: null
    Miner-to-exchange:
      description: from_miner, to_exchange, flow
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Miner-to-exchangeResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  flow_total: null
                  flow_mean: null
                  transactions_count_flow: null
                - date: '2019-10-01'
                  flow_total: null
                  flow_mean: null
                  transactions_count_flow: null
    Exchange-to-miner:
      description: from_exchange, to_miner, flow
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Exchange-to-minerResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  flow_total: null
                  flow_mean: null
                  transactions_count_flow: null
                - date: '2019-10-01'
                  flow_total: null
                  flow_mean: null
                  transactions_count_flow: null
    Miner-to-miner:
      description: from_miner, to_miner, flow
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Miner-to-minerResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  flow_total: null
                  flow_mean: null
                  transactions_count_flow: null
                - date: '2019-10-01'
                  flow_total: null
                  flow_mean: null
                  transactions_count_flow: null
    Supply:
      description: supply_total, supply_new
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/SupplyResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: block
              data:
                - date: '2019-09-02'
                  supply_total: 15924414.7953033
                  supply_new: 12.5
                - date: '2019-09-01'
                  supply_total: 15924414.7953033
                  supply_new: 12.5
    Velocity:
      description: Estimated transaction volume in the trailing 1 year divided by current total supply.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/VelocityResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  velocity_supply_total: 7.3124
                - date: '2019-09-01'
                  velocity_supply_total: 7.3124
    TransactionsCount:
      description: transactions_count_total, transactions_count_mean
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TransactionsCountResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  transactions_count_total: 78912
                  transactions_count_mean: 1248
                - date: '2019-09-01'
                  transactions_count_total: 78912
                  transactions_count_mean: 1248
    AddressesCount:
      description: addresses_count_active, addresses_count_sender, addresses_count_receiver,
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/AddressesCountResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  addresses_count_active: 102832
                  addresses_count_sender: 60123
                  addresses_count_receiver: 51231
                - date: '2019-09-01'
                  addresses_count_active: 102832
                  addresses_count_sender: 60123
                  addresses_count_receiver: 51231
    TokensTransferred:
      description: tokens_transferred_total, tokens_transferred_mean, tokens_transferred_median
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TokensTransferredResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  tokens_transferred_total: 78912.12373645
                  tokens_transferred_mean: 1248.47276264
                  tokens_transferred_median: 1321.53121331
                - date: '2019-09-01'
                  tokens_transferred_total: 78912.12373645
                  tokens_transferred_mean: 1248.47276264
                  tokens_transferred_median: 1321.53121331
    BlockBytes:
      description: The mean size(in bytes) of all blocks generated.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BlockBytesResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  block_bytes: 1003264
                - date: '2019-09-01'
                  block_bytes: 897233
    BlockCount:
      description: The number of blocks generated in a given window.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BlockCountResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  block_count: 152
                - date: '2019-09-01'
                  block_count: 134
    BlockInterval:
      description: The average time between  blocks generated in seconds.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BlockIntervalResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  block_interval: 712
                - date: '2019-09-01'
                  block_interval: 592
    UTXOCount:
      description: Number of total number of unspent transaction outputs at a given period.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/UTXOCountResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: block
              data:
                - date: '2019-09-02'
                  utxo_count: 2931
                - date: '2019-09-01'
                  utxo_count: 3142
    Fees:
      description: fees_total, fees_total_usd, fees_block_mean, fees_block_mean_usd, fees_reward_percent.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/FeesResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  fees_block_mean: 0.00013123
                  fees_block_mean_usd: 0.11
                  fees_total: 11.21331723
                  fees_total_usd: 3010.23
                  fees_reward_percent: 0.012
                - date: '2019-09-01'
                  fees_block_mean: 0.00013123
                  fees_block_mean_usd: 0.11
                  fees_total: 11.21331723
                  fees_total_usd: 3010.23
                  fees_reward_percent: 0.012
    FeesTransaction:
      description: fees_transaction_mean, fees_transaction_mean_usd, fees_transaction_median, fees_transaction_median_usd
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/FeesTransactionResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  fees_transaction_mean: 0.00001321
                  fees_transaction_mean_usd: 0.000312
                  fees_transaction_median: 0.00001221
                  fees_transaction_median_usd: 0.000289
                - date: '2019-09-01'
                  fees_transaction_mean: 0.00001321
                  fees_transaction_mean_usd: 0.000312
                  fees_transaction_median: 0.00001221
                  fees_transaction_median_usd: 0.000289
    BlockReward:
      description: The sum of block rewards (including mining or staking rewards and transaction fees). We also provide this value in usd.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BlockRewardResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: block
              data:
                - date: '2019-09-02'
                  blockreward: 23.61
                  blockreward_usd: 210351.12
                - date: '2019-09-01'
                  blockreward: 29.32
                  blockreward_usd: 278263.04
    Difficulty:
      description: The mean difficulty of mining a new block.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/DifficultyResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  difficulty: 11425323412355.53
                - date: '2019-09-01'
                  difficulty: 17234123523452.25
    Hashrate:
      description: The mean speed at which hash problems are being solved across all miners in the network. It is displayed as hashes(Bytes) per second.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/HashrateResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: block
              data:
                - date: '2019-09-02'
                  hashrate: 8561054
                - date: '2019-09-01'
                  hashrate: 9242532
    PriceOHLCV:
      description: Price OHLCV Data
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PriceOHLCVResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  open: null
                  high: null
                  low: null
                  close: null
                  volume: null
                - date: '2019-10-01'
                  open: null
                  high: null
                  low: null
                  close: null
                  volume: null
    OpenInterest:
      description: Open Interest in USD
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/OpenInterestResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  open_interest: null
                - date: '2019-10-01'
                  open_interest: null
    FundingRates:
      description: Funding Rates in percentage
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/FundingRatesResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  funding_rates: null
                - date: '2019-10-01'
                  funding_rates: null
    TakerBuySellStats:
      description: Taker Buy, Sell volume and ratio
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TakerBuySellStatsResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  taker_buy_volume: null
                  taker_sell_volume: null
                  taker_buy_ratio: null
                  taker_sell_ratio: null
                  taker_buy_sell_ratio: null
                - date: '2019-10-01'
                  taker_buy_volume: null
                  taker_sell_volume: null
                  taker_buy_ratio: null
                  taker_sell_ratio: null
                  taker_buy_sell_ratio: null
    Liquidations:
      description: Amount of long/short liquidations orders
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/LiquidationsResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  long_liquidations: null
                  short_liquidations: null
                  long_liquidations_usd: null
                  short_liquidations_usd: null
                - date: '2019-10-01'
                  long_liquidations: null
                  short_liquidations: null
                  long_liquidations_usd: null
                  short_liquidations_usd: null
    Capitalization:
      description: market_cap, realized_cap, average_cap, delta_cap, thermo_cap
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CapitalizationResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  market_cap: null
                  realized_cap: null
                  average_cap: null
                  delta_cap: null
                  thermo_cap: null
                - date: '2019-10-01'
                  market_cap: null
                  realized_cap: null
                  average_cap: null
                  delta_cap: null
                  thermo_cap: null
    BTCCoinbasePremiumIndex:
      description: Coinbase Premium Index in percentage and Coinbase Premium Gap
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BTCCoinbasePremiumIndexResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  coinbase_premium_gap: null
                  coinbase_premium_index: null
                - date: '2019-10-01'
                  coinbase_premium_gap: null
                  coinbase_premium_index: null
    MarketPriceUSD:
      description: Market Price OHLC and adjusted C Data in USD
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/MarketPriceUSDResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  price_usd_open: null
                  price_usd_high: null
                  price_usd_low: null
                  price_usd_close: null
                  price_usd_adj_close: null
                - date: '2019-10-01'
                  price_usd_open: null
                  price_usd_high: null
                  price_usd_low: null
                  price_usd_close: null
                  price_usd_adj_close: null
    MarketVolume:
      description: Market Volume Data
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/MarketVolumeResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  volume: null
                - date: '2019-10-01'
                  volume: null
    MarketPremium:
      description: Market Premium Data
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/MarketPremiumResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  market_premium: null
                - date: '2019-10-01'
                  market_premium: null
    DigitalAssetHoldings:
      description: Digital Asset Holdings Data
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/DigitalAssetHoldingsResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  digital_asset_holdings: null
                - date: '2019-10-01'
                  digital_asset_holdings: null
    stocktoflow:
      description: stock_to_flow, stock_to_flow_reversion
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/StockToFlowResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2020-07-29'
                  stock_to_flow: null
                  stock_to_flow_reversion: null
                - date: '2020-07-28'
                  stock_to_flow: null
                  stock_to_flow_reversion: null
    nvt:
      description: NVT(Network Value to Transaction) ratio
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NVTResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  nvt: null
                - date: '2019-10-01'
                  nvt: null
    nvt_golden_cross:
      description: nvt_golden_cross
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NVTGoldenCrossResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  nvt_golden_cross: null
                - date: '2019-10-01'
                  nvt_golden_cross: null
    nvm:
      description: nvm
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NVMResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2020-07-29'
                  nvm: null
                - date: '2020-07-28'
                  nvm: null
    puell_multiple:
      description: puell_multiple
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PuellMultipleResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  puell_multiple: null
                - date: '2019-10-01'
                  puell_multiple: null
    cdd:
      description: cdd
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CDDResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  cdd: null
                  sa_cdd: null
                  average_sa_cdd: null
                  binary_cdd: null
                - date: '2019-10-01'
                  cdd: null
                  sa_cdd: null
                  average_sa_cdd: null
                  binary_cdd: null
    mca:
      description: mca
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/MCAResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  mca: null
                  mcda: null
                - date: '2019-10-01'
                  mca: null
                  mcda: null
    sca:
      description: sca
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/SCAResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  sca: null
                  scda: null
                - date: '2019-10-01'
                  sca: null
                  scda: null
    sca-distribution:
      description: sca-distribution
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/SCADistributionResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  range_0d_1d: null
                  range_1d_1w: null
                  range_1w_1m: null
                  range_1m_3m: null
                  range_3m_6m: null
                  range_6m_12m: null
                  range_12m_18m: null
                  range_18m_2y: null
                  range_2y_3y: null
                  range_3y_5y: null
                  range_5y_7y: null
                  range_7y_10y: null
                  range_10y_inf: null
                  range_0d_1d_percent: null
                  range_1d_1w_percent: null
                  range_1w_1m_percent: null
                  range_1m_3m_percent: null
                  range_3m_6m_percent: null
                  range_6m_12m_percent: null
                  range_12m_18m_percent: null
                  range_18m_2y_percent: null
                  range_2y_3y_percent: null
                  range_3y_5y_percent: null
                  range_5y_7y_percent: null
                  range_7y_10y_percent: null
                  range_10y_inf_percent: null
                - date: '2019-10-01'
                  range_0d_1d: null
                  range_1d_1w: null
                  range_1w_1m: null
                  range_1m_3m: null
                  range_3m_6m: null
                  range_6m_12m: null
                  range_12m_18m: null
                  range_18m_2y: null
                  range_2y_3y: null
                  range_3y_5y: null
                  range_5y_7y: null
                  range_7y_10y: null
                  range_10y_inf: null
                  range_0d_1d_percent: null
                  range_1d_1w_percent: null
                  range_1w_1m_percent: null
                  range_1m_3m_percent: null
                  range_3m_6m_percent: null
                  range_6m_12m_percent: null
                  range_12m_18m_percent: null
                  range_18m_2y_percent: null
                  range_2y_3y_percent: null
                  range_3y_5y_percent: null
                  range_5y_7y_percent: null
                  range_7y_10y_percent: null
                  range_10y_inf_percent: null
    nupl:
      description: nupl
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NUPLResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  nupl: null
                  nup: null
                  nul: null
                - date: '2019-10-01'
                  nupl: null
                  nup: null
                  nul: null
    nrpl:
      description: nrpl
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NRPLResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  nrpl: null
                - date: '2019-10-01'
                  nrpl: null
    pnl-utxo:
      description: pnl-utxo
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PNLUTxOResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  profit_percent: null
                  loss_percent: null
                  profit_amount: null
                  loss_amount: null
                - date: '2019-10-01'
                  profit_percent: null
                  loss_percent: null
                  profit_amount: null
                  loss_amount: null
    pnl-supply:
      description: pnl-supply
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PNLSupplyResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  profit_percent: null
                  loss_percent: null
                  profit_amount: null
                  loss_amount: null
                - date: '2019-10-01'
                  profit_percent: null
                  loss_percent: null
                  profit_amount: null
                  loss_amount: null
    dormancy:
      description: The average number of days destroyed per coin transacted.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/DormancyResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2020-07-29'
                  average_dormancy: null
                  sa_average_dormancy: null
                - date: '2020-07-28'
                  average_dormancy: null
                  sa_average_dormancy: null
    utxo-age-distribution:
      description: utxo-age-distribution
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/UTxOAgeDistributionResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  range_0d_1d: null
                  range_1d_1w: null
                  range_1w_1m: null
                  range_1m_3m: null
                  range_3m_6m: null
                  range_6m_12m: null
                  range_12m_18m: null
                  range_18m_2y: null
                  range_2y_3y: null
                  range_3y_5y: null
                  range_5y_7y: null
                  range_7y_10y: null
                  range_10y_inf: null
                  range_0d_1d_usd: null
                  range_1d_1w_usd: null
                  range_1w_1m_usd: null
                  range_1m_3m_usd: null
                  range_3m_6m_usd: null
                  range_6m_12m_usd: null
                  range_12m_18m_usd: null
                  range_18m_2y_usd: null
                  range_2y_3y_usd: null
                  range_3y_5y_usd: null
                  range_5y_7y_usd: null
                  range_7y_10y_usd: null
                  range_10y_inf_usd: null
                  range_0d_1d_percent: null
                  range_1d_1w_percent: null
                  range_1w_1m_percent: null
                  range_1m_3m_percent: null
                  range_3m_6m_percent: null
                  range_6m_12m_percent: null
                  range_12m_18m_percent: null
                  range_18m_2y_percent: null
                  range_2y_3y_percent: null
                  range_3y_5y_percent: null
                  range_5y_7y_percent: null
                  range_7y_10y_percent: null
                  range_10y_inf_percent: null
                - date: '2019-10-01'
                  range_0d_1d: null
                  range_1d_1w: null
                  range_1w_1m: null
                  range_1m_3m: null
                  range_3m_6m: null
                  range_6m_12m: null
                  range_12m_18m: null
                  range_18m_2y: null
                  range_2y_3y: null
                  range_3y_5y: null
                  range_5y_7y: null
                  range_7y_10y: null
                  range_10y_inf: null
                  range_0d_1d_usd: null
                  range_1d_1w_usd: null
                  range_1w_1m_usd: null
                  range_1m_3m_usd: null
                  range_3m_6m_usd: null
                  range_6m_12m_usd: null
                  range_12m_18m_usd: null
                  range_18m_2y_usd: null
                  range_2y_3y_usd: null
                  range_3y_5y_usd: null
                  range_5y_7y_usd: null
                  range_7y_10y_usd: null
                  range_10y_inf_usd: null
                  range_0d_1d_percent: null
                  range_1d_1w_percent: null
                  range_1w_1m_percent: null
                  range_1m_3m_percent: null
                  range_3m_6m_percent: null
                  range_6m_12m_percent: null
                  range_12m_18m_percent: null
                  range_18m_2y_percent: null
                  range_2y_3y_percent: null
                  range_3y_5y_percent: null
                  range_5y_7y_percent: null
                  range_7y_10y_percent: null
                  range_10y_inf_percent: null
    utxo-realized-age-distribution:
      description: utxo-realized-age-distribution
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/UTxORealizedAgeDistributionResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  range_0d_1d_usd: null
                  range_1d_1w_usd: null
                  range_1w_1m_usd: null
                  range_1m_3m_usd: null
                  range_3m_6m_usd: null
                  range_6m_12m_usd: null
                  range_12m_18m_usd: null
                  range_18m_2y_usd: null
                  range_2y_3y_usd: null
                  range_3y_5y_usd: null
                  range_5y_7y_usd: null
                  range_7y_10y_usd: null
                  range_10y_inf_usd: null
                  range_0d_1d_percent: null
                  range_1d_1w_percent: null
                  range_1w_1m_percent: null
                  range_1m_3m_percent: null
                  range_3m_6m_percent: null
                  range_6m_12m_percent: null
                  range_12m_18m_percent: null
                  range_18m_2y_percent: null
                  range_2y_3y_percent: null
                  range_3y_5y_percent: null
                  range_5y_7y_percent: null
                  range_7y_10y_percent: null
                  range_10y_inf_percent: null
                - date: '2019-10-01'
                  range_0d_1d_usd: null
                  range_1d_1w_usd: null
                  range_1w_1m_usd: null
                  range_1m_3m_usd: null
                  range_3m_6m_usd: null
                  range_6m_12m_usd: null
                  range_12m_18m_usd: null
                  range_18m_2y_usd: null
                  range_2y_3y_usd: null
                  range_3y_5y_usd: null
                  range_5y_7y_usd: null
                  range_7y_10y_usd: null
                  range_10y_inf_usd: null
                  range_0d_1d_percent: null
                  range_1d_1w_percent: null
                  range_1w_1m_percent: null
                  range_1m_3m_percent: null
                  range_3m_6m_percent: null
                  range_6m_12m_percent: null
                  range_12m_18m_percent: null
                  range_18m_2y_percent: null
                  range_2y_3y_percent: null
                  range_3y_5y_percent: null
                  range_5y_7y_percent: null
                  range_7y_10y_percent: null
                  range_10y_inf_percent: null
    utxo-count-age-distribution:
      description: utxo-count-age-distribution
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/UTxOCountAgeDistributionResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  range_0d_1d: null
                  range_1d_1w: null
                  range_1w_1m: null
                  range_1m_3m: null
                  range_3m_6m: null
                  range_6m_12m: null
                  range_12m_18m: null
                  range_18m_2y: null
                  range_2y_3y: null
                  range_3y_5y: null
                  range_5y_7y: null
                  range_7y_10y: null
                  range_10y_inf: null
                  range_0d_1d_percent: null
                  range_1d_1w_percent: null
                  range_1w_1m_percent: null
                  range_1m_3m_percent: null
                  range_3m_6m_percent: null
                  range_6m_12m_percent: null
                  range_12m_18m_percent: null
                  range_18m_2y_percent: null
                  range_2y_3y_percent: null
                  range_3y_5y_percent: null
                  range_5y_7y_percent: null
                  range_7y_10y_percent: null
                  range_10y_inf_percent: null
                - date: '2019-10-01'
                  range_0d_1d: null
                  range_1d_1w: null
                  range_1w_1m: null
                  range_1m_3m: null
                  range_3m_6m: null
                  range_6m_12m: null
                  range_12m_18m: null
                  range_18m_2y: null
                  range_2y_3y: null
                  range_3y_5y: null
                  range_5y_7y: null
                  range_7y_10y: null
                  range_10y_inf: null
                  range_0d_1d_percent: null
                  range_1d_1w_percent: null
                  range_1w_1m_percent: null
                  range_1m_3m_percent: null
                  range_3m_6m_percent: null
                  range_6m_12m_percent: null
                  range_12m_18m_percent: null
                  range_18m_2y_percent: null
                  range_2y_3y_percent: null
                  range_3y_5y_percent: null
                  range_5y_7y_percent: null
                  range_7y_10y_percent: null
                  range_10y_inf_percent: null
    spent-output-age-distribution:
      description: spent-output-age-distribution
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/SpentOutputAgeDistributionResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  range_0d_1d: null
                  range_1d_1w: null
                  range_1w_1m: null
                  range_1m_3m: null
                  range_3m_6m: null
                  range_6m_12m: null
                  range_12m_18m: null
                  range_18m_2y: null
                  range_2y_3y: null
                  range_3y_5y: null
                  range_5y_7y: null
                  range_7y_10y: null
                  range_10y_inf: null
                  range_0d_1d_usd: null
                  range_1d_1w_usd: null
                  range_1w_1m_usd: null
                  range_1m_3m_usd: null
                  range_3m_6m_usd: null
                  range_6m_12m_usd: null
                  range_12m_18m_usd: null
                  range_18m_2y_usd: null
                  range_2y_3y_usd: null
                  range_3y_5y_usd: null
                  range_5y_7y_usd: null
                  range_7y_10y_usd: null
                  range_10y_inf_usd: null
                  range_0d_1d_percent: null
                  range_1d_1w_percent: null
                  range_1w_1m_percent: null
                  range_1m_3m_percent: null
                  range_3m_6m_percent: null
                  range_6m_12m_percent: null
                  range_12m_18m_percent: null
                  range_18m_2y_percent: null
                  range_2y_3y_percent: null
                  range_3y_5y_percent: null
                  range_5y_7y_percent: null
                  range_7y_10y_percent: null
                  range_10y_inf_percent: null
                - date: '2019-10-01'
                  range_0d_1d: null
                  range_1d_1w: null
                  range_1w_1m: null
                  range_1m_3m: null
                  range_3m_6m: null
                  range_6m_12m: null
                  range_12m_18m: null
                  range_18m_2y: null
                  range_2y_3y: null
                  range_3y_5y: null
                  range_5y_7y: null
                  range_7y_10y: null
                  range_10y_inf: null
                  range_0d_1d_usd: null
                  range_1d_1w_usd: null
                  range_1w_1m_usd: null
                  range_1m_3m_usd: null
                  range_3m_6m_usd: null
                  range_6m_12m_usd: null
                  range_12m_18m_usd: null
                  range_18m_2y_usd: null
                  range_2y_3y_usd: null
                  range_3y_5y_usd: null
                  range_5y_7y_usd: null
                  range_7y_10y_usd: null
                  range_10y_inf_usd: null
                  range_0d_1d_percent: null
                  range_1d_1w_percent: null
                  range_1w_1m_percent: null
                  range_1m_3m_percent: null
                  range_3m_6m_percent: null
                  range_6m_12m_percent: null
                  range_12m_18m_percent: null
                  range_18m_2y_percent: null
                  range_2y_3y_percent: null
                  range_3y_5y_percent: null
                  range_5y_7y_percent: null
                  range_7y_10y_percent: null
                  range_10y_inf_percent: null
    utxo-supply-distribution:
      description: utxo-supply-distribution
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/UTxOSupplyDistributionResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  range_0_001: null
                  range_001_01: null
                  range_01_1: null
                  range_1_10: null
                  range_10_100: null
                  range_100_1k: null
                  range_1k_10k: null
                  range_10k_inf: null
                  range_0_001_percent: null
                  range_001_01_percent: null
                  range_01_1_percent: null
                  range_1_10_percent: null
                  range_10_100_percent: null
                  range_100_1k_percent: null
                  range_1k_10k_percent: null
                  range_10k_inf_percent: null
                - date: '2019-10-01'
                  range_0_001: null
                  range_001_01: null
                  range_01_1: null
                  range_1_10: null
                  range_10_100: null
                  range_100_1k: null
                  range_1k_10k: null
                  range_10k_inf: null
                  range_0_001_percent: null
                  range_001_01_percent: null
                  range_01_1_percent: null
                  range_1_10_percent: null
                  range_10_100_percent: null
                  range_100_1k_percent: null
                  range_1k_10k_percent: null
                  range_10k_inf_percent: null
    utxo-realized-supply-distribution:
      description: utxo-realized-supply-distribution
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/UTxORealizedSupplyDistributionResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  range_0_1_usd: null
                  range_1_10_usd: null
                  range_10_100_usd: null
                  range_100_1k_usd: null
                  range_1k_10k_usd: null
                  range_10k_100k_usd: null
                  range_100k_1M_usd: null
                  range_1M_inf_usd: null
                  range_0_1_percent: null
                  range_1_10_percent: null
                  range_10_100_percent: null
                  range_100_1k_percent: null
                  range_1k_10k_percent: null
                  range_10k_100k_percent: null
                  range_100k_1M_percent: null
                  range_1M_inf_percent: null
                - date: '2019-10-01'
                  range_0_1_usd: null
                  range_1_10_usd: null
                  range_10_100_usd: null
                  range_100_1k_usd: null
                  range_1k_10k_usd: null
                  range_10k_100k_usd: null
                  range_100k_1M_usd: null
                  range_1M_inf_usd: null
                  range_0_1_percent: null
                  range_1_10_percent: null
                  range_10_100_percent: null
                  range_100_1k_percent: null
                  range_1k_10k_percent: null
                  range_10k_100k_percent: null
                  range_100k_1M_percent: null
                  range_1M_inf_percent: null
    utxo-count-supply-distribution:
      description: utxo-count-supply-distribution
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/UTxOCountSupplyDistributionResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  range_0_001: null
                  range_001_01: null
                  range_01_1: null
                  range_1_10: null
                  range_10_100: null
                  range_100_1k: null
                  range_1k_10k: null
                  range_10k_inf: null
                  range_0_001_percent: null
                  range_001_01_percent: null
                  range_01_1_percent: null
                  range_1_10_percent: null
                  range_10_100_percent: null
                  range_100_1k_percent: null
                  range_1k_10k_percent: null
                  range_10k_inf_percent: null
                - date: '2019-10-01'
                  range_0_001: null
                  range_001_01: null
                  range_01_1: null
                  range_1_10: null
                  range_10_100: null
                  range_100_1k: null
                  range_1k_10k: null
                  range_10k_inf: null
                  range_0_001_percent: null
                  range_001_01_percent: null
                  range_01_1_percent: null
                  range_1_10_percent: null
                  range_10_100_percent: null
                  range_100_1k_percent: null
                  range_1k_10k_percent: null
                  range_10k_inf_percent: null
    spent-output-supply-distribution:
      description: spent-output-supply-distribution
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/SpentOutputSupplyDistributionResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  range_0_001: null
                  range_001_01: null
                  range_01_1: null
                  range_1_10: null
                  range_10_100: null
                  range_100_1k: null
                  range_1k_10k: null
                  range_10k_inf: null
                  range_0_1_usd: null
                  range_1_10_usd: null
                  range_10_100_usd: null
                  range_100_1k_usd: null
                  range_1k_10k_usd: null
                  range_10k_100k_usd: null
                  range_100k_1M_usd: null
                  range_1M_inf_usd: null
                  range_0_001_percent: null
                  range_001_01_percent: null
                  range_01_1_percent: null
                  range_1_10_percent: null
                  range_10_100_percent: null
                  range_100_1k_percent: null
                  range_1k_10k_percent: null
                  range_10k_inf_percent: null
                - date: '2019-10-01'
                  range_0_001: null
                  range_001_01: null
                  range_01_1: null
                  range_1_10: null
                  range_10_100: null
                  range_100_1k: null
                  range_1k_10k: null
                  range_10k_inf: null
                  range_0_1_usd: null
                  range_1_10_usd: null
                  range_10_100_usd: null
                  range_100_1k_usd: null
                  range_1k_10k_usd: null
                  range_10k_100k_usd: null
                  range_100k_1M_usd: null
                  range_1M_inf_usd: null
                  range_0_001_percent: null
                  range_001_01_percent: null
                  range_01_1_percent: null
                  range_1_10_percent: null
                  range_10_100_percent: null
                  range_100_1k_percent: null
                  range_1k_10k_percent: null
                  range_10k_inf_percent: null
    estimated-leverage-ratio:
      description: The amount of open interest of exchange divided by their BTC reserve
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/EstimatedLeverageRatioResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  estimated_leverage_ratio: null
                - date: '2019-10-01'
                  estimated_leverage_ratio: null
    stablecoin-supply-ratio:
      description: stablecoin_supply_ratio
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/SSRResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2020-07-29'
                  stablecoin_supply_ratio: null
                - date: '2020-07-28'
                  stablecoin_supply_ratio: null
    mvrv:
      description: mvrv
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/MVRVResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  mvrv: null
                - date: '2019-10-01'
                  mvrv: null
    sopr:
      description: spent_output_profit_ratio
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/SOPRResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2020-07-29'
                  sopr: null
                  a_sopr: null
                  sth_sopr: null
                  lth_sopr: null
                - date: '2020-07-28'
                  sopr: null
                  a_sopr: null
                  sth_sopr: null
                  lth_sopr: null
    sopr-ratio:
      description: Long term holders' SOPR divided by short term holders' SOPR.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/SOPRRatioResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2020-07-29'
                  sopr_ratio: null
                - date: '2020-07-28'
                  sopr_ratio: null
    realized-price:
      description: Realized Cap divided by total supply.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/RealizedPriceResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  realized_price: null
                - date: '2019-10-01'
                  realized_price: null
    utxo-realized-price-age-distribution:
      description: utxo-realized-price-age-distribution
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/UTxORealizedPriceAgeDistributionResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  range_0d_1d: null
                  range_1d_1w: null
                  range_1w_1m: null
                  range_1m_3m: null
                  range_3m_6m: null
                  range_6m_12m: null
                  range_12m_18m: null
                  range_18m_2y: null
                  range_2y_3y: null
                  range_3y_5y: null
                  range_5y_7y: null
                  range_7y_10y: null
                  range_10y_inf: null
                - date: '2019-10-01'
                  range_0d_1d: null
                  range_1d_1w: null
                  range_1w_1m: null
                  range_1m_3m: null
                  range_3m_6m: null
                  range_6m_12m: null
                  range_12m_18m: null
                  range_18m_2y: null
                  range_2y_3y: null
                  range_3y_5y: null
                  range_5y_7y: null
                  range_7y_10y: null
                  range_10y_inf: null
    mpi:
      description: Miners' Position Index
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/MPIResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  mpi: null
                - date: '2019-10-01'
                  mpi: null
    exchange_shutdown_index:
      description: Exchange Shutdown Index
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ExchangeShutdownIndexResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  is_shutdown: null
                - date: '2019-10-01'
                  is_shutdown: null
    exchange_whale_ratio:
      description: The total BTC amount of top 10 inflow amount divided by the total BTC amount flowed into exchange
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ExchangeWhaleRatioResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  exchange_whale_ratio: null
                - date: '2019-10-01'
                  exchange_whale_ratio: null
    fund-flow-ratio:
      description: The total BTC inflow and outflow of exchange divided by the total BTC transferred on the Bitcoin network.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/FundFlowRatioResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  fund_flow_ratio: null
                - date: '2019-10-01'
                  fund_flow_ratio: null
    stablecoins-ratio:
      description: Total BTC reserve divided by all stablecoins reserve held by an exchange.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/StablecoinsRatioResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  stablecoins_ratio: null
                  stablecoins_ratio_usd: null
                - date: '2019-10-01'
                  stablecoins_ratio: null
                  stablecoins_ratio_usd: null
    exchange-inflow-age-distribution:
      description: exchange-inflow-age-distribution
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ExchangeInflowAgeDistributionResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  range_0d_1d: null
                  range_1d_1w: null
                  range_1w_1m: null
                  range_1m_3m: null
                  range_3m_6m: null
                  range_6m_12m: null
                  range_12m_18m: null
                  range_18m_2y: null
                  range_2y_3y: null
                  range_3y_5y: null
                  range_5y_7y: null
                  range_7y_10y: null
                  range_10y_inf: null
                  range_0d_1d_percent: null
                  range_1d_1w_percent: null
                  range_1w_1m_percent: null
                  range_1m_3m_percent: null
                  range_3m_6m_percent: null
                  range_6m_12m_percent: null
                  range_12m_18m_percent: null
                  range_18m_2y_percent: null
                  range_2y_3y_percent: null
                  range_3y_5y_percent: null
                  range_5y_7y_percent: null
                  range_7y_10y_percent: null
                  range_10y_inf_percent: null
                - date: '2019-10-01'
                  range_0d_1d: null
                  range_1d_1w: null
                  range_1w_1m: null
                  range_1m_3m: null
                  range_3m_6m: null
                  range_6m_12m: null
                  range_12m_18m: null
                  range_18m_2y: null
                  range_2y_3y: null
                  range_3y_5y: null
                  range_5y_7y: null
                  range_7y_10y: null
                  range_10y_inf: null
                  range_0d_1d_percent: null
                  range_1d_1w_percent: null
                  range_1w_1m_percent: null
                  range_1m_3m_percent: null
                  range_3m_6m_percent: null
                  range_6m_12m_percent: null
                  range_12m_18m_percent: null
                  range_18m_2y_percent: null
                  range_2y_3y_percent: null
                  range_3y_5y_percent: null
                  range_5y_7y_percent: null
                  range_7y_10y_percent: null
                  range_10y_inf_percent: null
    exchange-inflow-supply-distribution:
      description: exchange-inflow-supply-distribution
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ExchangeInflowSupplyDistributionResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  range_0_001: null
                  range_001_01: null
                  range_01_1: null
                  range_1_10: null
                  range_10_100: null
                  range_100_1k: null
                  range_1k_10k: null
                  range_10k_inf: null
                  range_0_001_percent: null
                  range_001_01_percent: null
                  range_01_1_percent: null
                  range_1_10_percent: null
                  range_10_100_percent: null
                  range_100_1k_percent: null
                  range_1k_10k_percent: null
                  range_10k_inf_percent: null
                - date: '2019-10-01'
                  range_0_001: null
                  range_001_01: null
                  range_01_1: null
                  range_1_10: null
                  range_10_100: null
                  range_100_1k: null
                  range_1k_10k: null
                  range_10k_inf: null
                  range_0_001_percent: null
                  range_001_01_percent: null
                  range_01_1_percent: null
                  range_1_10_percent: null
                  range_10_100_percent: null
                  range_100_1k_percent: null
                  range_1k_10k_percent: null
                  range_10k_inf_percent: null
    exchange-inflow-cdd:
      description: exchange-inflow-cdd
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ExchangeInflowCDDResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  inflow_cdd: null
                - date: '2019-10-01'
                  inflow_cdd: null
    exchange-supply-ratio:
      description: Ratio of reserved token in the exchange relative to total supply.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ExchangeSupplyRatioResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  exchange_supply_ratio: null
                - date: '2019-10-01'
                  exchange_supply_ratio: null
    miner-supply-ratio:
      description: Ratio of reserved token in the miner relative to total supply.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/MinerSupplyRatioResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  miner_supply_ratio: null
                - date: '2019-10-01'
                  miner_supply_ratio: null
    stats-by-relative-fee:
      description: BTC Mempool Stats by relative fee
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BTCMempoolStatsByRelativeFeeResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - datetime: '2019-10-02'
                  metric_type: tx_count
                  metric_unit: number
                  result:
                    relative_fee_range_0_1: null
                    relative_fee_range_1_2: null
                    relative_fee_range_2_3: null
                    relative_fee_range_3_4: null
                    relative_fee_range_4_5: null
                    relative_fee_range_5_6: null
                    relative_fee_range_6_7: null
                    relative_fee_range_7_8: null
                    relative_fee_range_8_10: null
                    relative_fee_range_10_12: null
                    relative_fee_range_12_14: null
                    relative_fee_range_14_17: null
                    relative_fee_range_17_20: null
                    relative_fee_range_20_25: null
                    relative_fee_range_25_30: null
                    relative_fee_range_30_40: null
                    relative_fee_range_40_50: null
                    relative_fee_range_50_60: null
                    relative_fee_range_60_70: null
                    relative_fee_range_70_80: null
                    relative_fee_range_80_100: null
                    relative_fee_range_100_120: null
                    relative_fee_range_120_140: null
                    relative_fee_range_140_170: null
                    relative_fee_range_170_200: null
                    relative_fee_range_200_250: null
                    relative_fee_range_250_300: null
                    relative_fee_range_300_400: null
                    relative_fee_range_400_500: null
                    relative_fee_range_500_600: null
                    relative_fee_range_600_700: null
                    relative_fee_range_700_800: null
                    relative_fee_range_800_1000: null
                    relative_fee_range_1000_1200: null
                    relative_fee_range_1200_1400: null
                    relative_fee_range_1400_1700: null
                    relative_fee_range_1700_2000: null
                    relative_fee_range_2000_2500: null
                    relative_fee_range_2500_3000: null
                    relative_fee_range_3000_4000: null
                    relative_fee_range_4000_5000: null
                    relative_fee_range_5000_6000: null
                    relative_fee_range_6000_7000: null
                    relative_fee_range_7000_8000: null
                    relative_fee_range_8000_10000: null
                    relative_fee_range_10000_inf: null
    stats-in-total:
      description: BTC Mempool Stats (Sum)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BTCMempoolStatsInTotalResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - datetime: '2019-10-02'
                  metric_type: tx_count
                  metric_unit: number
                  result: 0
    responses_stats-in-total:
      description: BTC Lightning Network Stats
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BTCLightningNetworkStatsInTotalResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - datetime: '2019-10-02'
                  metric_type: tx_count
                  metric_unit: number
                  result:
                    network_capacity: null
                    network_capacity_usd: null
                    capacity_per_channel_mean: null
                    capacity_per_channel_mean_usd: null
                    capacity_per_node_mean: null
                    capacity_per_node_mean_usd: null
                    number_of_node: null
                    number_of_channel: null
                    channel_per_node_mean: null
                    node_age_days: null
                    channel_age_days: null
                    base_fee_median: null
                    base_fee_median_usd: null
                    fee_rate_median: null
                    fee_rate_median_usd: null
    Companies:
      description: Company Data
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CompaniesResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  coinbase_rewards: null
                  other_mining_rewards: null
                  total_rewards: null
                  accumulated_monthly_rewards: null
                  unique_txn: null
                  active_address_count: null
                  reported_production: null
                  report_accuracy: null
                  closing_usd: null
                  total_daily_rewards_closing_usd: null
                  accumulated_monthly_rewards_closing_usd: null
                - date: '2019-10-01'
                  coinbase_rewards: null
                  other_mining_rewards: null
                  total_rewards: null
                  accumulated_monthly_rewards: null
                  unique_txn: null
                  active_address_count: null
                  reported_production: null
                  report_accuracy: null
                  closing_usd: null
                  total_daily_rewards_closing_usd: null
                  accumulated_monthly_rewards_closing_usd: null
    responses_EntityList:
      description: Entity list on a given type.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_EntityListResponse'
          example:
            status:
              code: 200
              message: success
            result:
              type: exchange
              data:
                - name: example
                  symbol: example
                  is_validated: 1
                  market_type: 1
    responses_Reserve-2:
      description: The amount of Stablecoin on a given exchange on this window.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_ReserveResponse-2'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  reserve: null
                - date: '2019-10-01'
                  reserve: null
    responses_Inflow-2:
      description: inflow_total, inflow_top10, inflow_mean
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_InflowResponse-2'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  inflow_total: null
                  inflow_top10: null
                  inflow_mean: null
                - date: '2019-10-01'
                  inflow_total: null
                  inflow_top10: null
                  inflow_mean: null
    responses_Outflow-2:
      description: outflow_total, outflow_top10, outflow_mean
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_OutflowResponse-2'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  outflow_total: null
                  outflow_top10: null
                  outflow_mean: null
                - date: '2019-10-01'
                  outflow_total: null
                  outflow_top10: null
                  outflow_mean: null
    responses_Supply:
      description: supply_total, supply_minted, supply_burned, supply_circulating, supply_issued, supply_redeemed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_SupplyResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: block
              data:
                - blockheight: '500001'
                  datetime: '2019-01-01 00:10:00'
                  supply_total: null
                  supply_minted: null
                  supply_burned: null
                  supply_circulating: null
                  supply_issued: null
                  supply_redeemed: null
                - blockheight: '500000'
                  datetime: '2019-01-01 00:00:00'
                  supply_total: null
                  supply_minted: null
                  supply_burned: null
                  supply_circulating: null
                  supply_issued: null
                  supply_redeemed: null
    EventsCount:
      description: transfer, mint, issue, burn, redeem
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/EventsCountResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-01'
                  events_transfer_count: null
                  events_mint_count: null
                  events_issue_count: null
                  events_burn_count: null
                  events_redeem_count: null
    responses_TokensTransferred:
      description: tokens_transferred_total, tokens_transferred_mean
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_TokensTransferredResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-01'
                  tokens_transferred_total: 78912.12373645
                  tokens_transferred_mean: 1248.47276264
    responses_AddressesCount:
      description: addresses_active_count, addresses_active_sender_count, addresses_active_receiver_count, addresses_active_sender_percent, addresses_active_receiver_percent
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_AddressesCountResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-01'
                  addresses_active_count: 102832
                  addresses_active_sender_count: 60123
                  addresses_active_receiver_count: 51231
                  addresses_active_sender_percent: null
                  addresses_active_receiver_percent: null
    PriceOHLCVSC:
      description: Price OHLCV Data
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PriceOHLCVSCResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  open: null
                  high: null
                  low: null
                  close: null
                  volume: null
                - date: '2019-10-01'
                  open: null
                  high: null
                  low: null
                  close: null
                  volume: null
    CapitalizationSC:
      description: Market capitalization of the stable coin, calculated by total_supply * price_usd_close.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CapitalizationSCResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  market_cap: null
                - date: '2019-10-01'
                  market_cap: null
    responses_exchange-supply-ratio:
      description: Ratio of reserved token in the exchange relative to total supply.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_ExchangeSupplyRatioResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  exchange_supply_ratio: null
                - date: '2019-10-01'
                  exchange_supply_ratio: null
    responses_Supply-2:
      description: supply_total, supply_new.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_SupplyResponse-2'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  supply_total: null
                  supply_new: null
                - date: '2019-09-01'
                  supply_total: null
                  supply_new: null
    responses_Velocity:
      description: Estimated transaction volume in the trailing 1 year divided by current total supply.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_VelocityResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  velocity_supply_total: null
                - date: '2021-09-01'
                  velocity_supply_total: null
    ContractsCount:
      description: contracts_created_new, contracts_destroyed_new, contracts_count_total.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ContractsCountResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  contracts_created_new: null
                  contracts_destroyed_new: null
                  contracts_count_total: null
                - date: '2021-09-01'
                  contracts_created_new: null
                  contracts_destroyed_new: null
                  contracts_count_total: null
    responses_TransactionsCount:
      description: transactions_count_total, transactions_count_mean.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_TransactionsCountResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  transactions_count_total: null
                  transactions_count_mean: null
                - date: '2019-09-01'
                  transactions_count_total: null
                  transactions_count_mean: null
    TransactionsCountBetweenEOA:
      description: transactions_count_total, transactions_count_mean.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TransactionsCountBetweenEOAResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  transactions_count_total: null
                  transactions_count_mean: null
                - date: '2021-09-01'
                  transactions_count_total: null
                  transactions_count_mean: null
    ContractCallsCountExternal:
      description: contract_calls_count_total, contract_calls_count_mean.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ContractCallsCountExternalResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  contract_calls_count_total: null
                  contract_calls_count_mean: null
                - date: '2021-09-01'
                  contract_calls_count_total: null
                  contract_calls_count_mean: null
    ContractCallsCountInternal:
      description: contract_calls_count_total, contract_calls_count_mean.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ContractCallsCountInternalResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  contract_calls_count_total: null
                  contract_calls_count_mean: null
                - date: '2021-09-01'
                  contract_calls_count_total: null
                  contract_calls_count_mean: null
    ContractCallsCount:
      description: contract_calls_count_total, contract_calls_count_mean.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ContractCallsCountResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  contract_calls_count_total: null
                  contract_calls_count_mean: null
                - date: '2021-09-01'
                  contract_calls_count_total: null
                  contract_calls_count_mean: null
    TransactionsCountAll:
      description: transactions_count_total, transactions_count_mean.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TransactionsCountAllResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  transactions_count_total: null
                  transactions_count_mean: null
                - date: '2021-09-01'
                  transactions_count_total: null
                  transactions_count_mean: null
    responses_AddressesCount-2:
      description: addresses_count_active, addresses_count_sender, addresses_count_receiver.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_AddressesCountResponse-2'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  addresses_count_active: null
                  addresses_count_sender: null
                  addresses_count_receiver: null
                - date: '2019-09-01'
                  addresses_count_active: null
                  addresses_count_sender: null
                  addresses_count_receiver: null
    AddressesCountAll:
      description: addresses_count_active, addresses_count_sender, addresses_count_receiver.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/AddressesCountAllResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  addresses_count_active: null
                  addresses_count_sender: null
                  addresses_count_receiver: null
                - date: '2019-09-01'
                  addresses_count_active: null
                  addresses_count_sender: null
                  addresses_count_receiver: null
    TokensTransferredCount:
      description: tokens_transferred_count_total, tokens_transferred_count_mean.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TokensTransferredCountResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  tokens_transferred_count_total: null
                  tokens_transferred_count_mean: null
                - date: '2021-09-01'
                  tokens_transferred_count_total: null
                  tokens_transferred_count_mean: null
    TokensTransferredCountBetweenEOA:
      description: tokens_transferred_count_total, tokens_transferred_count_mean.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TokensTransferredCountBetweenEOAResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  tokens_transferred_count_total: null
                  tokens_transferred_count_mean: null
                - date: '2021-09-01'
                  tokens_transferred_count_total: null
                  tokens_transferred_count_mean: null
    TokensTransferredCountByContractCallsExternal:
      description: tokens_transferred_count_total, tokens_transferred_count_mean.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TokensTransferredCountByContractCallsExternalResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  tokens_transferred_count_total: null
                  tokens_transferred_count_mean: null
                - date: '2021-09-01'
                  tokens_transferred_count_total: null
                  tokens_transferred_count_mean: null
    TokensTransferredCountByContractCallsInternal:
      description: tokens_transferred_count_total, tokens_transferred_count_mean.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TokensTransferredCountByContractCallsInternalResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  tokens_transferred_count_total: null
                  tokens_transferred_count_mean: null
                - date: '2021-09-01'
                  tokens_transferred_count_total: null
                  tokens_transferred_count_mean: null
    TokensTransferredCountByContractCalls:
      description: tokens_transferred_count_total, tokens_transferred_count_mean.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TokensTransferredCountByContractCallsResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  tokens_transferred_count_total: null
                  tokens_transferred_count_mean: null
                - date: '2021-09-01'
                  tokens_transferred_count_total: null
                  tokens_transferred_count_mean: null
    TokensTransferredCountAll:
      description: tokens_transferred_count_total, tokens_transferred_count_mean.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TokensTransferredCountAllResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  tokens_transferred_count_total: null
                  tokens_transferred_count_mean: null
                - date: '2021-09-01'
                  tokens_transferred_count_total: null
                  tokens_transferred_count_mean: null
    responses_TokensTransferred-2:
      description: tokens_transferred_total, tokens_transferred_mean, tokens_transferred_median, tokens_transferred_total_usd, tokens_transferred_mean_usd, tokens_transferred_median_usd.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_TokensTransferredResponse-2'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  tokens_transferred_total: null
                  tokens_transferred_mean: null
                  tokens_transferred_median: null
                  tokens_transferred_total_usd: null
                  tokens_transferred_mean_usd: null
                  tokens_transferred_median_usd: null
                - date: '2021-09-01'
                  tokens_transferred_total: null
                  tokens_transferred_mean: null
                  tokens_transferred_median: null
                  tokens_transferred_total_usd: null
                  tokens_transferred_mean_usd: null
                  tokens_transferred_median_usd: null
    TokensTransferredBetweenEOA:
      description: tokens_transferred_total, tokens_transferred_mean, tokens_transferred_median, tokens_transferred_total_usd, tokens_transferred_mean_usd, tokens_transferred_median_usd.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TokensTransferredBetweenEOAResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  tokens_transferred_total: null
                  tokens_transferred_mean: null
                  tokens_transferred_median: null
                  tokens_transferred_total_usd: null
                  tokens_transferred_mean_usd: null
                  tokens_transferred_median_usd: null
                - date: '2021-09-01'
                  tokens_transferred_total: null
                  tokens_transferred_mean: null
                  tokens_transferred_median: null
                  tokens_transferred_total_usd: null
                  tokens_transferred_mean_usd: null
                  tokens_transferred_median_usd: null
    TokensTransferredByContractCallsExternal:
      description: tokens_transferred_total, tokens_transferred_mean, tokens_transferred_median, tokens_transferred_total_usd, tokens_transferred_mean_usd, tokens_transferred_median_usd.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TokensTransferredByContractCallsExternalResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  tokens_transferred_total: null
                  tokens_transferred_mean: null
                  tokens_transferred_median: null
                  tokens_transferred_total_usd: null
                  tokens_transferred_mean_usd: null
                  tokens_transferred_median_usd: null
                - date: '2021-09-01'
                  tokens_transferred_total: null
                  tokens_transferred_mean: null
                  tokens_transferred_median: null
                  tokens_transferred_total_usd: null
                  tokens_transferred_mean_usd: null
                  tokens_transferred_median_usd: null
    TokensTransferredByContractCallsInternal:
      description: tokens_transferred_total, tokens_transferred_mean, tokens_transferred_median, tokens_transferred_total_usd, tokens_transferred_mean_usd, tokens_transferred_median_usd.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TokensTransferredByContractCallsInternalResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  tokens_transferred_total: null
                  tokens_transferred_mean: null
                  tokens_transferred_median: null
                  tokens_transferred_total_usd: null
                  tokens_transferred_mean_usd: null
                  tokens_transferred_median_usd: null
                - date: '2021-09-01'
                  tokens_transferred_total: null
                  tokens_transferred_mean: null
                  tokens_transferred_median: null
                  tokens_transferred_total_usd: null
                  tokens_transferred_mean_usd: null
                  tokens_transferred_median_usd: null
    TokensTransferredByContractCalls:
      description: tokens_transferred_total, tokens_transferred_mean, tokens_transferred_median, tokens_transferred_total_usd, tokens_transferred_mean_usd, tokens_transferred_median_usd.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TokensTransferredByContractCallsResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  tokens_transferred_total: null
                  tokens_transferred_mean: null
                  tokens_transferred_median: null
                  tokens_transferred_total_usd: null
                  tokens_transferred_mean_usd: null
                  tokens_transferred_median_usd: null
                - date: '2021-09-01'
                  tokens_transferred_total: null
                  tokens_transferred_mean: null
                  tokens_transferred_median: null
                  tokens_transferred_total_usd: null
                  tokens_transferred_mean_usd: null
                  tokens_transferred_median_usd: null
    TokensTransferredAll:
      description: tokens_transferred_total, tokens_transferred_mean, tokens_transferred_median, tokens_transferred_total_usd, tokens_transferred_mean_usd, tokens_transferred_median_usd.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TokensTransferredAllResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  tokens_transferred_total: null
                  tokens_transferred_mean: null
                  tokens_transferred_median: null
                  tokens_transferred_total_usd: null
                  tokens_transferred_mean_usd: null
                  tokens_transferred_median_usd: null
                - date: '2021-09-01'
                  tokens_transferred_total: null
                  tokens_transferred_mean: null
                  tokens_transferred_median: null
                  tokens_transferred_total_usd: null
                  tokens_transferred_mean_usd: null
                  tokens_transferred_median_usd: null
    FailedTransactionsCount:
      description: The number of failed transactions count.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/FailedTransactionsCountResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  failed_transactions_count_total: null
                - date: '2021-09-01'
                  failed_transactions_count_total: null
    FailedTokensTransferredCount:
      description: The number of failed tokens transferred count.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/FailedTokensTransferredCountResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  failed_tokens_transferred_count_total: null
                - date: '2021-09-01'
                  failed_tokens_transferred_count_total: null
    responses_BlockBytes:
      description: The mean size(in bytes) of all blocks generated.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_BlockBytesResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  block_bytes: null
                - date: '2019-09-01'
                  block_bytes: null
    responses_BlockCount:
      description: The number of blocks generated in a given window.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_BlockCountResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  block_count: null
                - date: '2019-09-01'
                  block_count: null
    responses_BlockInterval:
      description: The average time between blocks generated in seconds.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_BlockIntervalResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  block_interval: null
                - date: '2019-09-01'
                  block_interval: null
    responses_Fees:
      description: fees_total, fees_total_usd, fees_block_mean, fees_block_mean_usd, fees_reward_percent.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_FeesResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  fees_block_mean: null
                  fees_block_mean_usd: null
                  fees_total: null
                  fees_total_usd: null
                  fees_reward_percent: null
                - date: '2019-09-01'
                  fees_block_mean: null
                  fees_block_mean_usd: null
                  fees_total: null
                  fees_total_usd: null
                  fees_reward_percent: null
    FeesBurnt:
      description: fees_burnt_total, fees_burnt_total_usd.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/FeesBurntResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  fees_burnt_total: null
                  fees_burnt_total_usd: null
                - date: '2019-09-01'
                  fees_burnt_total: null
                  fees_burnt_total_usd: null
    FeesTips:
      description: fees_tips_total, fees_tips_total_usd.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/FeesTipsResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  fees_tips_total: null
                  fees_tips_total_usd: null
                - date: '2019-09-01'
                  fees_tips_total: null
                  fees_tips_total_usd: null
    responses_FeesTransaction:
      description: fees_transaction_mean, fees_transaction_mean_usd, fees_transaction_median, fees_transaction_median_usd.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_FeesTransactionResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  fees_transaction_mean: null
                  fees_transaction_mean_usd: null
                  fees_transaction_median: null
                  fees_transaction_median_usd: null
                - date: '2019-09-01'
                  fees_transaction_mean: null
                  fees_transaction_mean_usd: null
                  fees_transaction_median: null
                  fees_transaction_median_usd: null
    FeesBurntTransaction:
      description: fees_burnt_transaction_mean, fees_burnt_transaction_mean_usd, fees_burnt_transaction_median, fees_burnt_transaction_median_usd.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/FeesBurntTransactionResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  fees_burnt_transaction_mean: null
                  fees_burnt_transaction_mean_usd: null
                  fees_burnt_transaction_median: null
                  fees_burnt_transaction_median_usd: null
                - date: '2019-09-01'
                  fees_burnt_transaction_mean: null
                  fees_burnt_transaction_mean_usd: null
                  fees_burnt_transaction_median: null
                  fees_burnt_transaction_median_usd: null
    FeesTipsTransaction:
      description: fees_tips_transaction_mean, fees_tips_transaction_mean_usd, fees_tips_transaction_median, fees_tips_transaction_median_usd.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/FeesTipsTransactionResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  fees_tips_transaction_mean: null
                  fees_tips_transaction_mean_usd: null
                  fees_tips_transaction_median: null
                  fees_tips_transaction_median_usd: null
                - date: '2019-09-01'
                  fees_tips_transaction_mean: null
                  fees_tips_transaction_mean_usd: null
                  fees_tips_transaction_median: null
                  fees_tips_transaction_median_usd: null
    Blockreward:
      description: The sum of block rewards (including mining or staking rewards and transaction fees). We also provide this value in USD units.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BlockrewardResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  blockreward: null
                  blockreward_usd: null
                - date: '2019-09-01'
                  blockreward: null
                  blockreward_usd: null
    BlockrewardExceptUncle:
      description: The sum of block rewards except uncle blocks. We also provide this value in USD units.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BlockrewardExceptUncleResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  blockreward_except_uncle: null
                  blockreward_except_uncle_usd: null
                - date: '2019-09-01'
                  blockreward_except_uncle: null
                  blockreward_except_uncle_usd: null
    Gas:
      description: gas_used_total, gas_used_mean, gas_price_mean, gas_limit_mean.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/GasResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  gas_used_total: null
                  gas_used_mean: null
                  gas_price_mean: null
                  gas_limit_mean: null
                - date: '2019-09-01'
                  gas_used_total: null
                  gas_used_mean: null
                  gas_price_mean: null
                  gas_limit_mean: null
    BaseFee:
      description: The average value of the base fee per gas over the blocks in Gwei.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BaseFeeResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  base_fee_mean: null
                - date: '2021-09-01'
                  base_fee_mean: null
    MaxFee:
      description: The average value of the max fee per gas over the transactions in Gwei.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/MaxFeeResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  max_fee_mean: null
                - date: '2021-09-01'
                  max_fee_mean: null
    MaxPriorityFee:
      description: The average value of the max priority fee per gas over the transactions in Gwei.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/MaxPriorityFeeResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  max_priority_fee_mean: null
                - date: '2021-09-01'
                  max_priority_fee_mean: null
    responses_Difficulty:
      description: The mean difficulty of mining a new block.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_DifficultyResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  difficulty: null
                - date: '2019-09-01'
                  difficulty: null
    responses_Hashrate:
      description: The mean speed at which hash problems are being solved across all miners in the network. It is displayed as hashes (Gigabytes) per second.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_HashrateResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  hashrate: null
                - date: '2019-09-01'
                  hashrate: null
    UncleBlockCount:
      description: The number of uncle blocks generated in a given window.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/UncleBlockCountResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  uncle_block_count: null
                - date: '2021-09-01'
                  uncle_block_count: null
    UncleBlockreward:
      description: The sum of uncle block rewards (including mining or staking rewards and transaction fees). We also provide this value in USD units.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/UncleBlockrewardResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  uncle_blockreward: null
                  uncle_blockreward_usd: null
                - date: '2021-09-01'
                  uncle_blockreward: null
                  uncle_blockreward_usd: null
    TotalValueStaked:
      description: The valid amount of ETH in the deposit contract on this window.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TotalValueStakedResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  total_value_staked: null
                - date: '2019-10-01'
                  total_value_staked: null
    StakingInflowTotal:
      description: The amount of ETH valid inflow to the deposit contract on this window.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/StakingInflowTotalResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  staking_inflow_total: null
                - date: '2019-10-01'
                  staking_inflow_total: null
    StakingTransactionCount:
      description: The number of valid transactions to the deposit contract on this window.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/StakingTransactionCountResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  staking_transaction_count: null
                - date: '2019-10-01'
                  staking_transaction_count: null
    StakingValidatorTotal:
      description: The number of the number of total validators on this window.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/StakingValidatorTotalResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  staking_validator_total: null
                - date: '2019-10-01'
                  staking_validator_total: null
    DepositorCountTotal:
      description: The number of unique accounts who deposited over 32 ETH on this window.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/DepositorCountTotalResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  depositor_count_total: null
                - date: '2019-10-01'
                  depositor_count_total: null
    DepositorCountNew:
      description: The number of new unique accounts who deposited over 32 ETH on this window.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/DepositorCountNewResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  depositor_count_new: null
                - date: '2019-10-01'
                  depositor_count_new: null
    StakingRate:
      description: The percentage of valid balance of the deposit contract to the total supply on this window.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/StakingRateResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  staking_rate: null
                - date: '2019-10-01'
                  staking_rate: null
    Phase0SuccessRate:
      description: The percentage of valid balance of the deposit contract to 524,288 ETH on this window.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Phase0SuccessRateResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  phase0_success_rate: null
                - date: '2019-10-01'
                  phase0_success_rate: null
    responses_Reserve-3:
      description: The amount of ETH on a given exchange on this window.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_ReserveResponse-3'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  reserve: null
                  reserve_usd: null
                - date: '2019-10-01'
                  reserve: null
                  reserve_usd: null
    responses_Inflow-3:
      description: inflow_total, inflow_top10, inflow_mean
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_InflowResponse-3'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  inflow_total: null
                  inflow_top10: null
                  inflow_mean: null
                - date: '2019-10-01'
                  inflow_total: null
                  inflow_top10: null
                  inflow_mean: null
    responses_Outflow-3:
      description: outflow_total, outflow_top10, outflow_mean
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_OutflowResponse-3'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  outflow_total: null
                  outflow_top10: null
                  outflow_mean: null
                - date: '2019-10-01'
                  outflow_total: null
                  outflow_top10: null
                  outflow_mean: null
    ETHCoinbasePremiumIndex:
      description: Coinbase Premium Index in percentage and Coinbase Premium Gap
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ETHCoinbasePremiumIndexResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  coinbase_premium_gap: null
                  coinbase_premium_index: null
                - date: '2019-10-01'
                  coinbase_premium_gap: null
                  coinbase_premium_index: null
    responses_Capitalization:
      description: Market capitalization of Ethereum, calculated by total_supply * price_usd_close.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_CapitalizationResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  market_cap: null
                - date: '2019-10-01'
                  market_cap: null
    EstimatedLeverageRatio:
      description: The amount of open interest of exchange divided by their ETH reserve
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_EstimatedLeverageRatioResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  estimated_leverage_ratio: null
                - date: '2019-10-01'
                  estimated_leverage_ratio: null
    responses_Reserve-4:
      description: The amount of ERC20 token on a given exchange on this window.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_ReserveResponse-4'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  reserve: null
                  reserve_usd: null
                - date: '2019-10-01'
                  reserve: null
                  reserve_usd: null
    responses_Inflow-4:
      description: inflow_total, inflow_top10, inflow_mean
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_InflowResponse-4'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  inflow_total: null
                  inflow_top10: null
                  inflow_mean: null
                - date: '2019-10-01'
                  inflow_total: null
                  inflow_top10: null
                  inflow_mean: null
    responses_Outflow-4:
      description: outflow_total, outflow_top10, outflow_mean
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_OutflowResponse-4'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  outflow_total: null
                  outflow_top10: null
                  outflow_mean: null
                - date: '2019-10-01'
                  outflow_total: null
                  outflow_top10: null
                  outflow_mean: null
    responses_Supply-3:
      description: supply_total, supply_minted, supply_burned.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_SupplyResponse-3'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  supply_total: null
                  supply_minted: null
                  supply_burned: null
                - date: '2019-09-01'
                  supply_total: null
                  supply_minted: null
                  supply_burned: null
    responses_TransactionsCount-2:
      description: transactions_count_total, transactions_count_mean.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_TransactionsCountResponse-2'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  transactions_count_total: null
                  transactions_count_mean: null
                - date: '2019-09-01'
                  transactions_count_total: null
                  transactions_count_mean: null
    responses_TokensTransferred-3:
      description: tokens_transferred_total, tokens_transferred_mean, tokens_transferred_median.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_TokensTransferredResponse-3'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2021-09-02'
                  tokens_transferred_total: null
                  tokens_transferred_mean: null
                  tokens_transferred_median: null
                - date: '2021-09-01'
                  tokens_transferred_total: null
                  tokens_transferred_mean: null
                  tokens_transferred_median: null
    responses_AddressesCount-3:
      description: addresses_count_active, addresses_count_sender, addresses_count_receiver.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_AddressesCountResponse-3'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  addresses_count_active: null
                  addresses_count_sender: null
                  addresses_count_receiver: null
                - date: '2019-09-01'
                  addresses_count_active: null
                  addresses_count_sender: null
                  addresses_count_receiver: null
    PriceOHLCVERC20:
      description: Price OHLCV Data
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PriceOHLCVERC20Response'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  open: null
                  high: null
                  low: null
                  close: null
                  volume: null
                - date: '2019-10-01'
                  open: null
                  high: null
                  low: null
                  close: null
                  volume: null
    PriceOHLCVAlt:
      description: Price OHLCV Data
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PriceOHLCVAltResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  open: null
                  high: null
                  low: null
                  close: null
                  volume: null
                - date: '2019-10-01'
                  open: null
                  high: null
                  low: null
                  close: null
                  volume: null
    responses_PriceOHLCV:
      description: Price OHLCV Data
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PriceOHLCVSCResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  open: null
                  high: null
                  low: null
                  close: null
                  volume: null
                - date: '2019-10-01'
                  open: null
                  high: null
                  low: null
                  close: null
                  volume: null
    responses_Capitalization-2:
      description: market_cap, realized_cap, average_cap, delta_cap, thermo_cap
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_CapitalizationResponse-2'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  market_cap: null
                - date: '2019-10-01'
                  market_cap: null
    responses_estimated-leverage-ratio:
      description: estimated levereage ratio
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_EstimatedLeverageRatioResponse-2'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  estimated_leverage_ratio: null
                - date: '2019-10-01'
                  estimated_leverage_ratio: null
    responses_Reserve-5:
      description: The amount of XRP on a given entity on this window.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_ReserveResponse-5'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  reserve: null
                  reserve_usd: null
                - date: '2019-10-01'
                  reserve: null
                  reserve_usd: null
    share:
      description: The amount of XRP on a given entity on this window.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ShareResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  share: null
                - date: '2019-10-01'
                  share: null
    TransactionsCountXRPEF:
      description: transactions_count_inflow, transactions_count_outflow
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TransactionsCountXRPEFResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  transactions_count_deposit: null
                  transactions_count_withdraw: null
                - date: '2019-10-01'
                  transactions_count_deposit: null
                  transactions_count_withdraw: null
    XRPInflow:
      description: inflow, inflow_usd
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/XRPInflowResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  inflow: null
                  inflow_usd: null
                - date: '2019-10-01'
                  inflow: null
                  inflow_usd: null
    XRPOutflow:
      description: outflow, outflow_usd
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/XRPOutflowResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  outflow: null
                  outflow_usd: null
                - date: '2019-10-01'
                  outflow: null
                  outflow_usd: null
    XRPAddressesCountEF:
      description: The number of addresses evoking inflow/outflow transactions to bank wallets
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/XRPAddressesCountEFResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  addresses_count_deposit: null
                  addresses_count_withdraw: null
                - date: '2019-10-01'
                  addresses_count_deposit: null
                  addresses_count_withdraw: null
    WhaleMovements:
      description: The number of transaction evoking inflow/outflow transactions to Whale address
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/WhaleMovements'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  transaction_counts: null
                  volume: null
                - date: '2019-10-01'
                  transaction_counts: null
                  volume: null
    exchange-inflow-value-distribution:
      description: exchange inflow's distribution band by the amount of the trasferred tokens(xrp) at once
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ExchangeInflowValueDistributionResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2020-07-29'
                  range_1000_below: null
                  range_1001_to_10000: null
                  range_10001_to_100000: null
                  range_100001_to_1000000: null
                  range_1000000_over: null
                - date: '2020-07-28'
                  range_1000_below: null
                  range_1001_to_10000: null
                  range_10001_to_100000: null
                  range_100001_to_1000000: null
                  range_1000000_over: null
    exchange-outflow-value-distribution:
      description: exchange outflow's distribution band by the amount of the trasferred tokens(xrp) at once
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ExchangeOutflowValueDistributionResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2020-07-29'
                  range_1000_below: null
                  range_1001_to_10000: null
                  range_10001_to_100000: null
                  range_100001_to_1000000: null
                  range_1000000_over: null
                - date: '2020-07-28'
                  range_1000_below: null
                  range_1001_to_10000: null
                  range_10001_to_100000: null
                  range_100001_to_1000000: null
                  range_1000000_over: null
    exchange-inflow-count-value-distribution:
      description: number of transactions of each exchange inflow's distribution band by the amount of the trasferred tokens(xrp) at once
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ExchangeInflowCountValueDistributionResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2020-07-29'
                  range_1000_below: null
                  range_1001_to_10000: null
                  range_10001_to_100000: null
                  range_100001_to_1000000: null
                  range_1000000_over: null
                - date: '2020-07-28'
                  range_1000_below: null
                  range_1001_to_10000: null
                  range_10001_to_100000: null
                  range_100001_to_1000000: null
                  range_1000000_over: null
    exchange-outflow-count-value-distribution:
      description: number of transactions of each exchange outflow's distribution band by the amount of the trasferred tokens(xrp) at once
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ExchangeOutflowCountValueDistributionResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2020-07-29'
                  range_1000_below: null
                  range_1001_to_10000: null
                  range_10001_to_100000: null
                  range_100001_to_1000000: null
                  range_1000000_over: null
                - date: '2020-07-28'
                  range_1000_below: null
                  range_1001_to_10000: null
                  range_10001_to_100000: null
                  range_100001_to_1000000: null
                  range_1000000_over: null
    responses_exchange-supply-ratio-2:
      description: exchange supply ratio
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_ExchangeSupplyRatioResponse-2'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  exchange_supply_ratio: null
                - date: '2019-10-01'
                  exchange_supply_ratio: null
    addresses-count:
      description: The number of active addresses
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_AddressesCountResponse-4'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  active_account: null
                  total_account: null
                  sending_account: null
                  receiving_account: null
                - date: '2019-10-01'
                  active_account: null
                  total_account: null
                  sending_account: null
                  receiving_account: null
    velocity:
      description: velocity
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_VelocityResponse-2'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  velocity: null
                - date: '2019-10-01'
                  velocity: null
    block-interval:
      description: The average time between blocks generated in seconds.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_BlockIntervalResponse-2'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  average_block_interval: null
                - date: '2019-09-01'
                  average_block_interval: null
    xrp-burnt:
      description: Amount of xrp burnt
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/XRPBurntResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  xrp_burnt: null
                - date: '2019-09-01'
                  xrp_burnt: null
    ledger-count:
      description: Number of total ledger created
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/LedgerCountResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: block
              data:
                - date: '2019-09-02'
                  total_ledgers: null
                - date: '2019-09-01'
                  total_ledgers: null
    fees:
      description: The amount of total fees of the blockchain
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_FeesResponse-2'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  total_fees: null
                - date: '2019-09-01'
                  total_fees: null
    transactions-count:
      description: Number of transactions in the given time frame
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_TransactionsCountResponse-3'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  total_transactions_count: null
                - date: '2019-09-01'
                  total_transactions_count: null
    tokens-transferred:
      description: Number of XRP transferred
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_TokensTransferredResponse-4'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  tokens_transferred_total: null
                - date: '2019-09-01'
                  tokens_transferred_total: null
    supply:
      description: Total amount xrp supply available
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_SupplyResponse-4'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  supply_total: null
                - date: '2019-09-01'
                  supply_total: null
    responses_nvt:
      description: NVT(Network Value to Transactions) Ratio is defined as the ratio of market capitalization divided by transacted volume in the specified window.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NVTResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  nvt: null
                - date: '2019-09-01'
                  nvt: null
    responses_EntityList-2:
      description: Entity list on a given type.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/EntityListResponse'
          example:
            status:
              code: 200
              message: success
            result:
              type: exchange
              data:
                - symbol: example
    volume:
      description: XRP volume traded on XRPL DEX
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/VolumeResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  dex_volume: null
                - date: '2019-10-01'
                  dex_volume: null
    responses_transactions-count:
      description: transaction count of DEX trade
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TransactionCountResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  transactions_count: null
                - date: '2019-10-01'
                  transactions_count: null
    liquidity:
      description: USD liquidity in DEX
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/LiquidityResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  liquidity_usd: null
                - date: '2019-10-01'
                  liquidity_usd: null
    dex-price:
      description: Price of XRP traded on DEX
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/DexPriceResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  dex_price: null
                - date: '2019-10-01'
                  dex_price: null
    price:
      description: XRP exchange rate on AMM
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PriceResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2024-06-02'
                  price_xrp: null
                  price_usd: null
                - date: '2024-06-01'
                  price_xrp: null
                  price_usd: null
    responses_liquidity:
      description: The total amount of liquidity on AMM
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/schemas_LiquidityResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2024-06-02'
                  liquidity_xrp: null
                  liquidity_usd: null
                - date: '2024-06-01'
                  liquidity_xrp: null
                  liquidity_usd: null
    fee:
      description: The trading fee on AMM
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/FeeResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2024-06-02'
                  fee_percent: null
                - date: '2024-06-01'
                  fee_percent: null
    swap-stats:
      description: The swap statistics on AMM
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/SwapStatsResponse'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2024-06-02'
                  num_swaps: null
                  num_traders: null
                - date: '2024-06-01'
                  num_swaps: null
                  num_traders: null
    responses_PriceOHLCV-2:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PriceOHLCV'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  open: null
                  high: null
                  low: null
                  close: null
                  volume: null
                - date: '2019-10-01'
                  open: null
                  high: null
                  low: null
                  close: null
                  volume: null
    responses_Capitalization-3:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Capitalization'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  market_cap: null
                - date: '2019-10-01'
                  market_cap: null
    responses_supply:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Supply'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  supply_total: null
                  supply_circulating: null
                  supply_minted: null
                  supply_burned: null
                  supply_staked: null
                - date: '2019-09-01'
                  supply_total: null
                  supply_circulating: null
                  supply_minted: null
                  supply_burned: null
                  supply_staked: null
    responses_transactions-count-2:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TransactionsCount'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  transactions_count_total: null
                  transactions_count_mean: null
                - date: '2019-09-01'
                  transactions_count_total: null
                  transactions_count_mean: null
    responses_addresses-count:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/AddressesCount'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  addresses_count_active: null
                  addresses_count_sender: null
                  addresses_count_receiver: null
                - date: '2019-10-01'
                  addresses_count_active: null
                  addresses_count_sender: null
                  addresses_count_receiver: null
    responses_tokens-transferred:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TokensTransferred'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  tokens_transferred_total: null
                  tokens_transferred_mean: null
                  tokens_transferred_median: null
                - date: '2019-09-01'
                  tokens_transferred_total: null
                  tokens_transferred_mean: null
                  tokens_transferred_median: null
    block-count:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BlockCount'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  block_count: null
                - date: '2019-09-01'
                  block_count: null
    responses_fees:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Fees'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  fees_total: null
                  fees_total_usd: null
                  fees_block_mean: null
                  fees_block_mean_usd: null
                - date: '2019-09-01'
                  fees_total: null
                  fees_total_usd: null
                  fees_block_mean: null
                  fees_block_mean_usd: null
    tps:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Tps'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  tps: null
                - date: '2019-09-01'
                  tps: null
    total-value-staked:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TotalValueStaked'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  v1_staking_amount: null
                  v2_staking_amount: null
                - date: '2019-09-01'
                  v1_staking_amount: null
                  v2_staking_amount: null
    staking-rate:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/StakingRate'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  staking_rate: null
                - date: '2019-09-01'
                  staking_rate: null
    energy-stake:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/EnergyStake'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-09-02'
                  total_energy_weight: null
                  energy_rate: null
                - date: '2019-09-01'
                  total_energy_weight: null
                  energy_rate: null
    SunpumpTokens:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/SunpumpTokens'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  token_create_event_count: null
                  cumulative_count_create_events: null
                - date: '2019-10-01'
                  token_create_event_count: null
                  cumulative_count_create_events: null
    SunswapActivity:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/SunswapActivity'
          example:
            status:
              code: 200
              message: success
            result:
              window: day
              data:
                - date: '2019-10-02'
                  total_transaction_count: null
                  wtrx_transaction_count: null
                  other_transaction_count: null
                  wtrx_dominance: null
                  wtrx_amount: null
                  wtrx_amount_usd: null
                - date: '2019-10-01'
                  total_transaction_count: null
                  wtrx_transaction_count: null
                  other_transaction_count: null
                  wtrx_dominance: null
                  wtrx_amount: null
                  wtrx_amount_usd: null
x-tagGroups:
  - name: Discovery
    tags:
      - Available Endpoints
      - Supported Stablecoin List
      - Supported ERC20 List
      - Supported Alt List
  - name: Bitcoin
    tags:
      - BTC Entity Status
      - BTC Exchange Flows
      - BTC Flow Indicator
      - BTC Market Indicator
      - BTC Network Indicator
      - BTC Miner Flows
      - BTC Inter Entity Flows
      - BTC Fund Data
      - BTC Market Data
      - BTC Miner Data
      - BTC Network Data
      - BTC Mempool Statistics
      - BTC Lightning Network Statistics
  - name: Ethereum
    tags:
      - ETH Entity Status
      - ETH Exchange Flows
      - ETH Flow Indicator
      - ETH Market Indicator
      - ETH 2.0
      - ETH Fund Data
      - ETH Market Data
      - ETH Network Data
  - name: XRP
    tags:
      - XRP Entity Status
      - XRP Entity Flows
      - XRP Flow Indicator
      - XRP Market Data
      - XRP Network Data
      - XRP Network Indicator
      - XRP Dex Data
      - XRP AMM Data
  - name: TRX
    tags:
      - TRX Market Data
      - TRX Network Data
      - TRX DEFI
  - name: Stablecoin
    tags:
      - Stablecoin Entity Status
      - Stablecoin Exchange Flows
      - Stablecoin Flow Indicator
      - Stablecoin Market Data
      - Stablecoin Network Data
  - name: ERC20
    tags:
      - ERC20 Entity Status
      - ERC20 Exchange Flows
      - ERC20 Flow Indicator
      - ERC20 Market Data
      - ERC20 Network Data
  - name: Alt
    tags:
      - Alt Market Data
