TestingAPIs is still being built. If something breaks, email support@testingapis.com.

List movies released in a given year

GEThttps://api.testingapis.com/api/Movies/year/{year}Sign in to see this endpoint's URL

Parameters 1

NameTypeDescription
yearrequiredpath · integer (int32)Release year, e.g. 1994.

Responses

200
Matching movies (an empty array if none).

Example

Request
curl -X GET "https://api.testingapis.com/api/Movies/year/1994" \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response200 OK
[
  {
    "id": 1,
    "title": "The Shawshank Redemption",
    "director": "Frank Darabont",
    "year": 1994,
    "genres": ["Drama"],
    "runtimeMinutes": 142,
    "rating": 9.3,
    "cast": ["Tim Robbins", "Morgan Freeman"],
    "boxOffice": 58300000,
    "poster": "https://picsum.photos/seed/movie1/300/450"
  },
  {
… (13 more lines)

Sign in to see the details

The parameters, request and response examples and the live Try it panel for this endpoint are for signed-in members. Accounts are free and take a few seconds to create.