Counter-Strike 2
API for XPLAY.GG • CS2 Matches #720
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/11431186json
{
"response": {
"steam_id": "85568392935874079",
"domain": null,
"id": 11431186,
"ip": "152.233.60.4",
"port": 26294,
"query": 26294,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 730,
"owner": null,
"boosts": 1,
"last_offline": 1776000697,
"score": 0,
"last_online": 1776023441,
"icon": null,
"name": "XPLAY.GG • CS2 Matches #720",
"connect": "152.233.60.4:26294",
"request": "152.233.60.4:26294",
"map": "duels_aim_map",
"gamemode": "Counter-Strike 2",
"version": "1.41.4.1",
"numplayers": 0,
"maxplayers": 6,
"bots": 1,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 53,
"add_date": 1774976736,
"last_update": 1776023441,
"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": 1201,
"language": "de",
"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/11431186");
$data = json_decode($json, true);
var_dump($data);