So, first of all, I’m aware that the LinkedBrainz project is essentially deprecated. That being said, the wiki page lists that you can still get JSON-LD representations of MB entities by using an Accept header with the value Accept: application/ld+json, and this does still work.
However, since the human-facing frontend of MB now requires a JavaScript bot check to access, and JSON-LD representations can only be accessed through that frontend instead of through the regular API (as far as I can tell) there doesn’t currently seem to be an easy programmatic way to access these representations, since cURL and such will simply hit the bot check and be denied.
I’m currently working on a small linked-data project with MusicBrainz data, so it would be rather convenient to be able to access those JSON-LD representations. Is there any way, or will I just have to use the regular APIs?
1 Like
The ideal way is probably to run your own Musicbrainz mirror: MusicBrainz Server / Setup - MusicBrainz
A local mirror has no bot defense in front of it and you don’t cause extra load on the MB servers using it.
1 Like
Thanks to @Zas there’s now an exception added for these requests (as long as we find it doesn’t cause any issues). I’d like us to have a dedicated endpoint for this data so it doesn’t have to be served by the website containers, but it’s very low priority right now. :\
4 Likes
Thanks a ton! I understand it’s a low priority, but it would be quite nice if it could be added to the regular API, since that seems to be the most sensible place for it (though I imagine there’s internal architectural reasons that might make it less simple).
Hopefully shouldn’t be any issues from my end, will make sure to appropriately ratelimit requests from my app and I’d be quite surprised if more than five people ever deploy this when/if it’s finished 
2 Likes