# Plex API call to get recently added media

**URL:** <https://forums.plex.tv/t/plex-api-call-to-get-recently-added-media/830683>\
**Category:** Plex Media Server\
**Tags:** other-dev\
**Created:** [February 14, 2023, 12:08am UTC](https://forums.plex.tv/t/plex-api-call-to-get-recently-added-media/830683 "2023-02-14T00:08:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![petersem](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/petersem/32/109189_2.png) [@petersem](https://forums.plex.tv/u/petersem)\
**Post date:** [February 14, 2023, 12:08am UTC](https://forums.plex.tv/t/plex-api-call-to-get-recently-added-media/830683/1 "2023-02-14T00:08:00Z")

</div>

Is there a way to call the Plex API to get recently added titles from specific libraries?

eg. something like this:  
[http://n.n.n.n:32400/library/nn/recentlyadded?X-Plex-Token=xxxxxxxxxxxxxx](http://n.n.n.n:32400/library/nn/recentlyadded?X-Plex-Token=xxxxxxxxxxxxxx)

Update: I am getting closer. Unfortunately the \>\>= filter is not working.

[http://192.168.1.135:32400/library/sections/1/all?type=1&sort=addedAt:desc&addedAT\>\>=1675174801&X-Plex-Token=xxxxx](http://192.168.1.135:32400/library/sections/1/all?type=1&sort=addedAt:desc&addedAT%3E%3E=1675174801&X-Plex-Token=xxxxx)

SOLVED!  
I was almost right but i had addedAT instread of addedAt in the query. this works! 🙂

[http://192.168.1.135:32400/library/sections/1/all?type=1&sort=addedAt:desc&addedAt\>\>=1675174801&X-Plex-Token=xxxxx](http://192.168.1.135:32400/library/sections/1/all?type=1&sort=addedAt:desc&addedAt%3E%3E=1675174801&X-Plex-Token=xxxxx)

---

<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:** [May 15, 2023, 12:08am UTC](https://forums.plex.tv/t/plex-api-call-to-get-recently-added-media/830683/2 "2023-05-15T00:08:10Z")

</div>

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