<?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: search api not working for episodes in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/search-api-not-working-for-episodes/m-p/6116529#M14127</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have exactly the same issue: searching for episodes returns an empty array:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "episodes" : {
    "href" : "https://api.spotify.com/v1/search?query=football&amp;amp;type=episode&amp;amp;offset=0&amp;amp;limit=20",
    "items" : [ ],
    "limit" : 20,
    "next" : "https://api.spotify.com/v1/search?query=football&amp;amp;type=episode&amp;amp;offset=20&amp;amp;limit=20",
    "offset" : 0,
    "previous" : null,
    "total" : 1000
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a correct token with a curl call:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;   curl --request GET \
  --url 'https://api.spotify.com/v1/search?query=football&amp;amp;type=episode' \
  --header 'Authorization: Bearer …'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When trying the exact same request on the Spotify online documentation endpoint test, I correctly get results:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "episodes": {
    "href": "https://api.spotify.com/v1/search?query=football&amp;amp;type=episode&amp;amp;locale=fr-fr&amp;amp;offset=0&amp;amp;limit=20",
    "items": [
      {
        "audio_preview_url": "https://podz-content.spotifycdn.com/audio/clips/5Y36ERG90G8ZDHAEDoeydm/clip_0_60000.mp3",
        "description": "BELLIGOABELLIGOALL FOLLOW MY SPOTIFY ACCOUNT https://open.spotify.com/user/zrt55fe0pdi08afexdut5f4k6?si=DqXcNq5HSHWMzuZPgtNfjw ",
        "duration_ms": 61727,
        "explicit": false,
        "external_urls": {
          "spotify": "https://open.spotify.com/episode/30DJ0RNxBOZSC7tekvaTOC"
        },
        "href": "https://api.spotify.com/v1/episodes/30DJ0RNxBOZSC7tekvaTOC",
        "html_description": "&amp;lt;p&amp;gt;BELLIGOABELLIGOALL FOLLOW MY SPOTIFY ACCOUNT &amp;lt;a href=\"https://open.spotify.com/user/zrt55fe0pdi08afexdut5f4k6?si&amp;amp;#61;DqXcNq5HSHWMzuZPgtNfjw\" rel=\"nofollow\"&amp;gt;https://open.spotify.com/user/zrt55fe0pdi08afexdut5f4k6?si&amp;amp;#61;DqXcNq5HSHWMzuZPgtNfjw&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;p&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/p&amp;gt;",
        "id": "30DJ0RNxBOZSC7tekvaTOC",
        "images": [
          {
            "height": 640,
            "url": "https://i.scdn.co/image/ab6765630000ba8a28870b9d60a04e201095f9ed",
            "width": 640
          },
          {
            "height": 300,
            "url": "https://i.scdn.co/image/ab67656300005f1f28870b9d60a04e201095f9ed",
            "width": 300
          },
          {
            "height": 64,
            "url": "https://i.scdn.co/image/ab6765630000f68d28870b9d60a04e201095f9ed",
            "width": 64
          }
        ],
        "is_externally_hosted": false,
        "is_playable": true,
        "language": "tr",
        "languages": [
          "tr"
        ],
        "name": "Belligoal",
        "release_date": "2023-11-04",
        "release_date_precision": "day",
        "resume_point": {
          "fully_played": false,
          "resume_position_ms": 0
        },
        "type": "episode",
        "uri": "spotify:episode:30DJ0RNxBOZSC7tekvaTOC"
      },
      …
    ],
    "limit": 20,
    "next": "https://api.spotify.com/v1/search?query=football&amp;amp;type=episode&amp;amp;locale=fr-fr&amp;amp;offset=20&amp;amp;limit=20",
    "offset": 0,
    "previous": null,
    "total": 1000
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":right_arrow:"&gt;➡️&lt;/span&gt;Any idea what might be wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jun 2024 13:02:23 GMT</pubDate>
    <dc:creator>LaCollision</dc:creator>
    <dc:date>2024-06-05T13:02:23Z</dc:date>
    <item>
      <title>search api not working for episodes</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/search-api-not-working-for-episodes/m-p/6018541#M13570</link>
      <description>&lt;P&gt;I want to get the id of a podcast episode whose name I know with Python, but when I search with the API, the item parameter returns empty. When I do this for tracks or artists, it works perfectly. Also, yes, I have the access token.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Apr 2024 15:32:36 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/search-api-not-working-for-episodes/m-p/6018541#M13570</guid>
      <dc:creator>RoBoT_</dc:creator>
      <dc:date>2024-04-20T15:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: search api not working for episodes</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/search-api-not-working-for-episodes/m-p/6019112#M13571</link>
      <description>&lt;P&gt;Tried it myself just now using postman and got full results&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Inzanity_0-1713646073839.png" style="width: 400px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/172118iCFD57DEAB2BD62CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Inzanity_0-1713646073839.png" alt="Inzanity_0-1713646073839.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Apr 2024 20:48:06 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/search-api-not-working-for-episodes/m-p/6019112#M13571</guid>
      <dc:creator>Inzanity</dc:creator>
      <dc:date>2024-04-20T20:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: search api not working for episodes</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/search-api-not-working-for-episodes/m-p/6019909#M13576</link>
      <description>&lt;P&gt;Can you write your code or the url you used for the GET request?&lt;/P&gt;</description>
      <pubDate>Sun, 21 Apr 2024 09:42:38 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/search-api-not-working-for-episodes/m-p/6019909#M13576</guid>
      <dc:creator>RoBoT_</dc:creator>
      <dc:date>2024-04-21T09:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: search api not working for episodes</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/search-api-not-working-for-episodes/m-p/6020030#M13579</link>
      <description>&lt;P&gt;I don't have specific code but I'm using a program called Postman which is used to test queries and APIs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do a GET on&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://api.spotify.com/v1/search?query=die" target="_blank"&gt;https://api.spotify.com/v1/search?query=die&lt;/A&gt; meinungsmache&amp;amp;type=episode&amp;amp;limit=5 and pass the Bearer Token in the Authentication as well&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Inzanity_0-1713697891796.png" style="width: 400px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/172140iB66C0ADB336A6AD3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Inzanity_0-1713697891796.png" alt="Inzanity_0-1713697891796.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Inzanity_1-1713697913870.png" style="width: 400px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/172141iD33A9B78A752C60B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Inzanity_1-1713697913870.png" alt="Inzanity_1-1713697913870.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Apr 2024 11:12:06 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/search-api-not-working-for-episodes/m-p/6020030#M13579</guid>
      <dc:creator>Inzanity</dc:creator>
      <dc:date>2024-04-21T11:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: search api not working for episodes</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/search-api-not-working-for-episodes/m-p/6116529#M14127</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have exactly the same issue: searching for episodes returns an empty array:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "episodes" : {
    "href" : "https://api.spotify.com/v1/search?query=football&amp;amp;type=episode&amp;amp;offset=0&amp;amp;limit=20",
    "items" : [ ],
    "limit" : 20,
    "next" : "https://api.spotify.com/v1/search?query=football&amp;amp;type=episode&amp;amp;offset=20&amp;amp;limit=20",
    "offset" : 0,
    "previous" : null,
    "total" : 1000
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a correct token with a curl call:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;   curl --request GET \
  --url 'https://api.spotify.com/v1/search?query=football&amp;amp;type=episode' \
  --header 'Authorization: Bearer …'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When trying the exact same request on the Spotify online documentation endpoint test, I correctly get results:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "episodes": {
    "href": "https://api.spotify.com/v1/search?query=football&amp;amp;type=episode&amp;amp;locale=fr-fr&amp;amp;offset=0&amp;amp;limit=20",
    "items": [
      {
        "audio_preview_url": "https://podz-content.spotifycdn.com/audio/clips/5Y36ERG90G8ZDHAEDoeydm/clip_0_60000.mp3",
        "description": "BELLIGOABELLIGOALL FOLLOW MY SPOTIFY ACCOUNT https://open.spotify.com/user/zrt55fe0pdi08afexdut5f4k6?si=DqXcNq5HSHWMzuZPgtNfjw ",
        "duration_ms": 61727,
        "explicit": false,
        "external_urls": {
          "spotify": "https://open.spotify.com/episode/30DJ0RNxBOZSC7tekvaTOC"
        },
        "href": "https://api.spotify.com/v1/episodes/30DJ0RNxBOZSC7tekvaTOC",
        "html_description": "&amp;lt;p&amp;gt;BELLIGOABELLIGOALL FOLLOW MY SPOTIFY ACCOUNT &amp;lt;a href=\"https://open.spotify.com/user/zrt55fe0pdi08afexdut5f4k6?si&amp;amp;#61;DqXcNq5HSHWMzuZPgtNfjw\" rel=\"nofollow\"&amp;gt;https://open.spotify.com/user/zrt55fe0pdi08afexdut5f4k6?si&amp;amp;#61;DqXcNq5HSHWMzuZPgtNfjw&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;p&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/p&amp;gt;",
        "id": "30DJ0RNxBOZSC7tekvaTOC",
        "images": [
          {
            "height": 640,
            "url": "https://i.scdn.co/image/ab6765630000ba8a28870b9d60a04e201095f9ed",
            "width": 640
          },
          {
            "height": 300,
            "url": "https://i.scdn.co/image/ab67656300005f1f28870b9d60a04e201095f9ed",
            "width": 300
          },
          {
            "height": 64,
            "url": "https://i.scdn.co/image/ab6765630000f68d28870b9d60a04e201095f9ed",
            "width": 64
          }
        ],
        "is_externally_hosted": false,
        "is_playable": true,
        "language": "tr",
        "languages": [
          "tr"
        ],
        "name": "Belligoal",
        "release_date": "2023-11-04",
        "release_date_precision": "day",
        "resume_point": {
          "fully_played": false,
          "resume_position_ms": 0
        },
        "type": "episode",
        "uri": "spotify:episode:30DJ0RNxBOZSC7tekvaTOC"
      },
      …
    ],
    "limit": 20,
    "next": "https://api.spotify.com/v1/search?query=football&amp;amp;type=episode&amp;amp;locale=fr-fr&amp;amp;offset=20&amp;amp;limit=20",
    "offset": 0,
    "previous": null,
    "total": 1000
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":right_arrow:"&gt;➡️&lt;/span&gt;Any idea what might be wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 13:02:23 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/search-api-not-working-for-episodes/m-p/6116529#M14127</guid>
      <dc:creator>LaCollision</dc:creator>
      <dc:date>2024-06-05T13:02:23Z</dc:date>
    </item>
  </channel>
</rss>

