Show game server players and info on your Website - Play-Servers API

Need to show your Game Server players, information & statistic on your Website - You can use our Play-Servers API, based on JS, HTML or json

Play-Servers JS API:
1. First you need to place to (< head>) tag this code:

server_id - your server id on Play-Servers (play-servers.com/server-id)

2. Now you can use special keys with information needed

Available keys:
ip - Adress without port
port - Server port
status - Server status (1 - online | 0 - offline)
hostname - Server name
gamemode - Server gamemode param
players - Players online
maxplayers - Maximum players on server
record - Players record
lastconnect - Last connect time
version - Server version
votes - Server votes

How to use this: (Show this information on your website)

Example (Change server id and paste this code on your website page):



You see this:
Server: Game Default Server Name
IP: 12.34.567.89:28015
Version: 1.0
Online: 52 / 500
Players record: 153
Information updated: 01.05.2021 12:00
Status: Online
Votes: 413

Supported games




Json API
Available tags: players, maxplayers, gameid, game, gamename, connectlink, ip, port, status, mapname, version, recordplayers, hostname, votes, ping, location_code, info_updated


ID - Your server id on Play-Servers Network