# Is it possible to provide the data from myKinsta’s CSV export via the API?Plan usage distribution in Analytics via the API.

**URL:** https://community.kinsta.com/t/is-it-possible-to-provide-the-data-from-mykinsta-s-csv-export-via-the-api-plan-usage-distribution-in-analytics-via-the-api/3666
**Category:** API Questions
**Created:** [July 1, 2024, 9:31pm UTC](https://community.kinsta.com/t/is-it-possible-to-provide-the-data-from-mykinsta-s-csv-export-via-the-api-plan-usage-distribution-in-analytics-via-the-api/3666 "2024-07-01T21:31:29Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jukebox](https://avatars.discourse-cdn.com/v4/letter/j/b487fb/32.png) [@jukebox](https://community.kinsta.com/u/jukebox)
#### Post date: [July 1, 2024, 9:31pm UTC](https://community.kinsta.com/t/is-it-possible-to-provide-the-data-from-mykinsta-s-csv-export-via-the-api-plan-usage-distribution-in-analytics-via-the-api/3666/1 "2024-07-01T21:31:29Z")

</div>

I want to access the data from myKinsta’s CSV exports via the API. Is there any plan to provide this through the API? I recall seeing this mentioned in an older topic. Could you provide a rough timeline for when this might be available?

---

<div class="post-metadata">

### Author: ![jackirish](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/jackirish/32/1361_2.png) [@jackirish](https://community.kinsta.com/u/jackirish)
#### Post date: [July 1, 2024, 9:44pm UTC](https://community.kinsta.com/t/is-it-possible-to-provide-the-data-from-mykinsta-s-csv-export-via-the-api-plan-usage-distribution-in-analytics-via-the-api/3666/2 "2024-07-01T21:44:19Z")

</div>

Hi @jukebox ! 👋 Welcome to the Kinsta Community.

You should be able to retrieve the same information that would be available via the CSV with the [getSiteById](https://api-docs.kinsta.com/tag/WordPress-Sites#operation/getSiteById) and [getSiteEnvironments](https://api-docs.kinsta.com/tag/WordPress-Site-Environments#operation/getSiteEnvironments) calls. That information can then be used to construct your own CSV (if you’d like to use that format), or it can be used in your scripts or tools 🙂

I’m not aware of any plans to specifically provide a CSV-formatted file via the API at this time, so this is the best way to retrieve the information.
