How to get the link to a wikimedia commons image?

Tags: #<Tag:0x00007f0509552598> #<Tag:0x00007f0509552458>


Querying Simple Minds (using:, the following is part of the output:

I’d be interested in getting the URL for the actual image (in this case: – the actual metabrainz page for Simple Minds does this anyways (see

How do I do this translation (if any), or is there an API call to wikimedia commons in which the target id is used?

Please let me know.



There is an API call you can make to get a JSON result including the URL to the actual image. I implemented this a while back for the MB artist boxes shown in this forum, see the code at

And it is also documented somewhere on the Wikipedia pages of course.


MusicBrainz itself uses this URL: