GameAPIs

7 Days to Die Documentation

Parameters

Required Parameter Type Description Default Value
True IP String Server's IP address or domain None
False Port Integer The port of which the game server is running on. 26900

Single Server

GET https://use.gameapis.net/7d2d/query/status/{IP}:{PORT}
{
    "status": true,
    "hostname": "{IP}",
    "port": {PORT},
    "queryPort": {PORT + 1},
    "protocol": "udp",
    "cached": false
}

Multiple Servers

GET https://use.gameapis.net/7d2d/query/status/{IP}:{PORT},{IP2}:{PORT2}
{
    "{IP}:{PORT}": {
        "status": true,
        "hostname": "{IP}",
        "port": {PORT},
        "queryPort": {PORT + 1},
        "protocol": "udp",
        "cached": false
    },
    "{IP2}:{PORT2}": {
        "status": true,
        "hostname": "{IP2}",
        "port": {PORT2},
        "queryPort": {PORT2 + 1},
        "protocol": "udp",
        "cached": false
    }
}

Single Server

GET https://use.gameapis.net/7d2d/query/players/{IP}:{PORT}
{
    "status": true,
    "hostname": "{IP}",
    "port": {PORT},
    "queryPort": {PORT + 1},
    "protocol": "udp",
    "players": {
        "online": 20,
        "max": 100
    },
    "cached": false
}

Multiple Servers

GET https://use.gameapis.net/7d2d/query/players/{IP}:{PORT},{IP2}:{PORT2}
{
    "{IP}:{PORT}": {
        "status": true,
        "hostname": "{IP}",
        "port": {PORT},
        "queryPort": {PORT + 1},
        "protocol": "udp",
        "players": {
            "online": 1,
            "max": 25
        },
        "cached": false
    },
    "{IP2}:{PORT2}": {
        "status": true,
        "hostname": "{IP2}",
        "port": {PORT2},
        "queryPort": {PORT2 + 1},
        "protocol": "udp",
        "players": {
            "online": 22,
            "max": 50
        },
        "cached": false
    }
}

Single Server

GET https://use.gameapis.net/7d2d/query/info/{IP}:{PORT}
{
    "status": true,
    "hostname": "{IP}",
    "port": {PORT},
    "queryPort": {PORT + 1},
    "name": "7dtdNewServer",
    "map": "Navezgane",
    "eac_secured": true,
    "password_protected": false,
    "join": "steam://connect/{IP}:{PORT}/",
    "version": "Alpha 15.2",
    "protocol": "udp",
    "players": {
        "online": 20,
        "max": 100
    },
    "cached": false
}

Multiple Servers

GET https://use.gameapis.net/7d2d/query/info/{IP}:{PORT},{IP2}:{PORT2}
{
    "{IP}:{PORT}": {
        "status": true,
        "hostname": "{IP}",
        "port": {PORT},
        "queryPort": {PORT + 1},
        "name": "7dtdNewServer",
        "map": "Navezgane",
        "eac_secured": true,
        "password_protected": false,
        "join": "steam://connect/{IP}:{PORT}/",
        "version": "Alpha 15.2",
        "protocol": "udp",
        "players": {
            "online": 1,
            "max": 25
        },
        "cached": false
    },
    "{IP2}:{PORT2}": {
        "status": true,
        "hostname": "{IP2}",
        "port": {PORT2},
        "queryPort": {PORT2 + 1},
        "name": "7dtdNewServer",
        "map": "Random Gen",
        "eac_secured": true,
        "password_protected": false,
        "join": "steam://connect/{IP2}:{PORT2}/",
        "version": "Alpha 16",
        "protocol": "udp",
        "players": {
            "online": 22,
            "max": 50
        },
        "cached": false
    }
}