---
title: "SoundCloud Charts (Legacy)"
method: GET
path: "/api/charts/soundcloud"
tags: ["Charts"]
---

# SoundCloud Charts (Legacy)

`GET /api/charts/soundcloud`

## Request

- Base URL: `https://api.chartmetric.com`
- URL: `https://api.chartmetric.com/api/charts/soundcloud`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/chartmetric/apis/chartmetric-developer-api/docs/api/charts/soundcloud/get.ts> (a function with typed inputs; its response is checked against the schema)

Legacy SoundCloud charts (deprecated by SoundCloud but retained). Handler runs `QUERY_GET_SOUNDCLOUD_CHARTS` (or `..._RAW` when `raw=true`), merges track metadata, and attaches historical `rankStats`. A nested `soundcloud_user` object is passed through unmodified.

## Query parameters

- `country_code` 'IE' | 'AU' | 'NL' | 'CA' | 'GLOBAL' | 'US' | 'FR' | 'NZ' | 'GB' | 'DE', required: Country code accepted by the legacy SoundCloud chart pipeline; only the values supported by SoundCloud are valid.
- `kind` 'top' | 'trending', required: SoundCloud chart kind (e.g. `trending`, `top`).
- `genre` 'soundtrack' | 'world' | 'latin' | 'triphop' | 'danceedm' | 'ambient' | 'jazzblues' | 'trance' | 'reggaeton' | 'metal' | 'all-music' | 'classical' | 'drumbass' | 'hiphoprap' | 'dubstep' | 'alternativerock' | 'pop' | 'rock' | 'folksingersongwriter' | 'reggae' | 'disco' | 'techno' | 'deephouse' | 'indie' | 'rbsoul' | 'house' | 'dancehall' | 'trap' | 'electronic' | 'country' | 'piano', required: SoundCloud genre filter; values are lowercased. See `CONSTANTS.SOUNDCLOUD_CHART_GENRES` for the supported list.
- `date` string, date-time: Date for the time-slice (YYYY-MM-DD). Required unless `latest=true`.
- `offset` integer: Number of items to skip from the start of the result set; pair with `limit` to paginate.
- `raw` boolean: If true (default), exclude `peak_rank`/`peak_date` for faster response. Set to false to include peak fields.
- `chart_type` 'trending' | 'track': Source SoundCloud chart table: `trending` or `track`. Defaults to `track`.
- `latest` boolean: If true, use the most recently available date and ignore `date`.

## Response `200`

Success

- object
  - `obj` object
    - `length` integer, nullable: Number of chart rows in `data`.
    - `data` object[], nullable: Chart rows ordered by rank (1 = highest).
      - `id` union: Platform-side track ID (or Chartmetric ID for ISRC-keyed lookups).
        - integer
        - string
      - `name` string, nullable: Track name.
      - `isrc` string, nullable: International Standard Recording Code.
      - `image_url` string, nullable: Track or album cover image URL.
      - `description` string, nullable: Track description (free-text metadata).
      - `tags` string, nullable: Comma-separated genre tags for the track.
      - `cm_track` integer, nullable: Chartmetric track ID.
      - `cm_artist` integer[], nullable: Chartmetric artist IDs of the track artists.
      - `artist_names` string[], nullable: Track artist names.
      - `code2s` string[], nullable: Country codes per artist (ISO 3166-1 alpha-2).
      - `artist_images` string[], nullable: Artist profile image URLs.
      - `artist_covers` string[], nullable: Artist cover image URLs.
      - `spotify_track_ids` string[], nullable: Spotify track IDs.
      - `spotify_album_ids` string[], nullable: Spotify album IDs.
      - `spotify_duration_ms` integer, nullable: Track duration on Spotify in milliseconds.
      - `itunes_track_ids` string[], nullable: iTunes track IDs.
      - `itunes_album_ids` string[], nullable: iTunes album IDs.
      - `itunes_artist_ids` union[], nullable: iTunes artist IDs.
        - union
          - integer
          - string
      - `itunes_artist_names` string[], nullable: iTunes artist names.
      - `storefronts` string[], nullable: iTunes/Apple Music storefront codes (ISO 3166-1 alpha-2 lowercased).
      - `deezer_track_ids` string[], nullable: Deezer track IDs.
      - `deezer_album_ids` union[], nullable: Deezer album IDs.
        - union
          - number, float
          - string
      - `deezer_duration` integer, nullable: Track duration on Deezer in seconds.
      - `amazon_track_ids` string[], nullable: Amazon track IDs.
      - `amazon_album_ids` string[], nullable: Amazon album IDs.
      - `album_ids` union[], nullable: Chartmetric album IDs.
        - union
          - integer
          - string
      - `album_names` string[], nullable: Album names.
      - `album_upc` string[], nullable: Album UPC values.
      - `album_label` string[], nullable: Record labels for the album(s).
      - `release_dates` union[], nullable: Album release dates.
        - union
          - string, date-time
          - string
      - `created_at` union: Track-record creation timestamp.
        - string, date-time
        - string
      - `modified_at` union: Track-record last-modified timestamp.
        - string, date-time
        - string
      - `rank` integer, nullable: Current chart rank (1 = top).
      - `pre_rank` integer, nullable: Position on the previous chart period.
      - `peak_rank` integer, nullable: Best (lowest-numbered) rank reached.
      - `peak_date` union: Date `peak_rank` was achieved. Omitted when `raw=true`.
        - string, date-time
        - string
      - `added_at` union: Timestamp the row was added to the chart.
        - string, date-time
        - string
      - `velocity` number, float, nullable: Rank-velocity signal (positive = climbing).
      - `time_on_chart` union: Length of time on the chart.
        - string
        - number, float
      - `country` string, nullable: Chart country name.
      - `genre` string, nullable: Chart genre.
      - `kind` string, nullable: SoundCloud chart kind (e.g. `trending`, `top`).
      - `soundcloud_track_id` union: SoundCloud track ID.
        - string
        - number, float
      - `playcount_all` union: All-time SoundCloud play count.
        - string
        - number, float
      - `playcount_weekly` union: Weekly SoundCloud play count.
        - string
        - number, float
      - `artwork_url` string, nullable: SoundCloud track artwork URL.
      - `permalink_url` string, nullable: SoundCloud track permalink URL.
      - `public` boolean, nullable: Whether the SoundCloud track is publicly visible.
      - `publisher` string, nullable: Track publisher name.
      - `writer_composer` string, nullable: Track writer/composer name.
      - `artist` string, nullable: SoundCloud-side artist name string.
      - `album_title` string, nullable: SoundCloud-side album title.
      - `soundcloud_user` object, nullable: Embedded SoundCloud user object (uploader profile fields).
        - `id` integer, nullable: SoundCloud user ID.
        - `kind` string, nullable: Account type (`user`, `group`, ...).
        - `username` string, nullable: SoundCloud username.
        - `permalink` string, nullable: SoundCloud profile permalink slug.
        - `permalink_url` string, nullable: Full SoundCloud profile URL.
        - `uri` string, nullable: SoundCloud API resource URI.
        - `urn` string, nullable: SoundCloud URN identifier.
        - `first_name` string, nullable: Account first name.
        - `last_name` string, nullable: Account last name.
        - `full_name` string, nullable: Account full name.
        - `description` string, nullable: Profile bio / description.
        - `avatar_url` string, nullable: Profile avatar URL.
        - `city` string, nullable: Account city.
        - `country_code` string, nullable: ISO 3166-1 alpha-2 country code.
        - `verified` boolean, nullable: Whether the account is verified.
        - `visuals` string, nullable: Profile visuals payload.
        - `create_at` string, nullable: Account creation timestamp.
        - `last_modified` string, nullable: Account last-modified timestamp.
        - `followers_count` integer, nullable: Number of followers.
        - `followings_count` integer, nullable: Number of accounts followed.
        - `comments_count` integer, nullable: Number of comments authored.
        - `groups_count` integer, nullable: Number of groups joined.
        - `likes_count` integer, nullable: Number of likes given.
        - `playlist_likes_count` integer, nullable: Number of playlist likes.
        - `playlist_count` integer, nullable: Number of playlists.
        - `reposts_count` integer, nullable: Number of reposts.
        - `track_count` integer, nullable: Number of uploaded tracks.
        - `creator_subscriptions` object[], nullable: Creator subscription records.
          - `product` object, nullable: Subscribed product info (opaque).
        - `badges` object, nullable: Account-badge flags.
          - `pro_unlimited` boolean, nullable: True when the account has Pro Unlimited subscription.
          - `verified` boolean, nullable: Mirror of the top-level verified flag.
      - `rankStats` object[], nullable: Per-row historical rank samples.
        - `rank` integer, nullable: Rank at `timestp` (1 = top).
        - `timestp` union: Timestamp of the rank sample.
          - string, date-time
          - string

---

[API](https://skmtc.dev/chartmetric/apis/chartmetric-developer-api.md) - [All operations](https://skmtc.dev/chartmetric/apis/chartmetric-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/chartmetric/apis/chartmetric-developer-api/revisions/94dac96833a3?raw)
