# CURL example for retrieving historical data to csv

**URL:** <https://community.purpleair.com/t/curl-example-for-retrieving-historical-data-to-csv/1175>\
**Category:** API\
**Created:** [July 7, 2022, 2:49pm UTC](https://community.purpleair.com/t/curl-example-for-retrieving-historical-data-to-csv/1175 "2022-07-07T14:49:18Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![joerg](https://avatars.discourse-cdn.com/v4/letter/j/49beb7/32.png) [@joerg](https://community.purpleair.com/u/joerg)\
**Post date:** [July 14, 2022, 12:40am UTC](https://community.purpleair.com/t/curl-example-for-retrieving-historical-data-to-csv/1175/10 "2022-07-14T00:40:29Z")

</div>

Based on this prior [comment](https://community.purpleair.com/t/preview-of-api-that-includes-the-ability-to-get-sensor-history/853/3) it seems that querying groups of devices might be considered in future.

---

_[View the full topic](https://community.purpleair.com/t/curl-example-for-retrieving-historical-data-to-csv/1175)._
