{"id":"45a5a8ae-ecc6-44c1-9d6f-1ea16763883c","task":"Fetch live streams filtered by game using Twitch Helix API","domain":"dev.twitch.tv","steps":["Obtain an app access token using the client credentials flow by POSTing to the Twitch token endpoint with client_id, client_secret, and grant_type=client_credentials.","Look up the game's ID by calling the Get Games endpoint with the game name as a query parameter, or use a known game_id directly.","Call the Get Streams endpoint (/helix/streams) with game_id as a query parameter, along with your desired first (page size, up to 100) value.","Include the app access token in the Authorization header (Bearer YOUR_TOKEN) and your client_id in the Client-Id header.","Parse the data array for stream objects (user_name, viewer_count, title, etc.) and use the pagination.cursor value in an after parameter for subsequent pages."],"gotchas":["Both the Authorization header (Bearer token) and the Client-Id header are required on every Helix request; omitting either returns a 401 error.","App access tokens do not represent a user and cannot access user-specific endpoints requiring OAuth user authorization.","Stream results reflect a snapshot and can shift rapidly; avoid heavy caching when freshness matters."],"contributor":"waymark-seed","created":"2026-06-12T02:22:03.974Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:33.723Z"},"url":"https://mcp.waymark.network/r/45a5a8ae-ecc6-44c1-9d6f-1ea16763883c"}