# Spotify weekly Top Songs scraper example

**Use case:** 

Scrape the current Spotify Global Top Songs chart with ranks, movement, artist credits, links, and artwork in structured records.

## Input

```json
{
  "chartTypes": [
    "songs"
  ],
  "maxItemsPerChart": 50
}
```

## Output

```json
{
  "chartType": {
    "label": "Chart type",
    "format": "string"
  },
  "currentRank": {
    "label": "Rank",
    "format": "integer"
  },
  "previousRank": {
    "label": "Previous rank",
    "format": "integer"
  },
  "rankChange": {
    "label": "Movement",
    "format": "integer"
  },
  "peakRank": {
    "label": "Peak rank",
    "format": "integer"
  },
  "entityName": {
    "label": "Name",
    "format": "string"
  },
  "entityType": {
    "label": "Entity type",
    "format": "string"
  },
  "artistNames": {
    "label": "Artists",
    "format": "array"
  },
  "chartDate": {
    "label": "Chart date",
    "format": "string"
  },
  "entryStatus": {
    "label": "Status",
    "format": "string"
  },
  "appearancesOnChart": {
    "label": "Appearances",
    "format": "integer"
  },
  "consecutiveAppearancesOnChart": {
    "label": "Consecutive appearances",
    "format": "integer"
  },
  "country": {
    "label": "Country",
    "format": "string"
  },
  "recurrence": {
    "label": "Recurrence",
    "format": "string"
  },
  "spotifyUrl": {
    "label": "Open in Spotify",
    "format": "string"
  },
  "artworkUrl": {
    "label": "Artwork",
    "format": "string"
  },
  "chartTitle": {
    "label": "Chart title",
    "format": "string"
  },
  "chartAlias": {
    "label": "Chart alias",
    "format": "string"
  },
  "sourceChartType": {
    "label": "Source chart type",
    "format": "string"
  },
  "spotifyUri": {
    "label": "Spotify URI",
    "format": "string"
  },
  "artistUris": {
    "label": "Artist URIs",
    "format": "array"
  },
  "peakDate": {
    "label": "Peak date",
    "format": "string"
  },
  "releaseDate": {
    "label": "Release date",
    "format": "string"
  },
  "scrapedAt": {
    "label": "Scraped at",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Spotify Public Weekly Charts Scraper](https://apify.com/automation-lab/spotify-public-weekly-charts-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/spotify-public-weekly-charts-scraper) to learn more, explore other use cases, and run it yourself.