< RETURN_TO_LOGS

xnite's API Documentation

Overview

The API is a thin express gateway running at https://api.xnite.net/. Each feature is implemented as a small plugin, mounted under its own route namespace as /api/<plugin>, so every response comes wrapped in a consistent envelope:
{
  "plugin": "status",
  "success": true,
  "data": { /* ... endpoint-specific fields ... */ }
}
Global CORS middleware allows cross-origin requests from anywhere with GET, POST, PUT, and DELETE, so no API key is required for the endpoints below.

Available Endpoints

Feature Endpoint Description
Server Status /api/status/status Uptime, memory & CPU info for the API process.
Network Health /api/status-checker/all Live status of every monitored service.
Uptime Stats /api/status-checker/stats Historical uptime & response-time stats.
Minecraft Locator /api/minecraft/locate Locate structures by world seed, pure JavaScript.
Card Packs /api/cah/packs List the available Cards Against Humanity packs.
Random Combo /api/cah/random Generate a random Cards Against Humanity card combo.
See the individual pages for field-by-field explanations and curl examples.