# PMS Developer API: Search library with External ID (eg, IMDb)

**URL:** <https://forums.plex.tv/t/pms-developer-api-search-library-with-external-id-eg-imdb/934815>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [December 26, 2025, 12:33am UTC](https://forums.plex.tv/t/pms-developer-api-search-library-with-external-id-eg-imdb/934815 "2025-12-26T00:33:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lunarrr](https://avatars.discourse-cdn.com/v4/letter/l/e19b73/32.png) [@Lunarrr](https://forums.plex.tv/u/Lunarrr)\
**Post date:** [December 26, 2025, 12:33am UTC](https://forums.plex.tv/t/pms-developer-api-search-library-with-external-id-eg-imdb/934815/1 "2025-12-26T00:33:05Z")

</div>

After having a read through the documentation for [Get Library Matches](https://developer.plex.tv/pms/#tag/Library/operation/libraryGetMatches) I noticed there was a field where we can supply a GUID. In the description for the method, it states we should be able to use other GUID’s such as IMDb to help with the matching, but if I supply an IMDb id, no results are returned, and if I add a title to the query all I get is whatever the title matched, even if the IMDb id is for an entirely different movie/tv show.

I’m not sure if it’s implemented yet, or I’m using it wrong but would be awesome if we could match an IMDb id directly rather than relying on a fuzzy search that may or may not return what I’m after, even if there was a way to convert IMDb Id’s into a Plex Id which we could then use would be great.

Currently i’m attempting to call it as such `http://ip:port/library/matches?X-Plex-Token=token&type=1&guid=tt5052448` I’ve also tried using the guid format as `imdb://movie/tt5052448` and `imdb://tt5052448` but to no avail.

---

<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:** [March 26, 2026, 12:33am UTC](https://forums.plex.tv/t/pms-developer-api-search-library-with-external-id-eg-imdb/934815/2 "2026-03-26T00:33:41Z")

</div>

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