{
  "openapi": "3.0.1",
  "info": {
    "title": "Amazon Prime Video Catalog, Rental Prices & Episode Guide",
    "description": "Structured Prime Video catalog data: search titles, browse storefront collections and Top 10 charts, open Prime Video title URLs or IDs and resolve IMDb IDs. Returns ratings, cast, genres, availability, rent/buy prices per quality, bundles, seasons and episodes across nine markets.",
    "version": "1.0",
    "x-build-id": "jToNuBFbuhDGa9Ubo"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlyth-forge~amazon-prime-video-catalog/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlyth-forge-amazon-prime-video-catalog",
        "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/crawlyth-forge~amazon-prime-video-catalog/runs": {
      "post": {
        "operationId": "runs-sync-crawlyth-forge-amazon-prime-video-catalog",
        "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/crawlyth-forge~amazon-prime-video-catalog/run-sync": {
      "post": {
        "operationId": "run-sync-crawlyth-forge-amazon-prime-video-catalog",
        "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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "collections",
              "titles",
              "imdbIds"
            ],
            "type": "string",
            "description": "What to scrape. Search keywords, browse collections, look up exact titles, or resolve IMDb IDs.",
            "default": "titles"
          },
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "One or more keywords or title names (mode=search). Each query returns up to about 60 Prime Video matches, then duplicates are removed.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "collectionUrls": {
            "title": "Collections",
            "type": "array",
            "description": "Shortcuts or URLs (mode=collections). Shortcuts: home, movies, tv, top10, rent-or-buy, channel:paramountplus. URLs: any Prime Video storefront, browse, /channel/ or Top 10 page.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "titleIds": {
            "title": "Title IDs or URLs",
            "type": "array",
            "description": "Prime Video title URLs, 10-character Amazon IDs (e.g. B07K6XX8TB) or global title IDs (amzn1.dv.gti...). Season IDs, series IDs and bundle IDs are accepted.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "imdbIds": {
            "title": "IMDb IDs",
            "type": "array",
            "description": "IMDb title IDs such as tt2709692 (mode=imdbIds). Each ID is resolved to its title and year, then matched to Prime Video.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "market": {
            "title": "Market",
            "enum": [
              "US",
              "GB",
              "DE",
              "JP",
              "IN",
              "CA",
              "AU",
              "FR",
              "ES",
              "IT"
            ],
            "type": "string",
            "description": "Prime Video storefront market. Prices, availability, Top 10 charts and language metadata follow this market.",
            "default": "US"
          },
          "contentTypes": {
            "title": "Content types",
            "type": "array",
            "description": "Keep only these record types (empty = any). 'series' is a whole TV show; 'season' is a single season row. Episode rows follow their series/season and are not filtered separately.",
            "items": {
              "type": "string",
              "enum": [
                "movie",
                "series",
                "season",
                "collection"
              ]
            },
            "default": []
          },
          "availability": {
            "title": "Availability",
            "type": "array",
            "description": "Keep titles with at least one of these offers (empty = any). Read from Prime's own storefront messages and buy box.",
            "items": {
              "type": "string",
              "enum": [
                "includedWithPrime",
                "freeWithAds",
                "rent",
                "buy",
                "channelSubscription"
              ]
            },
            "default": []
          },
          "genre": {
            "title": "Genre",
            "enum": [
              "any",
              "action",
              "adventure",
              "animation",
              "anime",
              "biography",
              "comedy",
              "crime",
              "documentary",
              "drama",
              "family",
              "fantasy",
              "history",
              "holiday",
              "horror",
              "kids",
              "music",
              "mystery",
              "reality",
              "romance",
              "sci-fi",
              "sport",
              "suspense",
              "war",
              "western"
            ],
            "type": "string",
            "description": "Keep titles in this Prime Video genre. Matched against Prime's genre IDs and labels, so it works across localized storefronts.",
            "default": "any"
          },
          "yearFrom": {
            "title": "Release year (from)",
            "minimum": 1888,
            "maximum": 2100,
            "type": "integer",
            "description": "Drop titles released before this year."
          },
          "yearTo": {
            "title": "Release year (to)",
            "minimum": 1888,
            "maximum": 2100,
            "type": "integer",
            "description": "Drop titles released after this year."
          },
          "minImdbRating": {
            "title": "Minimum IMDb rating",
            "minimum": 0,
            "maximum": 10,
            "type": "number",
            "description": "Drop titles below this IMDb score. Titles without an IMDb score are dropped when this is set."
          },
          "maturityRatings": {
            "title": "Maturity ratings",
            "type": "array",
            "description": "Keep titles with any of these ratings (empty = any). US, UK, German FSK and Japanese equivalents are matched.",
            "items": {
              "type": "string",
              "enum": [
                "G",
                "PG",
                "PG-13",
                "R",
                "NC-17",
                "TV-Y",
                "TV-Y7",
                "TV-G",
                "TV-PG",
                "TV-14",
                "TV-MA",
                "7+",
                "12+",
                "15+",
                "16+",
                "18+",
                "all"
              ]
            },
            "default": []
          },
          "audioLanguage": {
            "title": "Audio language",
            "enum": [
              "any",
              "english",
              "spanish",
              "french",
              "german",
              "italian",
              "portuguese",
              "japanese",
              "hindi",
              "korean",
              "chinese",
              "arabic",
              "russian",
              "turkish",
              "polish",
              "dutch",
              "swedish",
              "danish",
              "norwegian",
              "finnish",
              "hebrew",
              "greek",
              "czech",
              "hungarian",
              "romanian",
              "ukrainian",
              "thai",
              "vietnamese",
              "indonesian",
              "malay",
              "filipino"
            ],
            "type": "string",
            "description": "Keep titles with this audio language (empty = any).",
            "default": "any"
          },
          "subtitleLanguage": {
            "title": "Subtitle language",
            "enum": [
              "any",
              "english",
              "spanish",
              "french",
              "german",
              "italian",
              "portuguese",
              "japanese",
              "hindi",
              "korean",
              "chinese",
              "arabic",
              "russian",
              "turkish",
              "polish",
              "dutch",
              "swedish",
              "danish",
              "norwegian",
              "finnish",
              "hebrew",
              "greek",
              "czech",
              "hungarian",
              "romanian",
              "ukrainian",
              "thai",
              "vietnamese",
              "indonesian",
              "malay",
              "filipino"
            ],
            "type": "string",
            "description": "Keep titles with this subtitle or closed-caption language (empty = any).",
            "default": "any"
          },
          "includeEpisodes": {
            "title": "Include episode rows",
            "type": "boolean",
            "description": "Emit one extra row per episode with episode number, title, synopsis, runtime and air date. Every season of a series is fetched.",
            "default": true
          },
          "maxEpisodesPerTitle": {
            "title": "Max episodes per title",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Safety cap on episode rows fetched for one series or season.",
            "default": 200
          },
          "expandCollections": {
            "title": "Expand collection carousels",
            "type": "boolean",
            "description": "Follow each carousel's 'See more' page (up to 50 titles per carousel) to go beyond the visible cards.",
            "default": true
          },
          "enrichDetails": {
            "title": "Enrich every title",
            "type": "boolean",
            "description": "Open each title page for prices, IMDb rating, cast, studios and episodes (modes search/collections). Turn off for a faster card-level catalog.",
            "default": true
          },
          "maxItems": {
            "title": "Max rows",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on pushed rows, including episode rows.",
            "default": 100
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}