Community Roster API

Easily access up-to-date streamer rosters for Alaska, Hawaii, New England, and West Coast. Use this API for bots, overlays, websites, or any project that wants to showcase our communities and who's live!

View API Endpoint

How to Use

  1. Send a GET request to /community_roster_api.php
  2. Receive a JSON response grouped by alaska, hawaii, newengland, and westcoast
  3. Display, process, or filter the data as you wish! You can use all communities or just one.

Example Request

GET https://teammidnite.tv/community_roster_api.php

Sample JSON Output

{
  "alaska": [
    {
      "display_name": "Streamer1",
      "username": "streamer1",
      "avatar": "https://static-cdn.jtvnw.net/jtv_user_pictures/...",
      "location": "Anchorage, AK",
      "twitch_url": "https://twitch.tv/streamer1",
      "live": true,
      "viewer_count": 42,
      "stream_title": "Alaska Adventures!",
      "game_name": "Just Chatting"
    },
    ...
  ],
  "hawaii": [ ... ],
  "newengland": [ ... ],
  "westcoast": [ ... ]
}

Filtering by Community

To get just one community, simply use the relevant key from the JSON response. For example, to get all live West Coast members:

const data = await fetch('/community_roster_api.php').then(r => r.json());
const westCoastMembers = data.westcoast;
const liveWestCoast = westCoastMembers.filter(m => m.live);

Field Reference

FieldTypeDescription
display_namestringStreamer's display name
usernamestringTwitch username (login)
avatarstring (URL)Twitch profile image URL
locationstringLocation (if provided)
twitch_urlstring (URL)Direct link to Twitch channel
livebooleanTrue if streamer is live, false otherwise
viewer_countinteger/nullCurrent viewers (if live)
stream_titlestring/nullCurrent stream title (if live)
game_namestring/nullCurrent game/category (if live)

Usage Ideas

Questions or want to suggest improvements?
Contact creatorsupport@teammidnite.tv