Rust
API for
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/10922521json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10922521,
"ip": "104.247.112.136",
"port": 25565,
"query": 28017,
"color": 0,
"city": "Plano",
"description": "Plasma [US] 1.5x | Solo/Duo/Trio | Small Map\r\n- 1.5x Resource Gather\r\n- 2x Resource Stack Size\r\n- 2x Tool Cupboard Stack Size\r\n- Blueprint Share\r\n- Workbenches Cover Entire\r\n- Longer Days, Shorter Nights\r\n- Heli Doesn't Flee\r\n- Slightly Buffed Loot Tables\r\n- Team Limit: 3",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776205877,
"score": 0,
"last_online": 1775477417,
"icon": null,
"name": null,
"connect": null,
"request": "104.247.112.136:28017",
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1768476961,
"last_update": 1776205877,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 9243,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/10922521");
$data = json_decode($json, true);
var_dump($data);