How to link to a MusicBrainz ID?


#1

I got a list with MusicBrainz IDs. I would like to check them all but my problem is that I don’t know how to link to them. Some IDs are about artists, others are about releases, others about recordings, others about labels and so on.

To give an example, I got this MB ID - 7ab77f64-f2c7-45c2-8083-f8bae76c6027 but I don’t now how to link it:
https://musicbrainz.org/artist/7ab77f64-f2c7-45c2-8083-f8bae76c6027
or
https://musicbrainz.org/release/7ab77f64-f2c7-45c2-8083-f8bae76c6027
or
https://musicbrainz.org/recording/7ab77f64-f2c7-45c2-8083-f8bae76c6027
or
https://musicbrainz.org/label/7ab77f64-f2c7-45c2-8083-f8bae76c6027
?

Is there any way I can link to an ID without knowing what that ID is about?

Maybe it can be an interesting idea to create link shortcuts like
https://musicbrainz.org/7ab77f64-f2c7-45c2-8083-f8bae76c6027 - to redirect to https://musicbrainz.org/artist/7ab77f64-f2c7-45c2-8083-f8bae76c6027

Since the ID is unique, there won’t be any overlappings


#2

Not sure this really answers your question, but you can use the webservice to check the entity type:

https://musicbrainz.org/ws/js/entity/7ab77f64-f2c7-45c2-8083-f8bae76c6027

(entityType=“artist” here)


#3

Yes, it does answer to my question, thanks. I was hoping for a solution that is more simple but this one works too.

It would be really nice to implement redirects. Many websites have that, including this forum:

https://community.metabrainz.org/t/392267
redirects to
https://community.metabrainz.org/t/how-to-link-to-a-musicbrainz-id/392267


#4

BTW: https://tickets.metabrainz.org/browse/MBS-6539


#5

And as I mentioned in that ticket, there’s a (hidden, mostly unknown) field to find the right entity in our search page, under MBID. A pain to use it by hand every time though, so a redirect would be much better.