title: Using Last.fm api to get song metadata
body: <p>I am trying to get a track's metadata from Last.fm web api. I tried getting the details using the track name and track artists and it worked. But to get more accurate results I wanted to use a song's MusicBrainzId(mbid) to get the details.</p>
  
  <p><a href="https://www.last.fm/api/show/track.getInfo" rel="nofollow noreferrer">last.fm api's documentaion for reference</a></p>
  
  <p>Now I am using the following GET request to get a json response</p>
  
  <blockquote>
    <p><a href="http://ws.audioscrobbler.com/2.0/?method=track.getInfo&amp;api_key=INSERT_API_KEY&amp;format=json&amp;mbid=bfcc6d75-a6a5-4bc6-8282-47aec8531818" rel="nofollow noreferrer">http://ws.audioscrobbler.com/2.0/?method=track.getInfo&amp;api_key=INSERT_API_KEY&amp;format=json&amp;mbid=bfcc6d75-a6a5-4bc6-8282-47aec8531818</a></p>
  </blockquote>
  
  <p>But I am getting an error response i.e.</p>
  
  <blockquote>
    <p>{"error":6,"message":"Track not found","links":[]}</p>
  </blockquote>
  
  <p>As I understood from the api documentation we can use mbid instead of track and artist params. Its not working for me. Please help me on this.</p>