Getting startedPrimeros pasos

Every endpoint is a plain GET that answers JSON (or a PNG for skins). There's no sign-up and no key: just call it from your bot, your site or your terminal. Cada endpoint es un GET normal que responde JSON (o un PNG en las skins). No hay registro ni clave: llámalo desde tu bot, tu web o tu terminal.

Base URLURL base

https://developer.epiccoon.com/v1

Your first callTu primera llamada

# how many people are playing right nowcuánta gente está jugando ahora mismo
curl https://developer.epiccoon.com/v1/status
{
  "ok": true,
  "online": true,
  "players": { "online": 42, "max": 500 },
  "version": "26.3+",
  "java": { "address": "play.epiccoon.com" },
  "bedrock": { "address": "pe.epiccoon.com", "port": 19132 }
}
No keySin clave CORS open: works from the browserCORS abierto: funciona desde el navegador 120 requests / minute120 peticiones / minuto Read onlySolo lectura

Limits & errorsLímites y errores

Each address can make 120 requests a minute. Every answer tells you where you are: Cada dirección puede hacer 120 peticiones por minuto. Cada respuesta te dice cómo vas:

HeaderMeaningQué es
X-RateLimit-LimitRequests allowed a minute (120)Peticiones permitidas por minuto (120)
X-RateLimit-RemainingHow many you have left this minuteCuántas te quedan este minuto
X-RateLimit-ResetSeconds until the count starts againSegundos hasta que el contador vuelve a empezar

Answers are cached for a short while (stats 30–60 s, skins 10 min), so asking more often doesn't give you fresher data: cache on your side too. Las respuestas se guardan un rato (estadísticas 30–60 s, skins 10 min), así que preguntar más a menudo no te da datos más nuevos: guárdalas tú también.

ErrorsErrores

When something fails you get the right HTTP status and a JSON body with a short code and a message: Si algo falla recibes el código HTTP adecuado y un JSON con un código corto y un mensaje:

{ "ok": false, "error": "not_found", "message": "Nobody with that name has played on Epiccoon." }
HTTPerrorWhenCuándo
400bad_name, bad_period, bad_limit, bad_sizeSomething in your request isn't validAlgo de tu petición no es válido
404not_found, unknown_statNo such player, leaderboard or endpointNo existe ese jugador, ranking o endpoint
429rate_limitedToo many requests: wait Retry-After secondsDemasiadas peticiones: espera Retry-After segundos
503unavailableThe network is restarting or busy: try again in a minuteLa network se está reiniciando o está ocupada: prueba en un minuto

Try itPruébala

Write a path and press Send: this calls the real API from your browser. Escribe una ruta y pulsa Enviar: llama a la API de verdad desde tu navegador.

// the answer shows up hereaquí sale la respuesta
GET/v1/status

Whether the network is up, how many players are online and the most it holds, the game version and the addresses to join. Refreshed every 30 seconds. Si la network está abierta, cuántos jugadores hay y cuántos caben, la versión del juego y las direcciones para entrar. Se actualiza cada 30 segundos.

GET/v1/player/{name}

A player's public profile: rank, network level, when they first joined and the day they were last seen, every minigame's stats (all time and this season), and their SMP and SkyBlock summary if they play there. El perfil público de un jugador: rango, nivel de la network, cuándo entró por primera vez y el día que se le vio por última vez, las estadísticas de cada minijuego (de siempre y de esta temporada) y su resumen del SMP y de SkyBlock si juega allí.

ParameterParámetroWhatQué
nameMinecraft name (not case sensitive). Bedrock players start with a dot: .SteveNombre de Minecraft (da igual mayúsculas). Los de Bedrock empiezan por punto: .Steve
{
  "ok": true,
  "name": "Steve",
  "uuid": "…",
  "rank": { "tag": "[HEROE]", "color": "#55FF55" },   // null without a rank
  "level": 12,
  "levelProgress": 0.42,                    // 0–1 towards the next level
  "firstJoined": "2026-10-15",
  "lastSeen": "2026-11-22",               // the day only
  "stats": {
    "network": { "xp": 95000, "logins": 88 },
    "sheep_wars": { "wins": 12, "played": 17, "kills": 7, "sheep": 80, "bonus": 8 }
    // … one object per game played (see /v1/leaderboards)
  },
  "season": { "name": "…", "stats": { /* same shape, this season only */ } },
  "smp": { "money": 1520.5, "kills": 3, "deaths": 5, "playtimeSeconds": 36000 },
  "skyblock": { "profile": "Apple", "purse": 5000, "bank": 20000, "skills": { "farming": 8, … },
                "skillAverage": 6.2, "collections": 14, "collectionsMaxed": 2, "coopMembers": 1 },
  "links": { "head": "…/v1/skin/Steve/head.png", "body": "…/v1/skin/Steve/body.png", "profile": "https://epiccoon.com/stats?player=Steve" }
}

smp, skyblock and season are only there when the player has them. smp, skyblock y season solo aparecen si el jugador los tiene.

GET/v1/leaderboards

Every game and the stats it has a leaderboard for: use them in the next endpoint. Todos los juegos y las estadísticas que tienen ranking: úsalos en el siguiente endpoint.

gamejuegostats
GET/v1/leaderboard/{game}/{stat}

The top 50 of a stat, all time or this season.El top 50 de una estadística, de siempre o de esta temporada.

ParameterParámetroWhatQué
game, statFrom /v1/leaderboards, e.g. karts/winsDe /v1/leaderboards, por ejemplo karts/wins
?period=all (default) or(por defecto) o season
?limit=1 to 50 (default 50)De 1 a 50 (por defecto 50)
{
  "ok": true, "game": "karts", "stat": "wins", "period": "all",
  "entries": [
    { "position": 1, "name": "Steve", "uuid": "…", "value": 14, "rank": { "tag": "[DIOS]", "color": "#55FFFF" } }
  ]
}
GET/v1/team

Epiccoon's team, as on epiccoon.com/staff: each role with its tag, colour and members, highest first. El equipo de Epiccoon, como en epiccoon.com/staff: cada puesto con su etiqueta, color y miembros, de mayor a menor.

{ "ok": true, "groups": [ { "name": "Admin", "tag": "[⚡]", "color": "#FF5555", "players": [ { "name": "…", "uuid": "…" } ] } ] }
GET/v1/skin/{name or uuid}/head.png
GET/v1/skin/{name or uuid}/body.png

The player's skin as they wear it on Epiccoon (Bedrock players too): the head with its hat layer, or the whole body. Ready for an <img> or a Discord embed's thumbnail. La skin del jugador tal como la lleva en Epiccoon (también los de Bedrock): la cabeza con su capa, o el cuerpo entero. Lista para un <img> o la miniatura de un embed de Discord.

ParameterParámetroWhatQué
?size=Pixels: head 8–512 (default 128), body 8–400 (default 200)Píxeles: cabeza 8–512 (por defecto 128), cuerpo 8–400 (por defecto 200)
<img src="https://developer.epiccoon.com/v1/skin/Steve/head.png?size=64" alt="Steve">

ExamplesEjemplos

A /stats command for your Discord bot, and the same call in other languages. Un comando /stats para tu bot de Discord, y la misma llamada en otros lenguajes.

// discord.js v14: /stats name:Steve
const { EmbedBuilder } = require("discord.js");

async function stats(interaction) {
  const name = interaction.options.getString("name");
  const res = await fetch(`https://developer.epiccoon.com/v1/player/${encodeURIComponent(name)}`);
  const p = await res.json();
  if (!p.ok) return interaction.reply({ content: p.message, ephemeral: true });

  const sw = p.stats.sheep_wars || {};
  const embed = new EmbedBuilder()
    .setTitle(`${p.rank ? p.rank.tag + " " : ""}${p.name}`)
    .setColor(p.rank ? p.rank.color : "#FFC533")
    .setThumbnail(p.links.head)
    .addFields(
      { name: "Level", value: String(p.level), inline: true },
      { name: "Sheep Wars wins", value: String(sw.wins || 0), inline: true },
      { name: "Last seen", value: p.lastSeen, inline: true });
  await interaction.reply({ embeds: [embed] });
}

RulesNormas

  • Stay under the limit and cache what you can. Don't spread your requests over many addresses to get past it. No pases del límite y guarda lo que puedas. No repartas tus peticiones entre muchas direcciones para saltártelo.
  • Don't pretend to be Epiccoon. Your bot or site is yours: say it's a community project, not an official one, and don't use our logo as your own. No te hagas pasar por Epiccoon. Tu bot o tu web son tuyos: di que es un proyecto de la comunidad, no oficial, y no uses nuestro logo como si fuera tuyo.
  • Be nice with the data. No tools to harass, track or shame players: stats are for fun. Usa bien los datos. Nada de herramientas para acosar, vigilar o ridiculizar a jugadores: las estadísticas son para divertirse.
  • A link back is welcome: "Data from the Epiccoon API" with a link to this page. Se agradece un enlace: "Datos de la API de Epiccoon" con un enlace a esta página.
  • We can change things or block abuse. /v1 stays the same: new things are added, never renamed; something bigger would be /v2, announced on Discord. Podemos cambiar cosas o bloquear abusos. /v1 no cambia: se añaden cosas, nunca se renombran; algo más grande sería /v2, avisado en el Discord.

Made something cool, or missing something? Tell us on Discord: we'd love to see it. ¿Has hecho algo chulo o te falta algo? Cuéntanoslo en el Discord: nos encantará verlo.