# How to get all topics from a specific category using offset/page param in the API query?

**URL:** <https://meta.discourse.org/t/how-to-get-all-topics-from-a-specific-category-using-offset-page-param-in-the-api-query/348554>\
**Category:** Data & reporting\
**Created:** [January 23, 2025, 7:46am UTC](https://meta.discourse.org/t/how-to-get-all-topics-from-a-specific-category-using-offset-page-param-in-the-api-query/348554 "2025-01-23T07:46:55Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Shubham\_G](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shubham_g/32/482220_2.png) [@Shubham\_G](https://meta.discourse.org/u/Shubham_G)\
**Post date:** [January 23, 2025, 7:46am UTC](https://meta.discourse.org/t/how-to-get-all-topics-from-a-specific-category-using-offset-page-param-in-the-api-query/348554/1 "2025-01-23T07:46:56Z")

</div>

I have found an API which can list all the topics from a specific subject (whose slug is “mlt-kb”) from between a certain date range. Here is the endpoint:

https://{default\_host}/search.json?q=%23courses%3Amlt-kb%20after%3A2024-09-24%20before%3A2024-12-29

But this URL doesn’t list all topics. It only lists the first 50 topics. There **must be some other parameter like offset or page**..but I cannot understand **how to add them to this URL**. Can someone figure this out?

Thanks in advance!

---

_[View the full topic](https://meta.discourse.org/t/how-to-get-all-topics-from-a-specific-category-using-offset-page-param-in-the-api-query/348554)._
