# Is there a library/API in Java to connect and fetch data from Elasticsearch

**URL:** <https://discuss.elastic.co/t/is-there-a-library-api-in-java-to-connect-and-fetch-data-from-elasticsearch/317069>\
**Category:** Elasticsearch\
**Created:** [October 20, 2022, 4:49am UTC](https://discuss.elastic.co/t/is-there-a-library-api-in-java-to-connect-and-fetch-data-from-elasticsearch/317069 "2022-10-20T04:49:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pravu](https://avatars.discourse-cdn.com/v4/letter/p/e480ec/32.png) [@pravu](https://discuss.elastic.co/u/pravu)\
**Post date:** [October 20, 2022, 4:49am UTC](https://discuss.elastic.co/t/is-there-a-library-api-in-java-to-connect-and-fetch-data-from-elasticsearch/317069/1 "2022-10-20T04:49:54Z")

</div>

Is there a library/API in Java to connect and fetch data from Elasticsearch

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [October 20, 2022, 5:30am UTC](https://discuss.elastic.co/t/is-there-a-library-api-in-java-to-connect-and-fetch-data-from-elasticsearch/317069/2 "2022-10-20T05:30:58Z")

</div>

Perhaps

> **[Elasticsearch Java API Client \[8.4\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/index.html)**

---

<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:** [November 17, 2022, 5:31am UTC](https://discuss.elastic.co/t/is-there-a-library-api-in-java-to-connect-and-fetch-data-from-elasticsearch/317069/3 "2022-11-17T05:31:02Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
