This documentation is also available at https://www.covid19.admin.ch/api/data/documentation
.
Check the data
folder for the data source files.
File | Model | Description |
---|---|---|
DEPRECATED COVID19Cases_geoRegion.(json/csv) |
DailyIncomingData | Daily record timelines by geoRegion for cases. |
DEPRECATED COVID19Cases_vaccpersons.(json/csv) |
DailyCasesVaccPersonsIncomingData | Daily record timelines for cases of fully vaccinated persons by vaccine. Data only available for geoRegion CHFL. This file has been deprecated and will no longer be updated after 11.11.2021. |
DEPRECATED COVID19Hosp_geoRegion.(json/csv) |
DailyIncomingData | Daily record timelines by geoRegion for hospitalisations. |
DEPRECATED COVID19Hosp_vaccpersons.(json/csv) |
DailyHospVaccPersonsIncomingData | Daily record timelines for hospitalisations of fully vaccinated persons by vaccine. Data only available for geoRegion CHFL. |
DEPRECATED COVID19Death_geoRegion.(json/csv) |
DailyIncomingData | Daily record timelines by geoRegion for deaths. |
DEPRECATED COVID19Death_vaccpersons.(json/csv) |
DailyDeathVaccPersonsIncomingData | Daily record timelines for deaths of fully vaccinated persons by vaccine. Data only available for geoRegion CHFL. |
DEPRECATED COVID19Test_geoRegion_all.(json/csv) |
DailyIncomingData | Daily record timelines by geoRegion for tests (all test types combined). |
DEPRECATED COVID19Test_geoRegion_PCR_Antigen.(json/csv) |
DailyIncomingData | Daily record timelines by geoRegion and test type (pcr/antigen) for tests. |
COVID19Cases_geoRegion_w.(json/csv) | WeeklyIncomingData | Iso-Week record timelines by geoRegion for cases. |
COVID19Hosp_geoRegion_w.(json/csv) | WeeklyIncomingData | Iso-Week record timelines by geoRegion for hospitalisations. |
COVID19Death_geoRegion_w.(json/csv) | WeeklyIncomingData | Iso-Week record timelines by geoRegion for deaths. |
COVID19Test_geoRegion_w.(json/csv) | WeeklyIncomingData | Iso-Week record timelines by geoRegion for tests. |
COVID19Test_geoRegion_PCR_Antigen_w.(json/csv) | WeeklyIncomingData | Iso-Week record timelines by geoRegion and test type (pcr/antigen) for tests. |
COVID19Cases_geoRegion_AKL10_w.(json/csv) | WeeklyIncomingData | Iso-Week record timelines by geoRegion and age brackets for cases. |
DEPRECATED COVID19Cases_vaccpersons_AKL10_w.(json/csv) |
WeeklyCasesVaccPersonsAgeRangeIncomingData | Iso-Week record timelines for cases of fully vaccinated persons by vaccine and age brackets. Data only available for geoRegion CHFL. This file has been deprecated and will no longer be updated after 11.11.2021. |
COVID19Hosp_geoRegion_AKL10_w.(json/csv) | WeeklyIncomingData | Iso-Week record timelines by geoRegion and age brackets for hospitalisations. |
COVID19Hosp_reason_AKL10_w.(json/csv) | WeeklyHospReasonIncomingData | Iso-Week record timelines for hospitalisations by geoRegion, age brackets and primary hospitalisation reason. |
COVID19Death_reason_AKL10_w.(json/csv) | WeeklyDeathReasonIncomingData | Iso-Week record timelines for ddeaths by geoRegion, age brackets and primary death reason. |
DEPRECATED COVID19Hosp_vaccpersons_AKL10_w.(json/csv) |
WeeklyHospVaccPersonsAgeRangeIncomingData | Iso-Week record timelines for hospitalisations of fully vaccinated persons by vaccine and age brackets. Data only available for geoRegion CHFL. |
COVID19Death_geoRegion_AKL10_w.(json/csv) | WeeklyIncomingData | Iso-Week record timelines by geoRegion and age brackets for deaths. |
DEPRECATED COVID19Death_vaccpersons_AKL10_w.(json/csv) |
WeeklyDeathVaccPersonsAgeRangeIncomingData | Iso-Week record timelines for deaths of fully vaccinated persons by vaccine and age brackets. Data only available for geoRegion CHFL. |
COVID19Death_vaccpersons_AKL10_w_v2.(json/csv) | WeeklyDeathBreakthroughVaccPersonsAgeRangeIncomingData | Weekly record timeline for deaths by vaccination status. |
COVID19Test_geoRegion_AKL10_w.(json/csv) | WeeklyIncomingData | Iso-Week record timelines by geoRegion and age brackets for tests (all test types). |
COVID19Cases_geoRegion_sex_w.(json/csv) | WeeklyIncomingData | Iso-Week record timelines by geoRegion and sex for cases. |
DEPRECATED COVID19Cases_vaccpersons_sex_w.(json/csv) |
WeeklyCasesVaccPersonsSexIncomingData | Iso-Week record timelines for cases of fully vaccinated persons by vaccine and sex. Data only available for geoRegion CHFL. This file has been deprecated and will no longer be updated after 11.11.2021. |
COVID19Hosp_geoRegion_sex_w.(json/csv) | WeeklyIncomingData | Iso-Week record timelines by geoRegion and sex for hospitalisations. |
DEPRECATED COVID19Hosp_vaccpersons_sex_w.(json/csv) |
WeeklyHospVaccPersonsSexIncomingData | Iso-Week record timelines for hospitalisations of fully vaccinated persons by vaccine and sex. Data only available for geoRegion CHFL. This file has been deprecated and will no longer be updated after 04.10.2022. |
COVID19Death_geoRegion_sex_w.(json/csv) | WeeklyIncomingData | Iso-Week record timelines by geoRegion and sex for deaths. |
DEPRECATED COVID19Death_vaccpersons_sex_w.(json/csv) |
WeeklyDeathVaccPersonsSexIncomingData | Iso-Week record timelines for deaths of fully vaccinated persons by vaccine and sex. Data only available for geoRegion CHFL. This file has been deprecated and will no longer be updated after 04.10.2022. |
COVID19Test_geoRegion_sex_w.(json/csv) | WeeklyIncomingData | Iso-Week record timelines by geoRegion and sex for tests (all test types). |
DEPRECATED COVID19WeeklyReportText.(json/csv) |
WeeklyReportIncomingData | Weekly report texts by Iso-Week. |
COVID19Sentinella_VirusTypes_w.(json/csv) | SentinellaWeeklyVirusTypesData | Iso-Week record timelines by for detections. |
COVID19Sentinella_Consultations_w.(json/csv) | SentinellaWeeklyConsulationsData | Iso-Week record timelines for consultations. |
DEPRECATED COVID19Cases_extraGeoRegions_d.(json/csv) |
AdditionalGeoRegionDailyIncomingData | Daily record timelines by (additonal) geographical units for cases. Contains data for CH, cantons, greater regions & greater labor market regions. |
DEPRECATED COVID19Cases_extraGeoRegions_14d.(json/csv) |
AdditionalGeoRegion14dPeriodIncomingData | 14d aggregated record timelines by (additional) geographical units for cases. Contains data for CH, labor market regions & districts. |
DEPRECATED COVID19EvalTextDaily.(json/csv) |
DailyReportIncomingData | Optional extra texts for daily report (PDF). This file has been deprecated and will no longer be updated after 05.04.2022. |
DEPRECATED COVID19QuarantineIsolation_geoRegion_d.(json/csv) |
ContactTracingIncomingData | Contact tracing data (current record by geoRegion where available). This file has been deprecated and will no longer be updated after 05.04.2022. |
COVID19HospCapacity_geoRegion.(json/csv) | HospCapacityDailyIncomingData | Daily hospital capacity data timelines by geoRegion. |
COVID19HospCapacity_geoRegion_certStatus.(json/csv) | HospCapacityCertStatusIncomingData | Daily hospital capacity data timelines of certified/ad-hoc status of operational ICU beds by geoRegion. |
COVID19HospCapacity_geoRegion_w.(json/csv) | HospCapacityWeeklyIncomingData | Weekly hospital capacity data timelines by geoRegion. |
DEPRECATED COVID19IntQua.(json/csv) |
InternationalQuarantineIncomingData | International quarantine data (mandatory quarantine requirement when entering Switzerland). This file has been deprecated and will no longer be updated after 05.04.2022. |
DEPRECATED COVID19IntCases.(json/csv) |
InternationalDailyIncomingData | International daily data (cases). This file has been deprecated and will no longer be updated after 05.04.2022. |
DEPRECATED COVID19Re_geoRegion.(json/csv) |
ReDailyIncomingData | Daily Re value data timelines by geoRegion. This file has been deprecated and will no longer be updated after 05.04.2022. |
DEPRECATED COVID19VaccDosesDelivered.(json/csv) |
VaccinationIncomingData | Vaccine doses delivered/received data by geoRegion. This file has been deprecated and will no longer be updated after 26.04.2022. |
DEPRECATED COVID19VaccDosesDelivered_vaccine.(json/csv) |
VaccinationDosesReceivedDeliveredVaccineIncomingData | Vaccine doses delivered/received data by geoRegion and vaccine (type). This file has been deprecated and will no longer be updated after 26.04.2022. |
COVID19VaccDosesAdministered.(json/csv) | VaccinationIncomingData | Vaccine doses administered data by geoRegion. |
COVID19AdministeredDoses_vaccine.(json/csv) | VaccinationVaccineIncomingData | Vaccine doses administered data by geoRegion and vaccine (type). |
COVID19VaccPersons_v2.(json/csv) | VaccPersonsIncomingData | Vaccinated persons data by geoRegion (aggregated by canton/country of residence). |
COVID19VaccPersons_vaccine.(json/csv) | VaccPersonsVaccineIncomingData | Vaccinated persons data by geoRegion (aggregated by canton/country of residence) and vaccine (type). |
COVID19VaccDosesAdministered_AKL10_w.(json/csv) | VaccinationWeeklyIncomingData | Iso-Week record timelines by geoRegion and age brackets for vaccine doses administered. |
COVID19VaccPersons_AKL10_w_v2.(json/csv) | VaccPersonsWeeklyIncomingData | Iso-Week record timelines by geoRegion (aggregated by canton/country of residence) and age brackets for vaccinated persons. |
COVID19VaccPersons_AKL10_vaccine_w.(json/csv) | VaccPersonsWeeklyAgeRangeVaccineIncomingData | Iso-Week record timelines by geoRegion (aggregated by canton/country of residence), age brackets and vaccine for vaccinated persons. |
DEPRECATED COVID19VaccDosesAdministered_sex_w.(json/csv) |
VaccinationWeeklyIncomingData | Iso-Week record timelines by geoRegion and sex for vaccine doses administered. This file has been deprecated and will no longer be updated after 04.10.2022. |
DEPRECATED COVID19VaccPersons_sex_w_v2.(json/csv) |
VaccPersonsWeeklyIncomingData | Iso-Week record timelines by geoRegion (aggregated by canton/country of residence) and sex for vaccinated persons. This file has been deprecated and will no longer be updated after 04.10.2022. |
DEPRECATED COVID19FullyVaccPersons_indication_w_v2.(json/csv) |
VaccPersonsWeeklyIndicationIncomingData | Iso-Week record timelines by geoRegion (aggregated by canton/country of residence) and vacc indication (reason) for fully vaccinated persons. This file has been deprecated and will no longer be updated after 04.10.2022. |
DEPRECATED COVID19VaccDosesAdministered_indication_w.(json/csv) |
VaccinationWeeklyIndicationIncomingData | Iso-Week record timelines by geoRegion and vacc indication (reason) for vaccine doses administered. This file has been deprecated and will no longer be updated after 04.10.2022. |
DEPRECATED COVID19VaccDosesAdministered_location_w.(json/csv) |
VaccinationWeeklyLocationIncomingData | Iso-Week record timelines by geoRegion and location for vaccine doses administered. This file has been deprecated and will no longer be updated after 26.04.2022. |
DEPRECATED COVID19VaccSymptoms.(json/csv) |
VaccinationSymptomsIncomingData | Data for suspected cases of adverse vaccination reactions based on reports from Swissmedic. This file has been deprecated and will no longer be updated after 26.04.2022. |
DEPRECATED COVID19VaccDosesContingent.(json/csv) |
VaccinationContingentIncomingData | Allotted vaccination doses contingent data by geoRegion. This file has been deprecated and will no longer be updated after 10.03.2022. |
DEPRECATED COVID19Variants_wgs.(json/csv) |
VirusVariantsWgsDailyIncomingData | Virus variant data by geoRegion (source WGS & MSys). This file has been deprecated and will no longer be updated after 18.10.2022. |
COVID19Variants_hosp_w.(json/csv) | VirusVariantsHospWeeklyIncomingData | Iso-Week record timelines of virus variant data for hospitalisations (including subvariants). Data only available for geoRegion CHFL. |
DEPRECATED COVID19Certificates.(json/csv) |
CovidCertificatesDailyIncomingData | Issued COVID certificates data. This file has been deprecated and will no longer be updated after 08.03.2022. |
DEPRECATED COVID19EpiRawData_d.(json/csv) |
DailyEpiRawIncomingData | Combined daily record timelines for cases, hosp & death by geoRegion. Minimal content without pre-calculated values. |
DEPRECATED COVID19CasesRawData_AKL10_d.(json/csv) |
DailyCasesAgeRangeRawIncomingData | Daily record timelines for cases by geoRegion and age brackets. Minimal content without pre-calculated values. |
DEPRECATED COVID19EpiRawData_AKL10_sex_w.(json/csv) |
WeeklyEpiAgeRangeSexRawIncomingData | Combined Iso-Week record timelines for cases, hosp & deaths by geoRegion, age brackets and sex. Minimal content without pre-calculated values. |
DEPRECATED PopulationAgeRangeSexData.(json/csv) |
PopulationAgeRangeSexData | Population data by geoRegion (cantons + FL), age brackets & sex. |
COVID19Wastewater_vl.(json/csv) | WasteWaterDailyViralLoadData | Daily waste water viral load measurement record timelines by waste water treatment facility. |
COVID19Wastewater_vlOverview.(json/csv) | WasteWaterViralLoadOverview | Overview of the current percentile & difference to previous week of the waste water facilities by geoRegion (cantons, FL, CH & CHFL). |
COVID19Hosp_vaccpersons_AKL10_w_v2.(json/csv) | WeeklyHospBreakthroughVaccPersonsAgeRangeIncomingData | Weekly record timeline for hospitalisations by vaccination status |
Check the sources.schema.json file for schema information (only json-schema format for now).
Please note that the data schema can change in the future and be released in a new version. Changes will be tracked here and the current schema version can be read from the data context (see section Download Automation below).
There are currently no planned releases.
Released: 11.07.2023
Description:
deprecated the following source files (they will no longer be updated after the 11.07.2023) :
COVID19Death_vaccpersons_AKL10_w_v2.(json/csv)
COVID19Hosp_vaccpersons_AKL10_w_v2.(json/csv)
COVID19VaccDosesAdministered.(json/csv)
COVID19VaccPersons_v2.(json/csv)
COVID19VaccDosesAdministered_AKL10_w.(json/csv)
COVID19VaccPersons_AKL10_w_v2.(json/csv)
COVID19AdministeredDoses_vaccine.(json/csv)
Released: 02.05.2023
Description:
COVID19HospCapacity_geoRegion.(json/csv)
COVID19HospCapacity_geoRegion_certStatus.(json/csv)
COVID19HospCapacity_geoRegion_w.(json/csv)
Released: 25.04.2023
Description:
COVID19VaccPersons_AKL10_vaccine_w.(json/csv)
COVID19VaccPersons_vaccine.(json/csv)
COVID19VaccPersons_v2.(json/csv)
, COVID19VaccPersons_AKL10_w_v2.(json/csv)
(they will no longer be included after the 02.05.2023)COVID19FullyVaccPersons
COVID19FPartiallyVaccPersons
COVID19Wastewater_vl.(json/csv)
(model: WasteWaterDailyViralLoadData
) :method_date_from
method_date_to
below_loq
loq
Released: 21.03.2023
Description:
COVID19Variants_hosp_w.(json/csv)
file with records for the virus variant XBBReleased: 28.02.2023
Description:
COVID19Sentinella_VirusTypes_w.(json/csv)
containing weekly virus types record timelines for Schwitzerland. model: SentinellaWeeklyVirusTypesDataCOVID19Sentinella_Consultations_w.(json/csv)
containing weekly Sars-Cov-2 infection consultations record timelines for Switzerland. model: SentinellaWeeklyConsulationsDataReleased: 14.02.2023
Description:
COVID19Wastewater_vl.(json/csv)
file (extended geoRegions property) Released: 24.01.2023
Description:
type
property in the COVID19Variants_hosp_w.(json/csv)
fileCOVID19Cases_geoRegion_w.(json/csv)
,COVID19Hosp_geoRegion_w.(json/csv)
,COVID19Death_geoRegion_w.(json/csv)
,COVID19Test_geoRegion_w.(json/csv)
,COVID19Test_geoRegion_PCR_Antigen_w.(json/csv)
:sumTotal_last2wd
sum2w
entries_diff_last_age
entries_diff_last
inzsumTotal_last2w
inzsum2w
entries_letzter_stand
entries_neu_gemeldet
mean2w
inzmean2w
COVID19Test_geoRegion_PCR_Antigen_w.(json/csv)
:anteil_pos_2w
sumTotal_last2w
anteil_pos_mean2w
COVID19Test_geoRegion_all_w.(json/csv)
Released: 29.12.2022
Description:
type
property in the COVID19Variants_hosp_w.(json/csv)
file (scheduled to be removed after 24.01.2023)COVID19Variants_hosp_w.(json/csv)
file (scheduled to be removed after 24.01.2023)B.1.1.7
B.1.351
B.1.525
B.1.526
B.1.617.1
P.1
P.2
C.37
B.1.1.318
COVID19Variants_hosp_w.(json/csv)
file BA.2.75
BQ.1
COVID19Variants_hosp_w.(json/csv)
fileupdated COVID19WeeklyReportText.(json/csv)
, it will no longer be updated COVID19EpiRawData_d.(json/csv)
COVID19CasesRawData_AKL10_d.(json/csv)
COVID19EpiRawData_AKL10_sex_w.(json/csv)
PopulationAgeRangeSexData.(json/csv)
COVID19Cases_geoRegion.(json/csv)
COVID19Hosp_geoRegion.(json/csv)
COVID19Death_geoRegion.(json/csv)
COVID19Test_geoRegion_all.(json/csv)
COVID19Test_geoRegion_PCR_Antigen.(json/csv)
CHFL
from 1 January 2023, for data protection reasonsReleased: 22.11.2022
Description:
COVID19Hosp_vaccpersons_AKL10_w_v2.(json/csv)
COVID19Death_vaccpersons_AKL10_w_v2.(json/csv)
COVID19Hosp_vaccpersons_AKL10_w.(json/csv)
has become deprecated and will no longer be updated after 22.11.2022.COVID19Death_vaccpersons_AKL10_w.(json/csv)
has become deprecated and will no longer be updated after 22.11.2022.COVID19Death_vaccpersons.(json/csv)
has become deprecated and will no longer be updated after 22.11.2022.COVID19Hosp_vaccpersons.(json/csv)
has become deprecated and will no longer be updated after 22.11.2022.Released: 15.11.2022
Description:
COVID19HospCapacity_geoRegion.(json/csv)
file (scheduled to be removed after 29.11.2022)timeframe_14d
timeframe_28d
timeframe_phase2
timeframe_phase2b
timeframe_phase3
timeframe_phase4
timeframe_phase5
timeframe_phase6
COVID19Cases_geoRegion_w.(json/csv)
, COVID19Hosp_geoRegion_w.(json/csv)
, COVID19Death_geoRegion_w.(json/csv)
, COVID19Test_geoRegion_w.(json/csv)
, COVID19Test_geoRegion_PCR_Antigen_w.(json/csv)
, COVID19Cases_geoRegion_AKL10_w.(json/csv)
, COVID19Hosp_geoRegion_AKL10_w.(json/csv)
, COVID19Death_geoRegion_AKL10_w.(json/csv)
and COVID19Test_geoRegion_AKL10_w.(json/csv)
weekly files (scheduled to be removed after 29.11.2022)timeframe_14d
timeframe_28d
timeframe_phase2
timeframe_phase2b
timeframe_phase3
timeframe_phase4
timeframe_phase5
timeframe_phase6
timeframe_vacc_info
offset_vacc_info
sumTotal_vacc_info
COVID19Cases_geoRegion.(json/csv)
, COVID19Hosp_geoRegion.(json/csv)
, COVID19Death_geoRegion.(json/csv)
, COVID19Test_geoRegion_all.(json/csv)
and COVID19Test_geoRegion_PCR_Antigen.(json/csv)
daily files (scheduled to be removed after 29.11.2022)timeframe_14d
timeframe_28d
timeframe_phase2
offset_Phase2
sumTotal_Phase2
inzsumTotal_Phase2
anteil_pos_phase2
timeframe_phase2b
offset_Phase2b
sumTotal_Phase2b
inzsumTotal_Phase2b
anteil_pos_phase2b
timeframe_phase3
offset_Phase3
sumTotal_Phase3
inzsumTotal_Phase3
anteil_pos_phase3
timeframe_phase4
offset_Phase4
sumTotal_Phase4
inzsumTotal_Phase4
anteil_pos_phase4
timeframe_phase5
offset_Phase5
sumTotal_Phase5
inzsumTotal_Phase5
anteil_pos_phase5
timeframe_phase6
offset_Phase6
sumTotal_Phase6
inzsumTotal_Phase6
anteil_pos_phase6
timeframe_vacc_info
offset_vacc_info
sumTotal_vacc_info
Released: 01.11.2022
Description:
COVID19Death_reason_AKL10_w.(json/csv)
COVID19Hosp_reason_AKL10_w.(json/csv)
file with records for age groups by 0 - 64
and 65+
and added the data_expected
property.Released: 18.10.2022
Description:
COVID19Variants_hosp_w.(json/csv)
containing virus variants data (including subvariants). model: VirusVariantsHospWeeklyIncomingData
COVID19Variants_wgs.(json/csv)
has been deprecated and will no longer be updated.pfizer_biontech_bivalent
to COVID19AdministeredDoses_vaccine.(json/csv)
, COVID19VaccPersons_vaccine.(json/csv)
and COVID19VaccPersons_AKL10_vaccine_w.(json/csv)
Released: 04.10.2022
Description:
type
=COVID19VaccSixMonthsPersons
) to the vaccinated person files COVID19VaccPersons_v2.(json/csv)
, COVID19VaccPersons_AKL10_w_v2.(json/csv)
COVID19VaccPersons_sex_w_v2.(json/csv)
, COVID19VaccDosesAdministered_sex_w.(json/csv)
, COVID19Hosp_vaccpersons_sex_w.(json/csv)
and COVID19Death_vaccpersons_sex_w.(json/csv)
have been deprecated and will no longer be updated.COVID19FullyVaccPersons_indication_w_v2.(json/csv)
and COVID19VaccDosesAdministered_indication_w.(json/csv)
have been deprecated and will no longer be updated.COVID19VaccPersons_AKL10_vaccine_w.(json/csv)
file with records for age groups by vacc strategy. the added age_group_type
property with possible values of age_group_AKL10
and age_group_vacc_strategy
gives further information as to which age group type a record belongs to.Released: 27.09.2022
Description:
data_expected
property to the COVID19Wastewater_vl.(json/csv)
file to mark if data was expected (facility was participating in the waste water surveillance project).COVID19Wastewater_vl.(json/csv)
file (extended geoRegions
property)366101
Cazis (Waldau)387101
Klosters (Gulfia)395501
Landquart356101
Poschiavo (Li Geri)358201
Schluein (Gruob)376201
Scuol (Sot Ruinas)397201
Seewis (Vorderes Prättigau)603102
Bagnes-Le Châble600200
Brig-Glis (Briglina)605700
Goms613600
Martigny624801
Sierre/Noes626601
Sion/Chateauneuf630000
Zermatt100000
Liechtenstein40100
(Burgdorf) from the COVID19Wastewater_vl.(json/csv)
file because of flawed sampling. record will be added back when enough data has been collected again.moderna_bivalent
to COVID19AdministeredDoses_vaccine.(json/csv)
, COVID19VaccPersons_vaccine.(json/csv)
and COVID19VaccPersons_AKL10_vaccine_w.(json/csv)
Released: 09.08.2022
Description:
COVID19SecondBoosterPersons
) to the following files: COVID19VaccPersons_v2.(json/csv)
, COVID19VaccPersons_vaccine.(json/csv)
, COVID19VaccPersons_AKL10_w_v2.(json/csv)
, COVID19VaccPersons_sex_w_v2.(json/csv)
and COVID19VaccPersons_AKL10_vaccine_w.(json/csv)
Released: 05.07.2022
Description:
COVID19Wastewater_vl.(json/csv)
containing daily viral load record timelines by wate water facility. model: WasteWaterDailyViralLoadDataCOVID19Wastewater_vlOverview.(json/csv)
containing viral load overview data by geoRegion (cantons, FL, CH & CHFL). model: WasteWaterViralLoadOverviewCOVID19Hosp_vaccpersons_AKL10_w.(json/csv)
and COVID19Death_vaccpersons_AKL10_w
files with records for age groups by vacc strategy. the added age_group_type
property with possible values of age_group_AKL10
and age_group_vacc_strategy
gives further information as to which age group type a record belongs to.data_source
= msys
) from the COVID19Variants_wgs
file. data_source property has become deprecated and will be removed in a later release.Released: 26.04.2022
Description:
COVID19VaccDosesDelivered.(json/csv)
has become deprecated and will no longer be updated after 26.04.2022.COVID19VaccDosesDelivered_vaccine.(json/csv)
has become deprecated and will no longer be updated after 26.04.2022.COVID19VaccDosesAdministered_location_w.(json/csv)
has become deprecated and will no longer be updated after 26.04.2022.COVID19VaccSymptoms.(json/csv)
has become deprecated and will no longer be updated after 26.04.2022. please refer to the website of swissmedic in the future for information about adverse reactions to COVID-19 vaccinesReleased: 05.04.2022
Description:
nextScheduledPublication
property to the data contextCOVID19Re_geoRegion.(json/csv)
has become deprecated and will no longer be updated after 05.04.2022.COVID19QuarantineIsolation_geoRegion_d.(json/csv)
has become deprecated and will no longer be updated after 05.04.2022.COVID19EvalTextDaily.(json/csv)
has become deprecated and will no longer be updated after 05.04.2022.COVID19IntQua.(json/csv)
has become deprecated and will no longer be updated after 05.04.2022.COVID19IntCases.(json/csv)
has become deprecated and will no longer be updated after 05.04.2022.novavax
to COVID19VaccDosesDelivered_vaccine.(json/csv)
, COVID19AdministeredDoses_vaccine.csv
, COVID19VaccPersons_vaccine.csv
and COVID19VaccPersons_AKL10_vaccine_w.csv
Released: 10.03.2022
Description:
offset_Phase6
, sumTotal_Phase6
, inzsumTotal_Phase6
, anteil_pos_phase6
and timeframe_phase6
to DailyIncomingData modeltimeframe_phase6
to WeeklyIncomingData modeltimeframe_phase6
to ReDailyIncomingData modeltimeframe_phase6
to InternationalDailyIncomingData modelCOVID19VaccDosesContingent.(json/csv)
has become DEPRECATED and will not be updated anymore after 10.03.2021COVID19Certificates.(json/csv)
has become DEPRECATED and will not be updated anymore after 08.03.2022Released: 15.02.2022
Description:
COVID19EpiRawData_d
(model DailyEpiRawIncomingData) containing combined daily record timelines for cases, hosp & death by geoRegion.COVID19CasesRawData_AKL10_d
(model DailyCasesAgeRangeRawIncomingData) containing daily record timelines for cases by geoRegion and age brackets.COVID19EpiRawData_AKL10_sex_w
(model WeeklyEpiAgeRangeSexRawIncomingData) containing weekly record timelines for cases, hosp & death by geoRegion, age brackets and sex.PopulationAgeRangeSexData
(model PopulationAgeRangeSexData) containing population data by geoRegion (cantons + FL), age brackets & sex.Released: 03.02.2022
Description:
COVID19Hosp_reason_AKL10_w.(json/csv)
COVID19HospCapacity_geoRegion_certStatus.(json/csv)
.Released: 01.02.2022
Description:
sum7d
, sum14d
, inzsum7d
, inzsum14d
. This affects the following files: COVID19Cases_geoRegion.(json/csv)
, COVID19Hosp_geoRegion.(json/csv)
and COVID19Death_geoRegion.(json/csv)
.Released: 20.01.2022
Description:
COVID19WeeklyReportText.(json/csv)
with the following identifiers: hospcapacityicu-summary
, methods-cases_hosps_deaths_tests
, methods-deadline
, methods-contact_tracing
, methods-hospcapacityicu
, methods-trends
COVID19HospCapacity_geoRegion_w.(json/csv)
. only the data for geoRegion CH
and type_variant fp7d
are included currently.Released: 14.01.2022
Description:
fully_vaccinated
and vaccine unknown
. this affects the following files: COVID19Hosp_vaccpersons.(json/csv)
and COVID19Death_vaccpersons.(json/csv)
fully_vaccinated_no_booster
and fully_vaccinated_first_booster
which are a more detailed subdivision of the records with vaccination_status fully_vaccinated
. the records with vaccination_status fully_vaccinated
will continue to be published as they have been until now. this affects all *_vaccpersons.(json/csv)
files but will only be added for records with vaccine all
.fully_vaccinated_first_booster
) is insufficient
before 01.12.2021 for inz_entries and inzmean7dReleased: 23.12.2021
Description:
5 - 11
. this affects the weekly administered doses and vaccinated persons files by age COVID19VaccDosesAdministered_AKL10_w.(json/csv)
and COVID19VaccPersons_AKL10_w_v2.(json/csv)
Released: 16.12.2021
Description:
COVID19VaccPersons_AKL10_w_v2
file in order to provide more up-to-date information on the vaccination progress for the different age groups. the entries
and per100Persons
values will remain empty until the week is complete but the sumTotal
and per100PersonsTotal
values will be available.Released: 07.12.2021
Description:
B.1.1.529
: VirusVariantsWgsDailyIncomingDataReleased: 02.12.2021
Description:
COVID19VaccPersons_v2
, COVID19VaccPersons_vaccine
, COVID19VaccPersons_AKL10_w_v2
, COVID19VaccPersons_AKL10_vaccine_w
and COVID19VaccPersons_sex_w_v2
type
property with the value COVID19FirstBoosterPersons
COVID19FirstBoosterPersons
) are a subset of the fully vaccinated person records (type = COVID19FullyVaccPersons
)offset_Phase5
, sumTotal_Phase5
, inzsumTotal_Phase5
, anteil_pos_phase5
and timeframe_phase5
to DailyIncomingData modeltimeframe_phase5
to WeeklyIncomingData modeltimeframe_phase5
to ReDailyIncomingData modeltimeframe_phase5
to InternationalDailyIncomingData modelReleased: 18.11.2021
Description:
timeframe_all
property has been added to the weekly files for hosp & death records by vaccination status (COVID19Hosp_vaccpersons_AKL10_w
, COVID19Death_vaccpersons_AKL10_w
, COVID19Hosp_vaccpersons_sex_w
and COVID19Death_vaccpersons_sex_w
) in order to mark the weekly records data as complete enough for visualisationReleased: 11.11.2021
Description:
COVID19Cases_vaccpersons
, COVID19Cases_vaccpersons_AKL10_w
and COVID19Cases_vaccpersons_sex_w
) have become DEPRECATED and will no longer be updated after 11.11.2021COVID19Hosp_vaccpersons
, COVID19Death_vaccpersons
, COVID19Hosp_vaccpersons_AKL10_w
, COVID19Death_vaccpersons_AKL10_w
, COVID19Hosp_vaccpersons_sex_w
and COVID19Death_vaccpersons_sex_w
)COVID19VaccDosesDelivered
and COVID19VaccDosesAdministered
) and extended model VaccinationIncomingData. no changes to the vacc person files since the grouping is by canton of residence.Released: 28.10.2021
Description:
COVID19FullyVaccPersons_vaccine_v2
COVID19VaccPersons_AKL10_vaccine_w
(model VaccPersonsWeeklyAgeRangeVaccineIncomingData)Released: 19.10.2021
Description:
COVID19VaccPersons_v2
age_group
with values total_population
and 12+
in order to distinguish between the two record sets to the VaccPersonsIncomingData modelICU_exists
and Total_exists
to the hosp capacity file COVID19HospCapacity_geoRegion
to explicitly mark if an ICU or hospital exists for the respective geoRegion.Released: 07.10.2021
Description:
vaccination_status
property for the breakdown by vaccination status (fully_vaccinated
, partially_vaccinated
, not_vaccinated
and unknown
) in order to make the complete distribution of cases, hosp & deaths by vaccination status availablefully_vaccinated
persons has been lifted. this is done to avoid an under-estimate of cases of fully vaccinated persons (and in turn an over-estimate of cases for partially vaccinated persons) because the date of the final administered dose is often not available when cases are reported. this also makes the categories of fully and partially vaccinated more consistent and comparable with the existing vaccination data published. The records with vaccination_status
of fully_vaccinated
include occurences of fully vaccinated persons immediately after the final dose and are thus not directly comparable to the data published up to this point.moderna
, pfizer_biontech
& johnson_johnson
) has been added to the daily files (COVID19Cases_vaccpersons
, COVID19Hosp_vaccpersons
and COVID19Death_vaccpersons
)COVID19Cases_vaccpersons
, COVID19Hosp_vaccpersons
and COVID19Death_vaccpersons
): pop
, inz_entries
, inzsumTotal
, mean7d
, inzmean7d
, prct
, prct_mean7d
, prctSumTotal
and vaccination_status
COVID19Cases_vaccpersons_AKL10_w
, COVID19Hosp_vaccpersons_AKL10_w
, COVID19Death_vaccpersons_AKL10_w
, COVID19Cases_vaccpersons_sex_w
, COVID19Hosp_vaccpersons_sex_w
and COVID19Death_vaccpersons_sex_w
) : pop
, inz_entries
, inzsumTotal
, and vaccination_status
COVID19VaccPersons_vaccine
which replaces the now deprecated file COVID19FullyVaccPersons_vaccine_v2
and contains records for both partially and fully vaccinated persons as well as persons with at least one dose.COVID19FullyVaccPersons_vaccine_v2
(will be removed after 21.10.2021), please switch to the new file COVID19VaccPersons_vaccine
COVID19Cases_vaccpersons
(JSON/CSV), COVID19Cases_vaccpersons_AKL10_w
(JSON/CSV) and COVID19Cases_vaccpersons_sex_w
(JSON/CSV)COVID19Hosp_vaccpersons
(JSON/CSV), COVID19Hosp_vaccpersons_AKL10_w
(JSON/CSV) and COVID19Hosp_vaccpersons_sex_w
(JSON/CSV)COVID19Death_vaccpersons
(JSON/CSV), COVID19Death_vaccpersons_AKL10_w
(JSON/CSV) and COVID19Death_vaccpersons_sex_w
(JSON/CSV)Released: 05.10.2021
Description:
johnson_johnson
to the following files: COVID19VaccDosesDelivered_vaccine
, COVID19AdministeredDoses_vaccine
, COVID19FullyVaccPersons_vaccine_v2
and COVID19VaccSymptoms
Released: 24.09.2021
Description:
12 - 15
, 16 - 64
and 65+
) and an additional property age_group_type
to distinguish the age groups types to the weekly administered doses and vaccinated persons files by age COVID19VaccDosesAdministered_AKL10_w.(json/csv)
and COVID19VaccPersons_AKL10_w_v2.(json/csv)
Released: 13.09.2021
Description:
Released: 20.08.2021
Description:
timeframe_vacc_info
, sumTotal_vacc_info
and offset_vacc_info
to DailyIncomingDatatimeframe_vacc_info
, sumTotal_vacc_info
and offset_vacc_info
to WeeklyIncomingDataC.37
& B.1.1.318
and updated the virus variant B.1.617.2
records to also include the AY.1-AY.12
variants (delta variant family): VirusVariantsWgsDailyIncomingDataReleased: 05.08.2021
Description:
COVID19Cases_vaccpersons.(json/csv)
(model DailyCasesVaccPersonsIncomingData), COVID19Cases_vaccpersons_AKL10_w.(json/csv)
(model WeeklyCasesVaccPersonsAgeRangeIncomingData) and COVID19Cases_vaccpersons_sex_w.(json/csv)
(model WeeklyCasesVaccPersonsSexIncomingData)COVID19Hosp_vaccpersons.(json/csv)
(model DailyHospVaccPersonsIncomingData), COVID19Hosp_vaccpersons_AKL10_w.(json/csv)
(model WeeklyHospVaccPersonsAgeRangeIncomingData) and COVID19Hosp_vaccpersons_sex_w.(json/csv)
(model WeeklyHospVaccPersonsSexIncomingData)COVID19Death_vaccpersons.(json/csv)
(model DailyDeathVaccPersonsIncomingData), COVID19Death_vaccpersons_AKL10_w.(json/csv)
(model WeeklyDeathVaccPersonsAgeRangeIncomingData) and COVID19Death_vaccpersons_sex_w.(json/csv)
(model WeeklyDeathVaccPersonsSexIncomingData)COVID19Cases_vaccpersons
(JSON/CSV), COVID19Cases_vaccpersons_AKL10_w
(JSON/CSV) and COVID19Cases_vaccpersons_sex_w
(JSON/CSV)COVID19Hosp_vaccpersons
(JSON/CSV), COVID19Hosp_vaccpersons_AKL10_w
(JSON/CSV) and COVID19Hosp_vaccpersons_sex_w
(JSON/CSV)COVID19Death_vaccpersons
(JSON/CSV), COVID19Death_vaccpersons_AKL10_w
(JSON/CSV) and COVID19Death_vaccpersons_sex_w
(JSON/CSV)entries_diff_last
property of the DailyIncomingData model accordinglyReleased: 27.07.2021
Description:
COVID19VaccDosesDelivered_vaccine.(json/csv)
contains data by vaccine for both received (COVID19VaccDosesReceived
) and delivered (COVID19VaccDosesDelivered
) vaccination dosesCOVID19VaccDosesDelivered_vaccine
(JSON/CSV)Released: 16.07.2021
Description:
COVID19FullyVaccPersons
, COVID19AtLeastOneDosePersons
and COVID19PartiallyVaccPersons
) will be updated to be aggregated geographically by the residence of the person and no longer by the location of the administered doses.COVID19VaccPersons.(json/csv)
, COVID19FullyVaccPersons_vaccine.(json/csv)
, COVID19FullyVaccPersons_indication_w
, COVID19VaccPersons_AKL10_w.(json/csv)
and COVID19VaccPersons_sex_w.(json/csv)
COVID19VaccPersons_v2.(json/csv)
, COVID19FullyVaccPersons_vaccine_v2.(json/csv)
, COVID19VaccPersons_AKL10_w_v2.(json/csv)
, COVID19VaccPersons_sex_w_v2.(json/csv)
and COVID19FullyVaccPersons_indication_w_v2.(json/csv)
COVID19VaccPersons_v2
(JSON/CSV), COVID19FullyVaccPersons_vaccine_v2
(JSON/CSV), COVID19VaccPersons_AKL10_w_v2
(JSON/CSV), COVID19VaccPersons_sex_w_v2
(JSON/CSV) and COVID19FullyVaccPersons_indication_w_v2
(JSON/CSV)Released: 21.06.2021
Description:
COVID19VaccDosesContingent.(json/csv)
Released: 17.06.2021
Description:
COVID19Variants.(json/csv)
has become DEPRECATED and will not be updated anymore after 17.06.2021 and will be removed after 30.06.2021COVID19Variants.(json/csv)
) have been added to the COVID19Variants_wgs.(json/csv)
file: P.1, B.1.617.1 B.1.617.2, B.1.525 (newly reported from 17.06.2021 onward), B.1.351, B.1.1.7 and B.1.1.7 & E484K. Check the data_source
property to distinguish between the different sources.v.0.8.0
Released: 14.06.2021
Description:
COVID19Cases_extraGeoRegions_d.(json/csv)
and COVID19Cases_extraGeoRegions_14d
Released: 08.06.2021
Description:
COVID19Certificates.(json/csv)
Released: 25.05.2021
Description:
COVID19VaccSymptoms.(json/csv)
Released: 18.05.2021
Description:
COVID19Variants_wgs
COVID19VaccPersons.(json/csv)
, COVID19VaccPersons_AKL10_w.(json/csv)
and COVID19VaccPersons_sex_w.(json/csv)
COVID19FullyVaccPersons.(json/csv)
, COVID19FullyVaccPersons_AKL10_w.(json/csv)
and COVID19FullyVaccPersons_sex_w.(json/csv)
. The information about fully vaccinated persons is included in the files mentioned above (COVID19VaccPersons*)Released: 11.05.2021
Description:
COVID19FullyVaccPersons_vaccine.(json/csv)
and COVID19VaccDosesAdministered_vaccine.(json/csv)
Released: 04.05.2021
Description:
COVID19FullyVaccPersons_indication_w.(json/csv)
and COVID19VaccDosesAdministered_indication_w.(json/csv)
COVID19VaccDosesAdministered_location_w.(json/csv)
Released: 29.04.2021
Description:
COVID19WeeklyReportText.(json/csv)
COVID19Test_geoRegion_PCR_Antigen_w.(json/csv)
Released: 26.04.2021
Description:
timeframe_phase3
to HospCapacityDailyIncomingData modelReleased: 19.04.2021
Description:
offset_Phase3
, sumTotal_Phase3
, inzsumTotal_Phase3
, anteil_pos_phase3
and timeframe_phase3
to DailyIncomingData modeltimeframe_phase3
to WeeklyIncomingData modelsumTotal_Phase3
and timeframe_phase3
to VirusVariantsDailyIncomingData modeltimeframe_phase3
to ReDailyIncomingData modelReleased: 25.03.2021
Description:
granularity
value partial
to VaccinationWeeklyIncomingData modelReleased: 19.03.2021
Description:
anteil_pos
, lower_ci_day
and upper_ci_day
to the VirusVariantsDailyIncomingData modelReleased: 26.02.2021
Description:
mean7d
to the VaccinationIncomingData modelReleased: 23.02.2021
Description:
COVID19FullyVaccPerson_AKL10_ws.(json/csv)
, COVID19FullyVaccPerson_sex_ws.(json/csv)
COVID19VaccDosesAdministered_AKL10_w.(json/csv)
, COVID19VaccDosesAdministered_sex_w.(json/csv)
median_R_mean_mean7d
to Re data file COVID19Re_geoRegion.(json/csv)
Released: 18.02.2021
Description:
COVID19Variants.(json/csv)
Released: 16.02.2021
Description:
COVID19FullyVaccPersons.(json/csv)
Released: 05.02.2021
Description:
COVID19VaccDosesReceived
data for CHFL to COVID19VaccDosesDelivered.(json/csv)
(doses received by manufacturers)Released: 28.01.2021
Description:
COVID19VaccDosesDelivered.(json/csv)
, COVID19VaccDosesAdministered.(json/csv)
Released: 13.01.2021
Description:
COVID19IntCases.(json/csv)
Released: 17.12.2020
Description:
COVID19Re_geoRegion.(json/csv)
COVID19IntQua.(json/csv)
Released: 15.12.2020
Description:
COVID19Cases_geoRegion_w.(json/csv)
COVID19Hosp_geoRegion_w.(json/csv)
COVID19Death_geoRegion_w.(json/csv)
COVID19Test_geoRegion_w.(json/csv)
default
weekly source file location group to sources
of the data context for weekly data by geoRegion onlyCOVID19HospCapacity_geoRegion.(json/csv)
hospCapacity
file source location to sources
of the data contextoffset_Phase2b
, sumTotal_Phase2b
, inzsumTotal_Phase2b
and anteil_pos_phase2b
to DailyIncomingDataReleased: 20.11.2020
Description:
COVID19Test_geoRegion_PCR_Antigen.(json/csv)
testPcrAntigen
file source location to sources
of the data contextentries_pos
and entries_neg
to DailyIncomingDataReleased: 05.11.2020
Description: Initial version
The current data context can be queried at a static location and provides information about the source date of the current data and source file locations.
GET https://www.covid19.admin.ch/api/data/context
sourceDate
contains the overall source date of the data. Multiple publications per day are possible with the same sourceDate
. Check the dataVersion
to decide if you need to update your data.
nextScheduledPublication
contains the next scheduled publication date
dataVersion
contains the current data version. Download links may be generated directly using the dataVersion
but using the pre-generated urls in the sources
field (see documentation below) is recommended.
sources
contains information about the source location of all currently available raw source data (zip and individual files) to download as well as the schema version/content. OpenData DCAT-AP-CH metadata information will be published in the future in addition to this API to further facilitate automation of data downloads.
{
"sources": {
"schema": {
"version": "{current-schema-version}",
"jsonSchema": "{current-schema-location-url}"
},
"readme": "{current-readme-location-url}",
"zip": {
"json": "{current-source-location-url}",
"csv": "{current-source-location-url}"
},
"individual": {
"json": {
"daily": {
"cases": "{current-source-location-url}",
"hosp": "{current-source-location-url}",
"death": "{current-source-location-url}",
"test": "{current-source-location-url}",
"testPcrAntigen": "{current-source-location-url}",
"hospCapacity": "{current-source-location-url}",
"re": "{current-source-location-url}",
"intCases": "{current-source-location-url}"
},
"weekly": {
"byAge": {
"cases": "{current-source-location-url}",
"hosp": "{current-source-location-url}",
"death": "{current-source-location-url}",
"test": "{current-source-location-url}"
},
"bySex": {
"cases": "{current-source-location-url}",
"hosp": "{current-source-location-url}",
"death": "{current-source-location-url}",
"test": "{current-source-location-url}"
},
"default": {
"cases": "{current-source-location-url}",
"hosp": "{current-source-location-url}",
"death": "{current-source-location-url}",
"test": "{current-source-location-url}"
},
},
"dailyReport": "{current-source-location-url}",
"contactTracing": "{current-source-location-url}",
"intQua": "{current-source-location-url}"
},
"csv": {
"daily": {
"cases": "{current-source-location-url}",
"hosp": "{current-source-location-url}",
"death": "{current-source-location-url}",
"test": "{current-source-location-url}",
"testPcrAntigen": "{current-source-location-url}",
"hospCapacity": "{current-source-location-url}",
"re": "{current-source-location-url}",
"intCases": "{current-source-location-url}"
},
"weekly": {
"byAge": {
"cases": "{current-source-location-url}",
"hosp": "{current-source-location-url}",
"death": "{current-source-location-url}",
"test": "{current-source-location-url}"
},
"bySex": {
"cases": "{current-source-location-url}",
"hosp": "{current-source-location-url}",
"death": "{current-source-location-url}",
"test": "{current-source-location-url}"
},
"default": {
"cases": "{current-source-location-url}",
"hosp": "{current-source-location-url}",
"death": "{current-source-location-url}",
"test": "{current-source-location-url}"
},
},
"dailyReport": "{current-source-location-url}",
"contactTracing": "{current-source-location-url}",
"intQua": "{current-source-location-urxl}"
}
}
}
}
The data context history can be queried at a static location and provides a list of previously published data contexts.
GET https://www.covid19.admin.ch/api/data/context/history
Multiple publications per day are possible due to delays or data corrections etc. By default only the latest data context per day is returned from the API. Query https://www.covid19.admin.ch/api/data/context/history/full
for all previously published data contexts (multiple per day returned).
current
Url pointing to the current data context.
documentation
Url of this documentation
dataContexts
List of the individual data context history items
date
Day of the publication, formatted as YYYY-MM-DD (e.g. 2021-03-18)
latest
Multiple publications per day are possible due to delays or data corrections etc. This property indicates if the current data context is the latest one published for this day.
published
Date and time of publication formatted as ISO 8601 string (e.g. 2021-03-18T13:30:35+01:00)
dataVersion
Data version of thsi dataContext (see documentation above for details)
dataContextUrl
Url pointing to the full data context object.
{
"current": "https://www.covid19.admin.ch/api/data/context",
"documentation": "https://www.covid19.admin.ch/api/data/documentation#data-context-history",
"dataContexts: [
{
"date": "2021-03-18",
"published": "2021-03-18T13:30:35+01:00",
"latest": true,
"dataVersion": "20210318-dec0fnrh",
"dataContextUrl": "https://www.covid19.admin.ch/api/data/20210318-dec0fnrh/context"
}
]
}