---
title: "Search a list of events by parameter, it returns the first 100 elements, it is possible to obtain record by paging specifying the page size and page number. The records are ordered by todate desc"
method: GET
path: "/api/Events/geteventlist/statistic"
tags: ["Events"]
---

# Search a list of events by parameter, it returns the first 100 elements, it is possible to obtain record by paging specifying the page size and page number. The records are ordered by todate desc

`GET /api/Events/geteventlist/statistic`

## Request

- Base URL: `https://api.gdacs.org` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gdacs.org/api/Events/geteventlist/statistic`
- Auth: none declared

## Query parameters

- `eventlist` string
- `alertlevel` string
- `fromDate` string, date-time
- `toDate` string, date-time
- `country` string

## Response `200`

OK

- HistoricalEvents: the class that represente the historical events, and counter for a specific country in a date range
  - `total` integer: The total events
  - `fromDate` string, date-time, nullable: The from date
  - `toDate` string, date-time, nullable: The To date
  - `alertLevelTotals` StatsAlertLevel[], nullable: The list of alertlevels and the count
    - `alertlevel` string, nullable: The alertlevel code
    - `total` integer: The number of alertlevel found
  - `eventtypeTotals` StatsEventtype[], nullable: The list of eventtype and the count by alertlevel
    - `eventtype` string, nullable: The eventtype code
    - `eventtypeDescription` string, nullable: The eventtype description
    - `alertLevelTotals` StatsAlertLevel[], nullable: The listo of alertelvels associated
      - `alertlevel` string, nullable: The alertlevel code
      - `total` integer: The number of alertlevel found
  - `details` Eventdetail[], nullable: The list of events with small details
    - `eventtype` string, nullable: The eventtype
    - `eventid` integer: The eventid
    - `country` string, nullable: The country
    - `alertlevel` string, nullable: The alertlevel
    - `fromdate` string, date-time: The date when event started
    - `todate` string, date-time: The date when event ended
    - `description` string, nullable: The event description

---

[API](https://skmtc.dev/gdacs/apis/global-disaster-awareness-and-coordination-system-api.md) · [All operations](https://skmtc.dev/gdacs/apis/global-disaster-awareness-and-coordination-system-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gdacs/apis/global-disaster-awareness-and-coordination-system-api/revisions/237fcb5f136f?raw)
