Inicio » Support » RadioBOSS Cloud » API » getstats

getstats

Volver a la referencia API

Obtener estadísticas, los mismos datos que se ven en el área Escuchas > Estadísticas.

Solicita

GET /api/getstats/StationID?key=APIKey&from=AAA-MM-DD&to=AAA-MM-DD

Ejemplo de solicitud

https://c1.radioboss.fm/api/getstats/92?key=A1B2C3&from=2026-01-01&to=2026-01-31

Ejemplo de datos devueltos (JSON)

{
  "countries": [
    {
      "cnt": 412,
      "country": "United States",
      "country_iso": "us"
    },
    {
      "cnt": 187,
      "country": "Germany",
      "country_iso": "de"
    },
    {
      "cnt": 96,
      "country": "Brazil",
      "country_iso": "br"
    }
  ],
  "countries_tlh": [
    {
      "country": "United States",
      "country_iso": "us",
      "tlh": 318
    },
    {
      "country": "Germany",
      "country_iso": "de",
      "tlh": 142
    },
    {
      "country": "Brazil",
      "country_iso": "br",
      "tlh": 71
    }
  ],
  "unique": [
    {
      "uniq": 295,
      "country": "United States",
      "country_iso": "us"
    },
    {
      "uniq": 134,
      "country": "Germany",
      "country_iso": "de"
    },
    {
      "uniq": 78,
      "country": "Brazil",
      "country_iso": "br"
    }
  ],
  "days": [
    {
      "date": "2026-05-14",
      "cnt": 221,
      "cnt_unique": 168
    },
    {
      "date": "2026-05-15",
      "cnt": 248,
      "cnt_unique": 181
    },
    {
      "date": "2026-05-16",
      "cnt": 226,
      "cnt_unique": 158
    }
  ],
  "total_sessions": 695,
  "total_unique": 507,
  "total_tlh": 531
}