Get audience analysis
curl --request GET \
--url https://external-api.streamforge.com/platforms/{platform}/profiles/{profile_id}/audienceimport requests
url = "https://external-api.streamforge.com/platforms/{platform}/profiles/{profile_id}/audience"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://external-api.streamforge.com/platforms/{platform}/profiles/{profile_id}/audience', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://external-api.streamforge.com/platforms/{platform}/profiles/{profile_id}/audience",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://external-api.streamforge.com/platforms/{platform}/profiles/{profile_id}/audience"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://external-api.streamforge.com/platforms/{platform}/profiles/{profile_id}/audience")
.asString();require 'uri'
require 'net/http'
url = URI("https://external-api.streamforge.com/platforms/{platform}/profiles/{profile_id}/audience")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"payload": {
"gender_distribution": {
"male": {
"percentage": 62.4
},
"female": {
"percentage": 35.8
},
"non_binary": {
"percentage": 1.8
}
},
"age_ranges": [
{
"value": "18-24",
"percentage": 38.5
},
{
"value": "25-34",
"percentage": 41.2
},
{
"value": "35-44",
"percentage": 14.6
},
{
"value": "45+",
"percentage": 5.7
}
],
"countries": [
{
"value": "US",
"percentage": 48.1
},
{
"value": "CA",
"percentage": 11.4
},
{
"value": "GB",
"percentage": 9.8
},
{
"value": "DE",
"percentage": 5.2
}
],
"languages": [
{
"value": "en",
"percentage": 86.3
},
{
"value": "es",
"percentage": 6.7
},
{
"value": "de",
"percentage": 3.4
}
],
"ethnicity_distribution": [
{
"value": "White",
"percentage": 54.2
},
{
"value": "Hispanic or Latino",
"percentage": 15.1
},
{
"value": "Asian",
"percentage": 13.8
},
{
"value": "Black or African American",
"percentage": 11.3
},
{
"value": "Other or mixed",
"percentage": 5.6
}
],
"occupation_distribution": [
{
"value": "Student",
"percentage": 28.4
},
{
"value": "Technology",
"percentage": 21.7
},
{
"value": "Creative industries",
"percentage": 14.9
}
],
"income_distribution": [
{
"value": "20K-49K",
"percentage": 31.5
},
{
"value": "50K-99K",
"percentage": 29.8
},
{
"value": "100K+",
"percentage": 16.2
}
],
"education_level": [
{
"value": "Some college",
"percentage": 32.1
},
{
"value": "Bachelor's degree",
"percentage": 36.9
},
{
"value": "Graduate degree",
"percentage": 10.4
}
],
"family_status": [
{
"value": "Single",
"percentage": 52.8
},
{
"value": "Married or partnered",
"percentage": 32.6
},
{
"value": "Parents",
"percentage": 14.6
}
],
"religion_distribution": [
{
"value": "Not enough public signal",
"percentage": 74.5
},
{
"value": "Christian",
"percentage": 18.3
},
{
"value": "Other",
"percentage": 7.2
}
],
"engagement_style": [
{
"value": "Content Reactor",
"percentage": 46.2
},
{
"value": "Casual Commenter",
"percentage": 31.7
},
{
"value": "Community Participant",
"percentage": 22.1
}
],
"interests": [
{
"value": "Gaming",
"strength_rating": 96,
"emoji": "🎮",
"sub_interests": [
{
"value": "Competitive gaming",
"strength_rating": 94,
"emoji": "🏆"
},
{
"value": "Game hardware",
"strength_rating": 82,
"emoji": "🖥️"
}
]
}
],
"community_health": {
"loyalty_score": 0.87,
"cohesion_score": 0.81,
"toxicity_score": 0.12,
"loyalty_signals": [
"High returning-viewer rate",
"Strong subscriber participation"
],
"cohesion_signals": [
"Recurring community events",
"Frequent peer-to-peer support"
],
"toxicity_signals": [
"Occasional competitive-game frustration"
]
},
"brand_safety": {
"overall_risk_level": 0.18,
"risk_factors": [
{
"factor": "Explicit Language",
"frequency": 0.14
},
{
"factor": "Gambling References",
"frequency": 0.02
}
]
}
},
"meta": {
"last_updated_at": "2025-01-26T08:00:00.000Z",
"received_at": "2025-01-27T12:00:00.000Z"
}
}{
"error": {
"status": 400,
"message": "Invalid platform or missing required parameter"
},
"meta": {
"request_id": "5e7c0137-1ed3-4b4b-8e5f-3d9cf00f7ac4"
}
}{
"error": {
"status": 401,
"message": "API key is required"
},
"meta": {
"request_id": "5e7c0137-1ed3-4b4b-8e5f-3d9cf00f7ac4"
}
}{
"error": {
"status": 403,
"message": "Invalid API key"
},
"meta": {
"request_id": "5e7c0137-1ed3-4b4b-8e5f-3d9cf00f7ac4"
}
}{
"error": {
"status": 404,
"message": "Profile not found"
},
"meta": {
"request_id": "5e7c0137-1ed3-4b4b-8e5f-3d9cf00f7ac4"
}
}{
"error": {
"status": 429,
"message": "Rate limit exceeded"
},
"meta": {
"request_id": "5e7c0137-1ed3-4b4b-8e5f-3d9cf00f7ac4"
}
}Advanced
Get audience analysis
Fetch AI-enriched audience analysis for a profile, including demographics, interests, community health, and brand safety statistics.
Note: This endpoint consumes 100 quota units per request.
GET
/
platforms
/
{platform}
/
profiles
/
{profile_id}
/
audience
Get audience analysis
curl --request GET \
--url https://external-api.streamforge.com/platforms/{platform}/profiles/{profile_id}/audienceimport requests
url = "https://external-api.streamforge.com/platforms/{platform}/profiles/{profile_id}/audience"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://external-api.streamforge.com/platforms/{platform}/profiles/{profile_id}/audience', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://external-api.streamforge.com/platforms/{platform}/profiles/{profile_id}/audience",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://external-api.streamforge.com/platforms/{platform}/profiles/{profile_id}/audience"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://external-api.streamforge.com/platforms/{platform}/profiles/{profile_id}/audience")
.asString();require 'uri'
require 'net/http'
url = URI("https://external-api.streamforge.com/platforms/{platform}/profiles/{profile_id}/audience")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"payload": {
"gender_distribution": {
"male": {
"percentage": 62.4
},
"female": {
"percentage": 35.8
},
"non_binary": {
"percentage": 1.8
}
},
"age_ranges": [
{
"value": "18-24",
"percentage": 38.5
},
{
"value": "25-34",
"percentage": 41.2
},
{
"value": "35-44",
"percentage": 14.6
},
{
"value": "45+",
"percentage": 5.7
}
],
"countries": [
{
"value": "US",
"percentage": 48.1
},
{
"value": "CA",
"percentage": 11.4
},
{
"value": "GB",
"percentage": 9.8
},
{
"value": "DE",
"percentage": 5.2
}
],
"languages": [
{
"value": "en",
"percentage": 86.3
},
{
"value": "es",
"percentage": 6.7
},
{
"value": "de",
"percentage": 3.4
}
],
"ethnicity_distribution": [
{
"value": "White",
"percentage": 54.2
},
{
"value": "Hispanic or Latino",
"percentage": 15.1
},
{
"value": "Asian",
"percentage": 13.8
},
{
"value": "Black or African American",
"percentage": 11.3
},
{
"value": "Other or mixed",
"percentage": 5.6
}
],
"occupation_distribution": [
{
"value": "Student",
"percentage": 28.4
},
{
"value": "Technology",
"percentage": 21.7
},
{
"value": "Creative industries",
"percentage": 14.9
}
],
"income_distribution": [
{
"value": "20K-49K",
"percentage": 31.5
},
{
"value": "50K-99K",
"percentage": 29.8
},
{
"value": "100K+",
"percentage": 16.2
}
],
"education_level": [
{
"value": "Some college",
"percentage": 32.1
},
{
"value": "Bachelor's degree",
"percentage": 36.9
},
{
"value": "Graduate degree",
"percentage": 10.4
}
],
"family_status": [
{
"value": "Single",
"percentage": 52.8
},
{
"value": "Married or partnered",
"percentage": 32.6
},
{
"value": "Parents",
"percentage": 14.6
}
],
"religion_distribution": [
{
"value": "Not enough public signal",
"percentage": 74.5
},
{
"value": "Christian",
"percentage": 18.3
},
{
"value": "Other",
"percentage": 7.2
}
],
"engagement_style": [
{
"value": "Content Reactor",
"percentage": 46.2
},
{
"value": "Casual Commenter",
"percentage": 31.7
},
{
"value": "Community Participant",
"percentage": 22.1
}
],
"interests": [
{
"value": "Gaming",
"strength_rating": 96,
"emoji": "🎮",
"sub_interests": [
{
"value": "Competitive gaming",
"strength_rating": 94,
"emoji": "🏆"
},
{
"value": "Game hardware",
"strength_rating": 82,
"emoji": "🖥️"
}
]
}
],
"community_health": {
"loyalty_score": 0.87,
"cohesion_score": 0.81,
"toxicity_score": 0.12,
"loyalty_signals": [
"High returning-viewer rate",
"Strong subscriber participation"
],
"cohesion_signals": [
"Recurring community events",
"Frequent peer-to-peer support"
],
"toxicity_signals": [
"Occasional competitive-game frustration"
]
},
"brand_safety": {
"overall_risk_level": 0.18,
"risk_factors": [
{
"factor": "Explicit Language",
"frequency": 0.14
},
{
"factor": "Gambling References",
"frequency": 0.02
}
]
}
},
"meta": {
"last_updated_at": "2025-01-26T08:00:00.000Z",
"received_at": "2025-01-27T12:00:00.000Z"
}
}{
"error": {
"status": 400,
"message": "Invalid platform or missing required parameter"
},
"meta": {
"request_id": "5e7c0137-1ed3-4b4b-8e5f-3d9cf00f7ac4"
}
}{
"error": {
"status": 401,
"message": "API key is required"
},
"meta": {
"request_id": "5e7c0137-1ed3-4b4b-8e5f-3d9cf00f7ac4"
}
}{
"error": {
"status": 403,
"message": "Invalid API key"
},
"meta": {
"request_id": "5e7c0137-1ed3-4b4b-8e5f-3d9cf00f7ac4"
}
}{
"error": {
"status": 404,
"message": "Profile not found"
},
"meta": {
"request_id": "5e7c0137-1ed3-4b4b-8e5f-3d9cf00f7ac4"
}
}{
"error": {
"status": 429,
"message": "Rate limit exceeded"
},
"meta": {
"request_id": "5e7c0137-1ed3-4b4b-8e5f-3d9cf00f7ac4"
}
}Path Parameters
Platform identifier
Available options:
twitch, youtube, instagram, tiktok, twitter Example:
"twitch"
Platform-specific creator ID
Example:
"484563826"

