API Doc

API Methods

artist.getInfo

Get the metadata for an artist on Last.fm. Includes biography.
Original docs: artist.getInfo

e.g. http://lastfm-api-ext.appspot.com/2.0/?method=artist.getinfo&artist=cher&api_key=b25b959554ed76058ac220b7b2e0a026

Params

artist (Required) : The Artist name in question
api_key (Required) : A Last.fm API key
outtype : The data output format (js, json, php). Default is XML.
callback : Function name that will wrap the data if JSONP (outtype 'js') is used.

Sample Response (JSON Object Structure)

{
  "name: "Cher",
  "streamable": true,
  "mbid": "bfcc6d75-a6a5-4bc6-8282-47aec8531818",
  "url": "http://www.last.fm/music/Cher",
  "image_small": "http://userserve-ak.last.fm/serve/50/376334.jpg",
  "image_medium": "http://userserve-ak.last.fm/serve/85/376334.jpg",
  "image_large": "http://userserve-ak.last.fm/serve/160/376334.jpg",
  "image_huge": "http://userserve-ak.last.fm/serve/_/376334.jpg",
  "image_original": "http://userserve-ak.last.fm/serve/_/376334.jpg",
  "stats": {
      "listeners": 225200,
      "plays": 1872542
  },
  "similar": [{
      "name": "Madonna",
      "url": "http://www.last.fm/music/Madonna",
      "image_small": "http://userserve-ak.last.fm/serve/50/2633593.jpg",
      "image_medium": "http://userserve-ak.last.fm/serve/85/2633593.jpg",
      "image_large": "http://userserve-ak.last.fm/serve/160/2633593.jpg",
      "image_huge": "http://userserve-ak.last.fm/serve/_/2633593.jpg",
      "image_original": "http://userserve-ak.last.fm/serve/_/2633593.jpg",
  },
  ...
  ],
  "tags":[{
      "name": "pop",
      "url": "http://www.last.fm/tag/pop"
  },
  ...
  ],
  "bio": {
      "published": "Thu, 13 Mar 2008 03:59:18 +0000",
      "summary": "Cher (born Cherilyn Sarkisian on May 20...",
      "content": "Cher (born Cherilyn Sarkisian on May 20, 1946, later adopted by Gilbert LaPierre.) is an American..."
  }
}