Counter-Strike 2
API for XPLAY.GG • CS2 RETAKE #95 • [IN]
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/5209495json
{
"response": {
"steam_id": 85568392924046240,
"domain": null,
"id": 5209495,
"ip": "148.113.1.122",
"port": 26676,
"query": 26676,
"color": 0,
"city": "Mumbai",
"description": null,
"game": 730,
"owner": null,
"boosts": 1,
"last_offline": 1775458927,
"score": 0,
"last_online": 1775962830,
"icon": null,
"name": "XPLAY.GG • CS2 RETAKE #95 • [IN]",
"connect": "148.113.1.122:26676",
"request": "148.113.1.122:26676",
"map": "de_dust2",
"gamemode": "Counter-Strike 2",
"version": "1.41.4.1",
"numplayers": 0,
"maxplayers": 11,
"bots": 0,
"secured": true,
"private": false,
"country": "IN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1721121087,
"last_update": 1775962830,
"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": 4601,
"language": "hi",
"parked": false,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/5209495");
$data = json_decode($json, true);
var_dump($data);