Skip to content

Get Event Type Summary

GET /api/events/type-summary/{optional query parameters}

The GET /api/events/type-summary endpoint returns aggregated information about events matching the provided filter criteria.

The endpoint groups matching events by event type and genre, and returns the number of event dates for each group. It also provides the total number of matching events.

All available filter parameters are identical to those supported by the GET /api/events endpoint. Filters can be combined to narrow down the result set in the same way as for event searches.

Example:

https://api.kulturbytes.de/api/events/type-summary?lon=9.4333&lat=54.7833&radius=300
Search events within 300 m of the specified location.

Sample JSON Response

{
  "service": "Uranus API",
  "api_version": "1.0",
  "response_type": "get-events-type-summary",
  "status": 200,
  "timestamp": "2026-08-05T07:41:23Z",
  "metadata": {
    "response_time_ms": 39
  },
  "data": {
    "genre_summary": [
      {
        "id": 0,
        "count": 4
      },
      {
        "id": 1003,
        "count": 1
      },
      {
        "id": 1011,
        "count": 1
      },
      {
        "id": 1014,
        "count": 1
      },
      {
        "id": 4002,
        "count": 1
      }
    ],
    "total_event_count": 6,
    "type_summary": [
      {
        "id": 46,
        "count": 2
      },
      {
        "id": 60,
        "count": 2
      },
      {
        "id": 1,
        "count": 2
      },
      {
        "id": 4,
        "count": 1
      },
      {
        "id": 49,
        "count": 1
      },
      {
        "id": 11,
        "count": 1
      },
      {
        "id": 52,
        "count": 1
      },
      {
        "id": 16,
        "count": 1
      }
    ]
  }
}