An open API service indexing awesome lists of open source software.

https://github.com/cryptape/fiber-dashboard


https://github.com/cryptape/fiber-dashboard

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

## Fiber Dashbord

http api default on 8080, method list:

```
/nodes_hourly?page=0
/channels_hourly?page=0
/nodes_nearly_monthly?page=0&start=%Y-%m-%d&end=%Y-%m-%d start/end is optional
/channels_nearly_monthly?page=0&start=%Y-%m-%d&end=%Y-%m-%d start/end is optional
/node_udt_infos?node_id=0x...
/analysis_hourly
/channel_state?channel_id=0x..
/group_channel_by_state?state="open/commitment/closed"&page=0
/channel_info?channel_id=0x..
/node_info?node_id=0x..
post /nodes_by_udt body={ udt: Script }
post /analysis need json body
```

/analysis body:
| Parameter | Type | Description |
| --------- | ----------------------------- | -------------------------------------------------------------- |
| start | string(%Y-%m-%d) | Start date (e.g., `2025-08-01`) (optional, defaults to today) |
| end | string(%Y-%m-%d) | End date (optional) |
| range | enum | Time span, frontend passes `1M/3M/6M/1Y/2Y` (optional, auto-calculates start/end if provided) |
| interval | enum | Aggregation granularity: `day` (default) |
| fields | string\[] | Required metrics, e.g., `["channels","capacity","nodes"]` (defaults to all if not provided), capacity point is [sum, avg, min, max, median] |

All APIs have a parameter called `net`, which can be testnet or mainnet. The default is mainnet.