Ssocialgraph.dev
API reference / YouTube API / Audience demographics

YouTube audience demographics API: estimated age, gender, country and interests of a channel's audience

Estimated audience of a YouTube channel: countries, languages, categories, gender, age, and age by gender. Takes 20–60 seconds.

50 credits per successful call Errors are never charged No login or OAuth needed

About the Audience demographics endpoint

The YouTube audience demographics API returns an estimate of who watches a channel, from the channel ID alone: the audience's split by country, gender, age group, age by gender, language and content interests, each as percentages. No channel owner login, OAuth or YouTube Analytics access is needed, which makes it the practical way to vet YouTube influencers and compare channels against a target audience. Figures are estimates generated from publicly available signals, not the owner's private Analytics.

What you can build with it

  • Influencer vetting: check a creator's audience age, gender and country before a sponsorship
  • Brand safety and campaign targeting by audience geography and language
  • Creator analytics tools that show audience insights for any channel

Request

GET https://socialgraph.dev/api/v1/youtube/audience

Send your API key as Authorization: Bearer YOUR_API_KEY. Parameters go in the query string.

Parameters

NameTypeDescription
channelId
required
string Required. YouTube channel ID (24 characters, starts with UC). For example: UC_x5XG1OV2P6uZZ5FSM9Ttw

Code examples


Example response

{
    "kind": "youtube#channelAudienceResponse",
    "items": {
        "id": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
        "kind": "youtube#channelAudience",
        "audienceAge": {
            "65+": 0.99,
            "13-17": 0,
            "18-24": 2.97,
            "25-34": 38.61,
            "35-44": 32.67,
            "45-54": 18.81,
            "55-64": 5.94
        },
        "audienceGender": {
            "male": 86.14,
            "female": 13.86
        },
        "audienceCountry": {
            "AR": 5.17,
            "AT": 1.72,
            "AU": 3.45,
            "BR": 5.17,
            "DE": 1.72,
            "DK": 1.72,
            "EE": 1.72,
            "ES": 1.72,
            "GB": 5.17,
            "GH": 1.72,
            "ID": 1.72,
            "IL": 1.72,
            "IN": 10.34,
            "IT": 1.72,
            "JP": 1.72,
            "MX": 1.72,
            "NG": 3.45,
            "PE": 1.72,
            "PG": 1.72,
            "PK": 1.72,
            "PL": 1.72,
            "RO": 1.72,
            "RU": 1.72,
            "TH": 1.72,
            "TR": 3.45,
            "TW": 3.45,
            "US": 29.31
        },
        "audienceCategory": {
            "1": 6.85,
            "2": 0.21,
            "10": 5.05,
            "15": 0.16,
            "17": 0.62,
            "19": 3.16,
            "20": 21.46,
            "22": 26.63,
            "23": 0.94,
            "24": 7.8,
            "25": 2.05,
            "26": 4.1,
            "27": 8.41,
            "28": 12.35,
            "29": 0.21
        },
        "audienceLanguage": {
            "ar": 0.18,
            "de": 0.09,
            "en": 51.08,
            "es": 0.72,
            "fa": 0.09,
            "fr": 6.45,
            "hr": 0.72,
            "id": 8.06,
            "ja": 4.57,
            "ko": 5.02,
            "ml": 4.39,
            "pt": 5.91,
            "ro": 1.16,
            "ru": 4.12,
            "sv": 0.18,
            "tr": 4.75,
            "vi": 0.18,
            "zh": 2.24,
            "und": 0.09
        },
        "audienceAgeGender": [
            {
                "age": "13-17",
                "count": 0,
                "gender": "all"
            },
            {
                "age": "13-17",
                "count": 0,
                "gender": "male"
            },
            {
                "age": "13-17",
                "count": 0,
                "gender": "female"
            },
            {
                "age": "18-24",
                "count": 2.97,
                "gender": "all"
            },
            {
                "age": "18-24",
                "count": 2.97,
                "gender": "male"
            },
            {
                "age": "18-24",
                "count": 0,
                "gender": "female"
            },
            {
                "age": "25-34",
                "count": 38.61,
                "gender": "all"
            },
            {
                "age": "25-34",
                "count": 32.67,
                "gender": "male"
            },
            {
                "age": "25-34",
                "count": 5.94,
                "gender": "female"
            },
            {
                "age": "35-44",
                "count": 32.67,
                "gender": "all"
            },
            {
                "age": "35-44",
                "count": 26.73,
                "gender": "male"
            },
            {
                "age": "35-44",
                "count": 5.94,
                "gender": "female"
            },
            {
                "age": "45-54",
                "count": 18.81,
                "gender": "all"
            },
            {
                "age": "45-54",
                "count": 17.82,
                "gender": "male"
            },
            {
                "age": "45-54",
                "count": 0.99,
                "gender": "female"
            },
            {
                "age": "55-64",
                "count": 5.94,
                "gender": "all"
            },
            {
                "age": "55-64",
                "count": 4.95,
                "gender": "male"
            },
            {
                "age": "55-64",
                "count": 0.99,
                "gender": "female"
            },
            {
                "age": "65+",
                "count": 0.99,
                "gender": "all"
            },
            {
                "age": "65+",
                "count": 0.99,
                "gender": "male"
            },
            {
                "age": "65+",
                "count": 0,
                "gender": "female"
            }
        ]
    },
    "pageInfo": {
        "status": "success",
        "totalResults": 1
    }
}

Errors

StatusMeaningCharged?
401Missing, invalid or revoked API keyNo
402Not enough credits (insufficient_credits)No
404The account or post doesn't existNo
422Missing or invalid parametersNo
502 / 503The data source is temporarily unavailableNo

All error codes →

Audience demographics API: frequently asked questions

How can I see a YouTube channel's audience demographics without being the owner?

This API estimates the audience from publicly available signals, so it works for any public channel with no owner access, OAuth or YouTube Analytics.

What does the response contain?

Percentages for audienceCountry, audienceLanguage, audienceCategory (interests), audienceGender, audienceAge in seven groups, and audienceAgeGender, with a status of success or insufficient_engagement.

How accurate are the demographics?

They are estimates, best used to compare channels or check fit against a target audience rather than as exact head counts. They are not the owner's YouTube Analytics data.

What happens for small or inactive channels?

If there isn't enough public engagement to estimate an audience, the response returns status insufficient_engagement with zeros, and the call is not charged.

How long does a request take?

Usually 20–60 seconds, because the estimate is computed fresh on every call. Set your client timeout to at least 90 seconds.

How much does the Audience demographics endpoint cost?

50 credits per successful call (0.1 USD at 500 credits per dollar). Errors, "not found" responses and invalid input are never charged, and credits never expire.

Can I try the Audience demographics API without signing up?

Yes. The live demo on this page runs a real request with a fixed sample input, free and without an account. Creating a free account gives you 100 credits to test every endpoint with your own inputs.

Try it live: Audience demographics GET

🔒 Preset demo input. Live demos use the Google for Developers channel, youtube.com/@GoogleDevelopers. Sign up free to use your own.

Start with 100 free credits

Create an account in seconds. No card, no subscription. Credits never expire.

Create free account →