---
id: "musicbrainz_id"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["media"]
langs: ["common"]
quality: 80
url: "http://registry.apicrafter.io/datatype/musicbrainz_id"
---

# MusicBrainz Identifier (MBID) (`musicbrainz_id`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Permanent identifier of an entity in MusicBrainz, the open music encyclopedia: an artist, release group, release, recording, work, label, area, place, URL or track. It is a UUID in lower case with hyphens. The value does not tell the kind of entity, so the field name matters; the records musicbrainz_artist_id, musicbrainz_release_group_id and others name one kind.

- Parent datatype: `uuid`
- Personal data (PII): no
- Categories: Media and entertainment (media)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
```

## Examples

- `b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d` — The Beatles (artist)
- `f5093c06-23e3-404f-aeaa-40f72885ee3a` — The Dark Side of the Moon (release group)
- `b10bbbfccf9e42e0be17e2c3e1d2600d` (invalid example) — The Beatles without hyphens

## Translations

- ru: Идентификатор MusicBrainz (MBID)

## Sources

- doc: <https://musicbrainz.org/doc/MusicBrainz_Identifier>
- wikipedia: <https://en.wikipedia.org/wiki/MusicBrainz>

## Quality

Score 80/100. Missing: mapping (Wikidata, Schema.org, ...), detector coverage.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/musicbrainz_id.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/media/musicbrainz_id.yaml>
