Reference data
Genres, languages, contributor roles, countries, stores and the other code lists the API accepts, with the endpoint that returns each one. Fetch them, cache them, and build your pickers from them.
- Every list lives under
GET /v1/core/data/{list}and works with any key. - Send the
codevalues exactly as returned. The names are only for display. - The lists rarely change, so fetch them at start-up or once a day and cache them, rather than on every form load.
- Store, reporting-store and reporting-service codes are separate lists and aren’t mapped to each other.
How to use reference data
Wherever the API takes a value from a fixed list, it expects a code: an upper-snake-case string such as ELECTRONIC_HOUSE, BASS_GUITAR or APPLE_MUSIC. Each list has an endpoint under /v1/core/data that returns every code together with a human-readable name and any extra attributes. Show the name in your interface, and send the code to the API.
- All endpoints are
GET, need theENUM_READpermission (every role has it), and work with client and tenant keys. - They return a plain JSON array, not a paginated wrapper.
- Short fixed lists have no endpoint.
explicit,countriesMode,youtubeClaimPolicy,syncRequestPriorityand file statuses are documented next to their field, in Build a release › Field reference and on Upload files. - The lists change only when ReleaseAPI adds a store, genre or role. Fetch them when you deploy or once a day and cache them. Don’t hardcode them, because new values can be added after you copy a list.
The cURL examples on this page use $BASE for https://api-sandbox.releaseapi.com/v1 and $RELEASEAPI_KEY for your key, as set up in the Quickstart.
curl "$BASE/core/data/genres" \
-H "X-API-KEY: $RELEASEAPI_KEY"
[
{ "code": "ELECTRONIC", "name": "Electronic", "mainGenre": "Electronic" },
{ "code": "ELECTRONIC_HOUSE", "name": "Electronic / House", "mainGenre": "Electronic", "subGenre": "House" },
{ "code": "ELECTRONIC_TECHNO", "name": "Electronic / Techno", "mainGenre": "Electronic", "subGenre": "Techno" },
"…"
]
Endpoints
Every list is a GET on /v1/core/data/{list}. The tables give the {list} part, grouped by where you use it.
Catalog and distribution
| List | Item | Used for |
|---|---|---|
genres | code, name, mainGenre, subGenre | Release and track genres. |
languages | code, name, i18n | Metadata language and the language of the lyrics or audio. |
contributors | code, name, roleGroup | The role of each contributor on a release or track. |
countries | code, name, continentCode, continentName | Territory selection on a release. |
stores | code, name, isActive, specialRules, supportsVideo | The stores a release goes to. See Stores and providers. |
delivery-providers | code, supportedStores, requiredConfigAttributes | Delivery profiles. |
pricing-tier | code, trackPriceEur, releasePriceEurForTracks | Download pricing on a release. |
release-media-types | code | The format of a release (single, EP, album, …). |
video-rating-agencies | code | Age ratings on music videos. |
quality-file-types | code | Quality reports on catalog releases. |
Reporting and analytics
These are the codes you’ll see in statements, trends and analytics:
| List | Item | Used for |
|---|---|---|
reporting-stores | code | Store dimension in analytics and exports. |
reporting-services | code, hasTrendData, hasVideoTrendData | Which services deliver daily trend data. |
trends-providers | code, requiredConfigAttributes | Daily trend imports. See Reports and exports › Daily trends. |
trends-report-types | code | Trend reports. |
statements-providers | code | Who sent a statement, which isn’t always where the music was heard. Appears as reporting_provider in statement reports. |
statements-report-types | code | Statement reports. |
export-report-types | reportType, allowedFilters | Which filters each export type accepts. See Exports. |
reporting-purchase-types | code | Purchase type dimension. |
reporting-media-types | code | Media type dimension. |
reporting-transaction-types | code | Transaction type dimension. |
reporting-device-types | code | Device type dimension. |
reporting-device-ecosystems | code | Device ecosystem dimension. |
reporting-genders | code | Listener gender dimension. |
Three of these lists describe where a figure comes from. A reporting store is the company (APPLE), a reporting service is one of its products (APPLE_MUSIC, APPLE_ITUNES), and a provider is the feed the data came through. They are separate lists that have codes but no display names, and there’s no endpoint that maps one to another. Every report row carries both store and service, so build the store-to-service mapping from your own data (the distinct pairs) and keep your own display names and icons next to it. The distribution store codes (Stores and providers) are a fourth list, so don’t assume a reporting code equals a delivery code.
Genres
Genres have two levels. Each code is either a main genre on its own (ELECTRONIC) or a main genre with a sub-genre (ELECTRONIC_HOUSE, HIP_HOP_TRAP). There are about 470 codes across these main genres:
ReleaseAPI translates each code into every store’s own genre taxonomy when it delivers, so you pick one code and don’t need to know Apple’s or Amazon’s lists. A few stores restrict genres: Beatport and Juno Download take electronic releases only, and Apple doesn’t accept audiobooks. The specialRules field on each store lists these.
Contributor roles
Every contributor on a release or track has a role. There are close to a thousand roles, from ARTIST and FEATURING to BASS_GUITAR and PRODUCER. Each belongs to one of four groups, which is the natural way to structure a role picker:
roleGroup | Contains | Examples |
|---|---|---|
MAIN_ARTIST_GROUP | The artists a release is credited to. | ARTIST, FEATURING |
PERFORMER_GROUP | Musicians and vocalists. | BASS_GUITAR, CELLO, CHORUS |
COMPOSER_AND_LYRICIST_GROUP | Writers. | COMPOSER, LYRICIST, ARRANGER |
PRODUCTION_AND_ENGINEERING_GROUP | Producers and engineers. | PRODUCER, ENGINEER, ADDITIONAL_PRODUCER |
[
{ "code": "ARTIST", "name": "Artist", "roleGroup": "MAIN_ARTIST_GROUP" },
{ "code": "FEATURING", "name": "Featuring", "roleGroup": "MAIN_ARTIST_GROUP" },
{ "code": "COMPOSER", "name": "Composer", "roleGroup": "COMPOSER_AND_LYRICIST_GROUP" },
{ "code": "BASS_GUITAR", "name": "Bass Guitar", "roleGroup": "PERFORMER_GROUP" },
"…"
]
Languages
Language codes are ISO 639-1 two-letter codes in upper case (EN, DE, ES), plus a few codes for languages that have no two-letter code. ZXX means “no linguistic content” and is the right value for instrumentals. Each entry includes i18n, a list of translated names. Currently it holds the German name, for use in German-language pickers.
[
{
"code": "DE",
"name": "German",
"i18n": [ { "language": "DE", "name": "Deutsch" } ]
},
"…"
]
Countries
Countries use ISO 3166-1 alpha-2 codes (AT, DE, US). Each entry has the continent, which is useful for building “all of Europe” shortcuts in a territory picker.
[
{ "code": "AT", "name": "Austria", "continentCode": "EU", "continentName": "Europe" },
{
"code": "AU", "name": "Australia",
"continentCode": "OC", "continentName": "Australia and Oceania"
},
"…"
]
Stores and delivery providers
/core/data/stores lists every store ReleaseAPI can deliver to, and /core/data/delivery-providers lists the feeds that carry releases to them. The full table, with each store’s rules, is under All stores.
[
{ "code": "SPOTIFY", "name": "Spotify", "isActive": true, "supportsVideo": true },
{
"code": "BEATPORT",
"name": "Beatport",
"isActive": true,
"specialRules": "Must be electronic genre",
"supportsVideo": false
},
"…"
]
Release media types
This list describes the format of a release. A release has no media-type field of its own. Instead, the list is used by the release’s overwrites.spotifyReleaseType, an optional override of the release type sent to Spotify. The full list is short:
SINGLEEPALBUMCOMPILATIONLIVESOUNDTRACKCLASSICALKARAOKETRIBUTEPUBLIC_DOMAINAUDIO_BOOK_RELEASEAUDIO_DRAMA_RELEASEVIDEO_SINGLE
Pricing tiers
Pricing tiers set the download prices listeners pay on stores that sell downloads, such as iTunes and Amazon. They have nothing to do with what ReleaseAPI charges you, which you’ll find on releaseapi.com. There are three track prices — LOW (€0.69), MID (€0.99) and HIGH (€1.29) — each with variants _MINUS_1 to _MINUS_14 that keep the track price but step the price of the full release down through the allowed bundle prices. For every tier, releasePriceEurForTracks lists the release price for releases of 1 to 20 tracks, so you can show the buyer’s price in your interface.
[
{
"code": "MID",
"trackPriceEur": 0.99,
"releasePriceEurForTracks": [0.99, 1.49, "…"]
},
"…"
]
Video rating agencies
Music videos can carry age ratings from national classification bodies, for example BBFC (United Kingdom), CNC (France) or EIRIN (Japan). USER_DEFINED is for your own age restriction when no agency has rated the video. See Music videos.
Export report types
Each export type accepts its own set of filters. This list names them, so you can offer only the filters that apply when someone orders an export. Sending a filter the type doesn’t allow fails with <FILTER>_FILTER_NOT_ALLOWED.
The names here are snake_case, while the export request uses camelCase: customer_ids is the customerIds filter, sold_at_from is soldAtFrom. The required reportedAtFrom and reportedAtTo aren’t listed. See Export filters.
[
{
"reportType": "TRENDS_PROCESSED_DUMP",
"allowedFilters": [
"tenant_id", "sold_at_from", "sold_at_to",
"customer_ids", "release_ids", "track_ids",
"stores", "countries", "…"
]
},
"…"
]
Validation codes
Two lists explain the codes you meet in validation findings and rejection reasons. Both need DRAFT_READ, and each entry carries an English explanation of what the code means and a fix. Load them once, cache them, and look up codes from there.
GET /v1/distribution/drafts/validationslists every check a release or video draft runs, with itsseverity(see Severities).nameis the code you find incheck.name, anddescriptionis a short developer note.GET /v1/distribution/drafts/rejection-reasonslists every reason a reviewer can give.kindsays where it comes from.CHECKis a validation check that a reviewer can also give,REVIEWis a reason only a reviewer sets, andACCEPTANCEis a reason ReleaseAPI sets when acceptance fails.- The texts are written for developers. Field names appear in backticks. Use them as a starting point for your own wording, and translate them if your users need another language.
- Codes are stable, but new ones appear as checks are added. Fall back to a generic message for a code you don’t know.
[
{
"severity": "ERROR",
"name": "TRACK_CONTRIBUTIONS_NO_COMPOSER",
"description": "no composer defined for track",
"explanation": "The track has no composer.",
"fix": "Add a contributor with the role `COMPOSER`."
}
]
[
{
"name": "RELEASE_COVER_IS_GENERIC",
"kind": "REVIEW",
"explanation": "The cover is a stock or generic image that doesn't identify the release.",
"fix": "Use artwork specific to the release."
}
]