Server API - Server information on your site


Do you want to display information about the server on your website, but with your design? Server API is ideal for you.
Server API documentation:
1. First, you need to include the following code in the header (<head>) of your page:

YOUR_SERVER_ID - ID of your server in monitoring (sampmonitoring.com/server/ID/)

2. Now you can show any information about your server by setting the desired variable code anywhere in your site.

List of available variables:
ip - server address
port - server port
status - server status (1 - online | 0 - offline)
hostname - server name
gamemode - server gamemode
players - players online
maxplayers - maximum allowed number of players
record - record players
lastconnect - date of last information update
version - server version
votes - server rating (votes)

How to use: (Display this information on your site)

Ready-made example of use. (Enter your server's ID, and paste the code anywhere on your site):


It will look like this (with information about your server):
Server Name: SAMP Server Name
Server Address: 11.22.33.44:7777
Server version: 0.3.7-R2
Gamemode: Stunt/Race/DM
Current online: 400 / 1000 игроков
Record: 633
Last update: 2018-08-18 08:18:08
Server Status: Online
Server Ranking: 123

Server of the day

Last reviews

=====>> Xenom Roleplay
SO NICE BABY!!
jigensuryadi at 08:56

Project | DayZ Survival R..
EpicDutchie at 20:43


BE:RP Najjaci srw
Marko at 01:22


193.187.175.161:7777
Nelien at 17:33


[b]Промокод [color=red]SAMPMONITORING[/color][/b]
Nelien at 17:31

Swallow Remix Project [SA..
THE BEST SERVER! WE ARE APPRECIATE TO FOUNDER!!!
DarkKNight at 03:32

Swallow Remix Project
THE BEST SERVER EVER!!!
anggakw at 04:38