# Como obter todos os tópicos de uma categoria específica usando o parâmetro offset/página na consulta da API?

**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:** [Janeiro 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:** 3

<div class="post-metadata">

**Author:** ![nat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nat/32/235063_2.png) [@nat](https://meta.discourse.org/u/nat)\
**Post date:** [Janeiro 23, 2025, 8:48am UTC](https://meta.discourse.org/t/how-to-get-all-topics-from-a-specific-category-using-offset-page-param-in-the-api-query/348554/3 "2025-01-23T08:48:48Z")

</div>

Você pode usar isto - [Discourse API Docs](https://docs.discourse.org/#tag/Search/operation/search) (role para baixo!)

Você verá que além de `?q`, também temos `?page`, então..

`https://{default_host}/search.json?q=%23courses%3Amlt-kb%20after%3A2024-09-24%20before%3A2024-12-29&page=1`

---

_[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)._
