---
id: "youtube_channel_id"
kind: "datatype"
status: "draft"
is_pii: true
categories: ["pii", "persons", "useraccounts"]
langs: ["common"]
quality: 73
url: "http://registry.apicrafter.io/datatype/youtube_channel_id"
---

# YouTube channel ID (`youtube_channel_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.

Identifier of a YouTube channel: UC and 22 characters, as in youtube.com/channel/<id>. Channel handles that start with @ are different identifiers.

- Parent datatype: `username`
- Personal data (PII): yes
- Categories: Personally identifiable information (pii), Person related (persons), User accounts in products and services (useraccounts)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^UC[-_0-9A-Za-z]{21}[AQgw]$
```

## Examples

- `UCpDJl2EmP7Oh90Vylx0dZtA` — Spinnin' Records

## Mappings

- wikidata: `P2397`

## Sources

- wikidata: <https://www.wikidata.org/wiki/Property:P2397>

## Quality

Score 73/100. Missing: second example, negative example, translation, detector coverage.

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