---
title: "JustWatch API: film, show search as JSON | Perceptlayer"
description: "JustWatch API for film and show search by title, and where each one streams, rents or sells in a country, with prices, as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/justwatch
---

[APIs](https://perceptlayer.com/apis) / [Search engines](https://perceptlayer.com/verticals/search) / JustWatch

1 credit per call 2 endpoints 11 datapoints 

# JustWatch API

JustWatch API for film and show search by title, and where each one streams, rents or sells in a country, with prices, as JSON. 1 credit per successful call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

JustWatch

GET /v1/justwatch/search?query=oppenheimer&country=US 

```
{
  "success": true,
  "data": {
    "query": "oppenheimer",
    "country": "US",
    "results": [
      {
        "id": "tm1111989",
        "object_id": 1111989,
        "type": "movie",
        "title": "Oppenheimer",
        "year": 2023,
        "genres": [
          "drm",
          "hst",
          "war"
        ],
        "scores": {
          "imdb": 8.2,
          "imdb_votes": 1115922,
          "tmdb": 8.022
        },
        "poster": "https://images.justwatch.com/poster/305252655/s718/oppenheimer.jpg",
        "url": "https://www.justwatch.com/us/movie/oppenheimer",
        "country": "US",
        "offers": [
          {
            "provider": "Peacock Premium",
            "provider_id": 386,
            "provider_code": "pct",
            "type": "flatrate",
            "quality": "hd",
            "currency": "USD",
            "subscription_plans": [
              "…"
            ],
            "url": "https://www.peacocktv.com/watch/asset/movies/oppenheimer/602fd345-3ad6-33fd-a70d-a0e059b8d38a"
          },
          {
            "provider": "Peacock Premium Plus",
            "provider_id": 387,
            "provider_code": "pcp",
            "type": "flatrate",
            "quality": "hd",
            "currency": "USD",
            "subscription_plans": [
              "…"
            ],
            "url": "https://www.peacocktv.com/watch/asset/movies/oppenheimer/602fd345-3ad6-33fd-a70d-a0e059b8d38a"
          },
          {
            "provider": "YouTube TV",
            "provider_id": 2528,
            "provider_code": "ytt",
            "type": "flatrate",
            "quality": "4k",
            "currency": "USD",
            "subscription_plans": [
              "…"
            ],
            "url": "https://tv.youtube.com/browse/UCboqvWjW9JKlu2d2LiB0YHg"
          }
        ]
      },
      {
        "id": "ts34175",
        "object_id": 34175,
        "type": "show",
        "title": "Oppenheimer",
        "year": 1980,
        "genres": [
          "drm",
          "hst",
          "war"
        ],
        "scores": {
          "imdb": 8.2,
          "imdb_votes": 749,
          "tmdb": 6.7
        },
        "poster": "https://images.justwatch.com/poster/307039364/s718/oppenheimer.jpg",
        "url": "https://www.justwatch.com/us/tv-show/oppenheimer",
        "country": "US",
        "offers": [
          {
            "provider": "The Roku Channel",
            "provider_id": 207,
            "provider_code": "rkc",
            "type": "ads",
            "quality": "hd",
            "currency": "USD",
            "seasons": 1,
            "url": "https://app.roku.com/details/c934ed5beeb250669a9b69cca1c0576e/episode-1?source=bing"
          },
          {
            "provider": "Tubi TV",
            "provider_id": 73,
            "provider_code": "tbv",
            "type": "ads",
            "quality": "sd",
            "currency": "USD",
            "seasons": 1,
            "url": "https://tubitv.com/series/300002000/oppenheimer"
          }
        ]
      },
      {
        "id": "tm1396486",
        "object_id": 1396486,
        "type": "movie",
        "title": "Oppenheimer: Genius or Madman?",
        "year": 2023,
        "genres": [
          "doc",
          "hst"
        ],
        "scores": {
          "imdb": 4.7,
          "imdb_votes": 17,
          "tmdb": 8
        },
        "poster": "https://images.justwatch.com/poster/343469497/s718/oppenheimer-genius-or-madman.jpg",
        "url": "https://www.justwatch.com/us/movie/oppenheimer-genius-or-madman",
        "country": "US",
        "offers": [
          {
            "provider": "Amazon Prime Video",
            "provider_id": 9,
            "provider_code": "amp",
            "type": "flatrate",
            "quality": "hd",
            "currency": "USD",
            "subscription_plans": [
              "…"
            ],
            "url": "https://watch.amazon.com/detail?gti=amzn1.dv.gti.4afe49d2-c831-4679-83ac-facadd6c7490"
          },
          {
            "provider": "Amazon Prime Video with Ads",
            "provider_id": 2100,
            "provider_code": "pva",
            "type": "flatrate",
            "quality": "hd",
            "currency": "USD",
            "subscription_plans": [
              "…"
            ],
            "url": "https://watch.amazon.com/detail?gti=amzn1.dv.gti.4afe49d2-c831-4679-83ac-facadd6c7490"
          },
          {
            "provider": "Fawesome",
            "provider_id": 2409,
            "provider_code": "faw",
            "type": "free",
            "quality": "hd",
            "currency": "USD",
            "url": "https://fawesome.tv/movies/10824989/oppenheimer-en-espaol?utm_source=justwatch&utm_medium=feed"
          }
        ]
      }
    ]
  },
  "meta": {
    "request_id": "req_c2f40de7fd144580b0b809ee9889f599",
    "credits_charged": 1,
    "credits_remaining": 173
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

Sample data

## What one call returns

A recorded run of `search`: the fields and shapes you will get, shortened to 3 items.

| # | id string | object\_id integer | type string | title string | year integer | genres string\[\] | scores object | poster url | url url | country string | offers object\[\] |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | tm1111989 | 1111989 | movie | Oppenheimer | 2023 | \[3 items\] | {3 fields} | https://images.justwatch.com/poster/305252655/s718/oppenheimer.jpg | https://www.justwatch.com/us/movie/oppenheimer | US | \[3 items\] |
| 2 | ts34175 | 34175 | show | Oppenheimer | 1980 | \[3 items\] | {3 fields} | https://images.justwatch.com/poster/307039364/s718/oppenheimer.jpg | https://www.justwatch.com/us/tv-show/oppenheimer | US | \[2 items\] |
| 3 | tm1396486 | 1396486 | movie | Oppenheimer: Genius or Madman? | 2023 | \[2 items\] | {3 fields} | https://images.justwatch.com/poster/343469497/s718/oppenheimer-genius-or-madman.jpg | https://www.justwatch.com/us/movie/oppenheimer-genius-or-madman | US | \[3 items\] |

Recorded from our API · 3 items shown · 11 datapoints per item GET /v1/justwatch/search?query=oppenheimer&country=US

11 datapoints

### Identity

-   id string
-   object\_id integer
-   type string
-   title string

### Contact

-   url url

### Location

-   country string

### Reputation

-   scores object

### Other

-   year integer
-   genres string\[\]
-   poster url
-   offers object\[\]

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/justwatch/search?query=oppenheimer&country=US" \
  -H "X-API-Key: $API_KEY"
```

JustWatch · 2 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/justwatch/search`](https://perceptlayer.com/apis/justwatch/search) | `query` +1 optional | `id` `object_id` `type` `title` `year` `genres` +5 more | 1 credit |
| [GET `/v1/justwatch/title`](https://perceptlayer.com/apis/justwatch/title) | none +2 optional | `id` `object_id` `type` `title` `original_title` `year` +12 more | 1 credit |

Overview

## About the JustWatch API

## What you can get

The JustWatch API returns where films and shows can be watched, by country, as JSON through 2 endpoints.

-   **Search:** `search` takes a `query` (a film or show title, for example oppenheimer) and a two-letter `country` such as `US`, `GB`, `DE` or `IN` (default `US`). It returns the top 5 matching titles.
-   **Titles:** `title` takes a JustWatch `path` such as `/us/movie/oppenheimer`, from a search result's `url`, or a justwatch.com title `url`.

The recorded `search` for "oppenheimer" in the `US` returns `results`, each with `id`, `object_id`, `type` (movie or show), `title`, `year`, `genres` (as short codes, for example `drm` and `hst`), `scores` (IMDb score and votes, and TMDB score), `poster`, `url` and `offers`. Each offer has `provider`, `provider_id`, `provider_code`, `type` (flatrate for subscription, free, ads, rent or buy), `quality` (for example hd or 4k), `price`, `currency`, `subscription_plans` (each plan's price and `days`), and the `url` to watch it. The 2023 film scored 8.2 on IMDb from 1,115,922 votes and was streaming on Peacock Premium, at 12.99 USD for 30 days. `title` adds `original_title`, `release_date`, `runtime_minutes` (180), `age_rating`, `description`, genre names, `imdb_id` and `offers_updated_at`.

## How a call works

Search, then look up: `GET /v1/justwatch/search?query=oppenheimer&country=US` with your key in the `X-API-Key` header returns each title's `url`; `title` takes its path, for example `GET /v1/justwatch/title?path=/us/movie/oppenheimer`. Answers come from a cache for up to an hour, so a new offer or price change can take up to an hour to show. Every successful call costs 1 credit; failed calls cost nothing.

Search engines JSON REST MCP

### More search engines APIs

[Apple Maps](https://perceptlayer.com/apis/apple-maps) [Baidu](https://perceptlayer.com/apis/baidu) [Bing](https://perceptlayer.com/apis/bing) [Brave Search](https://perceptlayer.com/apis/brave) [DuckDuckGo](https://perceptlayer.com/apis/duckduckgo) [Google Events](https://perceptlayer.com/apis/google-events) [Google Finance](https://perceptlayer.com/apis/google-finance) [Google Forums](https://perceptlayer.com/apis/google-forums) [Google Images](https://perceptlayer.com/apis/google-images) [Google Lens](https://perceptlayer.com/apis/google-lens) [Google Local](https://perceptlayer.com/apis/google-local) [Google Local Services](https://perceptlayer.com/apis/google-local-services)

Use cases

### Answer "where can I watch this?" for a film or show in a given country

`Use the JustWatch API to answer "where can I watch this?" for a film or show in a given country` 

### Compare rent and buy prices for a film across stores

`Use the JustWatch API to compare rent and buy prices for a film across stores` 

### See which subscription services carry a title, and at what quality

`Use the JustWatch API to see which subscription services carry a title, and at what quality` 

### Add IMDb and TMDB scores and streaming links to a watchlist or recommendation app

`Use the JustWatch API to add IMDb and TMDB scores and streaming links to a watchlist or recommendation app` 

FAQ

## Questions

**How much does the JustWatch API cost?**

Each successful call costs one credit, whether \`search\` returns five titles or \`title\` returns every offer for one. New accounts get free credits to start, and credit packs bring the price down as you scale.

**Which countries does it cover?**

Any country JustWatch serves, by its two-letter code, for example \`US\`, \`GB\`, \`DE\` or \`IN\`. Offers and prices are for that country only, so call once per country to compare.

**Why does search return only five titles?**

\`search\` returns the top 5 matches for a title, with their offers, which is usually enough to pick the right film or show. Use the \`type\` and \`year\` fields to tell a film from a show of the same name: the recorded search for "oppenheimer" returned the 2023 film and a 1980 show.

**Do I need a JustWatch account?**

No. You call this JustWatch API with your Perceptlayer key in the \`X-API-Key\` header, with no JustWatch login.

**Is this the official JustWatch API?**

No. Perceptlayer is an independent service and is not affiliated with JustWatch. It returns JustWatch data as JSON with a Perceptlayer key, so there is no JustWatch developer account, app review or partner approval to get first. It only reads data: if JustWatch has an official API and you need to act on your own JustWatch account, such as posting, managing orders or reading private data, use that one.

**Should I build a JustWatch scraper instead?**

You can, but a JustWatch scraper is code you maintain: page changes break it, requests get blocked, and JustWatch's terms govern how you collect data. The JustWatch API gives you 2 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the JustWatch API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
