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

Twitch Search

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

Search Twitch channels, games, live channels and VODs in one request. Each bucket carries its match total and its own next cursor; channels, live channels and games also carry a relevance score, which Twitch does not expose for VODs (their score is null).

Twitch Search 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/twitch/search
Auth header
x-api-key
Cost
1 credit/request
query = coffee shops
Response preview
200 OK
{
    "data": {
        "channels": {
            "items": [],
            "total_matches": 0
        }
    },
    "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.

5 optional filters available.

query string Required

Search query.

Example value coffee shops
first integer Optional

Results per target (max 50).

Example value 10
after string Optional

Channels cursor from a previous response (data.channels.cursor).

Example value example
live_channels_after string Optional

Live-channels cursor (data.live_channels.cursor).

Example value example
games_after string Optional

Games cursor (data.games.cursor).

Example value example
videos_after string Optional

VODs cursor (data.videos.cursor).

Example value example

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": {
        "channels": {
            "items": [],
            "total_matches": 0
        }
    },
    "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.