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.
How do I get links to play a free film?
Call GET /. For a film the license block 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, at $19.99 a month.
Links come in this order:
- Wikimedia Commons copies, with the file's own license (
verified: true). - Internet Archive copies (
verified: false: the license there is the uploader's word, while the film's status comes from the license block). - 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"
curl -sf "https://api.amodb.dev/3/movie/961/streams" \
-H "Authorization: Bearer $AMODB_KEY"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;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_ | 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
{
"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. 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
mp4orwebmlinks with an emptyheadersobject. Forhls, 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 has a player block that uses this endpoint.