YouTube Audience Stats
YouTube audience analysis for an artist (latest report or historical via date). Geo breakdown (top subscribing + commenting countries), gender/age demographics for subscribers and commenters, plus engagement counters (subscribers, avg_likes_per_post, avg_commments_per_post, engagement_rate). Pass geoOnly=true to drop demographic arrays and notable subscribers. Returns a stable shape even when the artist has no linked YouTube channel (arrays empty, counters null/undefined).
- Type: integeridmin:2max:2147483647required
Chartmetric artist ID. Note: id=1 ('Various Artists') is rejected.
- enumconst:1values
- 1
- Type: string Format: datedate
Historical date (
YYYY-MM-DD). When omitted, returns the most recent available report. Use the dates endpoint to discover available dates. - Type: booleangeo
Only If true, drop demographic / brand-affinity / interest / notable-followers blocks and return only geo + engagement counters.
- application/json
curl https://api.chartmetric.com/api/artist/2/youtube-audience-stats \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"obj": {
"top_countries": [
{
"name": "United States",
"code": "us",
"percent": "20.22",
"subscribers": 8675495
}
],
"commenters_top_countries": [
{
"name": "United States",
"code": "us",
"percent": "12.53",
"comments": 2010886
}
],
"audience_genders": [
{
"code": "female",
"weight": "27.61"
},
{
"code": "male",
"weight": "72.39"
}
],
"subscribers": 42900000,
"avg_likes_per_post": 112574,
"avg_commments_per_post": 5679,
"engagement_rate": 0.2624,
"timestp": "2022-03-28"
}
}