# Minecraft API — সার্ভার, প্লেয়ার ও কমিউনিটি ডেটা | MCStat.org

অ্যাপ ও বটের জন্য Minecraft সার্ভার লিস্টিং, প্লেয়ার প্রোফাইল, লাইভ অ্যাক্টিভিটি, র‍্যাঙ্কিং ও কমিউনিটি ডেটায় ফ্রি API দিয়ে অ্যাক্সেস করুন।

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

## প্রমাণীকরণ

সমস্ত নথিভুক্ত পাবলিক API এন্ডপয়েন্টের জন্য একটি API কী প্রয়োজন। X-API-কী হেডারে আপনার কী পাঠান।

- **শিরোনাম অনুরোধ করুন** — প্রমাণীকরণ করতে এই শিরোনাম যোগ করুন
  `X-API-Key: mcs_your_key_here`
- **অথবা ক্যোয়ারী প্যারামিটার হিসাবে** — অথবা ক্যোয়ারী প্যারামিটার হিসাবে পাস
  `?api_key=mcs_your_key_here`

## হারের সীমা

অনুরোধগুলি API কী দ্বারা প্রমাণীকৃত হয়। একটি অনুপস্থিত বা অবৈধ কী HTTP 401 প্রদান করে, একটি নিষ্ক্রিয় কী HTTP 403 প্রদান করে এবং একটি সীমা অতিক্রম করা HTTP 429 প্রদান করে।

- **API কী ছাড়া** — অনুমোদিত নয়
- **API কী সহ** — প্রতি মিনিটে 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 | অননুমোদিত — অনুপস্থিত বা অবৈধ API কী |
| 403 | নিষিদ্ধ — API কী নিষ্ক্রিয় |
| 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): ISO দেশের নাম ফিল্টার।
- `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): ISO দেশের নাম ফিল্টার।
- `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): প্লেয়ার আইডি, UUID বা ডাকনাম।

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: তালিকা capes
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
      }
    }
  }
}
```
