user7881: I am going to get delegations list for specific pool, epoch.
https://docs.blockfrost.io/#tag/Cardano-Epochs/paths/~1epochs~1{number}~1stakes~1{pool_id}/get
I found blockfrost api and tested.
My test pool: ac66c8efb8edba3991576235e421ef0524ab351a22598de520de7b16, Epoch: 378
I got 9 delegations from blockfrost api.
[
    {
        "stake_address": "stake1uyyp9ydgm834vnhhv0wd9sd9xlxwsmcv37xs6uw0f66626scn5v6z",
        "amount": "3326619748"
    },
    {
        "stake_address": "stake1uy8vrh3a8ujzqanlw2r3rf23lc6uelnd390lanxwulsdhqqudsl8m",
        "amount": "116381727"
    },
    {
        "stake_address": "stake1uyjv3s932h8ar2zudw6q30h65kn76g00v0z7kmz2td5cgdsx5dl7r",
        "amount": "1024314243"
    },
    {
        "stake_address": "stake1uy4kl6dyg3hegqapvx53y6lazgx3z79g4p2ds4rc80lcvuc4j9v4h",
        "amount": "7062695853"
    },
    {
        "stake_address": "stake1u927nhw76vzpmtufuc5fa4nj74tkw9mhugqrqdz9hklw9hctcfv4y",
        "amount": "15260602"
    },
    {
        "stake_address": "stake1ux3rkq6grckauj72qyfm9mcs8y49phzrm9el00rzdh6n3kcnnspzy",
        "amount": "771665304"
    },
    {
        "stake_address": "stake1u820d54llavvwctmuvr6gugytlqlglp4slyy30vl4w43wag6dn4ya",
        "amount": "0"
    },
    {
        "stake_address": "stake1u84euhe0va89n55t02y4xdydtpd0gau48e73wahhmuplj4chr87cv",
        "amount": "169480944"
    },
    {
        "stake_address": "stake1u8aa3nq3vf98jw36977lu6s09pa2xtfr3v65sagl7nywhys5jxvfa",
        "amount": "226565423"
    }
]

If I check by cardanoscan.io explorer, I can see 12 delegators.
https://cardanoscan.io/pool/ac66c8efb8edba3991576235e421ef0524ab351a22598de520de7b16?tab=delegators
I think I should get 12 delegations from api, but I got 9 delegations.
Could anyone help me to get exact delegations?

user28: You are looking at a number of delegators for the active epoch (therefore the state of delegators two epochs ago) and cardanoscan is showing you the live delegations, which are two different things.
To get the current list of delegators, you need to use the /pools/delegators endpoint:
$ curl -s  -H "project_id: ..." "https://cardano-mainnet.blockfrost.io/api/v0/pools/ac66c8efb8edba3991576235e421ef0524ab351a22598de520de7b16/delegators" \
   | jq .[].address \
   | wc -l
12


7881: <p>I am going to get delegations list for specific pool, epoch.
<a href="https://docs.blockfrost.io/#tag/Cardano-Epochs/paths/%7E1epochs%7E1%7Bnumber%7D%7E1stakes%7E1%7Bpool_id%7D/get" rel="nofollow noreferrer">https://docs.blockfrost.io/#tag/Cardano-Epochs/paths/~1epochs~1{number}~1stakes~1{pool_id}/get</a></p>
<p>I found blockfrost api and tested.
My test pool: ac66c8efb8edba3991576235e421ef0524ab351a22598de520de7b16, Epoch: 378
I got 9 delegations from blockfrost api.</p>
<pre><code>[
    {
        &quot;stake_address&quot;: &quot;stake1uyyp9ydgm834vnhhv0wd9sd9xlxwsmcv37xs6uw0f66626scn5v6z&quot;,
        &quot;amount&quot;: &quot;3326619748&quot;
    },
    {
        &quot;stake_address&quot;: &quot;stake1uy8vrh3a8ujzqanlw2r3rf23lc6uelnd390lanxwulsdhqqudsl8m&quot;,
        &quot;amount&quot;: &quot;116381727&quot;
    },
    {
        &quot;stake_address&quot;: &quot;stake1uyjv3s932h8ar2zudw6q30h65kn76g00v0z7kmz2td5cgdsx5dl7r&quot;,
        &quot;amount&quot;: &quot;1024314243&quot;
    },
    {
        &quot;stake_address&quot;: &quot;stake1uy4kl6dyg3hegqapvx53y6lazgx3z79g4p2ds4rc80lcvuc4j9v4h&quot;,
        &quot;amount&quot;: &quot;7062695853&quot;
    },
    {
        &quot;stake_address&quot;: &quot;stake1u927nhw76vzpmtufuc5fa4nj74tkw9mhugqrqdz9hklw9hctcfv4y&quot;,
        &quot;amount&quot;: &quot;15260602&quot;
    },
    {
        &quot;stake_address&quot;: &quot;stake1ux3rkq6grckauj72qyfm9mcs8y49phzrm9el00rzdh6n3kcnnspzy&quot;,
        &quot;amount&quot;: &quot;771665304&quot;
    },
    {
        &quot;stake_address&quot;: &quot;stake1u820d54llavvwctmuvr6gugytlqlglp4slyy30vl4w43wag6dn4ya&quot;,
        &quot;amount&quot;: &quot;0&quot;
    },
    {
        &quot;stake_address&quot;: &quot;stake1u84euhe0va89n55t02y4xdydtpd0gau48e73wahhmuplj4chr87cv&quot;,
        &quot;amount&quot;: &quot;169480944&quot;
    },
    {
        &quot;stake_address&quot;: &quot;stake1u8aa3nq3vf98jw36977lu6s09pa2xtfr3v65sagl7nywhys5jxvfa&quot;,
        &quot;amount&quot;: &quot;226565423&quot;
    }
]
</code></pre>
<p>If I check by cardanoscan.io explorer, I can see 12 delegators.
<a href="https://cardanoscan.io/pool/ac66c8efb8edba3991576235e421ef0524ab351a22598de520de7b16?tab=delegators" rel="nofollow noreferrer">https://cardanoscan.io/pool/ac66c8efb8edba3991576235e421ef0524ab351a22598de520de7b16?tab=delegators</a></p>
<p>I think I should get 12 delegations from api, but I got 9 delegations.
Could anyone help me to get exact delegations?</p>
 28: <p>You are looking at a number of delegators for the active epoch (therefore the state of delegators two epochs ago) and cardanoscan is showing you the live delegations, which are two different things.</p>
<p>To get the current list of delegators, you need to use the <code>/pools/delegators</code> endpoint:</p>
<pre><code>$ curl -s  -H &quot;project_id: ...&quot; &quot;https://cardano-mainnet.blockfrost.io/api/v0/pools/ac66c8efb8edba3991576235e421ef0524ab351a22598de520de7b16/delegators&quot; \
   | jq .[].address \
   | wc -l
12
</code></pre>
