# Free movie streaming API: links to play public domain films

> GET /3/movie/{movie_id}/streams returns links to play a film the license block marks free: Wikimedia Commons and Internet Archive copies, and links from other sites that need no account, in the film's original language, each started before it is listed. It needs the Pro+ Streaming plan.

## Endpoint

`GET /3/movie/{movie_id}/streams`

```bash
curl "https://api.amodb.dev/3/movie/961/streams" \
  -H "Authorization: Bearer $AMODB_KEY"
```

## How do I get links to play a free film?

Call `GET /3/movie/{movie_id}/streams`. For a film the [license block](https://amodb.dev/license/) marks free, the answer lists links you can hand to a player: `url`, `type` (`hls`, `mp4`, `webm`, `ogg`), `quality`, the request `headers` the link needs, and a `source_id`. A film that is not free answers an empty `streams` list. The endpoint comes with the Pro+ Streaming plan on [amodb pricing](https://amodb.dev/pricing/), at $19.99 a month.

Links come in this order:

1. **Wikimedia Commons** copies, with the file's own license (`verified: true`).
2. **Internet Archive** copies (`verified: false`: the license there is the uploader's word, while the film's status comes from the license block).
3. **Other sites** that need no account, device, token or cookie, only in the film's original language, with no dub, voice-over or burned in subtitles. Each link is started the way a player starts it before it is listed (`verified: "start_checked"`).

```bash
curl -sf "https://api.amodb.dev/3/movie/961/streams" \
  -H "Authorization: Bearer $AMODB_KEY"
```

```js
const res = await fetch('https://api.amodb.dev/3/movie/961/streams', {
  headers: { Authorization: `Bearer ${process.env.AMODB_KEY}` },
});
if (!res.ok) throw new Error(`amodb returned ${res.status}`);
const { streams, pending } = await res.json();
if (pending) console.log('links are being checked, ask again in a minute');
// A browser <video> cannot send headers: pick a plain file without them.
const file = streams.find((s) => ['mp4', 'webm'].includes(s.type) && Object.keys(s.headers).length === 0);
if (file) document.querySelector('video').src = file.url;
```

```python
import os
import requests

r = requests.get(
    "https://api.amodb.dev/3/movie/961/streams",
    headers={"Authorization": f"Bearer {os.environ['AMODB_KEY']}"},
    timeout=40,
)
r.raise_for_status()
for s in r.json()["streams"]:
    print(s["source_type"], s["type"], s["quality"], s["url"])
```

### Response fields

| Field                      | Type              | Notes                                                                                                    |
| -------------------------- | ----------------- | -------------------------------------------------------------------------------------------------------- |
| `id`                       | integer           | Movie id.                                                                                                |
| `license`                  | object            | `status`, `free`, `worldwide`, `countries`, `commercial_use`, `license`, `notes` from the license block. |
| `streams`                  | array             | Links, Commons and Internet Archive first. Empty when the film is not free.                              |
| `streams[].source_id`      | string            | 16 hex characters. Names the source in a stream report; never the site's name.                           |
| `streams[].source_type`    | string            | `wikimedia_commons`, `internet_archive` or `provider`.                                                   |
| `streams[].url`            | string            | HTTPS link to the playlist or file.                                                                      |
| `streams[].page_url`       | string or null    | The file's page on Commons or the Internet Archive.                                                      |
| `streams[].type`           | string            | `hls`, `mp4`, `webm` or `ogg`.                                                                           |
| `streams[].headers`        | object            | Request headers to send with every request of the stream. Never a cookie.                                |
| `streams[].quality`        | string or null    | Height such as `1080p`.                                                                                  |
| `streams[].audio_language` | string or null    | The film's original language for other sites.                                                            |
| `streams[].license`        | string or null    | The Commons file's own license.                                                                          |
| `streams[].verified`       | boolean or string | `true` (Commons), `false` (Internet Archive), `"start_checked"` (other sites).                           |
| `total`                    | integer           | Number of streams.                                                                                       |
| `checked_at`               | string or null    | When the links were checked.                                                                             |
| `stale`                    | boolean           | The answer is older than 20 minutes; a new check runs in the background.                                 |
| `pending`                  | boolean           | The check has not run yet. Ask again in a minute.                                                        |

### Example response

```json
{
  "id": 961,
  "license": {
    "status": "public_domain",
    "free": true,
    "worldwide": false,
    "countries": ["US"],
    "commercial_use": true,
    "license": null,
    "notes": ["later_additions_not_covered", "not_legal_advice"]
  },
  "streams": [
    {
      "source_id": "8df6d4bc3e69dfe5",
      "source_type": "wikimedia_commons",
      "url": "https://upload.wikimedia.org/wikipedia/commons/a/ab/The_General_1926_720p.webm",
      "page_url": "https://commons.wikimedia.org/wiki/File:The_General_1926_720p.webm",
      "type": "webm",
      "headers": {},
      "quality": "720p",
      "audio_language": null,
      "license": "Public domain",
      "verified": true
    },
    {
      "source_id": "a18c3ce2b5d41c2f",
      "source_type": "internet_archive",
      "url": "https://archive.org/download/TheGeneral_201312/The-General-v2.mp4",
      "page_url": "https://archive.org/details/TheGeneral_201312",
      "type": "mp4",
      "headers": {},
      "quality": "480p",
      "audio_language": null,
      "license": null,
      "verified": false
    },
    {
      "source_id": "46e480b976b249ea",
      "source_type": "provider",
      "url": "https://video.example.net/hls/9f3c/master.m3u8",
      "page_url": null,
      "type": "hls",
      "headers": { "Referer": "https://player.example.net/" },
      "quality": "1080p",
      "audio_language": "en",
      "license": null,
      "verified": "start_checked"
    }
  ],
  "total": 3,
  "checked_at": "2026-11-17T13:57:06.000Z",
  "stale": false,
  "pending": false
}
```

The `provider` link above shows the shape only; real links name the site that hosts the copy.

## How fresh are the links?

Links are checked when listed and kept up to 20 minutes. An answer up to 3 hours old comes back at once with `stale: true` while a new check runs. Films asked for in the last 7 days are checked again before their links go stale. Answers are never kept at the edge, so ask again when a viewer presses play.

## How do I remove a source?

Anyone who holds rights to a copy, or acts for someone who does, can report a source with [stream reports](https://amodb.dev/stream-reports/). The source leaves the answers at once, with no review first.

## Errors

| HTTP | status_code | When                             |
| ---- | ----------- | -------------------------------- |
| 401  | 7           | The key is missing or wrong.     |
| 403  | 3           | Your plan is not Pro+ Streaming. |
| 429  | 25          | Over your requests per minute.   |

A film that is not free, or unknown, is not an error: it answers `streams: []`.

## Practical notes

- In a browser, prefer `mp4` or `webm` links with an empty `headers` object. For `hls`, use a player such as hls.js and send the listed headers.
- Show the film only in the countries its license lists, and keep the credit and license link next to the player when the license asks for it.
- The [WordPress plugin](https://amodb.dev/wordpress-plugin/) has a player block that uses this endpoint.

## Questions and answers

### How do I get a playable link of a public domain film?

Call GET /3/movie/{movie_id}/streams on the Pro+ Streaming plan. When the film is free, streams lists links with their type (hls, mp4, webm, ogg), quality and the request headers they need. Wikimedia Commons and Internet Archive copies come first.

### Which plan do I need for stream links?

Pro+ Streaming. It costs $19.99 a month and adds the streams endpoint to everything Pro+ has: the all in one endpoint, license data and the free film lists. Other plans get HTTP 403 with status_code 3.

### Why are some films missing links?

Links are listed only for films the license block marks free, only from sources that need no account or cookie, and only in the film's original language. A dub, a voice-over or burned in subtitles is a separate work with its own rights.

### How long does a link work?

Links are fresh when listed and may expire within hours. Ask the endpoint again when you start playback instead of storing links. Answers are never kept at the edge.

### What do headers mean on a stream?

Some sources play only with a request header such as Referer. Send the listed headers with every request of that stream. A plain video tag cannot send headers, so in a browser prefer streams with an empty headers object.

### How do I report a stream?

POST /v1/legal/stream-reports with the film's tmdb_id and the stream's source_id. The source leaves the answers for that film at once. Rights holders need no key.

## Related pages

- [Movie license API: is this film public domain?](https://amodb.dev/license/): Movie license API: GET /3/movie/{id}/license says if a film may be shown in full, in which countries and under which license, with the proof for each claim.
- [Public domain movies list: filter and search free films](https://amodb.dev/free-titles/): List public domain and openly licensed films with GET /3/free/movie: filter by country, license, genre, year and rating, search by name, 20 per page.
- [Stream reports: remove a source from a film's streams](https://amodb.dev/stream-reports/): Report a stream source with POST /v1/legal/stream-reports: the source leaves the film's streams answers at once. For rights holders and their agents, no key.
- [Public domain movies API: find, check and play free films](https://amodb.dev/public-domain-movies-api/): Build a site of public domain and Creative Commons films: license proof per country, free film lists with filters and checked playable links, in 14 languages.
- [WordPress movie database plugin: cards, lists and free films](https://amodb.dev/wordpress-plugin/): amodb WordPress plugin: movie, TV and actor cards, popular and trending lists, public domain films and a free film player as blocks and shortcodes. GPL.
- [Pricing: amodb plans and TMDB API pricing](https://amodb.dev/pricing/): TMDB API pricing compared: free until your app earns money, then $149 a month. amodb plans cost $5.19 to $7.19 a month for 20, 40 or 120 requests per minute.

Updated: 2026-11-17. Source: https://amodb.dev/streams/
