MusicBrainz Mirror Setup [Closed]

I have installed musicbrainz mirror on aws ec2 ubuntu. As part of the mirror setup do we get API endpoints also as part of the setup

What exactly do you mean with “API endpoints”?
What would you like to achieve?

Hi InvisibleMan78,
I meant using below api(this to avoid 1API call per second on the musicbrainz.org ) to build new web UI
/ws/2/release-group?artist=410c9baf-5469-44f6-9852-826524b80c61&type=album|ep

1 Like

According to the installation documentation there is no rate limit for your own mirror setup:

2 Likes

There are no limits, I use it for my own scripts.

1 Like

thanks InvisibleMan. I am not able to see API code in the codebase.

thanks nadl40. can you share sample of how you use it

What error did you get when sitting this?

Do you have this artist and its data in your local database?
Go to /artist/410c9baf-5469-44f6-9852-826524b80c61 and check.

Documentation of how to use it is here

https://musicbrainz.org/doc/MusicBrainz_API

All you need to do is to replace endpoint with mirror server, here is an example to get a realease from my mirror

http://mzbnlocal:5000/ws/2/release/8022db9e-18ac-4d01-b7f4-2b7f912474ba?inc=media+recordings+artist-credits+artists+labels+artist-rels+release-rels+u
rl-rels+recording-rels+work-rels+recording-level-rels+instrument-rels+aliases

There are many examples in this forum, I’ve used to get a lot of help to navigate MB entities.

1 Like

thanks nadl40 for the link. I