Skip to main content
POST
/
platforms
/
{platform}
/
content
Get multiple content items
curl --request POST \
  --url https://external-api.streamforge.com/platforms/{platform}/content \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "content_ids": [
    "324628972153",
    "316147569908",
    "315255955546"
  ]
}
'
{
  "payload": [
    {
      "content_id": "<string>",
      "platform": "twitch",
      "type": "stream",
      "title": "<string>",
      "description": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "ended_at": "2023-11-07T05:31:56Z",
      "duration": 123,
      "url": "<string>",
      "categories": [
        {
          "id": "<string>",
          "type": "twitch_game",
          "name": "<string>",
          "igdb_id": 123,
          "igdb_name": "<string>",
          "igdb_slug": "<string>"
        }
      ],
      "tags": [
        {
          "id": "<string>",
          "type": "twitch_tag",
          "name": "<string>"
        }
      ],
      "statistics": {
        "viewers": {
          "avg": 123,
          "max": 123
        },
        "watched_minutes": {
          "sum": 123
        },
        "airtime_minutes": {
          "sum": 123
        },
        "views": {
          "sum": 123
        },
        "likes": {
          "sum": 123
        },
        "comments": {
          "sum": 123,
          "avg": 123
        }
      },
      "chapters": [
        {
          "id": "<string>",
          "title": "<string>",
          "description": "<string>",
          "created_at": "2023-11-07T05:31:56Z",
          "ended_at": "2023-11-07T05:31:56Z",
          "duration": 123,
          "categories": [
            {
              "id": "<string>",
              "type": "twitch_game",
              "name": "<string>",
              "igdb_id": 123,
              "igdb_name": "<string>",
              "igdb_slug": "<string>"
            }
          ],
          "tags": [
            {
              "id": "<string>",
              "type": "twitch_tag",
              "name": "<string>"
            }
          ],
          "statistics": {
            "viewers": {
              "avg": 123,
              "max": 123
            }
          }
        }
      ],
      "profile_id": "<string>"
    }
  ],
  "meta": {
    "source": "<string>",
    "received_at": "2023-11-07T05:31:56Z",
    "request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "missing_ids": [
      "<string>"
    ]
  }
}

Authorizations

x-api-key
string
header
required

Your API key. Include it in the x-api-key header for all requests.

Path Parameters

platform
enum<string>
required

Platform identifier

Available options:
twitch,
youtube,
tiktok
Example:

"twitch"

Body

application/json
content_ids
string[]
required
Required array length: 1 - 100 elements
Example:
[
"324628972153",
"316147569908",
"315255955546"
]

Response

Content found

payload
object[]
meta
object