BTC Lightning Statistics

BTC Lightning Statistics

Changed on

Lightning Network Statistics contains various metrics which are calculated from lightning network.

<br/>

Supported Stats

StasDescription
network_capacityThe total network capacity (sum of balances available across all lightning payment channels) (BTC)
network_capacity_usdThe total network capacity (sum of balances available across all lightning payment channels) (USD)
capacity_per_channel_meanThe average channel capacity (BTC)
capacity_per_channel_mean_usdThe average channel capacity (USD)
capacity_per_node_meanThe average node capacity (BTC)
capacity_per_node_mean_usdThe average node capacity (USD)
number_of_nodeThe total number of available nodes (Number)
number_of_channelThe total number of available payment channels (Number)
channel_per_node_meanThe average number of channels per node (Number)
node_age_daysThe average day of duration of nodes (Number)
channel_age_daysThe average day of duration of channels (Number)
base_fee_medianThe median base fee of transactions (Sat)
base_fee_median_usdThe median base fee of transactions (USD)
fee_rate_medianThe median fee rates of transactions (Sat)
fee_rate_median_usdThe median fee rates of transactions (USD)
<br/>

Supported Windows

Supported Windows
hour, day*

(*) Default

get/btc/lightning/stats-in-total

Request

  • Base URL
    https://api.cryptoquant.com/v1
  • URL
    https://api.cryptoquant.com/v1/btc/lightning/stats-in-total
  • Auth
    HTTP bearer

Query parameters

windowstring

Currently, we support day and hour.

fromstring

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.

tostring

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.

limitinteger

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.

formatstring

A format type about return message type. Supported formats are json, csv.

Response

BTC Lightning Network Stats

Changes