---
id: "spotify_artist_id"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["media"]
langs: ["common"]
quality: 90
url: "http://registry.apicrafter.io/datatype/spotify_artist_id"
---

# Spotify artist ID (`spotify_artist_id`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Spotify ID of an artist, as in open.spotify.com/artist/<id> and spotify:artist:<id>: 22 letters and digits in base 62.

- Parent datatype: `spotify_id`
- Personal data (PII): no
- Categories: Media and entertainment (media)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[0-9A-Za-z]{22}$
```

## Examples

- `3WrFJ7ztbogyGnTHbHJFl2` — The Beatles
- `0k17h0D3J5VfsdmQ1iZtE9` — Pink Floyd
- `3WrFJ7ztbogyGnTHbHJFl` (invalid example) — 21 characters, one too few

## Mappings

- wikidata: `P1902`

## Translations

- ru: Идентификатор исполнителя в Spotify

## Sources

- doc: <https://developer.spotify.com/documentation/web-api/concepts/spotify-uris-ids>
- wikidata: <https://www.wikidata.org/wiki/Property:P1902>

## Quality

Score 90/100. Missing: detector coverage.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/spotify_artist_id.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/media/spotify_artist_id.yaml>
