API Endpoints

GET /getLeaderboard

Parameters:
  • days: 1, 7, 30, or 9999 (30)
  • category (nether)
  • type: qty, average, fastest, or conversion (qty)
  • limit (10, max 999999)

Response: Array of leaderboard entries.

Example URL: https://paceman.gg/stats/api/getLeaderboard/?days=30&category=nether&type=qty&limit=10

Example response (truncated)

Illustrative data. Additional array items, fields, or long values are omitted.

[
  {
    "uuid": "00000000-0000-4000-8000-000000000001",
    "name": "jojoe77777",
    "value": 240,
    "qty": 240,
    "avg": 180000
  },
  {
    "uuid": "00000000-0000-4000-8000-000000000002",
    "name": "AnotherPlayer",
    "value": 180,
    "qty": 180,
    "avg": 190000
  }
]

GET /getFastest

Parameters:
  • days: 1, 7, 30, or 9999 (30)
  • category (nether)
  • limit (10, max 999999)

Response: Array of fastest-run entries.

Example URL: https://paceman.gg/stats/api/getFastest/?days=30&category=nether&limit=10

Example response (truncated)

Illustrative data. Additional array items, fields, or long values are omitted.

[
  {
    "uuid": "00000000-0000-4000-8000-000000000001",
    "name": "jojoe77777",
    "value": 150000,
    "runId": 42
  },
  {
    "uuid": "00000000-0000-4000-8000-000000000002",
    "name": "AnotherPlayer",
    "value": 155000,
    "runId": 41
  }
]

GET /getWorld

Parameters:
  • worldId (required)

Response: { data, time, isLive } or null.

Example URL: https://paceman.gg/stats/api/getWorld/?worldId=42

Example response (truncated)

Illustrative data. Additional array items, fields, or long values are omitted.

{
  "data": {
    "id": 42,
    "worldId": "0123456789abcdef0123456789abcdef",
    "nickname": "jojoe77777",
    "uuid": "00000000-0000-4000-8000-000000000001",
    "twitch": "jojoe77777",
    "nether": 180000,
    "bastion": 240000,
    "fortress": 330000,
    "first_portal": 420000,
    "stronghold": 540000,
    "end": 600000,
    "finish": 780000
  },
  "time": 1704068000000,
  "isLive": false,
  "liveStatusUnknown": false
}

GET /getRecentRuns

Parameters:
  • name
  • hours (lifetime by default)
  • hoursBetween (lifetime by default)
  • limit (10, maximum 1000)

Response: Array of pace runs.

Rate limit: 300 requests per 60 seconds per client IP.

Example URL: https://paceman.gg/stats/api/getRecentRuns/?name=jojoe77777&hours=24&hoursBetween=6&limit=10

Example response (truncated)

Illustrative data. Additional array items, fields, or long values are omitted.

[
  {
    "id": 42,
    "time": 1704067200,
    "updatedTime": 1704067800,
    "realUpdated": 1704067800,
    "nether": 180000,
    "bastion": 240000,
    "fortress": 330000,
    "first_portal": 420000,
    "stronghold": 540000,
    "end": 600000,
    "finish": 780000,
    "lootBastion": 270000
  },
  {
    "id": 41,
    "time": 1704063600,
    "updatedTime": 1704067800,
    "realUpdated": 1704067800,
    "nether": 180000,
    "bastion": 240000,
    "fortress": 330000,
    "first_portal": 420000,
    "stronghold": 540000,
    "end": 600000,
    "finish": 780000,
    "lootBastion": 270000
  }
]

GET /getRecentTimestamps

Parameters:
  • name
  • limit (20, max 50)
  • onlyFort (false)

Response: Array of timestamp/split records.

Example URL: https://paceman.gg/stats/api/getRecentTimestamps/?name=jojoe77777&limit=10&onlyFort=false

Example response

Illustrative data.

[
  {
    "id": 42,
    "start": 1704067015,
    "runName": "13:00 Finish",
    "nether": 1704067200,
    "bastion": 1704067260,
    "fortress": 1704067350,
    "first_portal": 1704067440,
    "stronghold": 1704067560,
    "end": 1704067620,
    "finish": 1704067800,
    "realUpdate": 1704067800,
    "lastUpdated": 1704067800
  }
]

GET /getLatestRun

Parameters:
  • name
  • forceName (false)

Response: One run object, [] when none, or { error: "Unknown user" }.

Example URL: https://paceman.gg/stats/api/getLatestRun/?name=jojoe77777

Example response

Illustrative data.

{
  "id": 42,
  "netherRta": 185000,
  "time": 1704067200
}

GET /getLatestCompletion

Parameters:
  • name

Response: Array containing the latest completion, [] when none, or { error: "Unknown user" }.

Example URL: https://paceman.gg/stats/api/getLatestCompletion/?name=jojoe77777

Example response (truncated)

Illustrative data. Additional array items, fields, or long values are omitted.

[
  {
    "id": 42,
    "time": 1704067200,
    "updatedTime": 1704067800,
    "realUpdated": 1704067800,
    "nether": 180000,
    "bastion": 240000,
    "fortress": 330000,
    "first_portal": 420000,
    "stronghold": 540000,
    "end": 600000,
    "finish": 780000,
    "lootBastion": 270000
  }
]

GET /getPBs

Parameters:
  • names: comma-separated names (optional)
  • uuids: comma-separated UUIDs (optional)

Response: Array of PB records.

Example URL: https://paceman.gg/stats/api/getPBs/?names=jojoe77777

Example response

Illustrative data.

[
  {
    "uuid": "00000000-0000-4000-8000-000000000001",
    "finish": 780000,
    "timestamp": 1704067200,
    "pb": "13:00",
    "name": "jojoe77777"
  }
]

GET /getNickAlways

Parameters:
  • uuid

Response: { name }.

Example URL: https://paceman.gg/stats/api/getNickAlways/?uuid=00000000-0000-4000-8000-000000000001

Example response

Illustrative data.

{
  "name": "jojoe77777"
}

GET /getAllUsers

Response: Array of user records.

Example URL: https://paceman.gg/stats/api/getAllUsers/

Example response (truncated)

Illustrative data. Additional array items, fields, or long values are omitted.

[
  {
    "id": "00000000-0000-4000-8000-000000000001",
    "nick": "jojoe77777",
    "twitches": [
      "jojoe77777"
    ]
  },
  {
    "id": "00000000-0000-4000-8000-000000000002",
    "nick": "AnotherPlayer",
    "twitches": []
  }
]

GET /getRunsPaginated

Parameters:
  • page (1)
  • pageSize (10000, maximum 10000)

Response: { pageCount, runs }, or { error, pageCount, runs }.

Rate limit: 12 requests/minute.

Example URL: https://paceman.gg/stats/api/getRunsPaginated/?page=1&pageSize=100

Example response (truncated)

Illustrative data. Additional array items, fields, or long values are omitted.

{
  "pageCount": 1200,
  "runs": [
    {
      "id": 42,
      "nickname": "jojoe77777",
      "uuid": "00000000-0000-4000-8000-000000000001",
      "twitch": "jojoe77777",
      "worldId": "0123456789abcdef0123456789abcdef",
      "nether": 180000,
      "bastion": 240000,
      "fortress": 330000,
      "first_portal": 420000,
      "second_portal": 450000,
      "stronghold": 540000,
      "end": 600000
    }
  ]
}

GET /getSessionStats

Parameters:
  • name
  • hours (24)
  • hoursBetween (6)

Response: Object keyed by nether, bastion, fortress, first_structure, second_structure, first_portal, stronghold, end, and finish.

Example URL: https://paceman.gg/stats/api/getSessionStats/?name=jojoe77777&hours=24&hoursBetween=6

Example response

Illustrative data.

{
  "nether": {
    "count": 24,
    "avg": "3:00"
  },
  "bastion": {
    "count": 12,
    "avg": "4:00"
  },
  "fortress": {
    "count": 8,
    "avg": "5:30"
  },
  "first_structure": {
    "count": 16,
    "avg": "4:10"
  },
  "second_structure": {
    "count": 6,
    "avg": "5:40"
  },
  "first_portal": {
    "count": 4,
    "avg": "7:00"
  },
  "stronghold": {
    "count": 3,
    "avg": "9:00"
  },
  "end": {
    "count": 2,
    "avg": "10:00"
  },
  "finish": {
    "count": 1,
    "avg": "13:00"
  },
  "truncated": false
}

GET /getSessionNethers

Parameters:
  • name
  • hours (24)
  • hoursBetween (6)
  • liveOnly (false)
  • dp (0–3)

Response: { count, avg, rnph, uuid }.

Example URL: https://paceman.gg/stats/api/getSessionNethers/?name=jojoe77777&hours=24&hoursBetween=6&dp=0

Example response

Illustrative data.

{
  "count": 24,
  "avg": "3:00",
  "rnph": 8,
  "uuid": "00000000-0000-4000-8000-000000000001"
}

GET /getSplitStats

Parameters:
  • name
  • hours (24)
  • hoursBetween (6)
  • split (nether)
  • maxTime (99999999)

Response: { count, avg, ms }.

Example URL: https://paceman.gg/stats/api/getSplitStats/?name=jojoe77777&hours=24&hoursBetween=6&split=nether

Example response

Illustrative data.

{
  "count": 24,
  "avg": "3:00",
  "ms": 180000
}

GET /getCombinedStats

Parameters:
  • names: at most 20 comma-separated names
  • hours (24)
  • hoursBetween (6)
  • start (0)

Response: Object keyed by split, each containing count and avg.

Rate limit: 30 requests/minute (shared).

Example URL: https://paceman.gg/stats/api/getCombinedStats/?names=jojoe77777%2CAnotherPlayer&hours=24&hoursBetween=6

Example response

Illustrative data.

{
  "nether": {
    "count": 24,
    "avg": "3:00"
  },
  "bastion": {
    "count": 12,
    "avg": "4:00"
  },
  "fortress": {
    "count": 8,
    "avg": "5:30"
  },
  "first_structure": {
    "count": 16,
    "avg": "4:10"
  },
  "second_structure": {
    "count": 6,
    "avg": "5:40"
  },
  "first_portal": {
    "count": 4,
    "avg": "7:00"
  },
  "stronghold": {
    "count": 3,
    "avg": "9:00"
  },
  "end": {
    "count": 2,
    "avg": "10:00"
  },
  "finish": {
    "count": 1,
    "avg": "13:00"
  }
}

GET /getEventStats

Parameters:
  • vanity: PaceMan event vanity (required)

Response: { event, players, overall } with run totals and split count, avgMs, and bestMs.

Rate limit: 30 requests/minute per client IP; 2 concurrent requests per process.

Note: Includes runs recorded during each event window, from the opening instant up to but excluding the closing instant. Requires an explicit whitelist. Supports up to 512 players, 32 play windows, and 100,000 runs. Cached for 30 seconds per vanity.

Example URL: https://paceman.gg/stats/api/getEventStats/?vanity=playoffs-s3

Example response

Illustrative data.

{
  "event": {
    "vanity": "playoffs-s3",
    "name": "PaceMan Playoffs Season 3",
    "windows": [
      {
        "start": 1737820800,
        "end": 1737850200
      },
      {
        "start": 1737907200,
        "end": 1737936600
      }
    ]
  },
  "players": [
    {
      "uuid": "00000000-0000-4000-8000-000000000001",
      "nickname": "jojoe77777",
      "runCount": 24,
      "splits": {
        "nether": {
          "count": 24,
          "avgMs": 180000,
          "bestMs": 165000
        },
        "bastion": {
          "count": 12,
          "avgMs": 480000,
          "bestMs": 465000
        },
        "fortress": {
          "count": 8,
          "avgMs": 480000,
          "bestMs": 465000
        },
        "first_structure": {
          "count": 16,
          "avgMs": 480000,
          "bestMs": 465000
        },
        "second_structure": {
          "count": 6,
          "avgMs": 480000,
          "bestMs": 465000
        },
        "first_portal": {
          "count": 4,
          "avgMs": 480000,
          "bestMs": 465000
        },
        "stronghold": {
          "count": 3,
          "avgMs": 480000,
          "bestMs": 465000
        },
        "end": {
          "count": 2,
          "avgMs": 480000,
          "bestMs": 465000
        },
        "finish": {
          "count": 1,
          "avgMs": 480000,
          "bestMs": 480000
        }
      }
    }
  ],
  "overall": {
    "runCount": 24,
    "splits": {
      "nether": {
        "count": 24,
        "avgMs": 180000,
        "bestMs": 165000
      },
      "bastion": {
        "count": 12,
        "avgMs": 480000,
        "bestMs": 465000
      },
      "fortress": {
        "count": 8,
        "avgMs": 480000,
        "bestMs": 465000
      },
      "first_structure": {
        "count": 16,
        "avgMs": 480000,
        "bestMs": 465000
      },
      "second_structure": {
        "count": 6,
        "avgMs": 480000,
        "bestMs": 465000
      },
      "first_portal": {
        "count": 4,
        "avgMs": 480000,
        "bestMs": 465000
      },
      "stronghold": {
        "count": 3,
        "avgMs": 480000,
        "bestMs": 465000
      },
      "end": {
        "count": 2,
        "avgMs": 480000,
        "bestMs": 465000
      },
      "finish": {
        "count": 1,
        "avgMs": 480000,
        "bestMs": 480000
      }
    }
  }
}

GET /getCombinedNethers

Parameters:
  • names: at most 20 comma-separated names
  • hours (24)
  • hoursBetween (6)
  • start (0)
  • maxTime (99999999)

Response: { count, avg }.

Rate limit: 30 requests/minute (shared).

Example URL: https://paceman.gg/stats/api/getCombinedNethers/?names=jojoe77777%2CAnotherPlayer&hours=24&hoursBetween=6

Example response

Illustrative data.

{
  "count": 48,
  "avg": "3:10"
}

GET /getNPH

Parameters:
  • name
  • hours (24)
  • hoursBetween (2)
  • liveOnly (false)

Response: NPH statistics object.

Example URL: https://paceman.gg/stats/api/getNPH/?name=jojoe77777&hours=24&hoursBetween=2&liveOnly=false

Example response

Illustrative data.

{
  "rtanph": 7.2,
  "rnph": 8,
  "lnph": 12,
  "count": 12,
  "avg": 180000,
  "playtime": 3600000,
  "walltime": 1800000,
  "resets": 96,
  "totalResets": 10000,
  "seedsPlayed": 125,
  "rpe": 8,
  "truncated": false
}

GET /exportStats

Parameters:
  • name: Minecraft nickname or Twitch name
  • uuid: player UUID
  • from: inclusive UTC date YYYY-MM-DD (1970-01-01)
  • to: exclusive UTC date YYYY-MM-DD (tomorrow)
  • mode: daily or records (daily)
  • format: json or csv (json)
  • limit: records only (1000, max 5000)
  • cursor: records only

Response: Daily totals or paginated records, as JSON or CSV.

Rate limit: 6 requests/minute; 2 concurrent exports per endpoint.

Note: Provide exactly one of name or uuid.

Example URL: https://paceman.gg/stats/api/exportStats/?name=jojoe77777&from=2024-01-01&to=2024-01-02&format=json

Example response

Illustrative data.

{
  "dataset": "stats",
  "player": {
    "name": "jojoe77777",
    "uuid": "00000000-0000-4000-8000-000000000001"
  },
  "range": {
    "from": "2024-01-01",
    "to": "2024-01-02",
    "timezone": "UTC",
    "toExclusive": true
  },
  "mode": "daily",
  "rows": [
    {
      "date": "2024-01-01",
      "runs": 24,
      "netherEnters": 24,
      "bastionEnters": 12,
      "fortressEnters": 8,
      "firstPortalEnters": 4,
      "secondPortalEnters": 4,
      "strongholdEnters": 3,
      "endEnters": 2,
      "completions": 1,
      "fastestNetherMs": 150000,
      "fastestFinishMs": 780000
    }
  ],
  "summary": {
    "runs": 24,
    "netherEnters": 24,
    "bastionEnters": 12,
    "fortressEnters": 8,
    "firstPortalEnters": 4,
    "secondPortalEnters": 4,
    "strongholdEnters": 3,
    "endEnters": 2,
    "completions": 1,
    "fastestNetherMs": 150000,
    "fastestFinishMs": 780000
  }
}

GET /exportResetStats

Parameters:
  • name: Minecraft nickname or Twitch name
  • uuid: player UUID
  • from: inclusive UTC date YYYY-MM-DD (1970-01-01)
  • to: exclusive UTC date YYYY-MM-DD (tomorrow)
  • mode: daily or records (daily)
  • format: json or csv (json)
  • limit: records only (1000, max 5000)
  • cursor: records only

Response: Daily totals or paginated records, as JSON or CSV.

Rate limit: 6 requests/minute; 2 concurrent exports per endpoint.

Note: Provide exactly one of name or uuid.

Example URL: https://paceman.gg/stats/api/exportResetStats/?name=jojoe77777&from=2024-01-01&to=2024-01-02&format=json

Example response

Illustrative data.

{
  "dataset": "resetStats",
  "player": {
    "name": "jojoe77777",
    "uuid": "00000000-0000-4000-8000-000000000001"
  },
  "range": {
    "from": "2024-01-01",
    "to": "2024-01-02",
    "timezone": "UTC",
    "toExclusive": true
  },
  "mode": "daily",
  "rows": [
    {
      "date": "2024-01-01",
      "netherEnters": 12,
      "previewsPlayed": 120,
      "resets": 96,
      "resetRecords": 12,
      "accurateRecords": 12,
      "wallTimeMs": 1800000,
      "playTimeMs": 3600000,
      "rnph": 8,
      "lnph": 12,
      "resetsPerEnter": 8
    }
  ],
  "summary": {
    "netherEnters": 12,
    "previewsPlayed": 120,
    "resets": 96,
    "resetRecords": 12,
    "accurateRecords": 12,
    "wallTimeMs": 1800000,
    "playTimeMs": 3600000,
    "rnph": 8,
    "lnph": 12,
    "resetsPerEnter": 8
  }
}

GET /searchPlayers

Parameters:
  • q: at least 2 characters
  • limit (8, max 20)

Response: Array of { id, name, displayName, color, bgColor }.

Rate limit: 120 requests per 60 seconds per client IP.

Example URL: https://paceman.gg/stats/api/searchPlayers/?q=jojoe77777&limit=8

Example response

Illustrative data.

[
  {
    "id": "00000000-0000-4000-8000-000000000001",
    "name": "jojoe77777",
    "displayName": null,
    "color": null,
    "bgColor": null
  }
]

GET /getPlayerRuns

Parameters:
  • uuid
  • beforeId: exclusive cursor (cursor pagination)
  • limit: cursor page size (25, max 100)
  • page: zero-based page (offset pagination)
  • pageSize: 10, 25, 50, or 100 (25, offset pagination)
  • filters: optional JSON array (offset pagination)

Response: Cursor mode: { rows, nextCursor, hasMore, loadedCount }. Page mode: { rows, rowCount }.

Rate limit: 120 requests per 60 seconds per client IP.

Example URL: https://paceman.gg/stats/api/getPlayerRuns/?uuid=00000000-0000-4000-8000-000000000001&limit=2

Example response (truncated)

Illustrative data. Additional array items, fields, or long values are omitted.

{
  "rows": [
    {
      "id": 42,
      "nether": 180000,
      "bastion": 240000,
      "fortress": 330000,
      "first_structure": 240000,
      "second_structure": 330000,
      "first_portal": 420000,
      "stronghold": 540000,
      "end": 600000,
      "finish": 780000,
      "lastUpdated": 1704067800000,
      "vodId": null
    },
    {
      "id": 41,
      "nether": 180000,
      "bastion": 240000,
      "fortress": 330000,
      "first_structure": 240000,
      "second_structure": 330000,
      "first_portal": 420000,
      "stronghold": 540000,
      "end": 600000,
      "finish": 780000,
      "lastUpdated": 1704067800000,
      "vodId": null
    }
  ],
  "nextCursor": 41,
  "hasMore": true,
  "loadedCount": 2
}

GET /getAAPlayerRuns

Parameters:
  • uuid
  • beforeId: exclusive cursor
  • limit (25, max 100)

Response: { rows, nextCursor, hasMore, loadedCount }.

Rate limit: 120 requests per 60 seconds per client IP.

Example URL: https://paceman.gg/stats/api/getAAPlayerRuns/?uuid=00000000-0000-4000-8000-000000000001&limit=2

Example response

Illustrative data.

{
  "rows": [
    {
      "id": 42,
      "nether": 180000,
      "bastion": 240000,
      "fortress": 330000,
      "stronghold": 540000,
      "end": 600000,
      "elytra": 900000,
      "credits": 1200000,
      "finish": 10800000,
      "lastUpdated": 1704078000000,
      "vodId": null,
      "twitch": "jojoe77777"
    },
    {
      "id": 41,
      "nether": 180000,
      "bastion": 240000,
      "fortress": 330000,
      "stronghold": 540000,
      "end": 600000,
      "elytra": 900000,
      "credits": 1200000,
      "finish": 10800000,
      "lastUpdated": 1704078000000,
      "vodId": null,
      "twitch": "jojoe77777"
    }
  ],
  "nextCursor": 41,
  "hasMore": true,
  "loadedCount": 2
}

GET /../aa/api/getAllData

Parameters:
  • days: 1, 7, 30, or 9999 (30)

Response: { data: [...] }.

Note: This route is prefixed with /stats/aa/api/, not /stats/api/.

Example URL: https://paceman.gg/stats/aa/api/getAllData/?days=30

Example response (truncated)

Illustrative data. Additional array items, fields, or long values are omitted.

{
  "data": [
    {
      "id": 42,
      "nickname": "jojoe77777",
      "uuid": "00000000-0000-4000-8000-000000000001",
      "twitch": "jojoe77777",
      "worldId": "0123456789abcdef0123456789abcdef",
      "nether": 180000,
      "bastion": 240000,
      "fortress": 330000,
      "stronghold": 540000,
      "end": 600000,
      "elytra": 900000,
      "credits": 1200000
    }
  ]
}