List content
curl --request GET \
--url https://external-api.streamforge.com/platforms/{platform}/contentimport requests
url = "https://external-api.streamforge.com/platforms/{platform}/content"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://external-api.streamforge.com/platforms/{platform}/content', 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}/content",
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}/content"
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}/content")
.asString();require 'uri'
require 'net/http'
url = URI("https://external-api.streamforge.com/platforms/{platform}/content")
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": [
{
"content_id": "987654321",
"platform": "twitch",
"type": "stream",
"title": "Ranked matches and community games",
"description": "Live gameplay with viewer challenges.",
"created_at": "2025-01-26T18:00:00.000Z",
"ended_at": "2025-01-26T21:30:00.000Z",
"duration": 12600000,
"url": "https://www.twitch.tv/videos/987654321",
"categories": [
{
"id": "2011938005",
"type": "twitch_game",
"name": "Kill The Monster Z",
"igdb_id": 189165,
"igdb_name": "Kill The Monster Z",
"igdb_slug": "kill-the-monster-z"
}
],
"tags": [
{
"id": "english",
"type": "twitch_tag",
"name": "English"
},
{
"id": "speedrun",
"type": "twitch_tag",
"name": "Speedrun"
}
],
"statistics": {
"viewers": {
"avg": 2345.6,
"max": 6789
},
"watched_minutes": {
"sum": 123456
},
"airtime_minutes": {
"sum": 210
}
},
"chapters": [
{
"id": "chapter-1",
"title": "Ranked matches",
"description": "Opening ranked segment.",
"created_at": "2025-01-26T18:00:00.000Z",
"ended_at": "2025-01-26T19:30:00.000Z",
"duration": 5400000,
"categories": [
{
"id": "2011938005",
"type": "twitch_game",
"name": "Kill The Monster Z",
"igdb_id": 189165,
"igdb_name": "Kill The Monster Z",
"igdb_slug": "kill-the-monster-z"
}
],
"tags": [
{
"id": "english",
"type": "twitch_tag",
"name": "English"
}
],
"statistics": {
"viewers": {
"avg": 2500.4,
"max": 6789
}
}
}
],
"profile_id": "484563826"
}
],
"paging": {
"limit": 10,
"next_cursor": "eyJpZCI6Ijk4NzY1NDMyMSIsImVuZGVkX2F0IjoiMjAyNC0wNy0wNFQxMTozMDowMC4wMDBaIn0="
},
"meta": {
"platform": "twitch",
"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": 429,
"message": "Rate limit exceeded"
},
"meta": {
"request_id": "5e7c0137-1ed3-4b4b-8e5f-3d9cf00f7ac4"
}
}Content
List content
Get recent content (streams/videos) for a platform, paginated with cursor-based pagination
GET
/
platforms
/
{platform}
/
content
List content
curl --request GET \
--url https://external-api.streamforge.com/platforms/{platform}/contentimport requests
url = "https://external-api.streamforge.com/platforms/{platform}/content"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://external-api.streamforge.com/platforms/{platform}/content', 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}/content",
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}/content"
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}/content")
.asString();require 'uri'
require 'net/http'
url = URI("https://external-api.streamforge.com/platforms/{platform}/content")
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": [
{
"content_id": "987654321",
"platform": "twitch",
"type": "stream",
"title": "Ranked matches and community games",
"description": "Live gameplay with viewer challenges.",
"created_at": "2025-01-26T18:00:00.000Z",
"ended_at": "2025-01-26T21:30:00.000Z",
"duration": 12600000,
"url": "https://www.twitch.tv/videos/987654321",
"categories": [
{
"id": "2011938005",
"type": "twitch_game",
"name": "Kill The Monster Z",
"igdb_id": 189165,
"igdb_name": "Kill The Monster Z",
"igdb_slug": "kill-the-monster-z"
}
],
"tags": [
{
"id": "english",
"type": "twitch_tag",
"name": "English"
},
{
"id": "speedrun",
"type": "twitch_tag",
"name": "Speedrun"
}
],
"statistics": {
"viewers": {
"avg": 2345.6,
"max": 6789
},
"watched_minutes": {
"sum": 123456
},
"airtime_minutes": {
"sum": 210
}
},
"chapters": [
{
"id": "chapter-1",
"title": "Ranked matches",
"description": "Opening ranked segment.",
"created_at": "2025-01-26T18:00:00.000Z",
"ended_at": "2025-01-26T19:30:00.000Z",
"duration": 5400000,
"categories": [
{
"id": "2011938005",
"type": "twitch_game",
"name": "Kill The Monster Z",
"igdb_id": 189165,
"igdb_name": "Kill The Monster Z",
"igdb_slug": "kill-the-monster-z"
}
],
"tags": [
{
"id": "english",
"type": "twitch_tag",
"name": "English"
}
],
"statistics": {
"viewers": {
"avg": 2500.4,
"max": 6789
}
}
}
],
"profile_id": "484563826"
}
],
"paging": {
"limit": 10,
"next_cursor": "eyJpZCI6Ijk4NzY1NDMyMSIsImVuZGVkX2F0IjoiMjAyNC0wNy0wNFQxMTozMDowMC4wMDBaIn0="
},
"meta": {
"platform": "twitch",
"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": 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"
Query Parameters
Maximum number of results per page (1-50, default 10)
Required range:
1 <= x <= 50Example:
10
Pagination cursor token from previous response
Example:
"eyJpZCI6Ijk4NzY1NDMyMSIsImVuZGVkX2F0IjoiMjAyNC0wNy0wNFQxMTozMDowMC4wMDBaIn0="

