Authentication
All Start.gg endpoints require an API token to be configured in your boofstream config:GET /startgg/init
Fetches tournament information and entrant data from a Start.gg tournament.The full Start.gg tournament URL (e.g.,
https://start.gg/tournament/genesis-9/event/melee-singles)Response
Returns an object containing tournament players and their information:Example Request
Notes
- Currently supports up to 500 entrants per tournament
- Includes tournament admins as special entrants with negative IDs
- Country codes are automatically converted to ISO 2-letter codes
- Missing player data (pronouns, twitter, location) will be returned as empty strings
GET /startgg/sets
Fetches all match sets from a Start.gg tournament event.The full Start.gg tournament URL (e.g.,
https://start.gg/tournament/genesis-9/event/melee-singles)Response
Returns an array of match sets:Example Request
Notes
- Currently supports up to 500 sets per tournament
- Only returns sets where both players are assigned (filters out empty slots)
- The
completedfield indicates whether a winner has been reported - Player IDs correspond to the
entrantIdvalues returned by/startgg/init
Error Handling
If the API token is invalid or missing, requests will fail with GraphQL errors from the Start.gg API. Common errors:- 401 Unauthorized: Invalid or missing API token
- 404 Not Found: Tournament URL does not exist
- Rate Limited: Too many requests to Start.gg API