How to query delegator info for stake pool from command line?

I run a stake pool and am trying to figure out how I can query via command line who the current delegators are in the current epoch and how much active stake they each have.

Is this something I can do with cardano-cli? Or is there another commandline tool I can use?

I’m trying to automate a lottery function for the pool.


I’m interested in this one as well

I would advise you to check out They offer a free plan that will help you do what you want, quite easily.

Agree on the Blockfrost suggestion. Very easy using curl to automate collection of stats and process using bash, or if you prefer nodejs so you can process the json output and use in your website…

We use them for ADAvault plus some other data from coin gecko, and cncli. Happy to share how.