# Use API to get topics for a period using js

**URL:** https://meta.discourse.org/t/use-api-to-get-topics-for-a-period-using-js/256355
**Category:** Development
**Tags:** rest-api
**Created:** [February 27, 2023, 7:57am UTC](https://meta.discourse.org/t/use-api-to-get-topics-for-a-period-using-js/256355 "2023-02-27T07:57:15Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [February 27, 2023, 2:37pm UTC](https://meta.discourse.org/t/use-api-to-get-topics-for-a-period-using-js/256355/2 "2023-02-27T14:37:50Z")

</div>

I think your best bet is the [data explorer](https://meta.discourse.org/t/32566?silent=true) plugin and [Run Data Explorer queries with the Discourse API](https://meta.discourse.org/t/run-data-explorer-queries-with-the-discourse-api/120063)

---

_[View the full topic](https://meta.discourse.org/t/use-api-to-get-topics-for-a-period-using-js/256355)._
