# API Endpoint for "last played"

**URL:** https://forums.plex.tv/t/api-endpoint-for-last-played/813234
**Category:** Plex Media Server
**Tags:** server-linux
**Created:** [October 1, 2022, 11:59pm UTC](https://forums.plex.tv/t/api-endpoint-for-last-played/813234 "2022-10-01T23:59:13Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ahardytrack\_gmail\_com](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@ahardytrack\_gmail\_com](https://forums.plex.tv/u/ahardytrack_gmail_com)
#### Post date: [October 1, 2022, 11:59pm UTC](https://forums.plex.tv/t/api-endpoint-for-last-played/813234/1 "2022-10-01T23:59:13Z")

</div>

Server Version#: latest  
Player Version#: do not have

I am not seeing much on the documentation for the api endpoints, there is some brief details. I did see that the tv-shows / movies has a “last updated” element. Is there a “last played” element from another query? Alternatively do I have to query the sqlite directly? If so, where in the sqlite to look?

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [December 30, 2022, 11:59pm UTC](https://forums.plex.tv/t/api-endpoint-for-last-played/813234/2 "2022-12-30T23:59:54Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
