title: How to extract the data from spotify web API
body: <p>I can't find the JSON object in the http response</p>
  
  <p>I am trying to develop a react app which uses the spotify API to get artist's information. I use <code>fetch</code> to generate the GET request</p>
  
  <p>This request should return a JSON with the artist's information.
  However, when I print the response to the console, I am unable to find where that data is (in the console I see the header and two "blob" objects). In the developer tools network tab I can see that the response contains indeed a JSON with the data but as I said I am not able to access it through the <code>response</code> variable</p>
  
  <p>this is the code I use to generate the request and log the response</p>
  
  <pre class="lang-js prettyprint-override"><code>var accessToken='here I insert my token from developer.spotify.com';
  fetch('https://api.spotify.com/v1/artists/21E3waRsmPlU7jZsS13rcj', {
              method: 'GET',headers: {
                  'Accept': 'application/json',
                  'Content-Type': 'application/json',
                  'Authorization': 'Bearer '+accessToken
              }
          })
              .then((response)=&gt;{
                  console.log(response);
              });
  </code></pre>
  
  <p>As I said i get the response without any error, but I need help figuring out where my data lies in that</p>
  
  <p>this is the page of the api <a href="https://developer.spotify.com/console/get-artist/" rel="nofollow noreferrer">https://developer.spotify.com/console/get-artist/</a></p>
  
  <p>and this is the data I would like to extract from the response</p>
  
  <pre class="lang-js prettyprint-override"><code>{
    "external_urls": {
      "spotify": "https://open.spotify.com/artist/0TnOYISbd1XYRBk9myaseg"
    },
    "followers": {...},
    "genres": ["pop","latin",...],
    "href": "https://api.spotify.com/v1/artists/0TnOYISbd1XYRBk9myaseg",
    "id": "0TnOYISbd1XYRBk9myaseg",
    "images": [
      {
        "height": 640,
        "url": "https://i.scdn.co/image/89863fff0d540475d6fd25e7435138a4e5bd7216",
        "width": 640
      },
      {
        "height": 320,
        "url": "https://i.scdn.co/image/38e8be4aed5050c7b0bcf197a86b0e7b5cbb5ddc",
        "width": 320
      },
      {
        "height": 160,
        "url": "https://i.scdn.co/image/8573757d9c37eb5178ba8d34a6d6239b055fdf99",
        "width": 160
      }
    ],
    "name": "Pitbull",
    "popularity": 85,
    "type": "artist",
    "uri": "spotify:artist:0TnOYISbd1XYRBk9myaseg"
  }
  </code></pre>