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

Game stats

Ranks, today's record and last matches for Valorant, League of Legends and FACEIT. Each endpoint answers in one line of text, or JSON with json=true.

All endpoints here need your key in the x-api-key header (or api_key in the address for chat bots). See Introduction for limits.

Valorant#

Parameters (all Valorant endpoints)

namerequiredstringRiot name
tagrequiredstringRiot tag, without #
regioneu | na | ap | krDefault eu
platformpc | consoleDefault pc
formatstringYour own text with [variables]
jsonbooleantrue for the full JSON response
GET/api/v/rankx-api-key
Current rank and RR. Default text: [rank] ([rr] RR)
GET/api/v/recordx-api-key
Today's wins and losses: [rank] - Won [win] matches today ([win_percentage])
GET/api/v/lastmatchx-api-key
The latest match: map, agent and K/D/A.
GET/api/v/globalx-api-key
Rank with the leaderboard position.
GET/api/v/agentsx-api-key
Most played agents (JSON with json=true).
Try itCalls the live API
GET /api/v/rank?region=eu&platform=pc&json=true

Examples#

curl "https://spotlight.baby/api/v/rank?name=Player&tag=EUW&region=eu&json=true" \
  -H "x-api-key: YOUR_KEY"

League of Legends#

Parameters

namerequiredstringRiot name
tagrequiredstringRiot tag, without #
regionstringDefault eune. One of: na, euw, eune, kr, jp, br, tr, las, lan, oc, ru, ph, sg, th, tw, vn
formatstringYour own text with [variables]
jsonbooleantrue for the full JSON response
GET/api/lol/rankx-api-key
Ranked tier, division and LP: [tier] [rank] with [lp] LP
GET/api/lol/last-matchx-api-key
Champion, result and KDA of the latest game.

FACEIT#

Parameters

nicknamerequiredstringFACEIT nickname (name also works)
gamestringDefault cs2
formatstringYour own text with [variables]
jsonbooleantrue for the full JSON response
GET/api/faceit/profilex-api-key
Level and ELO: [nickname]: Level [level] ([elo] ELO)
GET/api/faceit/statsx-api-key
K/D, win rate and matches.
GET/api/faceit/lastmatchx-api-key
Result, map, score and K/D/A of the latest match.

Variables for format#

Every variable you can use in format, per endpoint:

valorant

  • GET/api/v/record

    ๐Ÿ“œ Match Record - Today's match results (wins, losses, etc.)

    format variables: [name] [tag] [region] [platform] [rank] [rr] [win] [win_percentage] [last_map]

    e.g. format=[rank] - Won [win] matches today ([win_percentage])

  • GET/api/v/lastmatch

    ๐Ÿ•น๏ธ Last Match - Detailed stats of the player's last match in Valorant

    format variables: [name] [tag] [agent] [kills] [deaths] [assists] [score]

    e.g. format=[name] played on [map] as [agent]. K/D/A: [kills]/[deaths]/[assists]

  • GET/api/v/rank

    ๐ŸŽ–๏ธ Rank - Current rank and season progress in Valorant

    format variables: [name] [rank] [rr] [peak_rank]

    e.g. format=[rank] ([rr] RR)

  • GET/api/v/global

    ๐ŸŒ Global - Detailed data from recent matches and statistics in Valorant

    format variables: [name] [rank] [daily_wins]

    e.g. format=[rank] ([rr] RR), daily wins: [daily_wins]

FACEIT

  • GET/api/faceit/profile

    ๐ŸŽฏ Level & ELO - FACEIT skill level and ELO of a player

    format variables: [nickname] [level] [elo] [elo_to_next] [country]

    e.g. format=[nickname]: Level [level] ([elo] ELO)

  • GET/api/faceit/stats

    ๐Ÿ“Š Lifetime stats - K/D, win rate, matches and streaks of a FACEIT player

    format variables: [kd] [win_rate] [matches] [hs] [win_streak] [recent]

    e.g. format=K/D [kd] | WR [win_rate]% | [matches] matches

  • GET/api/faceit/lastmatch

    โฑ๏ธ Last match - Result and personal stats of the last FACEIT match

    format variables: [result] [map] [score] [kills] [deaths] [assists] [mvps]

    e.g. format=[result] on [map] [score]: [kills]/[deaths]/[assists]

League of Legends

  • GET/api/lol/rank

    ๐Ÿ‘‘ Rank - Current league rank of the player in League of Legends

    format variables: [name] [tag] [level] [solo_rank] [solo_division] [solo_lp] [solo_wins] [solo_losses] [solo_total_games] [solo_win_rate] [solo_games_needed] [solo_suffix] [flex_rank] [flex_division] [flex_lp] [flex_wins] [flex_losses] [flex_total_games] [flex_win_rate] [flex_games_needed] [flex_suffix] [champ_name] [champ_level] [champ_points] [rank] [division] [lp] [wins] [losses] [total_games] [win_rate] [games_needed] [suffix]

    e.g. format=Summoner [summoner_name] is [tier] [rank] with [lp] LP.

  • GET/api/lol/last-match

    โš”๏ธ Last Match - Detailed stats of the last League of Legends match

    format variables: [name] [tag] [champion] [result] [kills] [deaths] [assists] [kda] [mode] [duration] [cs]

    e.g. format=[name]#[tag] last played [champion] ([result]). KDA: [kills]/[deaths]/[assists] ([kda]). Mode: [mode] ([duration])

โ† PreviousIntroductionNext โ†’Accounts & profiles