{
  "openapi": "3.0.1",
  "info": {
    "title": "JustWatch Scraper - Streaming Availability, Offers & Prices",
    "description": "Scrape JustWatch for where to watch any movie or TV show: streaming, rent & buy offers across Netflix, Prime, Disney+, Max, Hulu, Apple TV & 300+ services — prices, HD/4K quality, deep links, IMDb/TMDB scores, cast & leaving-soon dates. Discover, search or look up titles. Price-drop monitoring.",
    "version": "0.1",
    "x-build-id": "lLFtn4vgvaibXzjrs"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapesage~justwatch-streaming-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapesage-justwatch-streaming-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/scrapesage~justwatch-streaming-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapesage-justwatch-streaming-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/scrapesage~justwatch-streaming-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapesage-justwatch-streaming-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "title": "What to scrape",
            "enum": [
              "discover",
              "search",
              "titles"
            ],
            "type": "string",
            "description": "<b>Discover / browse</b> = filter the JustWatch catalogue by provider, genre, country, year & content type (the default). <b>Search</b> = look up titles by name. <b>Specific titles</b> = fetch exact movies/shows by JustWatch URL or id. The mode auto-switches if you fill in search terms or title URLs.",
            "default": "discover"
          },
          "searchQueries": {
            "title": "Search terms",
            "type": "array",
            "description": "Movie or show names to search for, e.g. <code>Oppenheimer</code>, <code>Breaking Bad</code>, <code>Dune</code>. Used by <b>Search</b> mode.",
            "items": {
              "type": "string"
            }
          },
          "titleUrls": {
            "title": "JustWatch title URLs",
            "type": "array",
            "description": "Direct JustWatch title URLs for <b>Specific titles</b> mode, e.g. <code>https://www.justwatch.com/us/movie/oppenheimer</code> or <code>https://www.justwatch.com/us/tv-show/breaking-bad</code>. Availability is resolved for every country you list below.",
            "items": {
              "type": "string"
            }
          },
          "titleIds": {
            "title": "JustWatch title IDs",
            "type": "array",
            "description": "JustWatch node ids for <b>Specific titles</b> mode: movies start with <code>tm</code> (e.g. <code>tm1111989</code>), shows with <code>ts</code> (e.g. <code>ts70</code>).",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "ISO 3166 country codes to get availability for (offers differ per country), e.g. <code>US</code>, <code>GB</code>, <code>CA</code>, <code>AU</code>, <code>DE</code>, <code>FR</code>, <code>ES</code>, <code>IN</code>, <code>BR</code>. JustWatch covers 140+ countries. One record is produced per title per country.",
            "default": [
              "US"
            ],
            "items": {
              "type": "string"
            }
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "2-letter language code for titles & descriptions, e.g. <code>en</code>, <code>de</code>, <code>fr</code>, <code>es</code>, <code>pt</code>.",
            "default": "en"
          },
          "contentTypes": {
            "title": "Content type (Discover / Search)",
            "type": "array",
            "description": "Limit to movies and/or TV shows. Leave empty for both.",
            "items": {
              "type": "string",
              "enum": [
                "MOVIE",
                "SHOW"
              ],
              "enumTitles": [
                "Movies",
                "TV shows"
              ]
            },
            "default": []
          },
          "providers": {
            "title": "Streaming providers (Discover / Search)",
            "type": "array",
            "description": "Only titles available on these services. Use the provider name (e.g. <code>Netflix</code>, <code>Disney Plus</code>, <code>Amazon Prime Video</code>, <code>Max</code>, <code>Hulu</code>, <code>Apple TV Plus</code>, <code>Paramount Plus</code>, <code>Peacock</code>) or its JustWatch short code (<code>nfx</code>, <code>dnp</code>, <code>amp</code>, <code>mxx</code>, <code>hlu</code>). Names are resolved per country automatically.",
            "items": {
              "type": "string"
            }
          },
          "genres": {
            "title": "Genres (Discover / Search)",
            "type": "array",
            "description": "Only titles in these genres. Use a name (<code>Comedy</code>, <code>Drama</code>, <code>Horror</code>, <code>Science-Fiction</code>, <code>Action & Adventure</code>) or JustWatch code (<code>cmy</code>, <code>drm</code>, <code>hrr</code>, <code>scf</code>, <code>act</code>).",
            "items": {
              "type": "string"
            }
          },
          "monetizationTypes": {
            "title": "Offer type (Discover / Search)",
            "type": "array",
            "description": "Only titles offered with these monetisation types. <b>FLATRATE</b> = subscription/streaming, <b>RENT</b>, <b>BUY</b>, <b>FREE</b>, <b>ADS</b> = free with ads.",
            "items": {
              "type": "string",
              "enum": [
                "FLATRATE",
                "RENT",
                "BUY",
                "FREE",
                "ADS"
              ],
              "enumTitles": [
                "Subscription (flatrate)",
                "Rent",
                "Buy",
                "Free",
                "Free with ads"
              ]
            },
            "default": []
          },
          "releaseYearMin": {
            "title": "Release year — from",
            "type": "integer",
            "description": "Only titles released in or after this year (Discover / Search)."
          },
          "releaseYearMax": {
            "title": "Release year — to",
            "type": "integer",
            "description": "Only titles released in or before this year (Discover / Search)."
          },
          "minImdbScore": {
            "title": "Minimum IMDb score",
            "type": "string",
            "description": "Keep only titles with an IMDb score at or above this value, e.g. <code>7.0</code>. Applied to results after fetching."
          },
          "sortBy": {
            "title": "Sort by (Discover / Search)",
            "enum": [
              "POPULAR",
              "TRENDING",
              "IMDB_SCORE",
              "TMDB_POPULARITY",
              "ALPHABETICAL",
              "RANDOM"
            ],
            "type": "string",
            "description": "Order of the catalogue results.",
            "default": "POPULAR"
          },
          "includeCredits": {
            "title": "Include cast & crew",
            "type": "boolean",
            "description": "Attach full cast (with character names) and directors to each title.",
            "default": false
          },
          "includeSeasons": {
            "title": "Include season list (TV shows)",
            "type": "boolean",
            "description": "Attach the list of seasons (number + title) for TV shows.",
            "default": false
          },
          "includeRawFields": {
            "title": "Include raw source fields",
            "type": "boolean",
            "description": "Attach the raw JustWatch API objects (content, offers, charts) under <code>sourceFields</code> for power users.",
            "default": false
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of title records to produce in this run (across all countries & queries).",
            "default": 100
          },
          "maxResultsPerQuery": {
            "title": "Max results per query / country",
            "type": "integer",
            "description": "Optional cap on how many titles to take from each search term or each discover/country combination before moving on. Leave empty to use Max results."
          },
          "deduplicateResults": {
            "title": "Deduplicate within a run",
            "type": "boolean",
            "description": "Skip titles already emitted in this run (recommended).",
            "default": true
          },
          "monitorMode": {
            "title": "Monitoring mode — only new & changed titles",
            "type": "boolean",
            "description": "Remember each title's offers in a named key-value store across runs and emit ONLY titles that are NEW or whose streaming availability / prices CHANGED since last run — perfect for new-release alerts, price-drop tracking and 'leaving soon' watches. Works alongside Apify Schedules.",
            "default": false
          },
          "monitorKey": {
            "title": "Monitor key",
            "type": "string",
            "description": "Names the memory used by monitoring mode. Use a distinct key per saved watch so different monitors don't share state.",
            "default": "default"
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "Maximum parallel requests. JustWatch is lightly rate-limited per IP — 4–8 is a good range.",
            "default": 4
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy settings. The default Apify Proxy rotates IPs to spread JustWatch's per-IP rate limit and improve reliability.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}