Film or motion picture with director, cast information, genre, release year, duration, ratings, financial data, and poster. Used for movie databases, streaming platforms, and cinema management systems.
https://api.mockly.codes/movies?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/moviesGet a collection of movies
/media/movies/movies/:idGet a single movie by ID
/media/movies/:id/movies/metaGet resource metadata and schema
/media/movies/metaThe search feature allows you to filter results by searching for text across all or specific fields. Choose between ?q= or ?search= parameter names.
Search across all text fields:
GET https://api.mockly.codes/movies?q=laptopGET https://api.mockly.codes/movies?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searched// Get 10 movies
fetch('https://api.mockly.codes/movies?count=10')
.then(res => res.json())
.then(data => console.log(data));import requests
response = requests.get(
'https://api.mockly.codes/movies?count=10'
)
data = response.json()curl "https://api.mockly.codes/movies?count=10"fetch('https://api.mockly.codes/movies?nocache=true')idintegerUnique identifier for the movie
random_inttitlestringTitle of the movie
movie_titledescriptionstringPlot summary or synopsis of the movie
paragraphdirectorstringFull name of the movie director
namegenrestringMovie genre (e.g., Action, Drama, Comedy, Horror, Sci-Fi, Thriller)
movie_genreyearintegerYear when the movie was released
movie_yeardurationintegerMovie runtime in minutes
movie_durationratingnumberAverage rating from critics or audiences, typically on a scale of 1-10
ratinglanguagestringPrimary language code of the movie (e.g., en, es, fr)
languagecountrystringCountry of origin or primary production country
countrybudgetnumberProduction budget in USD
movie_budgetrevenuenumberTotal box office revenue or gross earnings in USD
movie_revenueposterstringURL to the movie poster image
image_urlurireleased_atstringOfficial release date of the movie
past_datedatecountintegerNumber of items to return (default: 10, max: 100)
seedintegerSeed for reproducible data generation
nocachebooleanBypass cache and generate fresh data on every request