GET api/COVIDExport/GetSnapshotHistorical?countyName={countyName}&daysIncluded={daysIncluded}
COVID-19 Historical data for a specified date returning the daily snapshot including tested, cases, and deaths by county.
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| countyName | Specified County, leave blank to return all counties | string | None. | 
| daysIncluded | Number of Days included before the current date, required parameter with Valid value | integer | None. | 
Body Parameters
None.
Response Information
Resource Description
List of Counties and details
Collection of COVIDCountySnapshotExport| Name | Description | Type | Additional information | 
|---|---|---|---|
| CountyName | string | None. | |
| CumulativeCases | integer | None. | |
| CasesChange | integer | None. | |
| TotalTested | integer | None. | |
| TotalTestedChange | integer | None. | |
| Deaths | integer | None. | |
| DeathsChange | integer | None. | |
| ReportDate | date | None. | 
Response Formats
application/json, text/json
            Sample:
        
[
  {
    "CountyName": "sample string 1",
    "CumulativeCases": 2,
    "CasesChange": 3,
    "TotalTested": 4,
    "TotalTestedChange": 5,
    "Deaths": 6,
    "DeathsChange": 7,
    "ReportDate": "2025-10-31T15:54:54.1073331-05:00"
  },
  {
    "CountyName": "sample string 1",
    "CumulativeCases": 2,
    "CasesChange": 3,
    "TotalTested": 4,
    "TotalTestedChange": 5,
    "Deaths": 6,
    "DeathsChange": 7,
    "ReportDate": "2025-10-31T15:54:54.1073331-05:00"
  }
]
        text/html
            Sample:
        
[{"CountyName":"sample string 1","CumulativeCases":2,"CasesChange":3,"TotalTested":4,"TotalTestedChange":5,"Deaths":6,"DeathsChange":7,"ReportDate":"2025-10-31T15:54:54.1073331-05:00"},{"CountyName":"sample string 1","CumulativeCases":2,"CasesChange":3,"TotalTested":4,"TotalTestedChange":5,"Deaths":6,"DeathsChange":7,"ReportDate":"2025-10-31T15:54:54.1073331-05:00"}]
        application/xml, text/xml
            Sample:
        
<ArrayOfCOVIDCountySnapshotExport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DPHApi.Models.ExportModels.COVID_County">
  <COVIDCountySnapshotExport>
    <CasesChange>3</CasesChange>
    <CountyName>sample string 1</CountyName>
    <CumulativeCases>2</CumulativeCases>
    <Deaths>6</Deaths>
    <DeathsChange>7</DeathsChange>
    <ReportDate>2025-10-31T15:54:54.1073331-05:00</ReportDate>
    <TotalTested>4</TotalTested>
    <TotalTestedChange>5</TotalTestedChange>
  </COVIDCountySnapshotExport>
  <COVIDCountySnapshotExport>
    <CasesChange>3</CasesChange>
    <CountyName>sample string 1</CountyName>
    <CumulativeCases>2</CumulativeCases>
    <Deaths>6</Deaths>
    <DeathsChange>7</DeathsChange>
    <ReportDate>2025-10-31T15:54:54.1073331-05:00</ReportDate>
    <TotalTested>4</TotalTested>
    <TotalTestedChange>5</TotalTestedChange>
  </COVIDCountySnapshotExport>
</ArrayOfCOVIDCountySnapshotExport>
        text/csv
            Sample:
    
Sample not available.
