# API: Getting all posts in a topic

**URL:** https://meta.discourse.org/t/api-getting-all-posts-in-a-topic/41018
**Category:** Development
**Created:** [March 14, 2016, 2:30pm UTC](https://meta.discourse.org/t/api-getting-all-posts-in-a-topic/41018 "2016-03-14T14:30:32Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)
#### Post date: [March 14, 2016, 3:43pm UTC](https://meta.discourse.org/t/api-getting-all-posts-in-a-topic/41018/5 "2016-03-14T15:43:30Z")

</div>

Also its probably a good idea to still break up fetching all the posts into multiple requests rather than 1 big one. So if you have a topic with 100 posts. You should break it up into 5 smaller requests fetching 20 posts at a time.

---

_[View the full topic](https://meta.discourse.org/t/api-getting-all-posts-in-a-topic/41018)._
