# CryptoQuant API: API v1

> On-chain data, market data, and aggregate blockchain statistics through simple and powerful endpoints.

## API v1

### Available Endpoints

- [Endpoints](https://docs.cryptoquant.com/api-reference/available-endpoints/endpoints.md): This endpoint returns all endpoints we support with available parameters.

### BTC Entity Status

- [Entity List](https://docs.cryptoquant.com/api-reference/btc-entity-status/entity-list.md): 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 ret…

### BTC Exchange Flows

- [Reserve](https://docs.cryptoquant.com/api-reference/btc-exchange-flows/reserve.md): This endpoint returns the full historical on-chain balance of Bitcoin exchanges.
- [Netflow](https://docs.cryptoquant.com/api-reference/btc-exchange-flows/netflow.md): 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.
- [Inflow](https://docs.cryptoquant.com/api-reference/btc-exchange-flows/inflow.md): 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.
- [Outflow](https://docs.cryptoquant.com/api-reference/btc-exchange-flows/outflow.md): 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.
- [Transactions Count](https://docs.cryptoquant.com/api-reference/btc-exchange-flows/transactions-count.md): This endpoint returns the number of transactions flowing in/out of Bitcoin exchanges.
- [Addresses Count](https://docs.cryptoquant.com/api-reference/btc-exchange-flows/addresses-count.md): This endpoint returns the number of addresses involved in inflow/outflow transactions.
- [In-House Flow](https://docs.cryptoquant.com/api-reference/btc-exchange-flows/in-house-flow.md): 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.

### BTC Miner Flows

- [Reserve](https://docs.cryptoquant.com/api-reference/btc-miner-flows/reserve.md): This endpoint returns the full historical on-chain balance of Bitcoin mining pools.
- [Netflow](https://docs.cryptoquant.com/api-reference/btc-miner-flows/netflow.md): 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.
- [Inflow](https://docs.cryptoquant.com/api-reference/btc-miner-flows/inflow.md): 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.
- [Outflow](https://docs.cryptoquant.com/api-reference/btc-miner-flows/outflow.md): 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.
- [Transactions Count](https://docs.cryptoquant.com/api-reference/btc-miner-flows/transactions-count.md): This endpoint returns the number of transactions flowing in/out of Bitcoin miners.
- [Addresses Count](https://docs.cryptoquant.com/api-reference/btc-miner-flows/addresses-count.md): This endpoint returns the number of addresses involved in inflow/outflow transactions.
- [In-House Flow](https://docs.cryptoquant.com/api-reference/btc-miner-flows/in-house-flow.md): 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.

### BTC Inter Entity Flows

- [Exchange to Exchange](https://docs.cryptoquant.com/api-reference/btc-inter-entity-flows/exchange-to-exchange.md): 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 excha…
- [Miner to Exchange](https://docs.cryptoquant.com/api-reference/btc-inter-entity-flows/miner-to-exchange.md): 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 transact…
- [Exchange to Miner](https://docs.cryptoquant.com/api-reference/btc-inter-entity-flows/exchange-to-miner.md): 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 transact…
- [Miner to Miner](https://docs.cryptoquant.com/api-reference/btc-inter-entity-flows/miner-to-miner.md): 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…

### BTC Network Data

- [Supply](https://docs.cryptoquant.com/api-reference/btc-network-data/supply.md): 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…
- [Velocity](https://docs.cryptoquant.com/api-reference/btc-network-data/velocity.md): 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 mark…
- [Transactions Count](https://docs.cryptoquant.com/api-reference/btc-network-data/transactions-count.md): 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.
- [Addresses Count](https://docs.cryptoquant.com/api-reference/btc-network-data/addresses-count.md): 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 activ…
- [Tokens Transferred](https://docs.cryptoquant.com/api-reference/btc-network-data/tokens-transferred.md): 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_transfer…
- [Block Bytes](https://docs.cryptoquant.com/api-reference/btc-network-data/block-bytes.md): The mean size(in bytes) of all blocks generated.
- [Block Count](https://docs.cryptoquant.com/api-reference/btc-network-data/block-count.md): The number of blocks generated in a given window.
- [Block Interval](https://docs.cryptoquant.com/api-reference/btc-network-data/block-interval.md): The average time between blocks generated displayed in seconds.
- [UTXO Count](https://docs.cryptoquant.com/api-reference/btc-network-data/utxo-count.md): The number of total number of unspent transaction outputs existing at the specified point.
- [Fees](https://docs.cryptoquant.com/api-reference/btc-network-data/fees.md): 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…
- [Fees Transaction](https://docs.cryptoquant.com/api-reference/btc-network-data/fees-transaction.md): 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…
- [Blockreward](https://docs.cryptoquant.com/api-reference/btc-network-data/blockreward.md): The sum of block rewards (including mining or staking rewards and transaction fees). We also provide this value in usd.
- [Difficulty](https://docs.cryptoquant.com/api-reference/btc-network-data/difficulty.md): The mean difficulty of mining a new block.
- [Hashrate](https://docs.cryptoquant.com/api-reference/btc-network-data/hashrate.md): The mean speed at which miners in the network are solving hash problems. It is displayed as hashes (Gigabytes) per second.

### BTC Market Data

- [Price OHLCV](https://docs.cryptoquant.com/api-reference/btc-market-data/price-ohlcv.md): This endpoint returns metrics related to BTC price.  We provide two types of price, CryptoQuant's BTC Index Price and USD or USDT price of BTC of global exchanges.
- [Open Interest](https://docs.cryptoquant.com/api-reference/btc-market-data/open-interest.md): 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.
- [Funding Rates](https://docs.cryptoquant.com/api-reference/btc-market-data/funding-rates.md): 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 l…
- [Taker Buy Sell Stats](https://docs.cryptoquant.com/api-reference/btc-market-data/taker-buy-sell-stats.md): 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 `t…
- [Liquidations](https://docs.cryptoquant.com/api-reference/btc-market-data/liquidations.md): 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://b…
- [Capitalization](https://docs.cryptoquant.com/api-reference/btc-market-data/capitalization.md): 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 fundamen…
- [Coinbase Premium Index](https://docs.cryptoquant.com/api-reference/btc-market-data/coinbase-premium-index.md): 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.

### BTC Fund Data

- [Market Price USD](https://docs.cryptoquant.com/api-reference/btc-fund-data/market-price-usd.md): 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(US…
- [Market Volume](https://docs.cryptoquant.com/api-reference/btc-fund-data/market-volume.md): 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…
- [Market Premium](https://docs.cryptoquant.com/api-reference/btc-fund-data/market-premium.md): 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…
- [Digital Asset Holdings](https://docs.cryptoquant.com/api-reference/btc-fund-data/digital-asset-holdings.md): 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 m…

### BTC Network Indicator

- [Stock to Flow](https://docs.cryptoquant.com/api-reference/btc-network-indicator/stock-to-flow.md): 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 calcu…
- [NVT](https://docs.cryptoquant.com/api-reference/btc-network-indicator/nvt.md): 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 activ…
- [NVT Golden Cross](https://docs.cryptoquant.com/api-reference/btc-network-indicator/nvt-golden-cross.md): 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-indicat…
- [NVM](https://docs.cryptoquant.com/api-reference/btc-network-indicator/nvm.md): 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 increas…
- [Puell Multiple](https://docs.cryptoquant.com/api-reference/btc-network-indicator/puell-multiple.md): 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.…
- [Coin Days Destroyed](https://docs.cryptoquant.com/api-reference/btc-network-indicator/coin-days-destroyed.md): 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…
- [Mean Coin Age](https://docs.cryptoquant.com/api-reference/btc-network-indicator/mean-coin-age.md): 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, an…
- [Sum Coin Age](https://docs.cryptoquant.com/api-reference/btc-network-indicator/sum-coin-age.md): 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 p…
- [Sum Coin Age Distribution](https://docs.cryptoquant.com/api-reference/btc-network-indicator/sum-coin-age-distribution.md): 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 tran…
- [Net Unrealized Profit and Loss](https://docs.cryptoquant.com/api-reference/btc-network-indicator/net-unrealized-profit-and-loss.md): 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…
- [Net Realized Profit and Loss](https://docs.cryptoquant.com/api-reference/btc-network-indicator/net-realized-profit-and-loss.md): 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.
- [Profit and Loss (UTxO)](https://docs.cryptoquant.com/api-reference/btc-network-indicator/profit-and-loss-utxo.md): 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.
- [Profit and Loss (Supply)](https://docs.cryptoquant.com/api-reference/btc-network-indicator/profit-and-loss-supply.md): 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…
- [Dormancy](https://docs.cryptoquant.com/api-reference/btc-network-indicator/dormancy.md): 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.
- [UTxO Age Distribution](https://docs.cryptoquant.com/api-reference/btc-network-indicator/utxo-age-distribution.md): 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.
- [UTxO Realized Age Distribution](https://docs.cryptoquant.com/api-reference/btc-network-indicator/utxo-realized-age-distribution.md): 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 percen…
- [UTxO Count Age Distribution](https://docs.cryptoquant.com/api-reference/btc-network-indicator/utxo-count-age-distribution.md): 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.
- [Spent Output Age Distribution](https://docs.cryptoquant.com/api-reference/btc-network-indicator/spent-output-age-distribution.md): 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.
- [UTxO Supply Distribution](https://docs.cryptoquant.com/api-reference/btc-network-indicator/utxo-supply-distribution.md): 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.
- [UTxO Realized Supply Distribution](https://docs.cryptoquant.com/api-reference/btc-network-indicator/utxo-realized-supply-distribution.md): 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 valu…
- [UTxO Count Supply Distribution](https://docs.cryptoquant.com/api-reference/btc-network-indicator/utxo-count-supply-distribution.md): 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.
- [Spent Output Supply Distribution](https://docs.cryptoquant.com/api-reference/btc-network-indicator/spent-output-supply-distribution.md): 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.

### BTC Market Indicator

- [Estimated Leverage Ratio](https://docs.cryptoquant.com/api-reference/btc-market-indicator/estimated-leverage-ratio.md): 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 expe…
- [Stablecoin Supply Ratio](https://docs.cryptoquant.com/api-reference/btc-market-indicator/stablecoin-supply-ratio.md): 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-…
- [MVRV](https://docs.cryptoquant.com/api-reference/btc-market-indicator/mvrv.md): 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 po…
- [Spent Output Profit Ratio](https://docs.cryptoquant.com/api-reference/btc-market-indicator/spent-output-profit-ratio.md): `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…
- [SOPR Ratio](https://docs.cryptoquant.com/api-reference/btc-market-indicator/sopr-ratio.md): 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.
- [Realized Price](https://docs.cryptoquant.com/api-reference/btc-market-indicator/realized-price.md): 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.
- [UTxO Realized Price Age Distribution](https://docs.cryptoquant.com/api-reference/btc-market-indicator/utxo-realized-price-age-distribution.md): 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.

### BTC Flow Indicator

- [Miners' Position Index (MPI)](https://docs.cryptoquant.com/api-reference/btc-flow-indicator/miners-position-index-mpi.md): 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…
- [Exchange Shutdown Index](https://docs.cryptoquant.com/api-reference/btc-flow-indicator/exchange-shutdown-index.md): 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.
- [Exchange Whale Ratio](https://docs.cryptoquant.com/api-reference/btc-flow-indicator/exchange-whale-ratio.md): 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…
- [Fund Flow Ratio](https://docs.cryptoquant.com/api-reference/btc-flow-indicator/fund-flow-ratio.md): 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.
- [Stablecoins Ratio](https://docs.cryptoquant.com/api-reference/btc-flow-indicator/stablecoins-ratio.md): 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).
- [Exchange Inflow Age Distribution](https://docs.cryptoquant.com/api-reference/btc-flow-indicator/exchange-inflow-age-distribution.md): 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.
- [Exchange Inflow Supply Distribution](https://docs.cryptoquant.com/api-reference/btc-flow-indicator/exchange-inflow-supply-distribution.md): 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 nativ…
- [Exchange Inflow CDD (Coin Days Destroyed)](https://docs.cryptoquant.com/api-reference/btc-flow-indicator/exchange-inflow-cdd-coin-days-destroyed.md): 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.
- [Exchange Supply Ratio](https://docs.cryptoquant.com/api-reference/btc-flow-indicator/exchange-supply-ratio.md): 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.
- [Miner Supply Ratio](https://docs.cryptoquant.com/api-reference/btc-flow-indicator/miner-supply-ratio.md): 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.

### BTC Mempool Statistics

- [BTC Memory pool Statistics by relative fee range](https://docs.cryptoquant.com/api-reference/btc-mempool-statistics/btc-memory-pool-statistics-by-relative-fee-range.md): 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.
- [BTC Memory pool Statistics (Sum)](https://docs.cryptoquant.com/api-reference/btc-mempool-statistics/btc-memory-pool-statistics-sum.md): 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.

### BTC Lightning Statistics

- [BTC Lightning Statistics](https://docs.cryptoquant.com/api-reference/btc-lightning-statistics/btc-lightning-statistics.md): Lightning Network Statistics contains various metrics which are calculated from lightning network.

### BTC Miner Data

- [Companies](https://docs.cryptoquant.com/api-reference/btc-miner-data/companies.md): 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`. `…

### Stablecoin Entity Status

- [Entity List](https://docs.cryptoquant.com/api-reference/stablecoin-entity-status/entity-list.md): 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 whe…

### Stablecoin Exchange Flows

- [Reserve](https://docs.cryptoquant.com/api-reference/stablecoin-exchange-flows/reserve.md): This endpoint returns the full historical on-chain balance of Stablecoin exchanges.
- [Netflow](https://docs.cryptoquant.com/api-reference/stablecoin-exchange-flows/netflow.md): 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.
- [Inflow](https://docs.cryptoquant.com/api-reference/stablecoin-exchange-flows/inflow.md): 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.
- [Outflow](https://docs.cryptoquant.com/api-reference/stablecoin-exchange-flows/outflow.md): 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.
- [Transactions Count](https://docs.cryptoquant.com/api-reference/stablecoin-exchange-flows/transactions-count.md): This endpoint returns the number of transactions flowing in/out of Stablecoin exchanges.
- [Addresses Count](https://docs.cryptoquant.com/api-reference/stablecoin-exchange-flows/addresses-count.md): This endpoint returns the number of addresses involved in inflow/outflow transactions.

### Stablecoin Network Data

- [Supply](https://docs.cryptoquant.com/api-reference/stablecoin-network-data/supply.md): 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. excludi…
- [Events Count](https://docs.cryptoquant.com/api-reference/stablecoin-network-data/events-count.md): 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 abo…
- [Tokens Transferred](https://docs.cryptoquant.com/api-reference/stablecoin-network-data/tokens-transferred.md): 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.
- [Addresses Count](https://docs.cryptoquant.com/api-reference/stablecoin-network-data/addresses-count.md): 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`,…

### Stablecoin Market Data

- [Price OHLCV](https://docs.cryptoquant.com/api-reference/stablecoin-market-data/price-ohlcv.md): This endpoint returns metrics related to Stablecoin's Index Price.
- [Capitalization](https://docs.cryptoquant.com/api-reference/stablecoin-market-data/capitalization.md): 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).

### Stablecoin Flow Indicator

- [Exchange Supply Ratio](https://docs.cryptoquant.com/api-reference/stablecoin-flow-indicator/exchange-supply-ratio.md): 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.

### ETH Network Data

- [Supply](https://docs.cryptoquant.com/api-reference/eth-network-data/supply.md): 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…
- [Velocity](https://docs.cryptoquant.com/api-reference/eth-network-data/velocity.md): 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 ma…
- [Contracts Count](https://docs.cryptoquant.com/api-reference/eth-network-data/contracts-count.md): 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.
- [Transactions Count](https://docs.cryptoquant.com/api-reference/eth-network-data/transactions-count.md): 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.
- [Transactions Count Between EOA](https://docs.cryptoquant.com/api-reference/eth-network-data/transactions-count-between-eoa.md): This endpoint returns metrics related to the number of transactions between externally owned accounts (EOAs).
- [Contract Calls Count External](https://docs.cryptoquant.com/api-reference/eth-network-data/contract-calls-count-external.md): This endpoint returns metrics related to the number of external contract calls.
- [Contract Calls Count Internal](https://docs.cryptoquant.com/api-reference/eth-network-data/contract-calls-count-internal.md): This endpoint returns metrics related to the number of internal contract calls.
- [Contract Calls Count](https://docs.cryptoquant.com/api-reference/eth-network-data/contract-calls-count.md): This endpoint returns metrics related to the number of contract calls including both internal and external calls.
- [Transactions Count All](https://docs.cryptoquant.com/api-reference/eth-network-data/transactions-count-all.md): This endpoint returns metrics related to the number of transactions including internal contract calls.
- [Addresses Count](https://docs.cryptoquant.com/api-reference/eth-network-data/addresses-count.md): 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 addres…
- [Addresses Count All](https://docs.cryptoquant.com/api-reference/eth-network-data/addresses-count-all.md): 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 n…
- [Tokens Transferred Count](https://docs.cryptoquant.com/api-reference/eth-network-data/tokens-transferred-count.md): 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.
- [Tokens Transferred Count Between EOA](https://docs.cryptoquant.com/api-reference/eth-network-data/tokens-transferred-count-between-eoa.md): This endpoint returns metrics related to the number of tokens transferred executed between externally owned accounts (EOAs).
- [Tokens Transferred Count By Contract Calls External](https://docs.cryptoquant.com/api-reference/eth-network-data/tokens-transferred-count-by-contract-calls-external.md): This endpoint returns metrics related to the number of tokens transferred executed by external contract calls.
- [Tokens Transferred Count By Contract Calls Internal](https://docs.cryptoquant.com/api-reference/eth-network-data/tokens-transferred-count-by-contract-calls-internal.md): This endpoint returns metrics related to the number of tokens transferred executed by internal contract calls.
- [Tokens Transferred Count By Contract Calls](https://docs.cryptoquant.com/api-reference/eth-network-data/tokens-transferred-count-by-contract-calls.md): This endpoint returns metrics related to the number of tokens transferred executed by contract calls including both internal and external calls.
- [Tokens Transferred Count All](https://docs.cryptoquant.com/api-reference/eth-network-data/tokens-transferred-count-all.md): This endpoint returns metrics related to the number of tokens transferred executed including internal contract calls.
- [Tokens Transferred](https://docs.cryptoquant.com/api-reference/eth-network-data/tokens-transferred.md): 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,…
- [Tokens Transferred Between EOA](https://docs.cryptoquant.com/api-reference/eth-network-data/tokens-transferred-between-eoa.md): 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).
- [Tokens Transferred By Contract Calls External](https://docs.cryptoquant.com/api-reference/eth-network-data/tokens-transferred-by-contract-calls-external.md): This endpoint returns metrics related to the number of tokens transferred by external contract calls, i.e transaction volume.
- [Tokens Transferred By Contract Calls Internal](https://docs.cryptoquant.com/api-reference/eth-network-data/tokens-transferred-by-contract-calls-internal.md): This endpoint returns metrics related to the number of tokens transferred by internal contract calls, i.e transaction volume.
- [Tokens Transferred By Contract Calls](https://docs.cryptoquant.com/api-reference/eth-network-data/tokens-transferred-by-contract-calls.md): This endpoint returns metrics related to the number of tokens transferred by contract calls including both internal and external calls, i.e transaction volume.
- [Tokens Transferred All](https://docs.cryptoquant.com/api-reference/eth-network-data/tokens-transferred-all.md): This endpoint returns metrics related to the number of tokens transferred, i.e transaction volume. Note these metrics include internal contract calls.
- [Failed Transactions Count](https://docs.cryptoquant.com/api-reference/eth-network-data/failed-transactions-count.md): This endpoint returns metrics related to the number of failed transactions. We provide `failed_transactions_count_total` metric, the total number of failed transactions.
- [Failed Tokens Transferred Count](https://docs.cryptoquant.com/api-reference/eth-network-data/failed-tokens-transferred-count.md): 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.
- [Block Bytes](https://docs.cryptoquant.com/api-reference/eth-network-data/block-bytes.md): The mean size(in bytes) of all blocks generated.
- [Block Count](https://docs.cryptoquant.com/api-reference/eth-network-data/block-count.md): The number of blocks generated in a given window.
- [Block Interval](https://docs.cryptoquant.com/api-reference/eth-network-data/block-interval.md): The average time between blocks generated displayed in seconds.
- [Fees](https://docs.cryptoquant.com/api-reference/eth-network-data/fees.md): 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 provid…
- [Fees Burnt](https://docs.cryptoquant.com/api-reference/eth-network-data/fees-burnt.md): 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 Lo…
- [Fees Tips](https://docs.cryptoquant.com/api-reference/eth-network-data/fees-tips.md): 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 (blo…
- [Fees Transaction](https://docs.cryptoquant.com/api-reference/eth-network-data/fees-transaction.md): 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…
- [Fees Burnt Transaction](https://docs.cryptoquant.com/api-reference/eth-network-data/fees-burnt-transaction.md): 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_media…
- [Fees Tips Transaction](https://docs.cryptoquant.com/api-reference/eth-network-data/fees-tips-transaction.md): 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 m…
- [Blockreward](https://docs.cryptoquant.com/api-reference/eth-network-data/blockreward.md): The sum of block rewards (including mining or staking rewards and transaction fees). We also provide this value in USD units.
- [Blockreward Except Uncle](https://docs.cryptoquant.com/api-reference/eth-network-data/blockreward-except-uncle.md): The sum of block rewards except uncle blocks. We also provide this value in USD units.
- [Gas](https://docs.cryptoquant.com/api-reference/eth-network-data/gas.md): 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`.
- [Base Fee](https://docs.cryptoquant.com/api-reference/eth-network-data/base-fee.md): 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.
- [Max Fee](https://docs.cryptoquant.com/api-reference/eth-network-data/max-fee.md): 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.
- [Max Priority Fee](https://docs.cryptoquant.com/api-reference/eth-network-data/max-priority-fee.md): 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.
- [Difficulty](https://docs.cryptoquant.com/api-reference/eth-network-data/difficulty.md): The mean difficulty of mining a new block.
- [Hashrate](https://docs.cryptoquant.com/api-reference/eth-network-data/hashrate.md): The mean speed at which miners in the network are solving hash problems. It is displayed as hashes (GigaBytes) per second.
- [Uncle Block Count](https://docs.cryptoquant.com/api-reference/eth-network-data/uncle-block-count.md): The number of uncle blocks generated in a given window.
- [Uncle Blockreward](https://docs.cryptoquant.com/api-reference/eth-network-data/uncle-blockreward.md): The sum of uncle block rewards (including mining or staking rewards and transaction fees). We also provide this value in USD units.

### ETH Entity Status

- [Entity List](https://docs.cryptoquant.com/api-reference/eth-entity-status/entity-list.md): 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,…

### ETH 2.0

- [Total Value Staked](https://docs.cryptoquant.com/api-reference/eth-20/total-value-staked.md): This endpoint returns the valid ETH balance of the deposit contract.
- [Staking Inflow Total](https://docs.cryptoquant.com/api-reference/eth-20/staking-inflow-total.md): This endpoint returns the valid ETH inflow into the deposit contract.
- [Staking Transaction Count](https://docs.cryptoquant.com/api-reference/eth-20/staking-transaction-count.md): This endpoint returns the number of valid transactions to the deposit contract.
- [Staking Validator Total](https://docs.cryptoquant.com/api-reference/eth-20/staking-validator-total.md): This endpoint returns the number of total validators.
- [Depositor Count Total](https://docs.cryptoquant.com/api-reference/eth-20/depositor-count-total.md): This endpoint returns the number of unique accounts who deposited over 32 ETH to the deposit contract.
- [Depositor Count New](https://docs.cryptoquant.com/api-reference/eth-20/depositor-count-new.md): This endpoint returns the number of new unique accounts who deposited over 32 ETH to the deposit contract.
- [Staking Rate](https://docs.cryptoquant.com/api-reference/eth-20/staking-rate.md): This endpoint returns the percentage of the balance of the ETH 2.0 deposit contract to the total supply.
- [Phase 0 Success Rate](https://docs.cryptoquant.com/api-reference/eth-20/phase-0-success-rate.md): This endpoint returns the percentage of the valid ETH balance of the deposit contract to 524,288 ETH.

### ETH Exchange Flows

- [Reserve](https://docs.cryptoquant.com/api-reference/eth-exchange-flows/reserve.md): This endpoint returns the full historical on-chain balance of Ethereum exchanges.
- [Netflow](https://docs.cryptoquant.com/api-reference/eth-exchange-flows/netflow.md): 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.
- [Inflow](https://docs.cryptoquant.com/api-reference/eth-exchange-flows/inflow.md): 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.
- [Outflow](https://docs.cryptoquant.com/api-reference/eth-exchange-flows/outflow.md): 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.
- [Transactions Count](https://docs.cryptoquant.com/api-reference/eth-exchange-flows/transactions-count.md): This endpoint returns the number of transactions flowing in/out of Ethereum exchanges.
- [Addresses Count](https://docs.cryptoquant.com/api-reference/eth-exchange-flows/addresses-count.md): This endpoint returns the number of addresses involved in inflow/outflow transactions.

### ETH Market Data

- [Price OHLCV](https://docs.cryptoquant.com/api-reference/eth-market-data/price-ohlcv.md): This endpoint returns metrics related to ETH price.  We provide two types of price, CryptoQuant's ETH Index Price and USD or USDT price of ETH of global exchanges.
- [Open Interest](https://docs.cryptoquant.com/api-reference/eth-market-data/open-interest.md): 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.
- [Funding Rates](https://docs.cryptoquant.com/api-reference/eth-market-data/funding-rates.md): 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 l…
- [Taker Buy Sell Stats](https://docs.cryptoquant.com/api-reference/eth-market-data/taker-buy-sell-stats.md): 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 `t…
- [Liquidations](https://docs.cryptoquant.com/api-reference/eth-market-data/liquidations.md): 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://b…
- [Coinbase Premium Index](https://docs.cryptoquant.com/api-reference/eth-market-data/coinbase-premium-index.md): 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.
- [Capitalization](https://docs.cryptoquant.com/api-reference/eth-market-data/capitalization.md): 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.

### ETH Fund Data

- [Market Price USD](https://docs.cryptoquant.com/api-reference/eth-fund-data/market-price-usd.md): 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…
- [Market Volume](https://docs.cryptoquant.com/api-reference/eth-fund-data/market-volume.md): 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…
- [Market Premium](https://docs.cryptoquant.com/api-reference/eth-fund-data/market-premium.md): 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…
- [Digital Asset Holdings](https://docs.cryptoquant.com/api-reference/eth-fund-data/digital-asset-holdings.md): 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 m…

### ETH Flow Indicator

- [Exchange Supply Ratio](https://docs.cryptoquant.com/api-reference/eth-flow-indicator/exchange-supply-ratio.md): 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.

### ETH Market Indicator

- [Estimated Leverage Ratio](https://docs.cryptoquant.com/api-reference/eth-market-indicator/estimated-leverage-ratio.md): 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 expe…

### ERC20 Entity Status

- [Entity List](https://docs.cryptoquant.com/api-reference/erc20-entity-status/entity-list.md): 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,…

### ERC20 Exchange Flows

- [Reserve](https://docs.cryptoquant.com/api-reference/erc20-exchange-flows/reserve.md): This endpoint returns the full historical on-chain ERC20 token balance of exchanges.
- [Netflow](https://docs.cryptoquant.com/api-reference/erc20-exchange-flows/netflow.md): 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.
- [Inflow](https://docs.cryptoquant.com/api-reference/erc20-exchange-flows/inflow.md): 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.
- [Outflow](https://docs.cryptoquant.com/api-reference/erc20-exchange-flows/outflow.md): 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.
- [Transactions Count](https://docs.cryptoquant.com/api-reference/erc20-exchange-flows/transactions-count.md): This endpoint returns the number of transactions flowing in/out of ERC20 token exchanges.
- [Addresses Count](https://docs.cryptoquant.com/api-reference/erc20-exchange-flows/addresses-count.md): This endpoint returns the number of addresses involved in inflow/outflow transactions.

### ERC20 Network Data

- [Supply](https://docs.cryptoquant.com/api-reference/erc20-network-data/supply.md): 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 o…
- [Velocity](https://docs.cryptoquant.com/api-reference/erc20-network-data/velocity.md): 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.
- [Transactions Count](https://docs.cryptoquant.com/api-reference/erc20-network-data/transactions-count.md): 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.
- [Tokens Transferred Count](https://docs.cryptoquant.com/api-reference/erc20-network-data/tokens-transferred-count.md): 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…
- [Tokens Transferred](https://docs.cryptoquant.com/api-reference/erc20-network-data/tokens-transferred.md): 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,…
- [Addresses Count](https://docs.cryptoquant.com/api-reference/erc20-network-data/addresses-count.md): 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 ad…

### ERC20 Market Data

- [Price OHLCV](https://docs.cryptoquant.com/api-reference/erc20-market-data/price-ohlcv.md): This endpoint returns metrics related to ERC20 Token's Index Price.

### ERC20 Flow Indicator

- [Exchange Supply Ratio](https://docs.cryptoquant.com/api-reference/erc20-flow-indicator/exchange-supply-ratio.md): 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.

### Alt Market Data

- [Price OHLCV](https://docs.cryptoquant.com/api-reference/alt-market-data/price-ohlcv.md): This endpoint returns metrics related to Alt Token's Index Price.

### XRP Market Data

- [Price OHLCV](https://docs.cryptoquant.com/api-reference/xrp-market-data/price-ohlcv.md): This endpoint returns metrics related to XRP's Price. Price OHLCV data consists of five metrics.  `open`, the opening price at the beginning of the window, `close`, 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 wi…
- [Open Interest](https://docs.cryptoquant.com/api-reference/xrp-market-data/open-interest.md): 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`*| | Byb…
- [Funding Rates](https://docs.cryptoquant.com/api-reference/xrp-market-data/funding-rates.md): 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 l…
- [Taker Buy Sell Stats](https://docs.cryptoquant.com/api-reference/xrp-market-data/taker-buy-sell-stats.md): 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 `t…
- [Liquidations](https://docs.cryptoquant.com/api-reference/xrp-market-data/liquidations.md): 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://b…
- [Capitalization](https://docs.cryptoquant.com/api-reference/xrp-market-data/capitalization.md): 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/capitalizatio…
- [Estimated Leverage Ratio](https://docs.cryptoquant.com/api-reference/xrp-market-data/estimated-leverage-ratio.md): 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.cryptoq…

### XRP Entity Flows

- [Reserve](https://docs.cryptoquant.com/api-reference/xrp-entity-flows/reserve.md): This endpoint returns the full historical on-chain balance of xrp ledger entities.
- [Share](https://docs.cryptoquant.com/api-reference/xrp-entity-flows/share.md): This metric is calculated by dividing XRP holdings of the entity by the total supply
- [Transactions Count](https://docs.cryptoquant.com/api-reference/xrp-entity-flows/transactions-count.md): This endpoint returns the number of transactions flowing in/out of XRP Entities.
- [Inflow](https://docs.cryptoquant.com/api-reference/xrp-entity-flows/inflow.md): This endpoint returns the inflow of XRP into entity address for as far back as we track.
- [Outflow](https://docs.cryptoquant.com/api-reference/xrp-entity-flows/outflow.md): This endpoint returns the outflow of XRP out of entity address for as far back as we track.
- [Addresses Count](https://docs.cryptoquant.com/api-reference/xrp-entity-flows/addresses-count.md): This endpoint returns the number of addresses involved in inflow/outflow transactions.
- [Whale Movements](https://docs.cryptoquant.com/api-reference/xrp-entity-flows/whale-movements.md): This endpoint returns the number of transactions involved in inflow/outflow transactions and the transfer volume

### XRP Flow Indicator

- [Exchange Inflow Value Distribution](https://docs.cryptoquant.com/api-reference/xrp-flow-indicator/exchange-inflow-value-distribution.md): Exchange Inflow Value Distribution is a metric that shows the amount distribution of xrp tokens flowed into exchange wallets according to its value.
- [Exchange Outflow Value Distribution](https://docs.cryptoquant.com/api-reference/xrp-flow-indicator/exchange-outflow-value-distribution.md): Exchange Outflow Value Distribution is a metric that shows the amount distribution of xrp tokens flowed out from exchange wallets according to its value.
- [Exchange Inflow Count Value Distribution](https://docs.cryptoquant.com/api-reference/xrp-flow-indicator/exchange-inflow-count-value-distribution.md): 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.
- [Exchange Outflow Count Value Distribution](https://docs.cryptoquant.com/api-reference/xrp-flow-indicator/exchange-outflow-count-value-distribution.md): 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.
- [Exchange Supply Ratio](https://docs.cryptoquant.com/api-reference/xrp-flow-indicator/exchange-supply-ratio.md): The ratio of exchange's xrp reserve compared to total supply of xrp.

### XRP Network Data

- [Addresses Count](https://docs.cryptoquant.com/api-reference/xrp-network-data/addresses-count.md): 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_send…
- [Velocity](https://docs.cryptoquant.com/api-reference/xrp-network-data/velocity.md): 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.
- [Block Interval](https://docs.cryptoquant.com/api-reference/xrp-network-data/block-interval.md): The average time between blocks generated displayed in seconds.
- [XRP Burnt](https://docs.cryptoquant.com/api-reference/xrp-network-data/xrp-burnt.md): The amount of burnt XRP
- [Ledger Count](https://docs.cryptoquant.com/api-reference/xrp-network-data/ledger-count.md): The number of ledgers(XRPL version of 'block') created
- [Fees](https://docs.cryptoquant.com/api-reference/xrp-network-data/fees.md): This endpoint returns the fees of xrpl chain
- [Transactions Count](https://docs.cryptoquant.com/api-reference/xrp-network-data/transactions-count.md): This endpoint returns metrics the total number of transactions.
- [Tokens Transferred](https://docs.cryptoquant.com/api-reference/xrp-network-data/tokens-transferred.md): This endpoint returns metrics the number of tokens transferred.
- [Supply](https://docs.cryptoquant.com/api-reference/xrp-network-data/supply.md): This endpoint returns total supply of XRP.

### XRP Network Indicator

- [NVT](https://docs.cryptoquant.com/api-reference/xrp-network-indicator/nvt.md): 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…

### XRP Entity Status

- [Entity List](https://docs.cryptoquant.com/api-reference/xrp-entity-status/entity-list.md): This endpoint returns entity list to serve data.

### XRP Dex Data

- [Volume](https://docs.cryptoquant.com/api-reference/xrp-dex-data/volume.md): XRP volume traded on XRPL DEX
- [Transaction count](https://docs.cryptoquant.com/api-reference/xrp-dex-data/transaction-count.md): XRP transaction count traded on XRPL DEX
- [Liquidity](https://docs.cryptoquant.com/api-reference/xrp-dex-data/liquidity.md): USD Liquidity in DEX
- [XRP DEX Price](https://docs.cryptoquant.com/api-reference/xrp-dex-data/xrp-dex-price.md): Price of XRP traded on DEX

### XRP AMM Data

- [Price](https://docs.cryptoquant.com/api-reference/xrp-amm-data/price.md): This endpoint returns XRP exchange rate on AMM. Currently, we only cover non-XRP/XRP pairs.
- [Liquidity](https://docs.cryptoquant.com/api-reference/xrp-amm-data/liquidity.md): This endpoint returns the total amount of liquidity on AMM. Currently, we only cover non-XRP/XRP pairs.
- [Fee](https://docs.cryptoquant.com/api-reference/xrp-amm-data/fee.md): This endpoint returns the trading fee on AMM. Currently, we only cover non-XRP/XRP pairs.
- [Swap Statistics](https://docs.cryptoquant.com/api-reference/xrp-amm-data/swap-statistics.md): This endpoint returns the swap statistics on AMM. Currently, we only cover non-XRP/XRP pairs.

### TRX Market Data

- [Price OHLCV](https://docs.cryptoquant.com/api-reference/trx-market-data/price-ohlcv.md): 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…
- [Capitalization](https://docs.cryptoquant.com/api-reference/trx-market-data/capitalization.md): 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/capitali…

### TRX Network Data

- [Supply](https://docs.cryptoquant.com/api-reference/trx-network-data/supply.md): 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…
- [Transactions Count](https://docs.cryptoquant.com/api-reference/trx-network-data/transactions-count.md): 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. |
- [Addresses Count](https://docs.cryptoquant.com/api-reference/trx-network-data/addresses-count.md): 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_send…
- [Tokens Transferred](https://docs.cryptoquant.com/api-reference/trx-network-data/tokens-transferred.md): 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 wi…
- [Block Count](https://docs.cryptoquant.com/api-reference/trx-network-data/block-count.md): The number of blocks generated in a given window.
- [Fees](https://docs.cryptoquant.com/api-reference/trx-network-data/fees.md): 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 US…
- [TPS](https://docs.cryptoquant.com/api-reference/trx-network-data/tps.md): This endpoint returns the statistics related to the number of transactions per second. | Metric | Description | |--------|-------------| | `tps` | The number of transactions per second. |
- [Total Value Staked](https://docs.cryptoquant.com/api-reference/trx-network-data/total-value-staked.md): 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 s…
- [Staking Rate](https://docs.cryptoquant.com/api-reference/trx-network-data/staking-rate.md): This endpoint returns the staking rate of TRX. | Metric | Description | |--------|-------------| | `staking_rate` | The staking rate of TRX. |
- [Energy Stake](https://docs.cryptoquant.com/api-reference/trx-network-data/energy-stake.md): 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. |

### TRX DEFI

- [Sunpump Tokens](https://docs.cryptoquant.com/api-reference/trx-defi/sunpump-tokens.md): 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 c…
- [Sunswap Activity](https://docs.cryptoquant.com/api-reference/trx-defi/sunswap-activity.md): 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_tra…

### Latency

- [Reserve Latency](https://docs.cryptoquant.com/api-reference/latency/reserve-latency.md): Reports how fresh this metric's data is. **Append `/latency` to ANY v1 data endpoint** (e.g. `/btc/network-data/hashrate/latency`) to get the same shape for that metric.

## OpenAPI Specs

- [v1](/openapi/v1.json)
