APIs / Rotten Tomatoes / Search

Rotten Tomatoes: Search

Search from Rotten Tomatoes as JSON. 1 credit per successful call.

GET /v1/rotten-tomatoes/search

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
querystringRequiredUp to 200 characters
typestringRequiredmovie, tv
pageintegerOptionalAny

Example request

Rotten Tomatoes
GET/v1/rotten-tomatoes/search?query=dune&type=movie
{
  "success": true,
  "data": {
    "items": [
      {
        "id": "cecd223d-a20d-3268-bbef-9a4c847c673d",
        "slug": "dune_part_two",
        "mediaUrl": "/m/dune_part_two",
        "name": "Dune: Part Two",
        "year": 2024,
        "type": "movie",
        "image": "https://resizing.flixster.com/PgHhmCKS3hR6GUsVNlC-vZ9d90I=/ems.cHJkLWVtcy1hc3NldHMvbW92aWVzLzZhOTA0OTIzLTEwNDctNDhkNS1iNTc3LTY3MjBmNDc5OGU1Mi5qcGc=",
        "criticScore": 92,
        "userScore": 95
      },
      {
        "id": "64bfaac0-37ae-3b90-be7d-4fa970abba62",
        "slug": "dune_part_three",
        "mediaUrl": "/m/dune_part_three",
        "name": "Dune: Part Three",
        "year": 2026,
        "type": "movie",
        "image": "https://resizing.flixster.com/1vJ6_8RUfeMkkpCP3PjRiXXUhWg=/ems.cHJkLWVtcy1hc3NldHMvbW92aWVzLzg4MWE3MjViLTkyMzYtNDg4MS1iOTI1LTAyM2VkYzA4YWFhNS5qcGc="
      },
      {
        "id": "f7c22bab-5d5e-3b2e-a8a6-bd138df977ee",
        "slug": "dune_2021",
        "mediaUrl": "/m/dune_2021",
        "name": "Dune",
        "year": 2021,
        "type": "movie",
        "image": "https://resizing.flixster.com/gcRn4_emLo1Iz5ndbvUOKDYq35c=/ems.cHJkLWVtcy1hc3NldHMvbW92aWVzLzdhYTI2NDJkLTU5YTYtNDNkOS05ZWQxLWZiNjFlOTZmYjZlZS5qcGc=",
        "criticScore": 83,
        "userScore": 90
      }
    ],
    "count": 24,
    "total": 24
  },
  "meta": {
    "pagination": "page",
    "filters": {
      "query": "dune",
      "type": "movie",
      "page": 1
    },
    "page_info": {
      "page": 1,
      "nb_pages": 34,
      "has_next": true
    },
    "id_source": "public search index",
    "note": "The requested type is enforced before the count is reported. A null score means the public index carried no score for that item.",
    "endpoint_family": "search",
    "upstream_requests": 1,
    "duration_ms": 564,
    "request_id": "req_e3f8e33fce3e4bb9aba802d57217d235",
    "credits_charged": 1,
    "credits_remaining": 4816
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

Each item in data.items has these 9 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
idstring
slugstring
mediaUrlstring
namestring
yearinteger
typestring
imageurl
criticScorenumber
userScorenumber