Download OpenAPI specification:
The Fanart.tv API provides access to a vast collection of high-quality images for movies, TV shows, and music artists.
Website: https://fanart.tv
Support: Join our Discord community for help and discussions
https://webservice.fanart.tv/{version}/{resource}/{id}?api_key=YOUR_KEYThe API supports three versions with different response formats:
added) field to all imageswidth, height) and total image count| Feature | v3 | v3.1 | v3.2 |
|---|---|---|---|
| Basic fields (id, url, lang, likes) | ✅ | ✅ | ✅ |
| Type-specific fields (disc, season, etc.) | ✅ | ✅ | ✅ |
Timestamp (added) |
❌ | ✅ | ✅ |
Dimensions (width, height) |
❌ | ❌ | ✅ |
Total count (image_count) |
❌ | ❌ | ✅ |
IMPORTANT: The music API has a fundamental structural difference between versions:
v3 & v3.1 - Albums as Object/Map:
{
"albums": {
"album-id-1": { "cdart": [...] },
"album-id-2": { "cdart": [...] }
}
}
v3.2 - Albums as Array:
{
"albums": [
{ "release_group_id": "album-id-1", "cdart": [...] },
{ "release_group_id": "album-id-2", "cdart": [...] }
]
}
All endpoints require an API key. There are two types of keys that can be sent either as query parameters or HTTP headers:
?api_key=YOUR_KEYapi-key: YOUR_KEY?client_key=YOUR_KEY (takes priority over api_key when both are sent)client-key: YOUR_KEY (takes priority over api-key when both are sent)Important for Project Developers: When a personal API key is provided, it bypasses any rate limits applied to the project key and provides better access to newly added images. We strongly recommend that projects allow users to optionally enter their personal API key. This gives users control over their API access and improves their experience with faster access to new content. Direct users to get their personal key in your application's settings.
Typical Usage: Project Key Only
# Query parameter
https://webservice.fanart.tv/v3.2/movies/550?api_key=YOUR_PROJECT_KEY
# HTTP header
curl -H "api-key: YOUR_PROJECT_KEY" https://webservice.fanart.tv/v3.2/movies/550
Enhanced Usage: Project Key + Personal Key
# Query parameters (personal key takes priority for tier access)
https://webservice.fanart.tv/v3.2/movies/550?api_key=YOUR_PROJECT_KEY&client_key=YOUR_PERSONAL_KEY
# HTTP headers (personal key takes priority for tier access)
curl -H "api-key: YOUR_PROJECT_KEY" -H "client-key: YOUR_PERSONAL_KEY" https://webservice.fanart.tv/v3.2/movies/550
Alternative: Personal Key Only
# Query parameter
https://webservice.fanart.tv/v3.2/movies/550?client_key=YOUR_PERSONAL_KEY
# HTTP header
curl -H "client-key: YOUR_PERSONAL_KEY" https://webservice.fanart.tv/v3.2/movies/550
Note: When both keys are provided, the personal key determines the access tier (2-day delay instead of 7-day). When both query parameter and header are present for the same key type, the query parameter takes priority.
Different subscription tiers have different access to newly added images:
All tiers have unlimited image access (no quantity restrictions).
Upgrade to VIP to get immediate access to newly added images! Visit fanart.tv/vip for more information.
The API is designed for high performance and rate limiting is very rarely applied. Most API keys have unlimited access with no rate restrictions.
However, in rare cases where rate limits are configured for specific keys, the API will return HTTP 429 responses. Clients should be prepared to handle these responses gracefully:
429 Too Many RequestsBest Practice: Implement exponential backoff when receiving 429 responses, respecting the Retry-After header value.
The rate limiting uses a token bucket algorithm with exponential backoff penalties for repeated violations. If you encounter unexpected rate limiting, please contact support via Discord.
Retrieve all available fanart images for a specific movie.
The movie can be identified by either:
Returns different response formats based on the API version requested.
| version required | string Default: "v3.2" Enum: "v3" "v3.1" "v3.2" Example: v3.2 API version |
| id required | string Examples:
Movie identifier (TMDB ID or IMDB ID with 'tt' prefix) |
| api_key required | string Example: api_key=YOUR_API_KEY_HERE Your API key |
curl "https://webservice.fanart.tv/v3.2/movies/550?api_key=YOUR_API_KEY"
{- "name": "Fight Club",
- "tmdb_id": "550",
- "imdb_id": "tt0137523",
- "image_count": 2,
- "hdmovielogo": [
- {
- "id": "1",
- "lang": "en",
- "likes": "15",
- "added": "2013-11-03 15:43:45",
- "width": "800",
- "height": "310"
}
], - "moviebackground": [
- {
- "id": "2",
- "lang": "en",
- "likes": "8",
- "added": "2012-05-04 09:38:25",
- "width": "1920",
- "height": "1080"
}
]
}Retrieve all available fanart images for a specific TV show.
The TV show is identified by its TheTVDB ID.
Returns different response formats based on the API version requested.
| version required | string Default: "v3.2" Enum: "v3" "v3.1" "v3.2" Example: v3.2 API version |
| id required | string Example: 121361 TheTVDB ID |
| api_key required | string Example: api_key=YOUR_API_KEY_HERE Your API key |
curl "https://webservice.fanart.tv/v3.2/tv/81189?api_key=YOUR_API_KEY"
{- "name": "Breaking Bad",
- "thetvdb_id": "81189",
- "image_count": 3,
- "hdtvlogo": [
- {
- "id": "1",
- "lang": "en",
- "likes": "45",
- "added": "2013-04-09 10:58:07",
- "width": "800",
- "height": "310"
}
], - "showbackground": [
- {
- "id": "2",
- "lang": "00",
- "likes": "23",
- "added": "2012-05-03 14:29:34",
- "width": "1920",
- "height": "1080"
}
], - "seasonposter": [
- {
- "id": "3",
- "lang": "en",
- "likes": "12",
- "season": "5",
- "added": "2013-11-24 11:45:23",
- "width": "1000",
- "height": "1426"
}
]
}Retrieve all available fanart images for a specific music artist, including album artwork.
The artist is identified by their MusicBrainz ID (MBID).
Important: The album structure differs between API versions:
release_group_id field| version required | string Default: "v3.2" Enum: "v3" "v3.1" "v3.2" Example: v3.2 API version |
| id required | string Example: f4a31f0a-51dd-4fa7-986d-3095c40c5ed9 MusicBrainz Artist ID (MBID) |
| api_key required | string Example: api_key=YOUR_API_KEY_HERE Your API key |
curl "https://webservice.fanart.tv/v3.2/music/f4a31f0a-51dd-4fa7-986d-3095c40c5ed9?api_key=YOUR_API_KEY"
{- "name": "Nirvana",
- "mbid_id": "f4a31f0a-51dd-4fa7-986d-3095c40c5ed9",
- "image_count": 2,
- "albums": [
- {
- "release_group_id": "1b022e01-4da6-387b-8658-8678046e4cef",
- "cdart": [
- {
- "id": "1",
- "lang": "en",
- "likes": "20",
- "disc": "1",
- "size": "1000",
- "added": "2013-10-15 09:23:14",
- "width": "1000",
- "height": "1000"
}
]
}
], - "hdmusiclogo": [
- {
- "id": "2",
- "lang": "en",
- "likes": "35",
- "added": "2014-01-27 13:45:26",
- "width": "800",
- "height": "310"
}
]
}Retrieve fanart images for a specific album.
Important: This endpoint returns the parent artist data with only the requested album included. The response structure matches the artist endpoint but filtered to a single album.
The album is identified by its MusicBrainz Release Group ID.
| version required | string Default: "v3.2" Enum: "v3" "v3.1" "v3.2" Example: v3.2 API version |
| id required | string Example: 1b022e01-4da6-387b-8658-8678046e4cef MusicBrainz Release Group ID (Album MBID) |
| api_key required | string Example: api_key=YOUR_API_KEY_HERE Your API key |
curl "https://webservice.fanart.tv/v3.2/music/albums/1b022e01-4da6-387b-8658-8678046e4cef?api_key=YOUR_API_KEY"
{- "name": "Nirvana",
- "mbid_id": "f4a31f0a-51dd-4fa7-986d-3095c40c5ed9",
- "image_count": 28,
- "albums": [
- {
- "release_group_id": "1b022e01-4da6-387b-8658-8678046e4cef",
- "cdart": [
- {
- "id": "123456",
- "lang": "en",
- "likes": "42",
- "disc": "1",
- "disc_type": "bluray",
- "size": "1000",
- "season": "5",
- "added": "2019-08-16 22:52:46",
- "width": "1920",
- "height": "1080"
}
], - "albumcover": [
- {
- "id": "123456",
- "lang": "en",
- "likes": "42",
- "disc": "1",
- "disc_type": "bluray",
- "size": "1000",
- "season": "5",
- "added": "2019-08-16 22:52:46",
- "width": "1920",
- "height": "1080"
}
]
}
], - "artistbackground": [
- {
- "id": "123456",
- "lang": "en",
- "likes": "42",
- "disc": "1",
- "disc_type": "bluray",
- "size": "1000",
- "season": "5",
- "added": "2019-08-16 22:52:46",
- "width": "1920",
- "height": "1080"
}
], - "artist4kbackground": [
- {
- "id": "123456",
- "lang": "en",
- "likes": "42",
- "disc": "1",
- "disc_type": "bluray",
- "size": "1000",
- "season": "5",
- "added": "2019-08-16 22:52:46",
- "width": "1920",
- "height": "1080"
}
], - "artistthumb": [
- {
- "id": "123456",
- "lang": "en",
- "likes": "42",
- "disc": "1",
- "disc_type": "bluray",
- "size": "1000",
- "season": "5",
- "added": "2019-08-16 22:52:46",
- "width": "1920",
- "height": "1080"
}
], - "hdmusiclogo": [
- {
- "id": "123456",
- "lang": "en",
- "likes": "42",
- "disc": "1",
- "disc_type": "bluray",
- "size": "1000",
- "season": "5",
- "added": "2019-08-16 22:52:46",
- "width": "1920",
- "height": "1080"
}
], - "musiclogo": [
- {
- "id": "123456",
- "lang": "en",
- "likes": "42",
- "disc": "1",
- "disc_type": "bluray",
- "size": "1000",
- "season": "5",
- "added": "2019-08-16 22:52:46",
- "width": "1920",
- "height": "1080"
}
], - "musicbanner": [
- {
- "id": "123456",
- "lang": "en",
- "likes": "42",
- "disc": "1",
- "disc_type": "bluray",
- "size": "1000",
- "season": "5",
- "added": "2019-08-16 22:52:46",
- "width": "1920",
- "height": "1080"
}
]
}Retrieve fanart images for a specific music label.
The label is identified by its MusicBrainz Label ID.
| version required | string Default: "v3.2" Enum: "v3" "v3.1" "v3.2" Example: v3.2 API version |
| id required | string Example: e832b688-546b-45e3-83e5-9f8db5dcde1d MusicBrainz Label ID |
| api_key required | string Example: api_key=YOUR_API_KEY_HERE Your API key |
curl "https://webservice.fanart.tv/v3.2/music/labels/e832b688-546b-45e3-83e5-9f8db5dcde1d?api_key=YOUR_API_KEY"
{- "name": "Atlantic Records",
- "id": "e832b688-546b-45e3-83e5-9f8db5dcde1d",
- "musiclabel": [
- {
- "id": "1",
- "lang": "en",
- "likes": "10",
- "colour": "colour"
}
]
}Retrieve a list of movies with recently added images.
By default, returns movies updated in the last 2 days. Use the date parameter to specify a custom timeframe.
The response is a 90-day pre-generated file filtered based on your parameters.
| version required | string Default: "v3.2" Enum: "v3" "v3.1" "v3.2" Example: v3.2 API version |
| api_key required | string Example: api_key=YOUR_API_KEY_HERE Your API key |
| date | integer Example: date=1699920000 Unix timestamp to filter results (returns items updated after this date) |
curl "https://webservice.fanart.tv/v3.2/movies/latest?api_key=YOUR_API_KEY"
[- {
- "tmdb_id": "550",
- "imdb_id": "tt0137523",
- "name": "Fight Club",
- "new_images": "3",
- "total_images": "47"
}, - {
- "tmdb_id": "680",
- "imdb_id": "tt0110912",
- "name": "Pulp Fiction",
- "new_images": "2",
- "total_images": "35"
}
]Retrieve a list of TV shows with recently added images.
By default, returns TV shows updated in the last 2 days. Use the date parameter to specify a custom timeframe.
| version required | string Default: "v3.2" Enum: "v3" "v3.1" "v3.2" Example: v3.2 API version |
| api_key required | string Example: api_key=YOUR_API_KEY_HERE Your API key |
| date | integer Example: date=1699920000 Unix timestamp to filter results (returns items updated after this date) |
curl "https://webservice.fanart.tv/v3.2/tv/latest?api_key=YOUR_API_KEY"
[- {
- "id": "81189",
- "name": "Breaking Bad",
- "new_images": "5",
- "total_images": "89"
}, - {
- "id": "121361",
- "name": "Game of Thrones",
- "new_images": "4",
- "total_images": "156"
}
]Retrieve a list of music artists with recently added images.
By default, returns artists updated in the last 2 days. Use the date parameter to specify a custom timeframe.
| version required | string Default: "v3.2" Enum: "v3" "v3.1" "v3.2" Example: v3.2 API version |
| api_key required | string Example: api_key=YOUR_API_KEY_HERE Your API key |
| date | integer Example: date=1699920000 Unix timestamp to filter results (returns items updated after this date) |
curl "https://webservice.fanart.tv/v3.2/music/latest?api_key=YOUR_API_KEY"
[- {
- "id": "f4a31f0a-51dd-4fa7-986d-3095c40c5ed9",
- "name": "Nirvana",
- "new_images": "2",
- "total_images": "28"
}, - {
- "id": "65f4f0c5-ef9e-490c-aee3-909e7ae6b2ab",
- "name": "Metallica",
- "new_images": "3",
- "total_images": "67"
}
]