# एमसीस्टैट एपीआई | Minecraft सर्वर, प्लेयर्स और सामुदायिक डेटा

ऐप्स, बॉट और टूल के लिए Minecraft सर्वर लिस्टिंग, प्लेयर प्रोफाइल, लाइव गतिविधि, रैंकिंग, स्किन और सामुदायिक डेटा तक पहुंचने के लिए MCStat API का उपयोग करें।

Canonical HTML: https://mcstat.org/hi/api-docs
Markdown URL: https://mcstat.org/hi/api-docs.md
Base URL: https://mcstat.org/api/v1

## प्रमाणीकरण

सभी दस्तावेज़ित सार्वजनिक एपीआई एंडपॉइंट के लिए एपीआई कुंजी की आवश्यकता होती है। अपनी कुंजी X-API-कुंजी हेडर में भेजें.

- **हेडर का अनुरोध करें** — प्रमाणित करने के लिए इस हेडर को जोड़ें
  `X-API-Key: mcs_your_key_here`
- **या क्वेरी पैरामीटर के रूप में** — या क्वेरी पैरामीटर के रूप में पास करें
  `?api_key=mcs_your_key_here`

## दर सीमा

अनुरोध एपीआई कुंजी द्वारा प्रमाणित किए जाते हैं। एक गुम या अमान्य कुंजी HTTP 401 लौटाती है, एक अक्षम कुंजी HTTP 403 लौटाती है, और एक सीमा पार कर गई कुंजी HTTP 429 लौटाती है।

- **एपीआई कुंजी के बिना** — अनुमति नहीं है
- **एपीआई कुंजी के साथ** — प्रति मिनट 60 अनुरोध, प्रति दिन 1,000 और डिफ़ॉल्ट रूप से 30,000 प्रति माह। एक सीमा से अधिक होने पर X-RateLimit-* हेडर के साथ HTTP 429 लौटाता है जो आपकी सीमाएं दिखाता है और एक रिट्री-आफ्टर आपको बताता है कि विंडो रीसेट कब होती है। अनुरोध पर प्रति कुंजी उच्च सीमाएँ दी जा सकती हैं।

दर सीमा शीर्षलेख: 429 प्रतिक्रिया में एक्स-रेटलिमिट-लिमिट-मिनट, एक्स-रेटलिमिट-लिमिट-डे, एक्स-रेटलिमिट-शेष-दिन, एक्स-रेटलिमिट-लिमिट-महीना, एक्स-रेटलिमिट-शेष-माह और पुनः प्रयास के बाद शामिल है। सफल प्रतिक्रियाओं में कैश-कंट्रोल हेडर होता है ताकि आप क्लाइंट-साइड परिणामों को सुरक्षित रूप से कैश कर सकें।

## प्रतिक्रिया स्वरूप

प्रत्येक सफल प्रतिक्रिया एक {success} बूलियन और एक {data} ऑब्जेक्ट के साथ JSON है। त्रुटियाँ {success} के साथ एक ही लिफाफे का उपयोग करती हैं: गलत।

सफलता प्रतिक्रिया:

```json
{
  "success": true,
  "data": {
    "resource": {
      "id": "...",
      "name": "Example"
    }
  }
}
```

त्रुटि प्रतिक्रिया:

```json
{
  "success": false,
  "error": "Too many requests"
}
```

## त्रुटियाँ

मानक HTTP स्थिति कोड का उपयोग किया जाता है। सामान्य मामले:

| कोड | मतलब |
| --- | --- |
| 400 | ख़राब अनुरोध - अमान्य पैरामीटर |
| 401 | अनधिकृत - गुम या अमान्य एपीआई कुंजी |
| 403 | निषिद्ध - एपीआई कुंजी अक्षम |
| 404 | नहीं मिला - संसाधन मौजूद नहीं है |
| 429 | बहुत अधिक अनुरोध - दर सीमा पार हो गई है |
| 500 | आंतरिक सर्वर त्रुटि - बाद में पुनः प्रयास करें |

## इसे आज़माएं

The browser playground proxies requests through `/api/v1/api-docs/test`, validates Cloudflare Turnstile, allows only documented GET endpoints, and applies IP-based rate limiting.

## Endpoint Catalog

### सर्वर समापनबिंदु

mcstat.org द्वारा ट्रैक किए गए Minecraft सर्वर को ब्राउज़ करें, फ़िल्टर करें और निरीक्षण करें।

#### GET /api/v1/servers

Title: सूची सर्वर
Description: समृद्ध फ़िल्टर वाले सार्वजनिक सर्वरों की पृष्ठांकित सूची।

Parameters:
- `page` (integer, optional): पृष्ठ संख्या, 1 से प्रारंभ. Default: `1`.
- `limit` (integer, optional): प्रति पृष्ठ आइटम. Default: `20`.
- `sort` (string, optional): क्रमबद्ध करें. Default: `recent`.
- `search` (string, optional): निःशुल्क-पाठ क्वेरी.
- `country` (string, optional): आईएसओ देश का नाम फ़िल्टर।
- `version` (string, optional): Minecraft संस्करण फ़िल्टर।
- `tag` (string, optional): टैग द्वारा फ़िल्टर करें.
- `mode` (string, optional): गेम-मोड फ़िल्टर.
- `minPlayers` (integer, optional): न्यूनतम वर्तमान खिलाड़ी संख्या.
- `maxPlayers` (integer, optional): अधिकतम वर्तमान खिलाड़ी संख्या.
- `minUptime` (number, optional): न्यूनतम अपटाइम प्रतिशत.
- `minVotes` (integer, optional): न्यूनतम कुल वोट संख्या.
- `minRating` (number, optional): न्यूनतम रेटिंग (1-5)।
- `onlineOnly` (boolean, optional): केवल ऑनलाइन रिपोर्टिंग करने वाले सर्वर शामिल करें।

Example response:

```json
{
  "success": true,
  "data": {
    "servers": [
      {
        "id": "JS6o0w88QP6oZHDj",
        "slug": "mchypixelnet",
        "name": "Hypixel Network",
        "shortDescription": "Home of over 35 unique games…",
        "ip": "mc.hypixel.net",
        "port": 25565,
        "iconUrl": "https://mcstat.org/images/server-icon/mchypixelnet.webp",
        "bannerUrl": "https://mcstat.org/media/banners/mchypixelnet.webp",
        "motdImageUrl": "https://mcstat.org/images/server-motd/mchypixelnet.svg",
        "motd": "Hypixel Network",
        "website": null,
        "discordUrl": null,
        "visibility": "PUBLIC",
        "isOnline": true,
        "currentPlayers": 48230,
        "maxPlayers": 200000,
        "version": "Requires MC 1.8 / 1.21",
        "latency": 42,
        "lastPing": "2026-05-24T22:00:00Z",
        "country": "United States",
        "tags": [
          "bedwars",
          "pvp",
          "skyblock"
        ],
        "gameMode": null,
        "uptime": 100,
        "trend": 3.4,
        "totalVotes": 12345,
        "rating": 4.6,
        "createdAt": "2026-04-28T05:44:26Z"
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 24,
      "total": 1240,
      "totalPages": 52
    }
  }
}
```

#### GET /api/v1/servers/{slug}

Title: सर्वर विवरण
Description: पूर्ण सर्वर प्रोफ़ाइल: सांख्यिकी इतिहास, अपटाइम, वोट चार्ट, रैंक।

Parameters:
- `slug` (string, required): सर्वर स्लग (/सर्वर सूची से)।
- `period` (string, optional): समय विंडो: 24h, 7d, 30d, 90d, all-time. Default: `24h`.

Example response:

```json
{
  "success": true,
  "data": {
    "server": {
      "id": "JS6o0w88QP6oZHDj",
      "slug": "mchypixelnet",
      "name": "Hypixel Network",
      "ip": "mc.hypixel.net",
      "port": 25565,
      "iconUrl": "https://mcstat.org/images/server-icon/mchypixelnet.webp",
      "bannerUrl": "https://mcstat.org/media/banners/mchypixelnet.webp",
      "motd": "Hypixel Network",
      "motdRaw": "§aHypixel §7Network",
      "motdImageUrl": "https://mcstat.org/images/server-motd/mchypixelnet.svg",
      "website": null,
      "discordUrl": null,
      "storeUrl": null,
      "youtubeUrl": null,
      "currentPlayers": 48230,
      "maxPlayers": 200000,
      "isOnline": true,
      "country": "United States",
      "version": "Requires MC 1.8 / 1.21",
      "protocol": 767,
      "uptime": 100,
      "rating": 4.6,
      "totalVotes": 12345,
      "tags": [
        "bedwars",
        "pvp"
      ],
      "owner": null,
      "latestStats": {
        "onlinePlayers": 48230,
        "tps": 20,
        "timestamp": "2026-05-24T22:00:00Z"
      },
      "statsHistory": [
        {
          "timestamp": "2026-05-24T21:00:00Z",
          "onlinePlayers": 47000
        }
      ],
      "periodStats": {
        "24h": {
          "avgPlayers": 46500,
          "peakPlayers": 49100,
          "minPlayers": 42000,
          "uptimePct": 99.95
        }
      },
      "voteStats": {
        "24h": 412,
        "7d": 2890,
        "30d": 11200,
        "90d": 30150
      },
      "dailyVotes": [
        {
          "day": "2026-05-23",
          "votes": 405
        }
      ]
    }
  }
}
```

#### GET /api/v1/servers/{slug}/voters

Title: सर्वर मतदाता
Description: दिए गए सर्वर के लिए हाल के मतदाता (प्रमाणीकृत और गुमनाम)।

Parameters:
- `slug` (string, required): सर्वर स्लग (/सर्वर सूची से)।
- `page` (integer, optional): पृष्ठ संख्या, 1 से प्रारंभ. Default: `1`.
- `limit` (integer, optional): प्रति पृष्ठ आइटम. Default: `7`.

Example response:

```json
{
  "success": true,
  "data": {
    "voters": [
      {
        "id": "TanfrbogDfzGdrgD",
        "minecraftUsername": "Notch",
        "votedAt": "2026-05-24 22:10:06.544",
        "type": "auth",
        "playerId": "xq5-Lw8xk7pEdKyn",
        "minecraftUuid": "069a79f4-3e42-4b0c-8f1a-9c2b1d5e6f70",
        "skinUrl": "http://textures.minecraft.net/texture/cbea0a15a5ce…",
        "linkedSkinPngPath": "https://mcstat.org/media/skins/published/player-skin-notch.png",
        "skinModel": "classic",
        "siteUsername": "notch"
      }
    ],
    "total": 12345,
    "page": 1,
    "totalPages": 515,
    "latestVoteAt": "2026-05-24 22:10:06.544"
  }
}
```

#### GET /api/v1/servers/{slug}/reviews

Title: सर्वर समीक्षाएँ
Description: किसी सर्वर के लिए पृष्ठांकित खिलाड़ी समीक्षाएँ और रेटिंग।

Parameters:
- `slug` (string, required): सर्वर स्लग (/सर्वर सूची से)।
- `page` (integer, optional): पृष्ठ संख्या, 1 से प्रारंभ. Default: `1`.
- `limit` (integer, optional): प्रति पृष्ठ आइटम. Default: `5`.

Example response:

```json
{
  "success": true,
  "data": {
    "reviews": [
      {
        "id": "5g4VgYUiN4n28qcX",
        "serverId": "JS6o0w88QP6oZHDj",
        "userId": null,
        "minecraftUsername": "chibibara",
        "rating": 3,
        "content": "Great community!",
        "createdAt": "2026-05-24T22:00:00Z",
        "updatedAt": "2026-05-24T22:00:00Z",
        "user": {
          "id": null,
          "username": "chibibara",
          "avatar": null,
          "role": "USER"
        },
        "playerId": "suTEw8opOK2bGP-L",
        "playerMainNickname": "chibibara",
        "playerMinecraftUuid": "019f1b29-fcbe-705b-8efb-8c08b4e0fd9c",
        "playerSkinUrl": null,
        "playerSkinModel": "classic",
        "playerLinkedSkinPngPath": "https://mcstat.org/media/skins/published/default-steve.png"
      }
    ],
    "total": 128,
    "page": 1,
    "totalPages": 26,
    "avgRating": 4.2,
    "latestReviewAt": "2026-05-24T22:00:00Z"
  }
}
```

#### GET /api/v1/servers/{slug}/updates

Title: सर्वर अपडेट
Description: किसी सर्वर के लिए स्वीकृत समाचार और अपडेट पोस्ट।

Parameters:
- `slug` (string, required): सर्वर स्लग (/सर्वर सूची से)।
- `page` (integer, optional): पृष्ठ संख्या, 1 से प्रारंभ. Default: `1`.
- `limit` (integer, optional): प्रति पृष्ठ आइटम. Default: `3`.

Example response:

```json
{
  "success": true,
  "data": {
    "updates": [
      {
        "id": "Xk3pQ2mNbV8zR1sd",
        "serverId": "JS6o0w88QP6oZHDj",
        "userId": "Nf3kPq8sT2wVxJ7b",
        "title": "Season 5 is live!",
        "content": "New map, new kits, double XP weekend.",
        "status": "APPROVED",
        "createdAt": "2026-05-24T22:00:00Z",
        "updatedAt": "2026-05-24T22:00:00Z"
      }
    ],
    "total": 12,
    "page": 1,
    "totalPages": 4,
    "latestUpdateAt": "2026-05-24T22:00:00Z"
  }
}
```

#### GET /api/v1/servers/top

Title: शीर्ष सर्वर
Description: मुखपृष्ठ/विजेट उपयोग के लिए रुझान वाली सूची अनुकूलित।

Parameters:
- `sort` (string, optional): क्रमबद्ध करें. Default: `votes`.
- `limit` (integer, optional): प्रति पृष्ठ आइटम. Default: `10`.
- `country` (string, optional): आईएसओ देश का नाम फ़िल्टर।
- `gameMode` (string, optional): गेम-मोड फ़िल्टर.

Example response:

```json
{
  "success": true,
  "data": {
    "servers": [
      {
        "id": "JS6o0w88QP6oZHDj",
        "slug": "mchypixelnet",
        "name": "Hypixel Network",
        "ip": "mc.hypixel.net",
        "iconUrl": "https://mcstat.org/images/server-icon/mchypixelnet.webp",
        "bannerUrl": "https://mcstat.org/media/banners/mchypixelnet.webp",
        "motdImageUrl": "https://mcstat.org/images/server-motd/mchypixelnet.svg",
        "currentPlayers": 48230,
        "maxPlayers": 200000,
        "isOnline": true,
        "country": "United States",
        "totalVotes": 12345,
        "uptime": 100,
        "trend": 3.4,
        "recentVotes": 412,
        "hotScore": 9821
      }
    ],
    "total": 1240,
    "sort": "hot"
  }
}
```

#### GET /api/v1/servers/countries

Title: सर्वर देश
Description: देश के अनुसार समूहीकृत सर्वरों की कुल संख्या।

Example response:

```json
{
  "success": true,
  "data": {
    "countries": [
      {
        "country": "United States",
        "serverCount": 2840
      }
    ]
  }
}
```

#### GET /api/v1/servers/versions

Title: सर्वर संस्करण
Description: Minecraft संस्करण द्वारा समूहीकृत सर्वरों की कुल संख्या।

Example response:

```json
{
  "success": true,
  "data": {
    "versions": [
      {
        "version": "Paper 1.21.11",
        "serverCount": 980
      }
    ]
  }
}
```

### प्लेयर समापनबिंदु

खिलाड़ी प्रोफ़ाइल, सत्र, स्तर और इतिहास देखें।

#### GET /api/v1/players

Title: खिलाड़ियों की सूची बनाएं
Description: पृष्ठांकित सार्वजनिक प्लेयर निर्देशिका.

Parameters:
- `page` (integer, optional): पृष्ठ संख्या, 1 से प्रारंभ. Default: `1`.
- `limit` (integer, optional): प्रति पृष्ठ आइटम.
- `sort` (string, optional): क्रमबद्ध करें. Default: `recent`.
- `search` (string, optional): निःशुल्क-पाठ क्वेरी.

Example response:

```json
{
  "success": true,
  "data": {
    "players": [
      {
        "id": "h6tC6lGfBEDulI8o",
        "minecraftUuid": "069a79f4-3e42-4b0c-8f1a-9c2b1d5e6f70",
        "mainNickname": "Notch",
        "skinUrl": "http://textures.minecraft.net/texture/98d4f27b450d…",
        "linkedSkinPngPath": "https://mcstat.org/media/skins/published/player-skin-notch.png",
        "skinModel": "classic",
        "country": "United States",
        "tierOverall": "HT1",
        "tierPoints": 9820,
        "tierRank": 12,
        "lastTierSyncAt": "2026-05-24T20:00:00Z",
        "createdAt": "2026-04-01T10:00:00Z",
        "totalPlayTime": 184320,
        "sessionCount": 412
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 24,
      "total": 1240,
      "totalPages": 52
    }
  }
}
```

#### GET /api/v1/players/{id}

Title: खिलाड़ी विवरण
Description: प्रोफ़ाइल, हाल के सत्र, खेले गए सर्वर, के/डी, उपलब्धियां।

Parameters:
- `id` (string, required): प्लेयर आईडी, यूयूआईडी या उपनाम।

Example response:

```json
{
  "success": true,
  "data": {
    "player": {
      "id": "h6tC6lGfBEDulI8o",
      "minecraftUuid": "069a79f4-3e42-4b0c-8f1a-9c2b1d5e6f70",
      "mainNickname": "Notch",
      "nicknameHistory": [
        "Notch"
      ],
      "country": null,
      "skinModel": "classic",
      "skinUrl": "http://textures.minecraft.net/texture/98d4f27b450d…",
      "linkedSkinId": "Wi_n1dUvFqgJs0aP",
      "linkedSkinPngPath": "https://mcstat.org/media/skins/published/player-skin-notch.png",
      "linkedSkin": {
        "id": "Wi_n1dUvFqgJs0aP",
        "slug": "player-skin-notch",
        "pngPath": "https://mcstat.org/media/skins/published/player-skin-notch.png",
        "model": "classic",
        "name": "Notch's Skin"
      },
      "tierOverall": "MCStat Mythic",
      "tierPoints": 9820,
      "tierRank": 12,
      "createdAt": "2026-04-01T10:00:00Z",
      "updatedAt": "2026-05-24T22:00:00Z",
      "totalPlayTime": 184320,
      "sessionCount": 412,
      "rankScore": 9820,
      "rank": 12,
      "recentSessions": [
        {
          "id": "oWZiF6jq_UnEs7Y3",
          "server": {
            "id": "JS6o0w88QP6oZHDj",
            "slug": "mchypixelnet",
            "name": "Hypixel Network",
            "iconUrl": "https://mcstat.org/images/server-icon/mchypixelnet.webp"
          },
          "joinedAt": "2026-05-24T20:00:00Z",
          "leftAt": "2026-05-24T21:00:00Z",
          "totalPlayTime": 3600
        }
      ],
      "serversPlayed": [
        {
          "id": "JS6o0w88QP6oZHDj",
          "slug": "mchypixelnet",
          "name": "Hypixel Network",
          "iconUrl": "https://mcstat.org/images/server-icon/mchypixelnet.webp"
        }
      ],
      "latestStats": {
        "statsJson": {
          "kills": 18230,
          "deaths": 9850,
          "wins": 1240
        },
        "timestamp": "2026-05-24T21:00:00Z",
        "server": {
          "slug": "mchypixelnet",
          "name": "Hypixel Network"
        }
      },
      "statsHistory": [
        {
          "statsJson": {
            "kills": 18000,
            "deaths": 9700
          },
          "timestamp": "2026-05-24T20:00:00Z",
          "serverName": "Hypixel Network"
        }
      ],
      "kdRatio": 1.85,
      "totalKills": 18230,
      "totalDeaths": 9850,
      "totalWins": 1240,
      "activityData": [
        {
          "date": "2026-05-24",
          "count": 3
        }
      ],
      "achievements": {
        "earned": [
          {
            "id": "top10",
            "label": "Top 10",
            "labelTr": "İlk 10",
            "labelRu": "Топ 10",
            "icon": "medal"
          }
        ],
        "nextGoals": [
          {
            "id": "explorer_25",
            "label": "Globe Trotter",
            "labelTr": "Dünya Gezgini",
            "labelRu": "Путешественник",
            "icon": "plane"
          }
        ]
      },
      "votedServers": [
        {
          "serverId": "JS6o0w88QP6oZHDj",
          "serverSlug": "mchypixelnet",
          "serverName": "Hypixel Network",
          "serverIconUrl": "https://mcstat.org/images/server-icon/mchypixelnet.webp",
          "votedAt": "2026-05-24T22:10:00Z"
        }
      ],
      "reviews": [
        {
          "id": "Rv8xKp2mNq7wTz1a",
          "rating": 5,
          "content": "Great server!",
          "createdAt": "2026-05-20T10:00:00Z",
          "server": {
            "id": "JS6o0w88QP6oZHDj",
            "slug": "mchypixelnet",
            "name": "Hypixel Network",
            "iconUrl": "https://mcstat.org/images/server-icon/mchypixelnet.webp"
          }
        }
      ]
    }
  }
}
```

### खोजें

सर्वर और खिलाड़ियों में एकीकृत खोज।

#### GET /api/v1/search

Title: वैश्विक खोज
Description: एक कॉल में सर्वर और खिलाड़ी खोजें।

Parameters:
- `q` (string, required): खोज क्वेरी (2-100 वर्ण)।
- `type` (string, optional): परिणाम प्रकार: all, servers, players. Default: `all`.
- `limit` (integer, optional): प्रति पृष्ठ आइटम. Default: `10`.

Example response:

```json
{
  "success": true,
  "data": {
    "results": {
      "servers": [
        {
          "id": "JS6o0w88QP6oZHDj",
          "slug": "mchypixelnet",
          "name": "Hypixel Network",
          "iconUrl": "https://mcstat.org/images/server-icon/mchypixelnet.webp",
          "bannerUrl": "https://mcstat.org/media/banners/mchypixelnet.webp",
          "currentPlayers": 48230,
          "maxPlayers": 200000,
          "isOnline": true,
          "rating": 3.4
        }
      ],
      "players": [
        {
          "id": "h6JDPuUGKI3Mfw3m",
          "minecraftUuid": "de5f2979-1168-43d6-b5f3-e18f975a806b",
          "mainNickname": "Notch",
          "createdAt": "2026-04-01T10:00:00Z",
          "updatedAt": "2026-05-24T22:00:00Z"
        }
      ]
    },
    "query": "hypixel"
  }
}
```

### लाइव और वैश्विक आँकड़े

वास्तविक समय की वैश्विक गतिविधि, क्षेत्र और देश का विवरण।

#### GET /api/v1/live

Title: लाइव आँकड़े
Description: वैश्विक ऑनलाइन योग, शीर्ष सर्वर, हाल की गतिविधि, क्षेत्र और देश का विवरण।

Example response:

```json
{
  "success": true,
  "data": {
    "stats": {
      "totalPlayers": 184320,
      "totalServers": 12480,
      "onlineServers": 9821,
      "newPlayersToday": 412,
      "peakToday": 202700,
      "generatedAt": "2026-05-24T22:00:00Z",
      "latestPingAt": "2026-05-24T21:59:48Z",
      "statsAgeSeconds": 18,
      "stale": false
    },
    "topServers": [
      {
        "id": "mchypixelnet",
        "name": "Hypixel Network",
        "players": 48230,
        "maxPlayers": 200000,
        "isOnline": true,
        "country": "United States",
        "trend": "up",
        "change": 240
      }
    ],
    "recentActivity": [
      {
        "type": "vote",
        "actor": "Notch",
        "target": "Hypixel Network",
        "time": "2026-05-24T22:00:00Z"
      }
    ],
    "regions": [
      {
        "id": "na",
        "name": "North America",
        "players": 80120,
        "servers": 4120
      }
    ],
    "countryPlayers": {
      "United States": 60120,
      "Germany": 18230
    }
  }
}
```

#### GET /api/v1/live/history

Title: जीवंत इतिहास
Description: पिछले 7 दिनों में कुल ऑनलाइन खिलाड़ियों की प्रति घंटा बकेट।

Example response:

```json
{
  "success": true,
  "data": {
    "history": [
      {
        "timestamp": "2026-05-23T22:00:00Z",
        "totalPlayers": 174200
      }
    ]
  }
}
```

### लीडरबोर्ड

शीर्ष खिलाड़ियों को सत्र, सर्वर या टियर पॉइंट के आधार पर रैंक किया गया।

#### GET /api/v1/leaderboards

Title: लीडरबोर्ड
Description: चयनित मीट्रिक, अवधि, स्तर और उपलब्धि फ़िल्टर के लिए शीर्ष खिलाड़ी।

Parameters:
- `metric` (string, optional): रैंकिंग मीट्रिक: best, sessions, servers. Default: `best`.
- `period` (string, optional): समय विंडो: 24h, 7d, 30d, 90d, all-time. Default: `all-time`.
- `page` (integer, optional): पृष्ठ संख्या, 1 से प्रारंभ. Default: `1`.
- `limit` (integer, optional): प्रति पृष्ठ आइटम. Default: `20`.
- `tier` (string, optional): टियर फ़िल्टर.
- `achievement` (string, optional): उपलब्धि फ़िल्टर.
- `search` (string, optional): निःशुल्क-पाठ क्वेरी.

Example response:

```json
{
  "success": true,
  "data": {
    "leaderboard": {
      "metric": "best",
      "period": "all-time",
      "serverId": null,
      "generatedAt": "2026-05-24T22:00:00Z",
      "entries": [
        {
          "rank": 1,
          "player": {
            "id": "Vz2BaB2r6eC9TL_o",
            "mainNickname": "Notch",
            "minecraftUuid": "069a79f4-3e42-4b0c-8f1a-9c2b1d5e6f70",
            "tierOverall": "MCStat Mythic",
            "tierPoints": 224606,
            "tierRank": 1,
            "skinModel": "classic",
            "skinUrl": "http://textures.minecraft.net/texture/d71c3adef2ec…",
            "linkedSkinPngPath": "https://mcstat.org/media/skins/published/player-skin-notch.png"
          },
          "value": 224606,
          "formattedValue": "224,606 score"
        }
      ]
    },
    "pagination": {
      "page": 1,
      "limit": 24,
      "total": 1240,
      "totalPages": 52
    }
  }
}
```

### खाल और टोपी

समुदाय द्वारा अपलोड की गई खाल और टोपी खोजें।

#### GET /api/v1/skins

Title: खालों की सूची बनाएं
Description: सॉर्ट/फ़िल्टर के साथ सामुदायिक त्वचा अपलोड ब्राउज़ करें।

Parameters:
- `page` (integer, optional): पृष्ठ संख्या, 1 से प्रारंभ. Default: `1`.
- `limit` (integer, optional): प्रति पृष्ठ आइटम. Default: `24`.
- `sort` (string, optional): क्रमबद्ध करें. Default: `recent`.
- `model` (string, optional): त्वचा मॉडल: क्लासिक या पतला।
- `search` (string, optional): निःशुल्क-पाठ क्वेरी.
- `tag` (string, optional): टैग द्वारा फ़िल्टर करें.
- `owner` (string, optional): स्वामी उपयोगकर्ता नाम फ़िल्टर.

Example response:

```json
{
  "success": true,
  "data": {
    "skins": [
      {
        "id": "Wi_n1dUvFqgJs0aP",
        "slug": "cool-knight",
        "name": "Cool Knight",
        "model": "classic",
        "tags": [
          "medieval",
          "armor"
        ],
        "pngPath": "https://mcstat.org/media/skins/published/cool-knight.png",
        "viewCount": 3120,
        "likeCount": 124,
        "favoriteCount": 88,
        "downloadCount": 980,
        "usageCount": 12,
        "isFeatured": false,
        "createdAt": "2026-05-01T10:00:00Z",
        "ownerId": "Nf3kPq8sT2wVxJ7b",
        "owner": {
          "id": "Nf3kPq8sT2wVxJ7b",
          "username": "notch",
          "avatar": "https://mcstat.org/media/avatars/notch.webp"
        }
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 24,
      "total": 1240,
      "totalPages": 52
    }
  }
}
```

#### GET /api/v1/skins/{slug}

Title: त्वचा का विवरण
Description: संपूर्ण त्वचा मेटाडेटा और दर्शक की पसंद/पसंदीदा स्थिति।

Parameters:
- `slug` (string, required): सर्वर स्लग (/सर्वर सूची से)।

Example response:

```json
{
  "success": true,
  "data": {
    "skin": {
      "id": "Wi_n1dUvFqgJs0aP",
      "slug": "cool-knight",
      "name": "Cool Knight",
      "description": "Custom medieval knight skin",
      "tags": [
        "medieval",
        "armor"
      ],
      "model": "classic",
      "pngPath": "https://mcstat.org/media/skins/published/cool-knight.png",
      "viewCount": 3120,
      "likeCount": 124,
      "favoriteCount": 88,
      "downloadCount": 980,
      "playersUsing": [
        {
          "id": "h6tC6lGfBEDulI8o",
          "mainNickname": "Notch",
          "minecraftUuid": "069a79f4-3e42-4b0c-8f1a-9c2b1d5e6f70",
          "skinUrl": "http://textures.minecraft.net/texture/98d4f27b450d…",
          "skinModel": "classic",
          "tierOverall": "MCStat Mythic",
          "linkedSkinPngPath": "https://mcstat.org/media/skins/published/cool-knight.png"
        }
      ],
      "playersUsingCount": 1,
      "owner": {
        "id": "Nf3kPq8sT2wVxJ7b",
        "username": "notch",
        "avatar": "https://mcstat.org/media/avatars/notch.webp"
      },
      "viewer": {
        "liked": false,
        "favorited": false,
        "isOwner": false
      }
    }
  }
}
```

#### GET /api/v1/capes

Title: सूची टोपी
Description: सॉर्ट/फ़िल्टर के साथ सामुदायिक केप अपलोड ब्राउज़ करें।

Parameters:
- `page` (integer, optional): पृष्ठ संख्या, 1 से प्रारंभ. Default: `1`.
- `limit` (integer, optional): प्रति पृष्ठ आइटम. Default: `24`.
- `sort` (string, optional): क्रमबद्ध करें. Default: `recent`.
- `search` (string, optional): निःशुल्क-पाठ क्वेरी.
- `tag` (string, optional): टैग द्वारा फ़िल्टर करें.
- `owner` (string, optional): स्वामी उपयोगकर्ता नाम फ़िल्टर.

Example response:

```json
{
  "success": true,
  "data": {
    "capes": [
      {
        "id": "De-jbTlj_PTnJJ5N",
        "slug": "royal-red",
        "name": "Royal Red",
        "tags": [
          "red",
          "royal"
        ],
        "pngPath": "https://mcstat.org/media/capes/published/royal-red.png",
        "viewCount": 210,
        "likeCount": 18,
        "favoriteCount": 6,
        "downloadCount": 44,
        "isFeatured": false,
        "createdAt": "2026-05-02T10:00:00Z",
        "ownerId": "Nf3kPq8sT2wVxJ7b",
        "owner": {
          "id": "Nf3kPq8sT2wVxJ7b",
          "username": "notch",
          "avatar": "https://mcstat.org/media/avatars/notch.webp"
        }
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 24,
      "total": 1240,
      "totalPages": 52
    }
  }
}
```

#### GET /api/v1/capes/{slug}

Title: केप विवरण
Description: पूर्ण केप मेटाडेटा के साथ दर्शक की लाइक/पसंदीदा स्थिति।

Parameters:
- `slug` (string, required): सर्वर स्लग (/सर्वर सूची से)।

Example response:

```json
{
  "success": true,
  "data": {
    "cape": {
      "id": "De-jbTlj_PTnJJ5N",
      "slug": "royal-red",
      "name": "Royal Red",
      "description": "Deep red royal cape",
      "tags": [
        "red",
        "royal"
      ],
      "pngPath": "https://mcstat.org/media/capes/published/royal-red.png",
      "viewCount": 210,
      "likeCount": 18,
      "favoriteCount": 6,
      "downloadCount": 44,
      "playersUsing": [
        {
          "id": "h6tC6lGfBEDulI8o",
          "mainNickname": "Notch",
          "minecraftUuid": "069a79f4-3e42-4b0c-8f1a-9c2b1d5e6f70",
          "skinUrl": "http://textures.minecraft.net/texture/98d4f27b450d…",
          "skinModel": "classic",
          "linkedSkinPngPath": "https://mcstat.org/media/skins/published/player-skin-notch.png",
          "tierOverall": "MCStat Mythic"
        }
      ],
      "playersUsingCount": 1,
      "owner": {
        "id": "Nf3kPq8sT2wVxJ7b",
        "username": "notch",
        "avatar": "https://mcstat.org/media/avatars/notch.webp"
      },
      "viewer": {
        "liked": false,
        "favorited": false,
        "isOwner": false
      }
    }
  }
}
```
