Counter-Strike
API for
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/11182151json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11182151,
"ip": "193.33.176.48",
"port": 27085,
"query": 27085,
"color": 0,
"city": "Gdansk",
"description": null,
"game": 10,
"owner": 165840,
"boosts": 1,
"last_offline": 1776799358,
"score": 0,
"last_online": 1776115214,
"icon": null,
"name": null,
"connect": null,
"request": "193.33.176.48:27085",
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 27,
"bots": 0,
"secured": null,
"private": false,
"country": "PL",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1772474872,
"last_update": 1776799358,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 7164,
"language": "pl",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": {
"username": "goldenshotspl",
"avatar": "78219c7d-23a3-4380-ab2f-0e6d62d3ed41.png",
"last_online": 1774957026
},
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/11182151");
$data = json_decode($json, true);
var_dump($data);