# How do I get all posts from a specific category?

**URL:** https://meta.discourse.org/t/how-do-i-get-all-posts-from-a-specific-category/31589
**Category:** Feature
**Created:** [Julho 31, 2015, 1:26am UTC](https://meta.discourse.org/t/how-do-i-get-all-posts-from-a-specific-category/31589 "2015-07-31T01:26:46Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [Agosto 3, 2015, 9:32pm UTC](https://meta.discourse.org/t/how-do-i-get-all-posts-from-a-specific-category/31589/6 "2015-08-03T21:32:27Z")

</div>

> [@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 …

gives you

[https://meta.discourse.org/search.json?q=category%3Abug+user%3Acpradio](https://meta.discourse.org/search.json?q=category%3Abug+user%3Acpradio)

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-get-all-posts-from-a-specific-category/31589)._
