XMDb REST API Documentation

Complete API for accessing XMDb movie, TV show, and people data

Introduction

Welcome to the XMDb REST API documentation. This API provides access to comprehensive movie, TV show, and people data from XMDb.

Features

🔐 Authentication Required

This API requires an API key for all requests. Please enter your API key below to test the endpoints.

Your API key will be used for all 'Try it out' requests on this page.
How to get an API Key?

Contact the API administrator to get your API key. Once you have it, enter it above to start testing the endpoints.

Using the API Key:

Method 1: Query Parameter

https://xmdbapi.com/api/v1/movies/tt0111161?apiKey=YOUR_API_KEY

Method 2: Header

curl -H "X-API-Key: YOUR_API_KEY" https://xmdbapi.com/api/v1/movies/tt0111161

Base URL

https://xmdbapi.com/api/v1

All API requests should be made to this base URL.

Movies - Get Movie Details

Get comprehensive information about a movie or TV show including cast, crew, ratings, and more.

GET /api/v1/movies/{movie_id}

Parameters

Parameter Type Required Description
movie_id string Yes XMDb ID (e.g., tt0111161)
lang string No Language code (e.g., en, tr, de)
Example:
https://xmdbapi.com/api/v1/movies/tt0111161
https://xmdbapi.com/api/v1/movies/tt0111161?lang=tr
Try it out!

Enter a movie ID and click 'Send Request' to see the response

People - Get Person Details

Get detailed information about actors, directors, and other film industry professionals including biography, filmography, awards, and personal information.

GET /api/v1/people/{person_id}

Parameters

Parameter Type Required Description
person_id string Yes XMDb person ID (e.g., nm0000209)
lang string No Language code (e.g., en, tr)

Response Fields

Examples:
https://xmdbapi.com/api/v1/people/nm0000209 - Tim Robbins
https://xmdbapi.com/api/v1/people/nm0000138 - Leonardo DiCaprio
Try it out!

Enter a person ID and click 'Send Request' to see the response

TV Series - Get Seasons & Episodes

Get comprehensive season and episode information for TV series. Supports filtering by season number, year, or top rated episodes.

GET /api/v1/seasons/{series_id}

Parameters

Parameter Type Required Description
series_id string Yes XMDb series ID (e.g., tt0944947)
season integer No Specific season number to get episodes
year integer No Filter episodes by release year
top_rated integer No Get top N rated episodes
lang string No Language code

Response Fields

Examples:
https://xmdbapi.com/api/v1/seasons/tt0944947 - All seasons info
https://xmdbapi.com/api/v1/seasons/tt0944947?season=1 - Season 1 episodes
https://xmdbapi.com/api/v1/seasons/tt0944947?top_rated=10 - Top 10 episodes
Try it out!

Enter series ID and optionally a season number

Videos - Get Movie Videos

Get trailers, clips, behind-the-scenes, and other video content for a movie or TV show. Includes multiple quality options and video metadata.

GET /api/v1/videos/{movie_id}

Parameters

Parameter Type Required Description
movie_id string Yes XMDb ID
limit integer No Maximum videos (default: 20)
type string No Set to 'grouped' for videos by type

Response Fields

Examples:
https://xmdbapi.com/api/v1/videos/tt0111161
https://xmdbapi.com/api/v1/videos/tt0111161?type=grouped
Try it out!

Enter a movie ID to get available videos

Reviews - Get Movie Reviews

Get user reviews for a movie or TV show with ratings, helpfulness votes, and full review text. Supports pagination and sorting options.

GET /api/v1/reviews/{movie_id}

Parameters

Parameter Type Required Description
movie_id string Yes XMDb ID
max_pages integer No Max pages (25 reviews per page, default: 1)
sort_by string No HELPFULNESS_SCORE, SUBMIT_DATE, or RATING

Response Fields

Examples:
https://xmdbapi.com/api/v1/reviews/tt0111161
https://xmdbapi.com/api/v1/reviews/tt0111161?max_pages=2
Try it out!

Enter a movie ID to get user reviews

Images - Get Movie Images

Get poster and still images for a movie or TV show. Includes image dimensions and captions.

GET /api/v1/images/{movie_id}

Parameters

Parameter Type Required Description
movie_id string Yes XMDb ID
limit integer No Maximum images (default: 20)

Response Fields

Examples:
https://xmdbapi.com/api/v1/images/tt0111161
https://xmdbapi.com/api/v1/images/tt0111161?limit=10
Try it out!

Enter a movie ID to get available images

Poster - Get Movie Poster

Get high-quality poster for a movie or TV show with optional custom width and quality settings.

GET /api/v1/poster/{movie_id}

Parameters

Parameter Type Required Description
movie_id string Yes XMDb ID
width integer No Poster width in pixels
quality integer No Quality percentage 1-100
Examples:
https://xmdbapi.com/api/v1/poster/tt0111161 (Original high quality)
https://xmdbapi.com/api/v1/poster/tt0111161?width=500&quality=85 (Medium size, good quality)
https://xmdbapi.com/api/v1/poster/tt0111161?width=300 (Small size, original quality)
https://xmdbapi.com/api/v1/poster/tt0111161?quality=75 (Original size, compressed)
https://xmdbapi.com/api/v1/poster/tt0111161?width=1000&quality=90 (Large size, high quality)
Tip: Leave width and quality empty to get the original high-quality poster. Use width for responsive images and quality to balance file size vs. visual quality.
Try it out!

Enter a movie ID and optional width/quality

Posters - Get Multiple Posters

Get posters for multiple titles at once.

GET /api/v1/posters

Parameters

Parameter Type Required Description
ids string Yes Comma-separated XMDb IDs
width integer No Poster width (applies to all)
quality integer No Quality 1-100 (applies to all)
Examples:
https://xmdbapi.com/api/v1/posters?ids=tt0111161,tt0468569,tt0108052 (3 posters, original quality)
https://xmdbapi.com/api/v1/posters?ids=tt0111161,tt0468569&width=500&quality=85 (2 posters, medium size)
https://xmdbapi.com/api/v1/posters?ids=tt0111161,tt0468569,tt0108052,tt0167260&width=300 (4 posters, small thumbnails)
Note: You can request up to 50 posters in a single request. Width and quality parameters apply to all posters.
Try it out!

Enter comma-separated movie IDs

Poster Sizes - Get Poster in Multiple Sizes

Get poster in multiple predefined sizes.

GET /api/v1/poster/{movie_id}/sizes

Predefined Sizes

Size Name Width Quality Use Case
thumbnail 150px 70% Small previews, lists
small 300px 75% Mobile devices, cards
medium 500px 85% Tablets, detail pages
large 1000px 90% Desktop, high-res displays
original Full size Maximum Print, archival
Example:
https://xmdbapi.com/api/v1/poster/tt0111161/sizes
Perfect for responsive design! Get all sizes in one request and use the appropriate size based on device/screen size.
Try it out!

Enter a movie ID to get poster in all sizes

Connections - Sequels, Prequels, Remakes & References

Get title relationships such as sequels, prequels, remakes, spin-offs, references and more. Filter by one or more category, or omit the filter to receive every connection type with its category label.

GET /api/v1/connections/{movie_id}

Parameters

Parameter Type Required Description
movie_id string Yes XMDb title ID (e.g. tt0232500)
category string No Single category or comma-separated list. Empty = all categories.
first integer No Page size (default: 50, max: 100)
after string No Pagination cursor — pass end_cursor from a previous response
lang string No Localized title preference (default: en)

Available Categories

Category Meaning
followed_bySequels — titles that come after this one
followsPrequels — titles this one continues from
remake_ofThis title is a remake of …
remade_asRemakes of this title
spin_offSpin-offs from this title
spin_off_fromThis title is a spin-off of …
referencesTitles this one references
referenced_inTitles that reference this one
featuresTitles featured inside this one
featured_inTitles that feature this one
spoofsTitles this one parodies
spoofed_inTitles that parody this one
edited_intoFootage from this title used in …
edited_fromThis title uses footage from …
version_ofAlternate version of …
alternate_language_version_ofTranslated/dubbed version of …

Response Fields

Examples:
https://xmdbapi.com/api/v1/connections/tt0232500?category=followed_by - Sequels of The Fast and the Furious
https://xmdbapi.com/api/v1/connections/tt0232500 - Every connection (no filter)
https://xmdbapi.com/api/v1/connections/tt0232500?category=followed_by,follows - Multiple categories at once
https://xmdbapi.com/api/v1/connections/tt0076759?category=references&first=20 - What Star Wars references
https://xmdbapi.com/api/v1/connections/tt0076759?category=referenced_in&first=50&after=NzkzMg== - Pagination — fetch the next page
Try it out!

Enter a title ID and (optionally) a category — leave category empty to receive all connection types.

Upcoming Releases - Calendar / Coming Soon

Get upcoming movies, TV series and episodes — the same data that backs the XMDb calendar page. Supports date-range filtering, region override, and pagination.

GET /api/v1/upcoming/{type}

Path Parameter

Value Description
movieTheatrical / streaming movies
tvTV series premieres
episodeIndividual upcoming episodes

Query Parameters

Parameter Type Required Description
start string No Inclusive lower bound, YYYY-MM-DD (default: today)
end string No Inclusive upper bound, YYYY-MM-DD
region string No 2-letter country code (TR, US, UK …) — discovery filter
first integer No Page size (default: 50, max: 100)
after string No Pagination cursor — pass end_cursor from a previous response

Response Fields

Examples:
https://xmdbapi.com/api/v1/upcoming/movie - Movies releasing from today onwards
https://xmdbapi.com/api/v1/upcoming/movie?start=2026-05-01&end=2026-05-31 - Date range — May 2026
https://xmdbapi.com/api/v1/upcoming/movie?region=TR&first=20 - Region-filtered discovery for Turkey
https://xmdbapi.com/api/v1/upcoming/tv?first=10 - Upcoming TV series
https://xmdbapi.com/api/v1/upcoming/episode?first=10 - Upcoming individual episodes
https://xmdbapi.com/api/v1/upcoming/movie?first=50&after=END_CURSOR - Pagination — fetch the next page
Try it out!

Pick a release type and (optionally) narrow with date range or region.

Made with ❤️ for XMDb API enthusiasts