Reference

API Docs

Base URL: https://api.prisontest.com

Use these endpoints for server stats, leaderboard data, player lookup, and content feeds.

Game Data Endpoints

MethodPathDescription
GET/api/serverCurrent server online state and player count.
GET/api/player/:usernamePlayer profile and progression stats.
GET/api/gang/:nameGang profile with success flag, members, name, createdOn, and level.
GET/api/leaderboardAvailable leaderboard categories.
GET/api/leaderboard/:category?limit=25Top players for a single leaderboard category.

Site Content Endpoints

MethodPathDescription
GET/api/changelogChangelog JSON from local data.

Example Request

curl -sS https://api.prisontest.com/api/player/mia