# Discourses API get just the number of search results

**URL:** <https://meta.discourse.org/t/discourses-api-get-just-the-number-of-search-results/76548>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [2017年十二月21日 10:18 UTC](https://meta.discourse.org/t/discourses-api-get-just-the-number-of-search-results/76548 "2017-12-21T10:18:45Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2019年九月30日 07:59 UTC](https://meta.discourse.org/t/discourses-api-get-just-the-number-of-search-results/76548/4 "2019-09-30T07:59:50Z")

</div>

> [@vsoch](#):
>
> “最新”和“热门”是有限制的

“最新”支持分页，你只需正确传递参数，就能通过 API 访问所有主题。

搜索功能也支持分页。

我推荐这个链接作为快速入门，帮助你了解所需的所有参数：[https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576。](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576%E3%80%82)

---

_[View the full topic](https://meta.discourse.org/t/discourses-api-get-just-the-number-of-search-results/76548)._
