Discovery

Aggregate dataset stats

Total questions, per-language, per-source, per-category counters. Cached.

get/api/v1/stats

Request

  • Base URL: https://quizbase.runriva.com
  • URL: https://quizbase.runriva.com/api/v1/stats
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Query parameters

lang'en' | 'pl'

Display language for category names + slug labels (subcategories/tags)

Response

Stats snapshot.

totalinteger required
byLanguageobject required
bySourceobject required

Counts per source slug. Pre-launch may be empty ({}) — snapshot pipeline gap.

Example response

{
  "total": 1294009,
  "byLanguage": {
    "en": 646194,
    "pl": 647815
  },
  "bySource": {},
  "byCategory": [
    {
      "slug": "geography",
      "name": "geography",
      "count": 146384
    }
  ],
  "byDifficulty": {
    "trivial": 12480,
    "easy": 73215,
    "medium": 580212,
    "hard": 142098,
    "expert": 12476,
    "unrated": 473528
  },
  "byTopic": [
    {
      "slug": "biography",
      "label": "Biographies",
      "count": 245103
    }
  ],
  "byTag": [
    {
      "slug": "united-states",
      "label": "United States",
      "count": 15281
    }
  ],
  "topRegions": [
    {
      "code": "us",
      "label": "United States",
      "count": 309090
    }
  ],
  "byQualityHigh": {
    "en": 329266,
    "pl": 491297
  },
  "meta": {
    "generatedAt": "2026-05-05T16:32:09.001Z",
    "language": "en",
    "requestId": "127fc6d1-d6fb-4771-b2a7-211a08749e5b"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.