Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Japanese album names in Spotify API "Get Artist's Albums" cannot be retrieved correctly

Japanese album names in Spotify API "Get Artist's Albums" cannot be retrieved correctly

My Question or Issue

Between 2022-07-14T18:00:00+09:00 (JST) and 2022-07-20T18:00:00+09:00 (JST)
We have confirmed that the album names included in the album information obtained using the Spotify API "Get Artist's Albums" were different from the album names displayed on Spotify Web.

Specifically, if the album name was in Japanese, the album name in the API response was romanized Japanese.

Currently, as expected, Japanese album names are included.


Was this caused by a bug in the Spotify API?
Or, if I want to always get the original language (in this case Japanese) from the API, do I need to change the way the API is called?

 

Response that seems to be a bug(partially omitted):

(Look at the value of ".items[].name")

 

 

{
  "href": "https://api.spotify.com/v1/artists/5pjjlQXYjoMFWdjdKOre9s/albums?offset=0&limit=10&include_groups=album,single,compilation,appears_on&market=JP",
  "items": [
    {
      "album_group": "album",
      "album_type": "album",
      "artists": [
        {
          "external_urls": {
            "spotify": "https://open.spotify.com/artist/5pjjlQXYjoMFWdjdKOre9s"
          },
          "href": "https://api.spotify.com/v1/artists/5pjjlQXYjoMFWdjdKOre9s",
          "id": "5pjjlQXYjoMFWdjdKOre9s",
          "name": "ASCA",
          "type": "artist",
          "uri": "spotify:artist:5pjjlQXYjoMFWdjdKOre9s"
        }
      ],
      "external_urls": {
        "spotify": "https://open.spotify.com/album/70ufHpteBogDaC0irteY4l"
      },
      "href": "https://api.spotify.com/v1/albums/70ufHpteBogDaC0irteY4l",
      "id": "70ufHpteBogDaC0irteY4l",
      "images": [ ... ],
      "name": "Kimigamitayumenomonogatari",
      "release_date": "2022-01-26",
      "release_date_precision": "day",
      "total_tracks": 8,
      "type": "album",
      "uri": "spotify:album:70ufHpteBogDaC0irteY4l"
    },
    {
      "album_group": "album",
      "album_type": "album",
      "artists": [
        {
          "external_urls": {
            "spotify": "https://open.spotify.com/artist/5pjjlQXYjoMFWdjdKOre9s"
          },
          "href": "https://api.spotify.com/v1/artists/5pjjlQXYjoMFWdjdKOre9s",
          "id": "5pjjlQXYjoMFWdjdKOre9s",
          "name": "ASCA",
          "type": "artist",
          "uri": "spotify:artist:5pjjlQXYjoMFWdjdKOre9s"
        }
      ],
      "external_urls": {
        "spotify": "https://open.spotify.com/album/3WllEI0mCP1Z5q2eaL8Dyo"
      },
      "href": "https://api.spotify.com/v1/albums/3WllEI0mCP1Z5q2eaL8Dyo",
      "id": "3WllEI0mCP1Z5q2eaL8Dyo",
      "images": [ ... ],
      "name": "Hyakkiyakou",
      "release_date": "2021-01-27",
      "release_date_precision": "day",
      "total_tracks": 11,
      "type": "album",
      "uri": "spotify:album:3WllEI0mCP1Z5q2eaL8Dyo"
    },
    {
      "album_group": "album",
      "album_type": "album",
      "artists": [
        {
          "external_urls": {
            "spotify": "https://open.spotify.com/artist/5pjjlQXYjoMFWdjdKOre9s"
          },
          "href": "https://api.spotify.com/v1/artists/5pjjlQXYjoMFWdjdKOre9s",
          "id": "5pjjlQXYjoMFWdjdKOre9s",
          "name": "ASCA",
          "type": "artist",
          "uri": "spotify:artist:5pjjlQXYjoMFWdjdKOre9s"
        }
      ],
      "external_urls": {
        "spotify": "https://open.spotify.com/album/4nwzOXUbeLiHXsNxX2Fjhy"
      },
      "href": "https://api.spotify.com/v1/albums/4nwzOXUbeLiHXsNxX2Fjhy",
      "id": "4nwzOXUbeLiHXsNxX2Fjhy",
      "images": [ ... ],
      "name": "Hyakka Ryoran",
      "release_date": "2019-11-06",
      "release_date_precision": "day",
      "total_tracks": 13,
      "type": "album",
      "uri": "spotify:album:4nwzOXUbeLiHXsNxX2Fjhy"
    },
    {
      "album_group": "album",
      "album_type": "album",
      "artists": [
        {
          "external_urls": {
            "spotify": "https://open.spotify.com/artist/5pjjlQXYjoMFWdjdKOre9s"
          },
          "href": "https://api.spotify.com/v1/artists/5pjjlQXYjoMFWdjdKOre9s",
          "id": "5pjjlQXYjoMFWdjdKOre9s",
          "name": "ASCA",
          "type": "artist",
          "uri": "spotify:artist:5pjjlQXYjoMFWdjdKOre9s"
        }
      ],
      "external_urls": {
        "spotify": "https://open.spotify.com/album/3gtN7OQcfBLeLoTGf772p2"
      },
      "href": "https://api.spotify.com/v1/albums/3gtN7OQcfBLeLoTGf772p2",
      "id": "3gtN7OQcfBLeLoTGf772p2",
      "images": [ ... ],
      "name": "RUST / Hibari / Kobo",
      "release_date": "2019-09-04",
      "release_date_precision": "day",
      "total_tracks": 7,
      "type": "album",
      "uri": "spotify:album:3gtN7OQcfBLeLoTGf772p2"
    },
    {
      "album_group": "single",
      "album_type": "single",
      "artists": [
        {
          "external_urls": {
            "spotify": "https://open.spotify.com/artist/5pjjlQXYjoMFWdjdKOre9s"
          },
          "href": "https://api.spotify.com/v1/artists/5pjjlQXYjoMFWdjdKOre9s",
          "id": "5pjjlQXYjoMFWdjdKOre9s",
          "name": "ASCA",
          "type": "artist",
          "uri": "spotify:artist:5pjjlQXYjoMFWdjdKOre9s"
        }
      ],
      "external_urls": {
        "spotify": "https://open.spotify.com/album/6Tq88ZyplXv4wCom2x7y4v"
      },
      "href": "https://api.spotify.com/v1/albums/6Tq88ZyplXv4wCom2x7y4v",
      "id": "6Tq88ZyplXv4wCom2x7y4v",
      "images": [ ... ],
      "name": "Sauiumononi",
      "release_date": "2022-07-20",
      "release_date_precision": "day",
      "total_tracks": 1,
      "type": "album",
      "uri": "spotify:album:6Tq88ZyplXv4wCom2x7y4v"
    },
  ],
  "limit": 10,
  "next": "https://api.spotify.com/v1/artists/5pjjlQXYjoMFWdjdKOre9s/albums?offset=10&limit=10&include_groups=album,single,compilation,appears_on&market=JP",
  "offset": 0,
  "previous": null,
  "total": 27
}

 

 

 


Expected Response(partially omitted):

(Look at the value of ".items[].name")

 

 

{
  "href": "https://api.spotify.com/v1/artists/5pjjlQXYjoMFWdjdKOre9s/albums?offset=0&limit=10&include_groups=album,single,compilation,appears_on&market=JP",
  "items": [
    {
      "album_group": "album",
      "album_type": "album",
      "artists": [
        {
          "external_urls": {
            "spotify": "https://open.spotify.com/artist/5pjjlQXYjoMFWdjdKOre9s"
          },
          "href": "https://api.spotify.com/v1/artists/5pjjlQXYjoMFWdjdKOre9s",
          "id": "5pjjlQXYjoMFWdjdKOre9s",
          "name": "ASCA",
          "type": "artist",
          "uri": "spotify:artist:5pjjlQXYjoMFWdjdKOre9s"
        }
      ],
      "external_urls": {
        "spotify": "https://open.spotify.com/album/70ufHpteBogDaC0irteY4l"
      },
      "href": "https://api.spotify.com/v1/albums/70ufHpteBogDaC0irteY4l",
      "id": "70ufHpteBogDaC0irteY4l",
      "images": [ ... ],
      "name": "君が見た夢の物語",
      "release_date": "2022-01-26",
      "release_date_precision": "day",
      "total_tracks": 8,
      "type": "album",
      "uri": "spotify:album:70ufHpteBogDaC0irteY4l"
    },
    {
      "album_group": "album",
      "album_type": "album",
      "artists": [
        {
          "external_urls": {
            "spotify": "https://open.spotify.com/artist/5pjjlQXYjoMFWdjdKOre9s"
          },
          "href": "https://api.spotify.com/v1/artists/5pjjlQXYjoMFWdjdKOre9s",
          "id": "5pjjlQXYjoMFWdjdKOre9s",
          "name": "ASCA",
          "type": "artist",
          "uri": "spotify:artist:5pjjlQXYjoMFWdjdKOre9s"
        }
      ],
      "external_urls": {
        "spotify": "https://open.spotify.com/album/3WllEI0mCP1Z5q2eaL8Dyo"
      },
      "href": "https://api.spotify.com/v1/albums/3WllEI0mCP1Z5q2eaL8Dyo",
      "id": "3WllEI0mCP1Z5q2eaL8Dyo",
      "images": [ ... ],
      "name": "百希夜行",
      "release_date": "2021-01-27",
      "release_date_precision": "day",
      "total_tracks": 11,
      "type": "album",
      "uri": "spotify:album:3WllEI0mCP1Z5q2eaL8Dyo"
    },
    {
      "album_group": "album",
      "album_type": "album",
      "artists": [
        {
          "external_urls": {
            "spotify": "https://open.spotify.com/artist/5pjjlQXYjoMFWdjdKOre9s"
          },
          "href": "https://api.spotify.com/v1/artists/5pjjlQXYjoMFWdjdKOre9s",
          "id": "5pjjlQXYjoMFWdjdKOre9s",
          "name": "ASCA",
          "type": "artist",
          "uri": "spotify:artist:5pjjlQXYjoMFWdjdKOre9s"
        }
      ],
      "external_urls": {
        "spotify": "https://open.spotify.com/album/4nwzOXUbeLiHXsNxX2Fjhy"
      },
      "href": "https://api.spotify.com/v1/albums/4nwzOXUbeLiHXsNxX2Fjhy",
      "id": "4nwzOXUbeLiHXsNxX2Fjhy",
      "images": [ ... ],
      "name": "百歌繚乱",
      "release_date": "2019-11-06",
      "release_date_precision": "day",
      "total_tracks": 13,
      "type": "album",
      "uri": "spotify:album:4nwzOXUbeLiHXsNxX2Fjhy"
    },
    {
      "album_group": "album",
      "album_type": "album",
      "artists": [
        {
          "external_urls": {
            "spotify": "https://open.spotify.com/artist/5pjjlQXYjoMFWdjdKOre9s"
          },
          "href": "https://api.spotify.com/v1/artists/5pjjlQXYjoMFWdjdKOre9s",
          "id": "5pjjlQXYjoMFWdjdKOre9s",
          "name": "ASCA",
          "type": "artist",
          "uri": "spotify:artist:5pjjlQXYjoMFWdjdKOre9s"
        }
      ],
      "external_urls": {
        "spotify": "https://open.spotify.com/album/3gtN7OQcfBLeLoTGf772p2"
      },
      "href": "https://api.spotify.com/v1/albums/3gtN7OQcfBLeLoTGf772p2",
      "id": "3gtN7OQcfBLeLoTGf772p2",
      "images": [ ... ],
      "name": "RUST / 雲雀 / 光芒",
      "release_date": "2019-09-04",
      "release_date_precision": "day",
      "total_tracks": 7,
      "type": "album",
      "uri": "spotify:album:3gtN7OQcfBLeLoTGf772p2"
    },
    {
      "album_group": "single",
      "album_type": "single",
      "artists": [
        {
          "external_urls": {
            "spotify": "https://open.spotify.com/artist/5pjjlQXYjoMFWdjdKOre9s"
          },
          "href": "https://api.spotify.com/v1/artists/5pjjlQXYjoMFWdjdKOre9s",
          "id": "5pjjlQXYjoMFWdjdKOre9s",
          "name": "ASCA",
          "type": "artist",
          "uri": "spotify:artist:5pjjlQXYjoMFWdjdKOre9s"
        }
      ],
      "external_urls": {
        "spotify": "https://open.spotify.com/album/6Tq88ZyplXv4wCom2x7y4v"
      },
      "href": "https://api.spotify.com/v1/albums/6Tq88ZyplXv4wCom2x7y4v",
      "id": "6Tq88ZyplXv4wCom2x7y4v",
      "images": [ ... ],
      "name": "サウイウモノニ",
      "release_date": "2022-07-20",
      "release_date_precision": "day",
      "total_tracks": 1,
      "type": "album",
      "uri": "spotify:album:6Tq88ZyplXv4wCom2x7y4v"
    },
  ],
  "limit": 10,
  "next": "https://api.spotify.com/v1/artists/5pjjlQXYjoMFWdjdKOre9s/albums?offset=10&limit=10&include_groups=album,single,compilation,appears_on&market=JP",
  "offset": 0,
  "previous": null,
  "total": 27
}

 

 

Reply
0 Replies

Suggested posts

Staff
Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

Staff
ModeratorStaff / Moderator/ 3 years ago  in Social & Random