Skip to content

Setting up the Scrobber

To use the ListenBrainz API, you need to get your generated api key from the UI.

First, open the settings in your Koito instance by clicking on the settings icon or pressing \.

Then, you can navigate to the account tab and log in using the default credentials admin and changeme, or the credentials you supplied when first running Koito using the KOITO_DEFAULT_USERNAME and KOITO_DEFAULT_PASSWORD environment variables.

After logging in, open the settings menu again and find the API Keys tab. On this tab, you will find the automatically generated API key.

Then, direct any application you want to scrobble data from to {your_koito_address}/apis/listenbrainz/1 and provide the api key from the UI as the token.

Koito allows you to relay listens submitted via the ListenBrainz-compatible API to another ListenBrainz-compatible server. In order to use this feature, all you need to do is set the KOITO_ENABLE_LBZ_RELAY, KOITO_LBZ_RELAY_URL, and KOITO_LBZ_RELAY_TOKEN variables in your environment. After setting these variables, be sure to restart your Koito instance to apply the settings.

Once the relay is configured, Koito will automatically forward any requests it recieves on /apis/listenbrainz/1 to the URL provided in the configuration.