# Custom tag query for homepage?

**URL:** https://meta.discourse.org/t/custom-tag-query-for-homepage/106658
**Category:** Support
**Created:** [January 16, 2019, 4:25am UTC](https://meta.discourse.org/t/custom-tag-query-for-homepage/106658 "2019-01-16T04:25:42Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [January 17, 2019, 1:02am UTC](https://meta.discourse.org/t/custom-tag-query-for-homepage/106658/2 "2019-01-17T01:02:05Z")

</div>

The custom homepage you’re referencing pulls in the topics from a tag using AJAX and an endpoint like this:

[https://meta.discourse.org/tags/theme.json](https://meta.discourse.org/tags/theme.json)

If you want to get the contents of a search (can you clarify what you mean by “all the other stuff”?):

[https://meta.discourse.org/search.json?q=reverse%20engineer&expanded=true](https://meta.discourse.org/search.json?q=reverse%20engineer&expanded=true)

For more details about finding the data that populates a specific page, you can look here:

> [@Reverse engineer the Discourse API](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576):
>
> Discourse is backed by a complete JSON api. Anything you can do on the site you can also do using the JSON api. The API is documented at [docs.discourse.org](https://docs.discourse.org). You can also use the [discourse\_api](https://github.com/discourse/discourse_api) Ruby gem as a client library. However, not every endpoint is documented. To determine how to do something with the JSON API here are some steps you can follow. Example: recategorize a topic. Go to a topic and start editing a category: Open Chrome dev tools, switch to the Network tab, select …

---

_[View the full topic](https://meta.discourse.org/t/custom-tag-query-for-homepage/106658)._
