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 keyViews, followers, reactions and link clicks, with the last 14 days per link.
Response
| username | string | Your username |
| uid | number | Your user number |
| plan | "basic" | "premium" | "admin" | Your plan |
| createdAt | number | Signup time (ms since 1970) |
| url | string | Your page |
| views | number | Total profile views |
| followers | number | People following you |
| following | number | People you follow |
| reactions | Record<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/meResponse
{
"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 keyAny public profile. Private and hidden profiles answer
404.Response
| username | string | Username |
| displayName | string | Display name |
| bio | string | Bio as written (Markdown/BBCode) |
| accent | string | Accent colour, e.g. #8b5cf6 |
| avatar | string | null | Avatar URL |
| url | string | Their 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/xsaiiancurl 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.