Last.fm Scraper avatar

Last.fm Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
Last.fm Scraper

Last.fm Scraper

Scrape Last.fm music data with search artists, tracks, and albums; get weekly top charts; browse by genre/tag; fetch artist top tracks. No API key required.

Pricing

from $3.00 / 1,000 results

Rating

5.0

(4)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

4

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Scrape music data from Last.fm — weekly top charts, artist info, top tracks, and genre-based artist discovery. No API key required.

What you can scrape

  • Weekly Top Artists — ranked list of most-listened artists globally
  • Weekly Top Tracks — ranked list of most-played tracks globally
  • Search — find artists, tracks, or albums by keyword
  • Artist Info — bio, listener count, scrobbles, tags, similar artists
  • Artist Top Tracks — ranked tracks for a specific artist with listener counts
  • Artists by Tag/Genre — browse artists by music genre (rock, pop, electronic, etc.)

Input

FieldTypeDescription
modeselectWhat to scrape (see modes below)
searchQuerystringSearch term (mode=search)
searchTypeselectartist, track, or album (mode=search)
artistNamesarrayArtist names for artistInfo/artistTracks modes
tagselectGenre tag for tagArtists mode (rock, pop, electronic, …)
maxItemsintegerMaximum records to return (1–500, default 50)

Modes

ModeDescriptionRequired fields
topArtistsWeekly top artists chart
topTracksWeekly top tracks chart
searchSearch artists, tracks, or albumssearchQuery
artistInfoFull artist profileartistNames
artistTracksTop tracks for artist(s)artistNames
tagArtistsArtists in a genretag

Output

Artist records

{
"name": "Radiohead",
"slug": "Radiohead",
"listeners": 8277292,
"playCount": 1386711855,
"biographyText": "Radiohead are an English rock band formed in Abingdon, Oxfordshire...",
"biographyUrl": "https://www.last.fm/music/Radiohead",
"tags": ["alternative", "rock", "alternative rock", "indie", "electronic"],
"similarArtists": ["Thom Yorke", "Atoms for Peace", "Jeff Buckley"],
"imageUrl": "https://lastfm.freetls.fastly.net/i/u/...",
"lastfmUrl": "https://www.last.fm/music/Radiohead",
"recordType": "artist",
"scrapedAt": "2024-01-15T10:30:00+00:00"
}

Track records

{
"trackName": "Creep",
"artistName": "Radiohead",
"albumName": "Pablo Honey",
"listeners": 4107163,
"coverUrl": "https://lastfm.freetls.fastly.net/i/u/...",
"lastfmUrl": "https://www.last.fm/music/Radiohead/_/Creep",
"rank": 1,
"recordType": "track",
"scrapedAt": "2024-01-15T10:30:00+00:00"
}

Album records

{
"albumTitle": "OK Computer",
"artistName": "Radiohead",
"coverUrl": "https://lastfm.freetls.fastly.net/i/u/...",
"lastfmUrl": "https://www.last.fm/music/Radiohead/OK+Computer",
"recordType": "album",
"scrapedAt": "2024-01-15T10:30:00+00:00"
}

Supported Tags / Genres

rock, pop, electronic, hip-hop, jazz, classical, metal, indie, alternative, folk, soul, r-and-b, country, dance, punk, reggae, blues, experimental, ambient, soundtrack

Limits & Notes

  • Weekly chart data updates every 7 days on Last.fm
  • Artist tracks pages show up to 50 tracks per page (paginated)
  • Search results show up to 20 items per page
  • Tag pages show approximately 23 artists per page
  • No API key or login required
  • Works without proxy on datacenter IPs

FAQs

Q: Do I need a Last.fm API key?
A: No. This scraper uses Last.fm's public website pages, not their official API. Zero configuration required.

Q: How often does chart data update?
A: Last.fm's weekly charts refresh every 7 days (Sunday midnight UTC).

Q: Can I scrape multiple artists at once?
A: Yes — use the artistNames array to provide multiple artist names in modes artistInfo and artistTracks.

Q: Why are some listener counts different from what I see on the site?
A: The listeners count shown in tracks/albums context may be for that specific track, not the artist overall.