Opening Movies

Retrieves current opening movies

URL

http://api.rottentomatoes.com/api/public/v1.0/lists/movies/opening.json?apikey=[your_api_key]

Parameters

ParameterRequiredDefaultDescription
limit false 16 Limits the number of opening movies returned
country false us Provides localized data for the selected country (ISO 3166-1 alpha-2) if available. Otherwise, returns US data.

Example Call and Response

http://api.rottentomatoes.com/api/public/v1.0/lists/movies/opening.json?apikey=[your_api_key]&limit=1

{
  "movies": [{
    "id": "770739679",
    "title": "Captain America: The First Avenger",
    "year": 2011,
    "mpaa_rating": "PG-13",
    "runtime": 121,
    "critics_consensus": "With plenty of pulpy action, a pleasantly retro vibe, and a handful of fine performances, Captain America is solidly old-fashioned blockbuster entertainment.",
    "release_dates": {"theater": "2011-07-22"},
    "ratings": {
      "critics_rating": "Fresh",
      "critics_score": 71,
      "audience_score": 96
    },
    "synopsis": "Captain America: The First Avenger will focus on the early days of the Marvel Universe when Steve Rogers (Chris Evans) volunteers to participate in an experimental program that turns him into the Super Soldier known as Captain America. As Captain America, Rogers joins forces with Bucky Barnes (Sebastian Stan) and Peggy Carter (Hayley Atwell) to wage war on the evil HYDRA organization, led by the villainous Red Skull (Hugo Weaving.) -- (C) Paramount",
    "posters": {
      "thumbnail": "http://content9.flixster.com/movie/11/15/83/11158339_mob.jpg",
      "profile": "http://content9.flixster.com/movie/11/15/83/11158339_pro.jpg",
      "detailed": "http://content9.flixster.com/movie/11/15/83/11158339_det.jpg",
      "original": "http://content9.flixster.com/movie/11/15/83/11158339_ori.jpg"
    },
    "abridged_cast": [
      {
        "name": "Chris Evans",
        "characters": [
          "Captain America/Steve Rogers",
          "Steve Rogers / Captain America",
          "Steve Rogers/Captain America"
        ]
      },
      {
        "name": "Hayley Atwell",
        "characters": ["Peggy Carter"]
      },
      {
        "name": "Sebastian Stan",
        "characters": [
          "Bucky Barnes",
          "James Buchanan \"Bucky\" Barnes"
        ]
      },
      {
        "name": "Tommy Lee Jones",
        "characters": ["Colonel Chester Phillips"]
      },
      {
        "name": "Hugo Weaving",
        "characters": [
          "Johann Schmidt/Red Skull",
          "Johann Schmidt/The Red Skull",
          "Red Skull"
        ]
      }
    ],
    "alternate_ids": {"imdb": "0458339"},
    "links": {
      "self": "http://api.rottentomatoes.com/api/public/v1.0/movies/770739679.json",
      "alternate": "http://www.rottentomatoes.com/m/captain-america/",
      "cast": "http://api.rottentomatoes.com/api/public/v1.0/movies/770739679/cast.json",
      "clips": "http://api.rottentomatoes.com/api/public/v1.0/movies/770739679/clips.json",
      "reviews": "http://api.rottentomatoes.com/api/public/v1.0/movies/770739679/reviews.json",
      "similar": "http://api.rottentomatoes.com/api/public/v1.0/movies/770739679/similar.json"
    }
  }],
  "links": {
    "self": "http://api.rottentomatoes.com/api/public/v1.0/lists/movies/opening.json?limit=1&country=us",
    "alternate": "http://www.rottentomatoes.com/movie/opening.php"
  },
  "link_template": "http://api.rottentomatoes.com/api/public/v1.0/lists/movies/opening.json?limit={num_results}&country={country-code}"
}

8 Comments

  1. DannyBens2 years ago

    What is the maximum allowed limit? Is it 20?

  2. Steve N.2 years ago

    Hi DannyBens, you'll get an error if you specify a limit after 50, but often times there are only about 20 opening moves at a time.

  3. DannyBens2 years ago

    Understood. Thanks.

  4. Omertron2 years ago

    The API seems to return one less movie than is specified

  5. Steve N.2 years ago

    Do you have a sample call where this is occurring? For this week, there might be one less opening movie than the default 16. Try with a limit less than 16, say 2 or 3 and it should return that amount.

  6. Omertron2 years ago

    Sorry, didn't get a reply notification for this....

    No, I don't have an example, and I don't use this in my code per-se, I just noticed it when I was programming the API

  7. warren2 years ago

    what is the difference between "opening" and "upcoming" movies? Does "opening" only list movies being release on the present week, whereas "upcoming" includes all "opening" movies + future releases?

  8. Dhruvenkumar Shah1 year ago

    can it contain more than 16 if yes, what is the structure??? I mean the thing I tried now, it is exception among other, I mean others have parameter like page_limit and page whereas opening movie does not contain that thing also if I put limit less than 16 it does not show any kind of pagination logic. Thanks in advance.

Please sign in to post a comment.