Indeed, Spotify’s API doesn’t provide gender. However, you are able to use already existing artist gender data sets/bases out there and blend these with your initial data set.
In this particular case we’re looking at the Dutch Spotify charts, meaning that quite some local artists weren’t featured in data sets. In this case you can always consult Wikipedia and extract information from there.
Hope this helps.