Why use GamePing?

Easy to Use

Get information about any game server in seconds. Simply enter the IP address and port, select the game, and GamePing will provide you with real-time information about the server's status, player count, and other parameters.

Powered by NodePlay

The service runs on NodePlay's reliable infrastructure, ensuring stable and fast API performance.

Getting Started

Check Server

Server Information

Server information will appear here after checking

API Documentation

Base URL for API requests:

https://gameping.run/api/{game}?ip={ip}&port={port}

Parameters

game

The game identifier. Popular games include:

minecraftcsgorustpalworldarma3counterstrike2dayzvalheimsdtd
ip

The server's IP address or hostname.

port

The server's port number.

Response Format

The API returns JSON with the following common fields:

{
  "name": "Server name",
  "map": "Current map name",
  "password": false,
  "maxplayers": 20,
  "numplayers": 1,
  "players": [...],
  "bots": [...],
  "connect": "server:port",
  "ping": 6,
  "online": true,
  "version": "Game version"
}

Integration Examples

JavaScript / Node.js
fetch('https://gameping.run/api/minecraft?ip=play.example.com&port=25565') .then(response => response.json()) .then(data => { if (data.online) { console.log(`Server: ${data.name}`); console.log(`Players: ${data.numplayers}/${data.maxplayers}`); } });
Python
import requests response = requests.get('https://gameping.run/api/minecraft?ip=play.example.com&port=25565') data = response.json() if data['online']: print(f"Server: {data['name']}") print(f"Players: {data['numplayers']}/{data['maxplayers']}")
PHP
$response = file_get_contents('https://gameping.run/api/minecraft?ip=play.example.com&port=25565'); $data = json_decode($response, true); if ($data['online']) { echo "Server: " . $data['name'] . "\n"; echo "Players: " . $data['numplayers'] . "/" . $data['maxplayers']; }

Error Handling

When a server is offline or unreachable, the response will include:

{ "online": false, "error": "Unable to connect to server" }