Skip to content
Scrappa Get API key
Twitch API 1 credit/request

Twitch Game

GET https://scrappa.co/api/twitch/game

Get one Twitch game (category) with box art, live viewer totals and its live streams sorted by viewers.

Twitch Game 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/twitch/game
Auth header
x-api-key
Cost
1 credit/request
id = 1234567890
Response preview
200 OK
{
    "data": {
        "game": {
            "id": "509658",
            "name": "Just Chatting"
        }
    },
    "success": true
}

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

1 optional filter available.

id string Required

Twitch game (category) id.

Example value 1234567890
first integer Optional

Number of live streams (max 30).

Example value 10

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data success
JSON Response
200 OK
{
    "data": {
        "game": {
            "id": "509658",
            "name": "Just Chatting"
        }
    },
    "success": true
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.