SPOTLIGHTDocs
APIStatusDashboard

Start

  • Overview
  • Getting started
  • Dashboard guide

Product

  • Profiles
  • Premium
  • Content creators
  • Widgets
  • Image host
  • Mobile app
  • Account & security

Creator Studio

  • Overview
  • Alerts
  • OBS widgets
  • Donate page
  • Payouts & fees

Discord bot

  • Overview
  • Commands
  • Web panel
  • Embeds & messages
  • Logging
  • Tickets & transcripts
  • Music
  • VoiceMaster
  • Applications & appeals
  • Linked Roles
  • RPG reference
  • Economy & levels
  • Moderation & safety
  • Server page & templates
  • Plans & billing

Developer API

  • Introduction
  • Game stats
  • Accounts & profiles
  • Webhooks
  • Public endpoints
  • API explorer & SDK

Help

  • Support

Developer API

Accounts & profiles

JSON endpoints for your own stats and for any public profile. Send your key as a Bearer token. 120 requests per minute.

Your account#

GET/api/v1/meBearer key
Views, followers, reactions and link clicks, with the last 14 days per link.

Response

usernamestringYour username
uidnumberYour user number
plan"basic" | "premium" | "admin"Your plan
createdAtnumberSignup time (ms since 1970)
urlstringYour page
viewsnumberTotal profile views
followersnumberPeople following you
followingnumberPeople you follow
reactionsRecord<emoji, number>Reaction counts on your page
links[]object[]Each link: id, label, url, clicks and last14Days[] of { day: "YYYYMMDD", clicks }
Try itYour real stats
GET /api/v1/me
Response
{
  "username": "xsaiian",
  "uid": 1,
  "plan": "premium",
  "createdAt": 1730000000000,
  "url": "https://spotlight.baby/u/xsaiian",
  "views": 27,
  "followers": 12,
  "following": 8,
  "reactions": { "🔥": 4, "❤️": 2 },
  "links": [
    {
      "id": "k3j9",
      "label": "Twitch",
      "url": "https://twitch.tv/xsaiian",
      "clicks": 31,
      "last14Days": [{ "day": "20261108", "clicks": 3 }]
    }
  ]
}

Public profiles#

GET/api/v1/users/{username}Bearer key
Any public profile. Private and hidden profiles answer 404.

Response

usernamestringUsername
displayNamestringDisplay name
biostringBio as written (Markdown/BBCode)
accentstringAccent colour, e.g. #8b5cf6
avatarstring | nullAvatar URL
urlstringTheir page
links[]object[]label and url of every visible link
connections[]object[]provider, username and url of connected accounts
Try it
GET /api/v1/users/xsaiian
curl https://spotlight.baby/api/v1/users/xsaiian \
  -H "Authorization: Bearer YOUR_KEY"

Building a bot or a site?

Cache profile responses for a minute or two; profiles rarely change faster, and you stay far from the limit.

Errors use the shared format: { "error": "not_found" }, unauthorized or rate_limited.

← PreviousGame statsNext →Webhooks