Twitch API

Track your stream analytics and viewer growth

Pull stream info, viewer counts, clips, followers, and VODs. Build a streamer dashboard that tracks growth, peak hours, and which games draw the most viewers.

Free. OAuth 2.0. 800 requests/min.

Twitchdocs →

How it works with Loony

Describe it.
Deploy it.
Query it.

Managed database.

Your Twitch data lives in its own Postgres instance. Zero config. Data accumulates over time.

Scheduled syncs.

Cron jobs run on Loony infra. Every minute on free. Your data stays fresh without you thinking about it.

REST + MCP endpoints.

Query from your agent, your dashboard, or connect BI tools directly. Full OpenAPI spec included.

TerminalSchema
$ "Pull my Twitch stream history, viewer stats, and follower growth. Build weekly summaries by game category with peak viewers and chat activity."

 Schema validated
 Database provisioned
 Scripts deployed
 Schedules registered

Done.

# Your data is now at:
REST  /data/v1/twitch/query
MCP   /mcp/v1/twitch/mcp
SQL   psql $DATABASE_URL

What you get

Twitch's built-in analytics are basic and short-lived. Loony stores every stream session, viewer peak, and follower count, building a long-term growth story. Your agent can answer 'Which game category gives me the highest average viewers?' with data.

mv_stream_weekly
  week          date        -- ISO week start
  streams       integer     -- count
  total_hours   numeric     -- streamed
  avg_viewers   integer     -- average concurrent
  peak_viewers  integer     -- max
  new_followers integer     -- gained
  top_game      text        -- most streamed

Even better together

Pair Twitch stream data with Steam playtime to see what you play vs what you stream. Add RAWG for game metadata in your stream overlay.

Stop gluing. Start shipping.

Describe your data. Deploy. Query. Done.

API Library →