# Get an artist Source: https://docs.fmdb.net/api-reference/artist/get-an-artist /openapi.json get /api/artists/{id} Get an artist # List artists Source: https://docs.fmdb.net/api-reference/artist/list-artists /openapi.json get /api/artists List artists # Get an artist affiliation Source: https://docs.fmdb.net/api-reference/artistaffiliation/get-an-artist-affiliation /openapi.json get /api/artist-affiliations/{id} Get an artist affiliation # List artist affiliations Source: https://docs.fmdb.net/api-reference/artistaffiliation/list-artist-affiliations /openapi.json get /api/artist-affiliations List artist affiliations # Get an artist's name variation Source: https://docs.fmdb.net/api-reference/artistalias/get-an-artists-name-variation /openapi.json get /api/artists/{artistId}/name-variations/{id} Get an artist's name variation # List an artist's name variations Source: https://docs.fmdb.net/api-reference/artistalias/list-an-artists-name-variations /openapi.json get /api/artists/{artistId}/name-variations List an artist's name variations # Get an artist's external link Source: https://docs.fmdb.net/api-reference/artistexternallink/get-an-artists-external-link /openapi.json get /api/artists/{artistId}/external-links/{id} Get an artist's external link # List an artist's external links Source: https://docs.fmdb.net/api-reference/artistexternallink/list-an-artists-external-links /openapi.json get /api/artists/{artistId}/external-links List an artist's external links # Get an artist's group membership Source: https://docs.fmdb.net/api-reference/artistgroupmember/get-an-artists-group-membership /openapi.json get /api/artists/{artistId}/group-memberships/{id} Get an artist's group membership # List an artist's group memberships Source: https://docs.fmdb.net/api-reference/artistgroupmember/list-an-artists-group-memberships /openapi.json get /api/artists/{artistId}/group-memberships List an artist's group memberships # Get an artist role Source: https://docs.fmdb.net/api-reference/artistrole/get-an-artist-role /openapi.json get /api/artists/roles/{id} Get an artist role # List artist roles Source: https://docs.fmdb.net/api-reference/artistrole/list-artist-roles /openapi.json get /api/artists/roles List artist roles # Resolve a free-text credit title to an artist role Source: https://docs.fmdb.net/api-reference/artistroleresolution/resolve-a-free-text-credit-title-to-an-artist-role /openapi.json get /api/artists/roles/resolve Maps a free-text credit title (e.g. "Music by", "Orchestrations", "Conducted by") to the best-matching FMDB role. # Add an item to a user's collection Source: https://docs.fmdb.net/api-reference/collectionitem/add-an-item-to-a-users-collection /openapi.json post /api/users/{userId}/collection Add an item to a user's collection # Get an item from a user's collection Source: https://docs.fmdb.net/api-reference/collectionitem/get-an-item-from-a-users-collection /openapi.json get /api/users/{userId}/collection/{id} Get an item from a user's collection # List a user's collection Source: https://docs.fmdb.net/api-reference/collectionitem/list-a-users-collection /openapi.json get /api/users/{userId}/collection List a user's collection # List your collection Source: https://docs.fmdb.net/api-reference/collectionitem/list-your-collection /openapi.json get /api/me/collection List your collection # Remove an item from a user's collection Source: https://docs.fmdb.net/api-reference/collectionitem/remove-an-item-from-a-users-collection /openapi.json delete /api/users/{userId}/collection/{id} Remove an item from a user's collection # Update an item in a user's collection Source: https://docs.fmdb.net/api-reference/collectionitem/update-an-item-in-a-users-collection /openapi.json patch /api/users/{userId}/collection/{id} Update an item in a user's collection # Introduction Source: https://docs.fmdb.net/api-reference/introduction The FMDB API provides access to a comprehensive film music database, covering releases, productions, artists, and recordings. > [!NOTE] > > The API is currently in **beta** and subject to change. FMDB is a non-commercial, > privacy-first platform. ## Base URL All endpoints are served from the production host: ``` https://www.fmdb.net ``` ## Authentication Authentication is required for all endpoints unless stated otherwise. The API uses bearer tokens. ### Obtaining an access token **1. Register an account** Sign up at [www.fmdb.net](https://www.fmdb.net). API access uses the same account as the website. **2. Open your settings** Once signed in, go to your account settings and find the **API Access Tokens** section. **3. Create a token** Generate a token there and store it somewhere safe — treat it like a password. ### Using the token Send the token in the `Authorization` header on every request: ```http theme={null} Authorization: Bearer ``` A request that carries no credential is answered with an empty `401` and a `WWW-Authenticate: Bearer` challenge; a credential the API rejects is answered the same way with an RFC 6750 error code. ## Rate limits Every request under `/api` is counted against a quota. Several policies are in force at once, each a sliding window, and a request has to fit all of them. Reads are the safe methods (`GET`, `HEAD`); everything that changes data counts as a write. Reads are counted per tier: | Policy | Standard | Elevated | | - | - | - | | `burst` | 10 per second | 30 per second | | `steady` | 300 per minute | 900 per minute | | `sustained` | 5,000 per hour | 15,000 per hour | Writes are the same on both tiers: | Policy | Quota | | - | - | | `steady` | 30 per minute | | `sustained` | 500 per hour | The budget belongs to your account and the tier of the credential you are using, not to the credential itself — issuing a second token does not give you a second budget. Every credential starts on the standard tier. Elevated access is granted by FMDB for an approved application; there is no way to raise your own tier. ### Reading the headers Every response reports the quota with the standardized `RateLimit` fields, so you never have to guess which window you are close to: ```http theme={null} RateLimit: "burst";r=9;t=1, "steady";r=287;t=43, "sustained";r=4711;t=2854 RateLimit-Policy: "burst";q=10;w=1, "steady";q=300;w=60, "sustained";q=5000;w=3600 ``` `RateLimit-Policy` names each policy in force with the requests it grants (`q`) over its window in seconds (`w`). `RateLimit` reports what is left of each (`r`) and in how many seconds it admits another request (`t`). > [!NOTE] > > These fields replace the earlier `X-RateLimit-Limit`, `X-RateLimit-Remaining` > and `X-RateLimit-Reset` headers, which are no longer sent. ### When you exceed a quota The request is refused with `429 Too Many Requests`, a `Retry-After` header giving the seconds to wait, and a JSON:API error document naming the quota that refused it: ```json theme={null} { "errors": [ { "status": "429", "title": "Rate Limit Exceeded", "detail": "You have exceeded the rate limit of 300 requests per 60 seconds. The budget resets at 2026-01-15T10:00:42+00:00." } ] } ``` Exceeding a short window still spends the longer ones, so back off on `Retry-After` rather than retrying immediately. The OAuth endpoints are throttled separately, per client and per address: a refused token or revocation request answers `429` with `Retry-After` and the OAuth error code `slow_down` instead of a JSON:API document. ## Content type The API follows the [JSON:API](https://jsonapi.org) conventions. Requests and responses use the `application/vnd.api+json` media type. ```bash theme={null} curl https://www.fmdb.net/api/artists \ -H "Authorization: Bearer " \ -H "Accept: application/vnd.api+json" ``` ## What you can access > [card] Catalog > > Releases, release formats, tracks, recordings, and packaging types. > [card] Productions > > Films and other productions, their entries and recordings. > [card] People and companies > > Artists, aliases, group memberships, roles, labels, and organizations. > [card] Your account > > Personal collection and wishlist items. Use the **Endpoints** section in the sidebar to browse the full reference and try requests directly from the playground. # Get a label Source: https://docs.fmdb.net/api-reference/label/get-a-label /openapi.json get /api/labels/{id} Get a label # List labels Source: https://docs.fmdb.net/api-reference/label/list-labels /openapi.json get /api/labels List labels # Get a label's external link Source: https://docs.fmdb.net/api-reference/labelexternallink/get-a-labels-external-link /openapi.json get /api/labels/{labelId}/external-links/{id} Get a label's external link # List a label's external links Source: https://docs.fmdb.net/api-reference/labelexternallink/list-a-labels-external-links /openapi.json get /api/labels/{labelId}/external-links List a label's external links # Get a series from a label Source: https://docs.fmdb.net/api-reference/labelseries/get-a-series-from-a-label /openapi.json get /api/labels/{labelId}/series/{id} Get a series from a label # List a label's series Source: https://docs.fmdb.net/api-reference/labelseries/list-a-labels-series /openapi.json get /api/labels/{labelId}/series List a label's series # Get your account Source: https://docs.fmdb.net/api-reference/me/get-your-account /openapi.json get /api/me Get your account # Get an organization Source: https://docs.fmdb.net/api-reference/organization/get-an-organization /openapi.json get /api/organizations/{id} Get an organization # List organizations Source: https://docs.fmdb.net/api-reference/organization/list-organizations /openapi.json get /api/organizations List organizations # Get an organization's external link Source: https://docs.fmdb.net/api-reference/organizationexternallink/get-an-organizations-external-link /openapi.json get /api/organizations/{organizationId}/external-links/{id} Get an organization's external link # List an organization's external links Source: https://docs.fmdb.net/api-reference/organizationexternallink/list-an-organizations-external-links /openapi.json get /api/organizations/{organizationId}/external-links List an organization's external links # Get a packaging type Source: https://docs.fmdb.net/api-reference/packagingtype/get-a-packaging-type /openapi.json get /api/packaging-types/{id} Get a packaging type # List packaging types Source: https://docs.fmdb.net/api-reference/packagingtype/list-packaging-types /openapi.json get /api/packaging-types List packaging types # Get a portrayal Source: https://docs.fmdb.net/api-reference/portrayal/get-a-portrayal /openapi.json get /api/portrayals/{id} Get a portrayal # List portrayals Source: https://docs.fmdb.net/api-reference/portrayal/list-portrayals /openapi.json get /api/portrayals List portrayals # Get a production Source: https://docs.fmdb.net/api-reference/production/get-a-production /openapi.json get /api/productions/{id} Get a production # List productions Source: https://docs.fmdb.net/api-reference/production/list-productions /openapi.json get /api/productions A JSON:API sparse fieldset narrows each production to the attributes it names, e.g. fields[Production]=title,year,country; descriptions and akas are left out unless named. # Get a production's entry Source: https://docs.fmdb.net/api-reference/productionentry/get-a-productions-entry /openapi.json get /api/productions/{productionId}/entries/{id} Get a production's entry # List a production's entries Source: https://docs.fmdb.net/api-reference/productionentry/list-a-productions-entries /openapi.json get /api/productions/{productionId}/entries List a production's entries # Get a production's external link Source: https://docs.fmdb.net/api-reference/productionexternallink/get-a-productions-external-link /openapi.json get /api/productions/{productionId}/external-links/{id} Get a production's external link # List a production's external links Source: https://docs.fmdb.net/api-reference/productionexternallink/list-a-productions-external-links /openapi.json get /api/productions/{productionId}/external-links List a production's external links # Get a production's recording Source: https://docs.fmdb.net/api-reference/productionrecording/get-a-productions-recording /openapi.json get /api/productions/{productionId}/recordings/{id} Get a production's recording # List a production's recordings Source: https://docs.fmdb.net/api-reference/productionrecording/list-a-productions-recordings /openapi.json get /api/productions/{productionId}/recordings List a production's recordings # Get a release Source: https://docs.fmdb.net/api-reference/release/get-a-release /openapi.json get /api/releases/{id} Get a release # List releases Source: https://docs.fmdb.net/api-reference/release/list-releases /openapi.json get /api/releases Lists published releases. Drafts are listed only when an editor asks for them with published=false, and locked releases only to editors. The same rules apply with and without q. A JSON:API sparse fieldset narrows each release to the attributes it names, e.g. fields[Release]=title,releasedate,artist_credit,labels; recordings and credits are left out unless named. # Get a release's external link Source: https://docs.fmdb.net/api-reference/releaseexternallink/get-a-releases-external-link /openapi.json get /api/releases/{releaseId}/external-links/{id} Get a release's external link # List a release's external links Source: https://docs.fmdb.net/api-reference/releaseexternallink/list-a-releases-external-links /openapi.json get /api/releases/{releaseId}/external-links List a release's external links # Get a release format Source: https://docs.fmdb.net/api-reference/releaseformat/get-a-release-format /openapi.json get /api/releases/{releaseId}/formats/{id} Get a release format # List a release's formats Source: https://docs.fmdb.net/api-reference/releaseformat/list-a-releases-formats /openapi.json get /api/releases/{releaseId}/formats List a release's formats # Get a release's recording Source: https://docs.fmdb.net/api-reference/releaserecording/get-a-releases-recording /openapi.json get /api/releases/{releaseId}/recordings/{id} Get a release's recording # List a release's recordings Source: https://docs.fmdb.net/api-reference/releaserecording/list-a-releases-recordings /openapi.json get /api/releases/{releaseId}/recordings List a release's recordings # Get a track from a release format Source: https://docs.fmdb.net/api-reference/releasetrack/get-a-track-from-a-release-format /openapi.json get /api/releases/{releaseId}/formats/{formatId}/tracks/{id} Get a track from a release format # List the tracks on a release format Source: https://docs.fmdb.net/api-reference/releasetrack/list-the-tracks-on-a-release-format /openapi.json get /api/releases/{releaseId}/formats/{formatId}/tracks List the tracks on a release format # Resolve a slug or FMDB page URL to a UUID Source: https://docs.fmdb.net/api-reference/resolution/resolve-a-slug-or-fmdb-page-url-to-a-uuid /openapi.json get /api/resolve Maps a slug of an artist, production, release, label or organization, or the URL of its public page, to the record's UUID. Pass either type and slug, or url. A slug that has since changed, or the UUID of a record merged into another, is followed to the current record and reported with redirected: true. A sub-page URL, such as a production's episodes, resolves to its record. Records hidden from the caller's detail endpoints answer 404. # Get a user Source: https://docs.fmdb.net/api-reference/user/get-a-user /openapi.json get /api/users/{id} Returns a user's public profile: username and avatar_url, plus links to their collection and wishlist when your token may read them. Email, roles and account state are never exposed. Blocked and unconfirmed accounts answer 404, like an unknown id. There is no endpoint that lists users. # Add an item to a user's wishlist Source: https://docs.fmdb.net/api-reference/wishlistitem/add-an-item-to-a-users-wishlist /openapi.json post /api/users/{userId}/wishlist Add an item to a user's wishlist # Get an item from a user's wishlist Source: https://docs.fmdb.net/api-reference/wishlistitem/get-an-item-from-a-users-wishlist /openapi.json get /api/users/{userId}/wishlist/{id} Get an item from a user's wishlist # List a user's wishlist Source: https://docs.fmdb.net/api-reference/wishlistitem/list-a-users-wishlist /openapi.json get /api/users/{userId}/wishlist List a user's wishlist # List your wishlist Source: https://docs.fmdb.net/api-reference/wishlistitem/list-your-wishlist /openapi.json get /api/me/wishlist List your wishlist # Remove an item from a user's wishlist Source: https://docs.fmdb.net/api-reference/wishlistitem/remove-an-item-from-a-users-wishlist /openapi.json delete /api/users/{userId}/wishlist/{id} Remove an item from a user's wishlist # Update an item in a user's wishlist Source: https://docs.fmdb.net/api-reference/wishlistitem/update-an-item-in-a-users-wishlist /openapi.json patch /api/users/{userId}/wishlist/{id} Update an item in a user's wishlist # Changelog 2024 Source: https://docs.fmdb.net/changelog/2024 What changed on FMDB in 2024: recordings, which keep the musicians, orchestras and choirs behind a soundtrack in one place for every release that uses them. **2024-10-01** Feature ## Introducing Recordings Imagine opening the booklet of your new album. The liner notes are full of interesting details. There are photos from the recording sessions and at the end you will find everyone who was involved in creating the music. Many of these names appear again and again on different albums. Every change would mean a lot of work in the FMDB. Therefore, there is a new concept: Recordings. The people, orchestras and choirs involved are now only maintained in one place. From now on, updates to the recordings will be displayed in all linked publications. But there are even more improvements in this area: when a recording is edited as part of a publication, the people who worked on it can also be displayed. You can see this concept in action in [Jurassic Park III (Remastered and Expanded Original Soundtrack)](https://www.fmdb.net/releases/5ed40c1d-b6e1-45bd-a517-ee21793d8e10). # Changelog 2025 Source: https://docs.fmdb.net/changelog/2025 What changed on FMDB in 2025: user accounts, collections and wishlists, two-factor login, browsable recordings, production posters and new search filters. **2025-12-25** Feature ## Update for Q4 - Happy Holidays As 2025 comes to an end, I would like to provide an update on everything that has happened in the last quarter. There was a lot, and not everything announced in the last report could be delivered. While planning the API, I realized that more parts were needed. Why? The features I wanted the API to provide were not yet available. However, this changed over the last couple of weeks as the building blocks slowly came together. By 2026, the database will have matured into a platform that provides more soundtrack data and enables you to maintain your collection more easily. There will also be a way for everyone to access the data via the previously announced API. But first, here is a short list of all the things released in the past weeks: ### Poster and Description for Productions For better discoverability productions now have a poster and a description. ![Productions with descriptions](https://mintcdn.com/fmdb/8wz0reQJLGs9j1Ly/images/changelog/2025/2025-12-25-productions-descriptions.png?fit=max\&auto=format\&n=8wz0reQJLGs9j1Ly\&q=85\&s=74d5f478b48c1e134c2ef99280ab2b11) ### Filter releases by duration You can now filter releases by minimum and maximum duration. ![Duration slider for releases](https://mintcdn.com/fmdb/8wz0reQJLGs9j1Ly/images/changelog/2025/2025-12-25-releases-search-duration.png?fit=max\&auto=format\&n=8wz0reQJLGs9j1Ly\&q=85\&s=87bc972d1a56e41570baa778ffb92be5) ### Secure your account with a second factor (2FA) You can now setup a second factor (2FA) to your user account for extra protection. You can find the setting under [Settings → Security](https://www.fmdb.net/users/settings/security). ### User Collections & Wishlists You can now build and manage your personal collection and wishlist! Track which releases you own and which ones you're hunting for. **Add to Collection & Wishlist**: Every release now features dedicated buttons to add it to your Collection or Wishlist. The buttons provide instant feedback and prevent conflicts - a release can only be in one list at a time. ![Collection and Wishlist Buttons](https://mintcdn.com/fmdb/8wz0reQJLGs9j1Ly/images/changelog/2025/2025-12-25-collection-and-wishlist-buttons.png?fit=max\&auto=format\&n=8wz0reQJLGs9j1Ly\&q=85\&s=278fa4793c7a2b4e5cd76072e710a451) When adding to a collection you'll get a dialog for more information about the collectible.