<p>No Blockfrost endpoint retrieves this information.</p>
<p>As per <a href="https://twitter.com/InputOutputHK/status/1518596128056520707" rel="nofollow noreferrer">this tweet</a>, the current size of blocks is 88KB.</p>
<p>So, you can calculate the % of block load for each block this way:</p>
<pre><code>( cardano_node_metrics_blockfetchclient_blocksize / (88 * 1024) ) * 100
</code></pre>
<p><code>cardano_node_metrics_blockfetchclient_blocksize</code> is a metric exposed by <a href="https://prometheus.io/" rel="nofollow noreferrer">Prometheus</a> in the <code>cardano-node</code>. You can query it using <a href="https://grafana.com/" rel="nofollow noreferrer">Grafana</a>. Unfortunately, you will need to run your own node for this.</p>
<p>This is a very useful link on how to setup the Grafana Dashboard: <a href="https://developers.cardano.org/docs/stake-pool-course/handbook/grafana-dashboard-tutorial/" rel="nofollow noreferrer">https://developers.cardano.org/docs/stake-pool-course/handbook/grafana-dashboard-tutorial/</a></p>

CC BY-SA 4.0
2022-06-01T07:25:35.090Z
Thank you! However, there is no APIs that will not require to run node? I assume I just need to fetch size of the block and then make calculations myself
Fill
CC BY-SA 4.0
2022-06-01T10:16:03.640Z
The problem is that, in order to fetch the size of the block (cardano_node_metrics_blockfetchclient_blocksize), you need to use Grafana. And Grafana is a tool made to monitor your own node: you can't plug it to an API.
Falcon Stakepool
CC BY-SA 4.0
2022-06-01T05:19:55.053Z
2022-06-01T05:19:55.053Z
Falcon Stakepool
<p>Since you're looking for a way without running a node, example using Koios (am sure blockfrost offers similar endpoints too):</p>
<ol>
<li><p>Max size of block from current protocol can be found using <a href="https://api.koios.rest/#get-/epoch_params" rel="nofollow noreferrer">epoch_params</a></p>
</li>
<li><p>I am not sure if I fully understand the term <code>block load</code> , but I assume you mean average size of blocks for a specific time range. You can get a filtered list of size and time using <a href="https://api.koios.rest/#get-/blocks" rel="nofollow noreferrer">blocks</a> endpoint, the list is - ofcourse - paginated, which you can find an average of.
Sample: <a href="https://api.koios.rest/api/v0/blocks?select=block_size&amp;block_time=gt.2022-06-07T19:00:00" rel="nofollow noreferrer">here</a></p>
</li>
</ol>

CC BY-SA 4.0
2022-06-09T01:04:00.400Z
2022-06-09T01:04:00.400Z
RdLrT
<p>I'm currently going through Blockfrost documentation and trying to figure out if there is a way to fetch block load for each day.</p>
<p>Seems like they don't have such option, in that case: Is there a way to calculate block load?</p>

<api><blockfrost>
How to get blockchain block load from blockfrost?
# How to get blockchain block load from blockfrost?

(Asked by: username_0 on 2022-05-31)

I'm currently going through Blockfrost documentation and trying to figure out if there is a way to fetch block load for each day.

Seems like they don't have such option, in that case: Is there a way to calculate block load?

**Tags:** api, blockfrost

---

## 2 answers

### Answer by username_1 on 2022-06-01. Score: 2 | Accepted answer

No Blockfrost endpoint retrieves this information.
As per this tweet, the current size of blocks is 88KB.
So, you can calculate the % of block load for each block this way:
( cardano_node_metrics_blockfetchclient_blocksize / (88 * 1024) ) * 100

cardano_node_metrics_blockfetchclient_blocksize is a metric exposed by Prometheus in the cardano-node. You can query it using Grafana. Unfortunately, you will need to run your own node for this.
This is a very useful link on how to setup the Grafana Dashboard: https://developers.cardano.org/docs/stake-pool-course/handbook/grafana-dashboard-tutorial/

> **Comments:**
> **username_0**: Thank you! However, there is no APIs that will not require to run node? I assume I just need to fetch size of the block and then make calculations myself  
> **username_1**: The problem is that, in order to fetch the size of the block (cardano_node_metrics_blockfetchclient_blocksize), you need to use Grafana. And Grafana is a tool made to monitor your own node: you can't plug it to an API.  

---

### Answer by username_2 on 2022-06-09. Score: 1

Since you're looking for a way without running a node, example using Koios (am sure blockfrost offers similar endpoints too):

1. Max size of block from current protocol can be found using [epoch\_params](https://api.koios.rest/#get-/epoch_params)
2. I am not sure if I fully understand the term `block load` , but I assume you mean average size of blocks for a specific time range. You can get a filtered list of size and time using [blocks](https://api.koios.rest/#get-/blocks) endpoint, the list is - ofcourse - paginated, which you can find an average of.
   Sample: [here](https://api.koios.rest/api/v0/blocks?select=block_size&block_time=gt.2022-06-07T19:00:00)


---

