<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Get lyrics in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Get-lyrics/m-p/5429561#M6330</link>
    <description>&lt;P&gt;This request is sent when you click the 'show text' button on the official Spotify website. If you look at the body of the response, it contains texts and timestamps&lt;/P&gt;</description>
    <pubDate>Wed, 14 Sep 2022 11:13:06 GMT</pubDate>
    <dc:creator>Evanechecssss</dc:creator>
    <dc:date>2022-09-14T11:13:06Z</dc:date>
    <item>
      <title>Get lyrics</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Get-lyrics/m-p/5429280#M6318</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Windows 11&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm trying to get the lyrics to the song by querying &lt;A href="https://spclient.wg.spotify.com/color-lyrics/" target="_blank" rel="noopener"&gt;https://spclient.wg.spotify.com/color-lyrics/&lt;/A&gt;&lt;BR /&gt;But I can't, I get the answer that the wrong token, or the client. Can you give me a hint, or give me a code example, I would appreciate it.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 19:02:12 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Get-lyrics/m-p/5429280#M6318</guid>
      <dc:creator>Evanechecssss</dc:creator>
      <dc:date>2022-09-13T19:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Get lyrics</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Get-lyrics/m-p/5429414#M6323</link>
      <description>&lt;P&gt;Where did you get that URL from? I can't find anything about lyrics in the official &lt;A href="https://developer.spotify.com/" target="_blank" rel="noopener"&gt;Spotify for Developers&lt;/A&gt; docs.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 04:51:03 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Get-lyrics/m-p/5429414#M6323</guid>
      <dc:creator>Ximzend</dc:creator>
      <dc:date>2022-09-14T04:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Get lyrics</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Get-lyrics/m-p/5429561#M6330</link>
      <description>&lt;P&gt;This request is sent when you click the 'show text' button on the official Spotify website. If you look at the body of the response, it contains texts and timestamps&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 11:13:06 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Get-lyrics/m-p/5429561#M6330</guid>
      <dc:creator>Evanechecssss</dc:creator>
      <dc:date>2022-09-14T11:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Get lyrics</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Get-lyrics/m-p/5429578#M6331</link>
      <description>&lt;P&gt;According to &lt;A href="https://newsroom.spotify.com/2021-11-18/you-can-now-find-the-lyrics-to-your-favorite-songs-in-spotify-heres-how/" target="_blank" rel="noopener"&gt;this news article&lt;/A&gt;, the lyrics comes from Musixmatch. Musixmatch has it's own &lt;A href="https://developer.musixmatch.com/" target="_blank" rel="noopener"&gt;API&lt;/A&gt; and &lt;A href="https://developer.musixmatch.com/documentation" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 11:49:12 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Get-lyrics/m-p/5429578#M6331</guid>
      <dc:creator>Ximzend</dc:creator>
      <dc:date>2022-09-14T11:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Get lyrics</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Get-lyrics/m-p/5459046#M7067</link>
      <description>&lt;P data-unlink="true"&gt;Pretty easy. First of all, you need a token. I'm not sure if the token from the official API is working, but the one from&amp;nbsp;&lt;A href="https://open.spotify.com/get_access_token" target="_self"&gt;https://open.spotify.com/get_access_token&lt;/A&gt;&amp;nbsp;&amp;nbsp;should be working fine. Now we need a track id and an image for the background (image is optional). The image has to be an url from spotifys servers. As the headers we need the token and the app-platform: WebPlayer. Second one is very important, there's no warning that you would need that.&lt;/P&gt;&lt;P&gt;Now let's put everything together:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;URL:&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;SPAN&gt;https://spclient.wg.spotify.com/color-lyrics/v2/track/0VjIjW4GlUZAMYd2vXMi3b/image/https%3A%2F%2Fi.scdn.co%2Fimage%2Fab67616d0000b2738863bc11d2aa12b54f5aeb36?format=json&amp;amp;vocalRemoval=false&amp;amp;market=from_token&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The image has to be URL-encoded. The params are optional, but you should probably keep the format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;URL without the image:&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;SPAN&gt;https://spclient.wg.spotify.com/color-lyrics/v2/track/0VjIjW4GlUZAMYd2vXMi3b?format=json&amp;amp;vocalRemoval=false&amp;amp;market=from_token&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here again as a curl command:&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;curl -i "https://spclient.wg.spotify.com/color-lyrics/v2/track/0VjIjW4GlUZAMYd2vXMi3b/image/https%3A%2F%2Fi.scdn.co%2Fimage%2Fab67616d0000b2738863bc11d2aa12b54f5aeb36?format=json&amp;amp;vocalRemoval=false&amp;amp;market=from_token&amp;nbsp;" -H "authorization: Bearer your_bearer_token" -H "app-platform: WebPlayer"&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 13:05:49 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Get-lyrics/m-p/5459046#M7067</guid>
      <dc:creator>dieserniko</dc:creator>
      <dc:date>2022-11-17T13:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Get lyrics</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Get-lyrics/m-p/5460240#M7087</link>
      <description>&lt;P&gt;The bearer token I get by opening that URL in ny browser works. But if I try to get a token by making a curl request with the same URL, the token I get is much shorter and that token doesn't work.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Nov 2022 10:08:26 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Get-lyrics/m-p/5460240#M7087</guid>
      <dc:creator>Ximzend</dc:creator>
      <dc:date>2022-11-20T10:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Get lyrics</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Get-lyrics/m-p/5460419#M7097</link>
      <description>&lt;P&gt;Oh, that might have been my mistake. Anonymous access apparently doesn't work. When opening the URL in the browser, then it's actually a user token, if you're already logged in. For now, I cannot find another way to retrieve lyrics.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Nov 2022 20:40:40 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Get-lyrics/m-p/5460419#M7097</guid>
      <dc:creator>dieserniko</dc:creator>
      <dc:date>2022-11-20T20:40:40Z</dc:date>
    </item>
  </channel>
</rss>

