Project Zomboid
API for My PZ Server
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/10871744json
{
"response": {
"steam_id": "90283390331442194",
"domain": null,
"id": 10871744,
"ip": "185.8.33.52",
"port": 16261,
"query": 16261,
"color": 0,
"city": "Izmir",
"description": null,
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1775524324,
"score": 0,
"last_online": 1776791534,
"icon": null,
"name": "My PZ Server",
"connect": "185.8.33.52:16261",
"request": "185.8.33.52:16261",
"map": "Muldraugh, KY",
"gamemode": "Project Zomboid",
"version": "41.78.16",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "TR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1768318658,
"last_update": 1776791534,
"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": 3748,
"language": "tr",
"parked": false,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/10871744");
$data = json_decode($json, true);
var_dump($data);