# Paginating API search results

**URL:** <https://meta.discourse.org/t/paginating-api-search-results/49066>\
**Category:** Support\
**Created:** [August 23, 2016, 2:13pm UTC](https://meta.discourse.org/t/paginating-api-search-results/49066 "2016-08-23T14:13:15Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mbajur](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mbajur/32/51349_2.png) [@mbajur](https://meta.discourse.org/u/mbajur)\
**Post date:** [August 23, 2016, 2:13pm UTC](https://meta.discourse.org/t/paginating-api-search-results/49066/1 "2016-08-23T14:13:15Z")

</div>

Hello there!

I’m running a forum on which, in one of all the categories, users are posting a lot of youtube links. I would love to build some third-party youtube player on top of that but can’t quite invent how could i fetch such data by a third party app.

The most obvious way of doing that would be to use a search API and search for “[youtube.com](http://youtube.com)” string in desired category but, if i understand discourse code well, there is a limit of search results that can be fetched. It’s hardcoded to 50 results i think.

And with that info given, the only way that comes to my mind is to fetch search results periodically with a CRON and store them on that third-party app side. But, any other ideas are welcome 🙂

Anyway - are you guys planning to support search API pagination?

---

_[View the full topic](https://meta.discourse.org/t/paginating-api-search-results/49066)._
