{
  "openapi": "3.0.1",
  "info": {
    "title": "🚀 Rotten Tomatoes Scraper · 5,000 Free Titles/Month",
    "description": "Rotten Tomatoes Scraper gets you movies & TV shows ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — search, browse & box office lists with Tomatometer, Popcornmeter, cast & posters, full pages on demand. 💰 $1 per 1,000 titles, no start fee. Scrape your first 5,000 titles free every month 🚀",
    "version": "0.0",
    "x-build-id": "JEO90hbg7UvePOEtN"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/omkar-cloud~rotten-tomatoes-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-omkar-cloud-rotten-tomatoes-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/omkar-cloud~rotten-tomatoes-scraper/runs": {
      "post": {
        "operationId": "runs-sync-omkar-cloud-rotten-tomatoes-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/omkar-cloud~rotten-tomatoes-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-omkar-cloud-rotten-tomatoes-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": {
          "queries": {
            "title": "Search Queries",
            "type": "array",
            "description": "Search phrases exactly as you would type them into the site's search box (`avengers`, `stranger things`), or pasted rottentomatoes.com URLs: a movie, TV show, season or episode page is scraped in full, a browse grid (`/browse/movies_in_theaters/…`) is paged like the Browse lists below, an editorial guide (`editorial.rottentomatoes.com/guide/best-new-movies/`) gives its ranked titles. Rows carry a `search_query` field so you can tell searches apart.",
            "items": {
              "type": "string"
            }
          },
          "searchType": {
            "title": "Search Type",
            "enum": [
              "all",
              "movie",
              "tv"
            ],
            "type": "string",
            "description": "Restrict searches to movies or TV shows.",
            "default": "all"
          },
          "yearFrom": {
            "title": "Year From",
            "minimum": 1870,
            "maximum": 2100,
            "type": "integer",
            "description": "Only titles released in or after this year (searches only)."
          },
          "yearTo": {
            "title": "Year To",
            "minimum": 1870,
            "maximum": 2100,
            "type": "integer",
            "description": "Only titles released in or before this year (searches only)."
          },
          "browse": {
            "title": "Browse Lists",
            "uniqueItems": true,
            "type": "array",
            "description": "Which grids to scrape. Each is paged separately; rows carry `browse_list`, `browse_title` and `browse_link`. Top Box Office rows also carry `rank`.",
            "items": {
              "type": "string",
              "enum": [
                "in_theaters",
                "at_home",
                "coming_soon",
                "tv",
                "box_office"
              ],
              "enumTitles": [
                "Movies in theaters",
                "Movies streaming at home",
                "Movies coming soon",
                "TV series",
                "Top Box Office ranking"
              ]
            }
          },
          "genres": {
            "title": "Genres",
            "uniqueItems": true,
            "type": "array",
            "description": "Only titles in these genres (browse lists only).",
            "items": {
              "type": "string",
              "enum": [
                "action",
                "adventure",
                "animation",
                "anime",
                "biography",
                "comedy",
                "crime",
                "documentary",
                "drama",
                "entertainment",
                "faith_and_spirituality",
                "fantasy",
                "game_show",
                "health_and_wellness",
                "history",
                "holiday",
                "horror",
                "house_and_garden",
                "kids_and_family",
                "lgbtq",
                "music",
                "musical",
                "mystery_and_thriller",
                "nature",
                "news",
                "reality",
                "romance",
                "sci_fi",
                "short",
                "soap",
                "special_interest",
                "sports",
                "stand_up",
                "talk_show",
                "travel",
                "variety",
                "war",
                "western"
              ],
              "enumTitles": [
                "Action",
                "Adventure",
                "Animation",
                "Anime",
                "Biography",
                "Comedy",
                "Crime",
                "Documentary",
                "Drama",
                "Entertainment",
                "Faith & Spirituality",
                "Fantasy",
                "Game Show",
                "Health & Wellness",
                "History",
                "Holiday",
                "Horror",
                "House & Garden",
                "Kids & Family",
                "LGBTQ+",
                "Music",
                "Musical",
                "Mystery & Thriller",
                "Nature",
                "News",
                "Reality",
                "Romance",
                "Sci-Fi",
                "Short",
                "Soap",
                "Special Interest",
                "Sports",
                "Stand-Up",
                "Talk Show",
                "Travel",
                "Variety",
                "War",
                "Western"
              ]
            }
          },
          "critics": {
            "title": "Tomatometer",
            "enum": [
              "",
              "certified_fresh",
              "fresh",
              "rotten"
            ],
            "type": "string",
            "description": "Only titles with this critics rating (browse lists only).",
            "default": ""
          },
          "audience": {
            "title": "Popcornmeter",
            "enum": [
              "",
              "verified_hot",
              "upright",
              "spilled"
            ],
            "type": "string",
            "description": "Only titles with this audience rating (browse lists only).",
            "default": ""
          },
          "affiliates": {
            "title": "Streaming Services",
            "uniqueItems": true,
            "type": "array",
            "description": "Only titles available on these services (browse lists only).",
            "items": {
              "type": "string",
              "enum": [
                "netflix",
                "prime-video",
                "apple-tv-plus",
                "max",
                "hulu",
                "disney-plus",
                "paramount-plus",
                "peacock",
                "amc-plus",
                "acorn-tv",
                "fandango",
                "fandango-at-home",
                "apple-tv"
              ],
              "enumTitles": [
                "Netflix",
                "Prime Video",
                "Apple TV+",
                "Max",
                "Hulu",
                "Disney+",
                "Paramount+",
                "Peacock",
                "AMC+",
                "Acorn TV",
                "Fandango",
                "Fandango at Home",
                "Apple TV"
              ]
            }
          },
          "sort": {
            "title": "Sort By",
            "enum": [
              "popular",
              "newest",
              "a_z",
              "critic_highest",
              "critic_lowest",
              "audience_highest",
              "audience_lowest",
              "top_box_office"
            ],
            "type": "string",
            "description": "Order of the browse grids. Top Box Office order applies to the in-theaters list only.",
            "default": "popular"
          },
          "maxResultsPerQuery": {
            "title": "Max Results per Query",
            "minimum": 1,
            "maximum": 6000,
            "type": "integer",
            "description": "Maximum number of titles to scrape per search query, browse list, editorial guide or homepage carousel. Use this to control your cost (1,000 titles ≈ $1). Searches serve at most 1,000 titles (50 pages of 20); browse grids go thousands deep. Ignored for pasted title URLs.",
            "default": 30
          },
          "scrapeDetails": {
            "title": "Scrape Full Title Pages",
            "type": "boolean",
            "description": "When enabled, every movie and TV show found is also scraped in full — the complete `scores` breakdown (all critics, top critics, all audience, verified audience with average rating and review counts), Critics Consensus, content-rating reasons, synopsis, credits, production details with box office, theatrical and streaming release dates, poster and backdrop, primary trailer, top cast with roles, where to watch, the 6 latest critic and audience reviews, video and photo carousels, similar titles — and for TV shows every season with its score. Still one dataset row per title, billed once at the detailed-title rate instead of the standard rate (1,000 detailed titles ≈ $2 vs $1 standard). Pasted title URLs are always scraped in full.",
            "default": false
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "titles",
              "people",
              "autocomplete",
              "articles",
              "homepage"
            ],
            "type": "string",
            "description": "Titles (default) scrapes title cards for the queries, browse lists and URLs above. People searches actors, directors and other film people by name — one row per person with slug, headshot and filmography size. Autocomplete returns, for every query, what the site's search box shows while typing — top titles with scores, top people and query completions, one row each. Articles returns Rotten Tomatoes editorial news matching each query (or the newest news with no query) — one row per article. Homepage scrapes every carousel of the rottentomatoes.com front page (Movies in Theaters, Coming Soon, New to Rent, Latest Certified Fresh, RT Recommends…) — one row per title with its `home_section`, no queries needed.",
            "default": "titles"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}