HTTP API Information

This is a cleaned up version of the API available from the GeoHive Open Data Catalogue, which powers the Government's COVID-19 data dashboard and Contact Tracing app.

Query URL

https://covid19.shanehastings.eu/api/

Total Data

/api/total/cases Total confirmed cases in Ireland
/api/total/deaths Total confirmed deaths in Ireland
/api/total/male Total confirmed cases, Male
/api/total/female Total confirmed cases, Female

Daily Data

/api/daily/cases New daily confirmed cases in Ireland
/api/daily/deaths New daily confirmed deaths in Ireland

Transmission Breakdown

/api/transmission/community % of cases arising from Community Transmission
/api/transmission/closeContact % of cases arising from contact with a confirmed case of COVID-19.
/api/transmission/travel % of cases arising from travel abroad.

Historical Data

/api/total/cases/date/?date=YYYYMMDD # of confirmed cases on date queried
/api/total/deaths/date/?date=YYYYMMDD # of deaths on date queried

Sample Query

How many cases of COVID-19 have been diagnosed in Ireland?
Query: https://covid19.shanehastings.eu/api/total/cases
Result: 71187

How many cases of COVID-19 were there in Ireland on April 17th, 2020?
Query: https://covid19.shanehastings.eu/api/total/cases/date/?date=20200417
Result: 13980

API Status

This will return all information from the API so you can validate its status.


Daily Data

New Cases Today: 269
New Deaths Today: 6

Total Data

Cases : 71187
Deaths : 2033
Male Cases : 33350
Female Cases : 37535

Transmission Data

Community Transmission: 31%
Close Contact: 67%
Travel Abroad: 1%

Note that this does not total to 100%. The remainder are unknown by the HPSC.

Historical Data

This will query the cases and deaths from 7 days ago. (2020-11-19)
Cases: 69473
Deaths: 2010

Data Freshness

This data has a date of November 25, 2020. You can query this with /api/info/date/.
Any issues, feel free to contact me via email - hello@shanehastings.eu.