# How can i get similar topics based on text query using discourse API

**URL:** https://meta.discourse.org/t/how-can-i-get-similar-topics-based-on-text-query-using-discourse-api/222668
**Category:** Support
**Created:** [March 31, 2022, 12:16pm UTC](https://meta.discourse.org/t/how-can-i-get-similar-topics-based-on-text-query-using-discourse-api/222668 "2022-03-31T12:16:39Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Devarsh\_Mavani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/devarsh_mavani/32/251071_2.png) [@Devarsh\_Mavani](https://meta.discourse.org/u/Devarsh_Mavani)
#### Post date: [March 31, 2022, 12:16pm UTC](https://meta.discourse.org/t/how-can-i-get-similar-topics-based-on-text-query-using-discourse-api/222668/1 "2022-03-31T12:16:40Z")

</div>

is there any way i can get similar topics based on a query?  
I have tried using /search.json but it only returns topic title and not raw body and other information like we get on the webpage.

I searched docs but can’t get any such endpoint. please help if there is any way I can find similar topics along with title and body. thanks

---

<div class="post-metadata">

### Author: ![cardoso](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cardoso/32/245682_2.png) [@cardoso](https://meta.discourse.org/u/cardoso)
#### Post date: [March 31, 2022, 1:41pm UTC](https://meta.discourse.org/t/how-can-i-get-similar-topics-based-on-text-query-using-discourse-api/222668/2 "2022-03-31T13:41:17Z")

</div>

Hi @Devarsh_Mavani .

Some endpoints you need to figure out using the browser’s developer tools and watching the network activity.

For similar topics, it seems simple GET endpoint with a query (`similar_topics.json?title=`)

This is what I found:

```plaintext
https://meta.discourse.com/similar_topics.json?title=similar%20topics%20based%20on%20text%20query

```

---

<div class="post-metadata">

### Author: ![Devarsh\_Mavani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/devarsh_mavani/32/251071_2.png) [@Devarsh\_Mavani](https://meta.discourse.org/u/Devarsh_Mavani)
#### Post date: [April 4, 2022, 1:52pm UTC](https://meta.discourse.org/t/how-can-i-get-similar-topics-based-on-text-query-using-discourse-api/222668/3 "2022-04-04T13:52:08Z")

</div>

yes i tried that but as you can see in response there is no description. there are only titles. is there any way i can get description as well in single call?
