Both
https://developer.spotify.com/documentation/web-api/reference/#/operations/get-track and https://developer.spotify.com/documentation/web-api/reference/#/operations/get-several-tracks indicate that a track artist's genres should be returned as part of the track payload, but they are not being returned.
For example for track ID 1bDbXMyjaUIooNwFE9wn0N it returns:
"artists": [
{
"external_urls": {
"spotify": "https://open.spotify.com/artist/3TVXtAsR1Inumwj472S9r4"
},
"href": "https://api.spotify.com/v1/artists/3TVXtAsR1Inumwj472S9r4",
"id": "3TVXtAsR1Inumwj472S9r4",
"name": "Drake",
"type": "artist",
"uri": "spotify:artist:3TVXtAsR1Inumwj472S9r4"
},
I didn't check but this could apply to other track endpoints, and to other artist fields.
Not sure if the documentation is out-of-date, or if it's a bug on the endpoints?
Thanks!