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

Public endpoints

Things anyone can fetch without a key: site numbers, status, widget text, embeddable profile cards and calendar files.

Site numbers#

GET/api/stats/publicNo key
Pages, views and files, plus the 10 most viewed public pages. Cached for a minute.

Response

pagesnumberPages created
viewsnumberProfile views, all time
filesnumberFiles hosted
top[]object[]username, displayName, avatar, accent, views
Try itLive, no key needed
GET /api/stats/public

Status#

GET/api/statusNo key
Whether the APIs are serving requests, and their average latency.

Response

availablebooleantrue when requests are being served
totalRequestsnumberRequests counted in the current window
avgLatencyMsnumber | nullAverage response time
Try it
GET /api/status

Widget text#

GET/api/w/{widgetId}/textNo key
One line of text from your text widget, for chat bots. The widget id is in the builder.

Embeds#

Show your profile card on another website:

HTML
<iframe src="https://spotlight.baby/embed/YOUR_NAME"
        width="400" height="520" style="border:0;border-radius:20px"
        loading="lazy" title="My Spotlight"></iframe>

Every page also has a link preview image at /api/og/profile/NAME, used automatically by Discord, X and others.

Calendar files#

GET/api/profile/{username}/countdown.icsNo key
The page's countdown as a calendar event.
GET/api/profile/{username}/event.ics?id={eventId}No key
One of the page's events (streams, tournaments, releases).

App manifest#

GET/manifest.webmanifestNo key
The installable app's manifest: name, icons and shortcuts. See Mobile app.
← PreviousWebhooksNext →API explorer & SDK