Discovery

List categories

24 top-level categories with localized names.

get/api/v1/categories

Request

  • Base URL: https://quizbase.runriva.com
  • URL: https://quizbase.runriva.com/api/v1/categories
  • 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

Categories list.

Example response

{
  "data": [
    {
      "id": 14,
      "slug": "geography",
      "name": "Geografia",
      "opentdbId": 22
    }
  ],
  "meta": {
    "count": 24,
    "language": "en",
    "requestId": "127fc6d1-d6fb-4771-b2a7-211a08749e5b"
  }
}

Changes

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