# Spotify Track Stream Count Extractor

**Use case:** 

Extract an exact Spotify track stream count with artist, album, duration, rating, and observation time.

## Input

```json
{
  "spotifyUrls": [
    "https://open.spotify.com/track/7MXVkk9YMctZqd1Srtv4MB"
  ],
  "maxTracks": 1,
  "maxAlbumsPerArtist": 3,
  "includeSingles": true
}
```

## Output

```json
{
  "trackName": {
    "label": "Track",
    "format": "text"
  },
  "primaryArtistName": {
    "label": "Primary artist",
    "format": "text"
  },
  "albumName": {
    "label": "Album",
    "format": "text"
  },
  "playCount": {
    "label": "Exact play count",
    "format": "number"
  },
  "trackNumber": {
    "label": "Track #",
    "format": "number"
  },
  "discNumber": {
    "label": "Disc #",
    "format": "number"
  },
  "durationMs": {
    "label": "Duration (ms)",
    "format": "number"
  },
  "contentRating": {
    "label": "Rating",
    "format": "text"
  },
  "isPlayable": {
    "label": "Playable",
    "format": "boolean"
  },
  "trackUrl": {
    "label": "Spotify track",
    "format": "link"
  },
  "sourceUrl": {
    "label": "Input source",
    "format": "link"
  },
  "observedAt": {
    "label": "Observed at",
    "format": "date"
  }
}
```

## About this Actor

This example demonstrates how to use [Spotify Track Play Count Scraper](https://apify.com/automation-lab/spotify-track-play-count-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/spotify-track-play-count-scraper) to learn more, explore other use cases, and run it yourself.