BTC Lightning Statistics
Changed onLightning 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) |
Supported Windows
| Supported Windows |
|---|
| hour, day* |
(*) Default
Request
- Base URLhttps://api.cryptoquant.com/v1
- URLhttps://api.cryptoquant.com/v1/btc/lightning/stats-in-total
- AuthHTTP bearer
Query parameters
Currently, we support day and hour.
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.
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.
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.
A format type about return message type. Supported formats are json, csv.
Response
BTC Lightning Network Stats
Changes
- info
endpoint added
- info