{
  "openapi": "3.0.1",
  "info": {
    "title": "IMDb Scraper — Ratings, Cast, Box Office, Awards & Top 250",
    "description": "Extract structured IMDb movie and TV data by title ID or URL — ratings, Metacritic, certificate, runtime, genres, full billed cast, box-office grosses and budget, awards and Oscar wins, plot and user reviews. Pull the Top 250 Movies and Top 250 TV charts. Export clean JSON or CSV, no login.",
    "version": "1.0",
    "x-build-id": "y2FsYFOylVEbV1Wea"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sian.agency~imdb-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sian.agency-imdb-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/sian.agency~imdb-scraper/runs": {
      "post": {
        "operationId": "runs-sync-sian.agency-imdb-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/sian.agency~imdb-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-sian.agency-imdb-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": {
          "operation": {
            "title": "🎬 Operation",
            "enum": [
              "titleProfile",
              "chartRankings",
              "titleReviews"
            ],
            "type": "string",
            "description": "🎯 **Pick one operation per run.**\n\n- **🎞️ Title Profile** — one enriched dossier per title: ratings, Metacritic, certificate, runtime, genres, plot, billed cast, box office and awards. Needs a title ID or IMDb URL.\n- **🏆 Chart Rankings** — the Top 250 Movies or Top 250 TV chart (250 ranked titles). No ID needed.\n- **📝 Title Reviews** — featured user reviews for a title (full text, rating, helpful votes). Needs a title ID or IMDb URL.",
            "default": "titleProfile"
          },
          "titleId": {
            "title": "🎬 Title ID or URL",
            "type": "string",
            "description": "🎬 **SINGLE TITLE:** For **Title Profile** and **Title Reviews**. Enter one title ID or a full title URL.\n\n🔎 **Accepted formats:**\n- `tt0111161`\n- `https://www.imdb.com/title/tt0111161/`\n\n💡 **TIP:** To process many titles at once, use the **Bulk Title IDs** field below.\n\n✅ Movies, TV series, episodes, and shorts are all supported.",
            "default": "tt0111161"
          },
          "titleIds": {
            "title": "🚀 Bulk Title IDs or URLs (Multiple Titles)",
            "uniqueItems": true,
            "type": "array",
            "description": "🚀 **BULK MODE:** For **Title Profile** and **Title Reviews**. Provide many title IDs or URLs — one row is produced per title (Title Profile) or per review (Title Reviews).\n\n🎟️ **TIER-BASED LIMITS:**\n- **FREE users:** up to 5 titles per run\n- **PAID users:** unlimited\n\n📋 **BULK EDIT:** Click \"Bulk edit\" to paste IDs/URLs (one per line), upload a .txt file, or use + Add.\n\n📌 If both single and bulk are provided, they are merged and de-duplicated.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "chart": {
            "title": "🏆 Chart",
            "enum": [
              "TOP_250",
              "TOP_250_TV"
            ],
            "type": "string",
            "description": "🏆 **CHART RANKINGS ONLY:** Which chart to export.\n\n- **Top 250 Movies** — the 250 highest-rated feature films.\n- **Top 250 TV** — the 250 highest-rated TV shows.",
            "default": "TOP_250"
          },
          "includeCast": {
            "title": "🎭 Include cast",
            "type": "boolean",
            "description": "🎭 Add the billed principal cast (actors + the characters they play) and the top cast list to each Title Profile row.",
            "default": true
          },
          "includeBoxOffice": {
            "title": "💰 Include box office",
            "type": "boolean",
            "description": "💰 Add budget, opening-weekend gross, domestic gross and worldwide gross to each Title Profile row.",
            "default": true
          },
          "includeAwards": {
            "title": "🏅 Include awards",
            "type": "boolean",
            "description": "🏅 Add total wins and nominations plus prestigious-award (e.g. Oscar) wins and nominations to each Title Profile row.",
            "default": true
          },
          "includeDetails": {
            "title": "🌍 Include extra details",
            "type": "boolean",
            "description": "🌍 Add countries of origin, spoken languages, official links, and alternate-title / filming-location counts to each Title Profile row. Off by default (one extra lookup per title).",
            "default": false
          },
          "languageCountry": {
            "title": "🌐 Language / Country",
            "enum": [
              "en_US",
              "en_CA",
              "fr_FR",
              "fr_CA",
              "de_DE",
              "hi_IN",
              "it_IT",
              "pt_BR",
              "es_ES",
              "es_US",
              "es_MX"
            ],
            "type": "string",
            "description": "🌐 Localizes titles, plot and certificates. Defaults to English (US).",
            "default": "en_US"
          },
          "maxResults": {
            "title": "🔢 Max results (optional)",
            "minimum": 1,
            "type": "integer",
            "description": "🔢 Optional cap on the number of rows returned in a run (across all titles / chart positions). Leave empty for no cap. FREE runs are always capped at 5 rows regardless of this value."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}