API Doc

API Methods

geo.getTopArtists

Get the most popular artists on Last.fm by country.
Original docs: geo.getTopArtists

e.g. http://lastfm-api-ext.appspot.com/2.0/?method=geo.getTopArtists&user=RJ&api_key=b25b959554ed76058ac220b7b2e0a026

Params

country (Required) : A country name, as defined by the ISO 3166-1 country names standard.
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)

{
  "country": "overall",
  "artists": [{
      "rank": 1,
      "name": "Coldplay",
      "playcount": 3199,
      "mbid": "cc197bad-dc9c-440d-a5b5-d52ba2e14234",
      "url": "http://www.last.fm/music/Coldplay",
      "streamable": true,
      "image_small": "...",
      "image_medium": "...",
      "image_large": "...",
  },
  ...
  ]
}