Public domain movies list: filter and search free films

GET /3/free/movie lists films you may show in full, with the filters of TMDB discover plus country, license type, commercial use and whole copies. GET /3/free/search/movie finds them by name and GET /3/free/stats counts them. Every card carries its short license. Pro+ and Pro+ Streaming plans.

Updated View as Markdown

How do I list films I may show in full?

Call GET /3/free/movie (or GET /3/free/tv). It returns the films the license block marks free, in the TMDB list shape: page, results, total_pages, total_results, 20 cards a page. Each card adds a short license object with status, confidence, worldwide, countries, commercial_use, license and has_copy.

The list takes the TMDB discover filters and filters of its own, so a comedy page of US public domain films is one call. It comes with the Pro+ and Pro+ Streaming plans on amodb pricing.

bashjspy
curl -sf "https://api.amodb.dev/3/free/movie?country=US&with_genres=35&sort_by=vote_average.desc" \
  -H "Authorization: Bearer $AMODB_KEY"
const url = new URL('https://api.amodb.dev/3/free/movie');
url.search = new URLSearchParams({ country: 'US', with_genres: '35', commercial_use: 'true' });
const res = await fetch(url, { headers: { Authorization: `Bearer ${process.env.AMODB_KEY}` } });
if (!res.ok) throw new Error(`amodb returned ${res.status}`);
const { results, total_results } = await res.json();
console.log(total_results, 'free comedies');
for (const film of results) console.log(film.title, film.release_date, film.license.status);
import os
import requests

r = requests.get(
    "https://api.amodb.dev/3/free/movie",
    params={"license_type": "open_license", "sort_by": "primary_release_date.desc"},
    headers={"Authorization": f"Bearer {os.environ['AMODB_KEY']}"},
    timeout=10,
)
r.raise_for_status()
for film in r.json()["results"]:
    print(film["title"], film["license"]["license"]["spdx_id"])

Parameters

ParameterDescription
license_typepublic_domain or open_license. Default: both.
countryTwo letter code (alias region): films free in that country or worldwide.
worldwidetrue: free in every country only.
commercial_usetrue: may be shown on a commercial site.
modificationstrue: may be edited (no ND license).
without_attributiontrue: no credit required.
with_copytrue: a whole copy is listed (Wikimedia Commons or the Internet Archive).
confidencehigh, or medium for medium and up.
with_genres, without_genresTMDB genre ids. Comma: all of them. Pipe: any of them.
primary_release_yearYear, or first_air_date_year for TV. year works for both.
primary_release_date.gte, .lteDates as 1925-01-01. TV: first_air_date.gte, .lte.
with_original_languageTwo letter code such as de.
vote_count.gte, vote_average.gte, vote_average.lteRating filters.
with_runtime.gte, with_runtime.lteMinutes.
sort_bypopularity, vote_average, vote_count, primary_release_date (TV first_air_date), each .asc or .desc. Default popularity.desc.
language, pageAs everywhere: 14 languages, pages 1 to 500.

A malformed filter answers HTTP 400 with status_code 22.

Example response

JSON
{
  "page": 1,
  "results": [
    {
      "adult": false,
      "backdrop_path": "/mzox4HbcV9W42MH2dB1QsdDVGo3.jpg",
      "genre_ids": [35, 10749, 10752],
      "id": 961,
      "original_language": "en",
      "overview": "During the American Civil War, Union spies steal the locomotive of engineer Johnnie Gray, and he sets out to get it back.",
      "popularity": 3.308,
      "poster_path": "/o2vYEjxjqfT8ta5xcrtPJ3uFLlk.jpg",
      "vote_average": 7.9,
      "vote_count": 1496,
      "media_type": "movie",
      "title": "The General",
      "original_title": "The General",
      "release_date": "1926-12-25",
      "video": false,
      "license": {
        "status": "public_domain",
        "confidence": "high",
        "worldwide": false,
        "countries": ["US"],
        "commercial_use": true,
        "license": null,
        "has_copy": true
      }
    }
  ],
  "total_pages": 1,
  "total_results": 1
}

How do I search free films by name?

GET /3/free/search/movie?query=nosferatu looks in the original title, the English title and the title in the request language, and takes every filter above. With no query it returns an empty page, like TMDB search.

How many free films are there?

GET /3/free/stats returns { movie: { public_domain, open_license, worldwide, total }, tv: { ... } }. It is kept one hour at the edge.

Errors

HTTPstatus_codeWhen
40022A filter is malformed, such as country=USA or an unknown sort_by.
4017The key is missing or wrong.
4033Your plan is not Pro+ or Pro+ Streaming.
42925Over your requests per minute.

Practical notes

  • Lists are kept 30 minutes at the edge and search 10 minutes. One call can serve every visitor of a page.
  • Open the license block of a film before you show it, for the full proof and the notes.
  • To play a free film, the streams endpoint lists checked links on the Pro+ Streaming plan.
  • The same lists are blocks in the WordPress plugin.