# Exists api in ES 5.6.13

**URL:** <https://discuss.elastic.co/t/exists-api-in-es-5-6-13/175390>\
**Category:** Elasticsearch\
**Created:** [April 4, 2019, 10:40am UTC](https://discuss.elastic.co/t/exists-api-in-es-5-6-13/175390 "2019-04-04T10:40:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RAM\_NATHAN](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ram_nathan/32/50393_2.png) [@RAM\_NATHAN](https://discuss.elastic.co/u/RAM_NATHAN)\
**Post date:** [April 4, 2019, 10:40am UTC](https://discuss.elastic.co/t/exists-api-in-es-5-6-13/175390/1 "2019-04-04T10:40:02Z")

</div>

Hi

I found exists API in 6.3 [https://www.elastic.co/guide/en/elasticsearch/client/java-rest/6.3/java-rest-high-document-exists.html](https://www.elastic.co/guide/en/elasticsearch/client/java-rest/6.3/java-rest-high-document-exists.html)

I just want to know how to check existence of a document in ES 5.6.13

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 4, 2019, 12:50pm UTC](https://discuss.elastic.co/t/exists-api-in-es-5-6-13/175390/2 "2019-04-04T12:50:12Z")

</div>

You can use the low level client and just do a `GET /index/type/id` with it.

---

<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:** [May 2, 2019, 12:50pm UTC](https://discuss.elastic.co/t/exists-api-in-es-5-6-13/175390/3 "2019-05-02T12:50:25Z")

</div>

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