API Documentation

Mindcrack banner

Base URL: https://mindcracksmp.com/api/

Only endpoints that do not require authentication are listed here.

Creators

GET/api/creatorsReturns all creators. Supports simple search.
Cache: 5m
GET/api/creators/statsReturns simple statistics about creators.
Cache: 1m
GET/api/creators/:idGet a single creator by numeric ID.
Cache: 10m
GET/api/creators/name/:nameGet a single creator by exact name (case-insensitive).
Cache: 10m

Twitch

Update cadence: live ~1m (server cache TTL 1m, SWR 30s). Data via external provider with built-in caching and no rate limits.

GET/api/creators/twitchMap of Twitch usernames to live status for all creators with Twitch set.
Cache: 1m
GET/api/creators/:id/twitchTwitch live status for a creator by ID (if Twitch is set).
Cache: 1m
GET/api/creators/name/:name/twitchTwitch live status for a creator by name (if Twitch is set).
Cache: 1m

YouTube

Update cadence: channel stats ~1m (server cache TTL 1m). Uses aggregated data with built-in provider caching.

GET/api/creators/youtubeYouTube info for every creator with YouTube configured.
Cache: 1m
GET/api/creators/:id/youtubeYouTube info for a creator by ID.
Cache: 1m
GET/api/creators/name/:name/youtubeYouTube info for a creator by name.
Cache: 1m
GET/api/creators/:id/youtube/latestLatest video from creator's YouTube channel uploads.
Cache: 15m
GET/api/creators/name/:name/youtube/latestLatest video from creator's YouTube channel uploads by name.
Cache: 15m
GET/api/creators/:id/youtube/playlistYouTube playlist URL for a creator by ID.
Cache: 1h
GET/api/creators/name/:name/youtube/playlistYouTube playlist URL for a creator by name.
Cache: 1h
GET/api/creators/:id/youtube/playlist/latestLatest video from creator's YouTube playlist by ID.
Cache: 15m
GET/api/creators/name/:name/youtube/playlist/latestLatest video from creator's YouTube playlist by name.
Cache: 15m

Realtime Events

Server-Sent Events (SSE) for cache change notifications. Connections stay open so prefer streaming-aware HTTP clients.

GET/api/events/cacheSubscribe to cache invalidation events via SSE.