Overview
Pass `name` or `id`. A name search ignores case, accents and punctuation; when several people share the name, the best-known (by worldwide encyclopedia coverage) is returned and up to five others appear in `otherMatches` with a film they are known for. No match returns 404.
Films come newest first; films without a recorded year come last. `roles` lists every role the person had on that film, so a writer-director shows both. `role` filters to one role, and `filmsTotal` counts the films matching it. Each film's `id` is its Wikidata id, which Movie Lookup accepts as `id` for the full record.
Credits come from Wikidata (CC0) and are refreshed monthly with Movie Lookup.
Endpoint
One host, one path per API. The block below shows this call in four languages; every one of them is the same HTTP request. Making requests covers the timeouts, retries and parameter rules that apply to all of them. The SDKs wrap the same call in a typed client.
curl "https://api.apiverve.com/v1/filmography?name=Christopher%20Nolan&id=Q25191&role=director&limit=25" \
-H "x-api-key: your_api_key_here"const res = await fetch('https://api.apiverve.com/v1/filmography?name=Christopher%20Nolan&id=Q25191&role=director&limit=25', {
headers: { 'x-api-key': 'your_api_key_here' },
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const { data } = await res.json();
console.log(data);import requests
res = requests.get(
"https://api.apiverve.com/v1/filmography?name=Christopher%20Nolan&id=Q25191&role=director&limit=25",
headers={"x-api-key": "your_api_key_here"},
timeout=15,
)
res.raise_for_status()
print(res.json()["data"])package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.apiverve.com/v1/filmography?name=Christopher%20Nolan&id=Q25191&role=director&limit=25", nil)
req.Header.Set("x-api-key", "your_api_key_here")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(string(out))
}Replace your_api_key_here with the key from your dashboard. When the inputs arrive as a list rather than one at a time, batch requests run up to 200 of them through this same API in a single call.
Authentication
Send your key in the x-api-key header. That is the only auth step — there is no token exchange and no per-endpoint scope to configure. Authentication covers creating, rotating and revoking keys.
A 401 means the key is missing, invalid or expired. A 403 means the key is valid but not permitted here — blocked by a key restriction or an IP allow-list. Running out of credits is a 429.
Parameters
Sent in the query string. Premium parameters are accepted on every plan but only take effect on plans that include them.
| Parameter | Type | Description |
|---|---|---|
nameOptional | string | Person name, e.g. Christopher Nolan. Use name or id length 0–120 |
idOptional | string | Wikidata id of the person, e.g. Q25191 length 0–12 |
roleOptional | string | Only films with this roleanydirectoractorwriterproducercomposercinematographereditordefault any |
limitOptionalPremium | integer | Maximum films to return (1-50) default 10 · range 1–50 |
Response
Every API returns the same three top-level keys, so one response handler covers your whole integration: status, error and data. Only data changes shape. Response format covers the envelope, the other output formats and how premium fields are withheld.
{
"status": "ok",
"error": null,
"data": {
"name": "Christopher Nolan",
"id": "Q25191",
"role": "any",
"count": 10,
"filmsTotal": 21,
"roles": {
"director": 17,
"writer": 15,
"producer": 13,
"actor": 3,
"cinematographer": 3,
"editor": 1
},
"films": [
{
"title": "The Odyssey",
"year": 2026,
"roles": [
"director",
"writer",
"producer"
],
"id": "Q131547207"
},
{
"title": "Oppenheimer",
"year": 2023,
"roles": [
"director",
"writer",
"producer"
],
"id": "Q108839994"
},
{
"title": "Tenet",
"year": 2020,
"roles": [
"director",
"writer",
"producer"
],
"id": "Q63985561"
},
{
"title": "Dunkirk",
"year": 2017,
"roles": [
"director",
"writer",
"producer"
],
"id": "Q21935651"
},
{
"title": "Behind the Scenes",
"year": 2017,
"roles": [
"actor"
],
"id": "Q108257926"
},
{
"title": "Quay",
"year": 2015,
"roles": [
"director"
],
"id": "Q21869743"
},
{
"title": "Interstellar",
"year": 2014,
"roles": [
"director",
"writer",
"producer"
],
"id": "Q13417189"
},
{
"title": "Transcendence",
"year": 2014,
"roles": [
"producer"
],
"id": "Q10384115"
},
{
"title": "Man of Steel",
"year": 2013,
"roles": [
"writer",
"producer"
],
"id": "Q622769"
},
{
"title": "The Dark Knight Rises",
"year": 2012,
"roles": [
"director",
"writer",
"producer"
],
"id": "Q189330"
}
],
"otherMatches": [],
"dataAsOf": "2026-11-22"
}
}
Response fields
Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.
| Field | Type | Example | Description |
|---|---|---|---|
name | string | "Christopher Nolan" | Person name |
id | string | "Q25191" | Wikidata id of the person |
role | string | "any" | Role filter applied |
count | number | 10 | Number of films returned |
filmsTotal | number | 21 | Number of films matching the role filter |
rolesPremium | object | {...} | Films per role across the whole filmography, e.g. director: 12 |
directorPremium | number | 17 | |
writerPremium | number | 15 | |
producerPremium | number | 13 | |
actorPremium | number | 3 | |
cinematographerPremium | number | 3 | |
editorPremium | number | 1 | |
films | array[10] | Films, newest first | |
title | string | "The Odyssey" | Film title |
year | number | 2026 | Year of first release |
rolesPremium | array | [director, ...] | The person's roles: director, actor, writer, producer, composer, cinematographer or editor |
id | string | "Q131547207" | Wikidata id of the film; pass it to Movie Lookup as id |
otherMatches | array | [] | Other people with the same name, best-known first |
dataAsOf | string | "2026-11-22" | Date the data was last refreshed (YYYY-MM-DD) |
Errors
Read the HTTP status first, then error for the specific reason. The body names the parameter that has to change. Error handling covers the full status list and which of them are worth retrying.
| Status | Meaning | What to do |
|---|---|---|
400 | Input was rejected | Read error; it names the parameter. |
401 | Key missing or invalid | Check the header name and the key value. |
403 | Key valid, but not permitted | A key restriction or IP allow-list; see key scoping. |
429 | Rate limited, or out of credits | Read error to tell them apart; see rate limits. |
Use cases
- Actor and Director Pages
- Build person pages that list every film someone made, newest first, with their role in each.
- Movie Discovery
- Let users jump from a film to everything else its director or lead actor worked on.
- Trivia and Connection Games
- Power six-degrees and who-directed-what games from credits across 450,000 films.
- Recommendation Engines
- Recommend films by following the people behind a viewer's favourites.
Other ways to use Filmography
Set up Filmography on APIVerve, or reach the same source a different way. Your APIVerve account and credits work on all of them — one key, one balance.
Related
More in Entertainment: