<p>The rewards should show in the Blockfrost API, are you sure you're not looking at first epoch that did not participate in staking yet?</p>
<p>As example, here is one of the eToros' pools that has 100% margin:</p>
<pre><code>$ curl -s  -H &quot;project_id: xx&quot;  https://cardano-mainnet.blockfrost.io/api/v0/pools/2bf5a031b46b34c07937a769ff6f82b6a78a25c71022eaaf1f20eec9/history?order=desc | jq
[
  {
    &quot;epoch&quot;: 377,
    &quot;blocks&quot;: 73,
    &quot;active_stake&quot;: &quot;65000004590510&quot;,
    &quot;active_size&quot;: 0.0025796400554051256,
    &quot;delegators_count&quot;: 3,
    &quot;rewards&quot;: &quot;44005384326&quot;,
    &quot;fees&quot;: &quot;44005384326&quot;
  },
</code></pre>
<p>As you can see both rewards and fees are returned.</p>

CC BY-SA 4.0
2022-12-01T15:32:43.897Z
I was testing with this pool. 92dc054f2d52106de52ff081afe510e9d929ae597d476bbbb15527a9. Why is this pool reward always 0?
Heindrick
CC BY-SA 4.0
2022-12-01T15:35:42.240Z
This is because this pool has never made a block, so it never got any rewards. https://cexplorer.io/pool/pool1jtwq2ned2ggxmef07zq6legsa8vjntje04rkhwa325n6j5689an/blocks#data
Marek Mahut - StakeNuts
CC BY-SA 4.0
2022-12-01T15:36:58.900Z
I see, thank you for your answer.
Heindrick
CC BY-SA 4.0
2022-12-01T15:30:06.777Z
2022-12-01T15:30:06.777Z
Marek Mahut - StakeNuts
<p>I want to get reward amount for specific pool for specific epoch.</p>
<p><a href="https://docs.blockfrost.io/#tag/Cardano-Pools/paths/%7E1pools%7E1%7Bpool_id%7D%7E1history/get" rel="nofollow noreferrer">https://docs.blockfrost.io/#tag/Cardano-Pools/paths/~1pools~1%7Bpool_id%7D~1history/get</a></p>
<p>Above blockfrost api provides reward amount for specific epoch.</p>
<p>But for private pool, all rewards become margin, since its margin percent is 100%, so all rewards show as 0 in api response.</p>
<p>To get reward amount for private pool, I need to get margin amount.</p>
<p>How can I get margin amount for specific pool for specific epoch?</p>

<rewards><epoch><pool>
Get margin amount in private pool
# Get margin amount in private pool

(Asked by: username_0 on 2022-12-01)

I want to get reward amount for specific pool for specific epoch.

[https://docs.blockfrost.io/#tag/Cardano-Pools/paths/~1pools~1%7Bpool\_id%7D~1history/get](https://docs.blockfrost.io/#tag/Cardano-Pools/paths/%7E1pools%7E1%7Bpool_id%7D%7E1history/get)

Above blockfrost api provides reward amount for specific epoch.

But for private pool, all rewards become margin, since its margin percent is 100%, so all rewards show as 0 in api response.

To get reward amount for private pool, I need to get margin amount.

How can I get margin amount for specific pool for specific epoch?

**Tags:** rewards, epoch, pool

---

## 1 answers

### Answer by username_1 on 2022-12-01. Score: 1 | Accepted answer

The rewards should show in the Blockfrost API, are you sure you're not looking at first epoch that did not participate in staking yet?
As example, here is one of the eToros' pools that has 100% margin:
$ curl -s  -H "project_id: xx"  https://cardano-mainnet.blockfrost.io/api/v0/pools/2bf5a031b46b34c07937a769ff6f82b6a78a25c71022eaaf1f20eec9/history?order=desc | jq
[
  {
    "epoch": 377,
    "blocks": 73,
    "active_stake": "65000004590510",
    "active_size": 0.0025796400554051256,
    "delegators_count": 3,
    "rewards": "44005384326",
    "fees": "44005384326"
  },

As you can see both rewards and fees are returned.

> **Comments:**
> **username_0**: I was testing with this pool. 92dc054f2d52106de52ff081afe510e9d929ae597d476bbbb15527a9. Why is this pool reward always 0?  
> **username_1**: This is because this pool has never made a block, so it never got any rewards. https://cexplorer.io/pool/pool1jtwq2ned2ggxmef07zq6legsa8vjntje04rkhwa325n6j5689an/blocks#data  
> **username_0**: I see, thank you for your answer.  

---

