1. Home
  2. API
  3. World
  4. Highscores

Highscores

https://api.tibialabs.com/highscores.php?world={worldName}&{pos=number}

Parameter {worldName} is required, must be a valid world name.
{pos} is optional, if it’s not passed, it’s gonna be 1.

Example URL:

https://api.tibialabs.com/highscores.php?world=Belobra
https://api.tibialabs.com/highscores.php?world=Antica&pos=201

Output:

Wedzy (Level 1189) is Top 1 on Belobra. He's Master Sorcerer and got 27887094230 exp points.

Twitch Integration:

!addcom !highscore $(urlfetch https://api.tibialabs.com/highscores.php?world=$(1))

Creates a command on Nightbot that will return who’s top level on X server.