Lightning Network Data

LNchannels API

lndata

  • Open source API maintained by lightning developer fiatjaf

  • Here is the documentation for how to use it

  • There are also instructions for how to run your own instance on the [repo]

  • There is also a Postman collection here


API Examples

  • Get all nodes on the Lightning Network:

curl 'https://ln.fiatjaf.com/api/nodes'