15 endpoints live · free tier, no card

The unofficial IMDb REST API for movie, TV and people data

XMDb API turns the public data behind imdb.com into clean JSON over plain HTTP. Same tt, nm and co ids you already know — one GET request, typed fields, no HTML parsing and no scraper to babysit.

Independent project. Not affiliated with IMDb.com or Amazon.com, Inc.

# The Shawshank Redemption, by its imdb.com id
curl "https://xmdbapi.com/api/v1/movies/tt0111161?apiKey=YOUR_KEY"
200 OK · application/json
{
  "id": "tt0111161",
  "title": "The Shawshank Redemption",
  "title_type": "Movie",
  "release_year": 1994,
  "runtime_minutes": 142,
  "rating": 9.3,
  "vote_count": 3267483,
  "metascore": 82,
  "certificate": "R",
  "genres": ["Drama"],
  "imdb_url": "https://www.imdb.com/title/tt0111161/"
  // + plot, cast, crew, budget, grosses, release_dates, …
}
15
documented endpoints
50/min
free tier rate limit
25,000
free requests per day
$0
no card, no subscription

Endpoint directory

Every IMDb data type, one REST call each

Fifteen GET endpoints, all returning JSON, all keyed by the ids imdb.com already uses. Pick a group to jump straight into its reference and live request builder.

Titles & movies

  • GET/api/v1/movies/{imdb_id}

    Full title record: rating, votes, metascore, certificate, budget, grosses, genres, plot, cast and crew, release dates, keywords, similar titles.

  • GET/api/v1/seasons/{imdb_id}

    Season list for a series, then per-season episodes with numbers, air dates, runtimes, ratings and plots.

  • GET/api/v1/connections/{imdb_id}

    Sequels, prequels, remakes, spin-offs, references and 11 more relation types.

People & companies

  • GET/api/v1/people/{name_id}

    Person record for an nm id: biography, birth and death data, professions, filmography, awards, trivia and quotes.

  • GET/api/v1/companies/search

    Find a studio, distributor, sales agent or effects house by name and get its co id.

  • GET/api/v1/companies/{co_id}/titles

    A company's entire credited filmography with a real total and ten sort fields.

Search & discovery

  • GET/api/v1/search

    Type-ahead search across titles and people, returning ids you can feed to any other endpoint.

  • GET/api/v1/trending

    What is popular right now, paginated.

  • GET/api/v1/upcoming/{type}

    Release calendar for movies, series and episodes, with date-range and region filters.

Media & artwork

  • GET/api/v1/poster/{imdb_id}

    Poster URL, resized and re-compressed on demand with width and quality parameters.

  • GET/api/v1/posters

    Up to 50 posters in one request, for grids and carousels.

  • GET/api/v1/poster/{imdb_id}/sizes

    One poster pre-rendered at thumbnail, small, medium, large and original sizes.

  • GET/api/v1/images/{imdb_id}

    Gallery images for a title, each with its caption and pixel dimensions.

  • GET/api/v1/videos/{imdb_id}

    Trailers and clips with playback URLs and thumbnails.

  • GET/api/v1/reviews/{imdb_id}

    User reviews with the author, rating, summary, full text and up/down vote counts.

How the data is shaped

Built around imdb.com ids, not around our own

There is no mapping table to maintain and no internal id to learn. If you can read an id out of an imdb.com URL, you can call every endpoint here.

Three id namespaces

tt0111161 is a title, nm0001104 is a person and co0002663 is a company. Paste any of them from an imdb.com address bar into the matching endpoint and you get that record. Title, episode, person and company records also hand back a ready-made imdb_url.

Typed fields, not scraped strings

rating arrives as 9.3 and not "9.3/10", runtime_minutes as 142 and not "2h 22m", genres as an array. That is the difference between data you can sort and text you have to clean up first.

Cursors for the long tail

A studio filmography or a reference list can run to thousands of rows, so those endpoints page with first and after and hand back has_more plus end_cursor. Offsets drift while you read; cursors do not.

Caching you can inspect

Each endpoint has its own TTL: an hour for trending, a day for reviews, a week for titles, a month for people and artwork. Every response tells you which bucket it came from through X-Cache, X-Cache-Type and X-Cache-Timeout.

One key, two ways to send it

Add ?apiKey= to the URL while you are poking around in a browser, or send X-API-Key from your server. No OAuth dance, no refresh tokens, no client secret to rotate.

Predictable error codes

A malformed id is a 400 that names the format it expected, a missing or invalid key is a 401 and a spent quota is a 429. When the upstream source wobbles you get a 5xx — and because error responses are never written to cache, the next request retries for real instead of replaying a failure.

Getting started

Three steps to your first JSON response

1

Request a key

Give an email address on the Get API Key page and click the link in the verification mail. Nothing to install, no card, no sales call.

2

Try it in the browser

Paste the key into the documentation once and every endpoint gets a live request builder with the real response.

3

Ship it

Copy the curl line into your own stack. It is plain HTTP and JSON, so there is no SDK between you and the data.

Access

Free to use, supported by donations

There is no paid plan. The free tier is the product; donating only lifts the rate limits.

Free

$0/month
  • 50 requests per minute
  • 25,000 requests per day
  • All 15 endpoints, no feature gates
  • Activated by email, no card
  • Community support by email
Get started

Questions

What people ask before they build on it

Is this the official IMDb API?

No. XMDb API is an independent project and is not affiliated with, endorsed by or connected to IMDb.com or Amazon.com, Inc. IMDb is a registered trademark of Amazon.com, Inc. We use the name only to describe whose public data the endpoints mirror. If you need an official, licensed feed, IMDb sells one directly.

What does an IMDb REST API give me that the website does not?

Structured JSON instead of HTML. One GET request returns a title as typed fields - rating as a number, genres as an array, runtime in minutes - so you can store it, sort it and join it without writing a parser or maintaining CSS selectors that break on every redesign.

Do you use the same ids as imdb.com?

Yes, and that is the point. Titles use tt ids, people use nm ids and companies use co ids, exactly as they appear in an imdb.com URL. Title, episode, person and company records also carry a ready-made imdb_url field, so you can link a user back to the source page without building the URL yourself.

Is it free, and what are the rate limits?

The free tier is 50 requests per minute and 25,000 requests per day, with access to every endpoint and no credit card. Supporters get a VIP key with the rate limits removed. There is no paid subscription.

How do I authenticate?

Pass your key as an apiKey query parameter or an X-API-Key header on any request - both are accepted on every endpoint. You request the key on the Get API Key page and activate it from the verification email. No OAuth round trip and no client secret to rotate.

How fresh is the data, and do you cache?

Every endpoint is cached on disk with a TTL matched to how fast that kind of data actually moves: 1 hour for trending and the release calendar, 1 day for reviews and company data, 7 days for titles and seasons, 30 days for people and artwork. Responses carry X-Cache, X-Cache-Type and X-Cache-Timeout headers so you can see exactly what you got.

How does pagination work on large result sets?

Endpoints that can return thousands of rows use cursor pagination. You send first for the page size and after for the cursor, and each response hands back has_more and end_cursor. Warner Bros. alone has over 13,000 credited titles, so the cursor is what keeps those pages stable while you walk them.

Which languages and frameworks does it work with?

Any of them. It is plain HTTP and JSON with no SDK to install, so curl, fetch, axios, requests, Guzzle, Retrofit, Dio or your language's standard library all work unchanged. The documentation page has a live request builder for every endpoint.

Can I use it in a commercial product?

The content is licensed CC BY-NC 4.0: attribution required, and commercial use needs explicit permission, so get in touch before you ship one. You are also responsible for your own compliance with IMDb's terms for any data you store or display. The Terms of Use page has the full text.

Changelog

What's New

2026-11-22 Latest

New endpoints

  • GET /api/v1/companies/search

    Company search by name — production companies, studios, distributors and sales agents, with their type, country and logo. Cursor paginated.

  • GET /api/v1/companies/{company_id}/titles

    Full filmography for a company id (e.g. co0002663) — every credited title with a total count, ten sort options and cursor pagination.

2026-11-19

Minor fixes

  • Upstream connectivity fix

    Resolved upstream errors affecting title, people and related endpoints. All endpoints are serving normally again.

2026-07-31

Minor fixes

  • Upstream request fix

    Fixed upstream errors that were affecting most endpoints. All endpoints are responding normally again.

2026-05-03

New endpoints

  • GET /api/v1/connections/{id}

    Title relationships — sequels, prequels, remakes, references, spin-offs, and more. Filter by one or more categories or fetch all relation types in a single call.

  • GET /api/v1/upcoming/{type}

    Upcoming releases / calendar — movies, TV series and episodes. Supports date-range filtering and region override.

Sponsors

There is room here for your logo

Nobody sponsors this yet. The slots below are real and they are open: sponsors get their site linked from this page and from the documentation footer.

Open Sponsor slot
Open Sponsor slot
Open Sponsor slot
Ask about sponsoring

Supporting without a logo works too — see the donate page.

Start pulling IMDb data as JSON today

Request a key, paste it into the docs, and your first title record is one GET away.