{
  "openapi": "3.0.1",
  "info": {
    "title": "IMDb Trivia, Goofs, Quotes, Locations & Parents Guide",
    "description": "Extract IMDb's editorial layers for any movie, series or episode: trivia, goofs by category, quotes with characters, filming locations, parents guide items with severity votes, soundtrack, connections, crazy credits, alternate versions, taglines, keywords and FAQs. Search or pass IDs/URLs.",
    "version": "1.0",
    "x-build-id": "aGXXGNlFJuu0eLAli"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlyth-forge~imdb-title-extras-trivia-goofs-quotes/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlyth-forge-imdb-title-extras-trivia-goofs-quotes",
        "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~imdb-title-extras-trivia-goofs-quotes/runs": {
      "post": {
        "operationId": "runs-sync-crawlyth-forge-imdb-title-extras-trivia-goofs-quotes",
        "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~imdb-title-extras-trivia-goofs-quotes/run-sync": {
      "post": {
        "operationId": "run-sync-crawlyth-forge-imdb-title-extras-trivia-goofs-quotes",
        "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": "Mode",
            "enum": [
              "byIds",
              "search"
            ],
            "type": "string",
            "description": "Fetch titles by IMDb ID/URL, or find titles with an IMDb search query and expand each match.",
            "default": "byIds"
          },
          "titleIds": {
            "title": "IMDb title IDs or URLs",
            "type": "array",
            "description": "Title IDs such as tt0111161 or full IMDb title URLs. Used in byIds mode.",
            "items": {
              "type": "string"
            }
          },
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "Free-text title search used in search mode. Combine with the advanced filters below."
          },
          "sections": {
            "title": "Sections",
            "uniqueItems": true,
            "type": "array",
            "description": "Editorial sections to export. Each item becomes one dataset row. Leave empty to export all twelve sections.",
            "items": {
              "type": "string",
              "enum": [
                "trivia",
                "goofs",
                "quotes",
                "filmingLocations",
                "parentsGuide",
                "soundtrack",
                "connections",
                "crazyCredits",
                "alternateVersions",
                "taglines",
                "keywords",
                "faqs"
              ],
              "enumTitles": [
                "Trivia",
                "Goofs",
                "Quotes",
                "Filming locations",
                "Parents guide",
                "Soundtrack",
                "Movie connections",
                "Crazy credits",
                "Alternate versions",
                "Taglines",
                "Plot keywords",
                "FAQ"
              ]
            }
          },
          "goofCategories": {
            "title": "Goof categories",
            "uniqueItems": true,
            "type": "array",
            "description": "Only keep goofs in these categories. Leave empty for all categories.",
            "items": {
              "type": "string",
              "enum": [
                "anachronism",
                "audio_visual_unsynchronized",
                "boom_mic_visible",
                "character_error",
                "continuity",
                "crew_or_equipment_visible",
                "error_in_geography",
                "factual_error",
                "miscellaneous",
                "not_a_goof",
                "plot_hole",
                "revealing_mistake"
              ],
              "enumTitles": [
                "Anachronisms",
                "Audio/visual unsynchronised",
                "Boom mic visible",
                "Character error",
                "Continuity",
                "Crew or equipment visible",
                "Errors in geography",
                "Factual errors",
                "Miscellaneous",
                "Incorrectly regarded as goofs",
                "Plot holes",
                "Revealing mistakes"
              ]
            }
          },
          "connectionCategories": {
            "title": "Connection types",
            "uniqueItems": true,
            "type": "array",
            "description": "Only keep movie connections of these types. Leave empty for all types.",
            "items": {
              "type": "string",
              "enum": [
                "featured_in",
                "features",
                "referenced_in",
                "edited_into",
                "edited_from",
                "follows",
                "followed_by",
                "references",
                "spoofs",
                "spoofed_in",
                "spin_off",
                "version_of",
                "remake_of",
                "remade_as"
              ],
              "enumTitles": [
                "Featured in",
                "Features",
                "Referenced in",
                "Edited into",
                "Edited from",
                "Follows",
                "Followed by",
                "References",
                "Spoofs",
                "Spoofed in",
                "Spin-off",
                "Version of",
                "Remake of",
                "Remade as"
              ]
            }
          },
          "parentsGuideCategories": {
            "title": "Parents guide categories",
            "uniqueItems": true,
            "type": "array",
            "description": "Only keep parents guide items in these categories. Leave empty for all five.",
            "items": {
              "type": "string",
              "enum": [
                "NUDITY",
                "VIOLENCE",
                "PROFANITY",
                "ALCOHOL",
                "FRIGHTENING"
              ],
              "enumTitles": [
                "Sex & nudity",
                "Violence & gore",
                "Profanity",
                "Alcohol, drugs & smoking",
                "Frightening & intense scenes"
              ]
            }
          },
          "excludeSpoilers": {
            "title": "Exclude spoilers",
            "type": "boolean",
            "description": "Drop items flagged as spoilers by IMDb.",
            "default": false
          },
          "minInterestScore": {
            "title": "Minimum interest votes",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Drop items with fewer 'interested' votes than this. Items without a vote count are kept."
          },
          "maxItemsPerSection": {
            "title": "Max items per section",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum number of items to fetch from each section of each title.",
            "default": 50
          },
          "maxItems": {
            "title": "Max dataset items",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Stop after this many dataset rows across all titles and sections.",
            "default": 1000
          },
          "maxTitles": {
            "title": "Max titles from search",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "In search mode, expand at most this many matched titles.",
            "default": 5
          },
          "titleType": {
            "title": "Title type",
            "enum": [
              "any",
              "movie",
              "tvSeries",
              "tvMiniSeries",
              "tvEpisode",
              "tvMovie",
              "tvSpecial",
              "short",
              "video",
              "videoGame",
              "podcastSeries",
              "podcastEpisode"
            ],
            "type": "string",
            "description": "Search filter: only titles of this type.",
            "default": "any"
          },
          "genres": {
            "title": "Genres",
            "uniqueItems": true,
            "type": "array",
            "description": "Search filter: titles must have all selected genres.",
            "items": {
              "type": "string",
              "enum": [
                "action",
                "adventure",
                "animation",
                "biography",
                "comedy",
                "crime",
                "documentary",
                "drama",
                "family",
                "fantasy",
                "film-noir",
                "game-show",
                "history",
                "horror",
                "music",
                "musical",
                "mystery",
                "news",
                "reality-tv",
                "romance",
                "sci-fi",
                "short",
                "sport",
                "talk-show",
                "thriller",
                "war",
                "western"
              ],
              "enumTitles": [
                "Action",
                "Adventure",
                "Animation",
                "Biography",
                "Comedy",
                "Crime",
                "Documentary",
                "Drama",
                "Family",
                "Fantasy",
                "Film-Noir",
                "Game-Show",
                "History",
                "Horror",
                "Music",
                "Musical",
                "Mystery",
                "News",
                "Reality-TV",
                "Romance",
                "Sci-Fi",
                "Short",
                "Sport",
                "Talk-Show",
                "Thriller",
                "War",
                "Western"
              ]
            }
          },
          "yearFrom": {
            "title": "Release year from",
            "minimum": 1874,
            "maximum": 2100,
            "type": "integer",
            "description": "Search filter: earliest release year."
          },
          "yearTo": {
            "title": "Release year to",
            "minimum": 1874,
            "maximum": 2100,
            "type": "integer",
            "description": "Search filter: latest release year."
          },
          "minRating": {
            "title": "Minimum IMDb rating",
            "minimum": 1,
            "maximum": 10,
            "type": "number",
            "description": "Search filter: minimum aggregate user rating."
          },
          "minVotes": {
            "title": "Minimum rating votes",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Search filter: minimum number of user rating votes."
          },
          "sortBy": {
            "title": "Search sort",
            "enum": [
              "POPULARITY",
              "USER_RATING",
              "USER_RATING_COUNT",
              "RELEASE_DATE",
              "RUNTIME"
            ],
            "type": "string",
            "description": "Sort order for search results.",
            "default": "POPULARITY"
          },
          "sortOrder": {
            "title": "Search sort direction",
            "enum": [
              "DESC",
              "ASC"
            ],
            "type": "string",
            "description": "Direction of the search sort order.",
            "default": "DESC"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}