# How to get size of an elasticsearch index using nest api

**URL:** https://discuss.elastic.co/t/how-to-get-size-of-an-elasticsearch-index-using-nest-api/54320
**Category:** Elasticsearch
**Created:** [June 29, 2016, 5:05pm UTC](https://discuss.elastic.co/t/how-to-get-size-of-an-elasticsearch-index-using-nest-api/54320 "2016-06-29T17:05:07Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Rajeev\_Gaurav](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@Rajeev\_Gaurav](https://discuss.elastic.co/u/Rajeev_Gaurav)
#### Post date: [June 29, 2016, 5:05pm UTC](https://discuss.elastic.co/t/how-to-get-size-of-an-elasticsearch-index-using-nest-api/54320/1 "2016-06-29T17:05:07Z")

</div>

Hi,

Can any one tell me How can I get size of an index using nest api.

Thanks,  
Rajeev

---

<div class="post-metadata">

### Author: ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)
#### Post date: [July 5, 2016, 6:30am UTC](https://discuss.elastic.co/t/how-to-get-size-of-an-elasticsearch-index-using-nest-api/54320/2 "2016-07-05T06:30:53Z")

</div>

Hi @Rajeev_Gaurav,

the short answer is: this information is not available. If it were available your best bet would have been to use the [node stats API](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html).

Why do you need this information?

Daniel

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 5, 2017, 10:38pm UTC](https://discuss.elastic.co/t/how-to-get-size-of-an-elasticsearch-index-using-nest-api/54320/3 "2017-07-05T22:38:24Z")

</div>


