---
title: "Downloads diagnosis keys dataset by date."
method: GET
path: "/diagnosiskeys/download/{date}"
tags: ["Diagnosis Keys Exchange Interface", "Download"]
---

# Downloads diagnosis keys dataset by date.

`GET /diagnosiskeys/download/{date}`

## Request

- Base URL: `http://localhost:8090`
- URL: `http://localhost:8090/diagnosiskeys/download/{date}`
- Auth: none declared

Downloads the latest data by date. The date indicates the start point for query. Means the last 5 Days are currentDate-5

## Path parameters

- `date` string, date, required

## Headers

- `batchTag` string

## Response `200`

OK.

## Other responses

- `400`: Invalid or missing request header.
- `403`: Forbidden call in cause of missing or invalid client certificate.
- `404`: BatchTag not found or no data exists.
- `406`: Data format or content is not valid.
- `410`: Date for download expired. Date does not more exists.

---

[API](https://skmtc.dev/eu-federation-gateway-service/apis/efgs-federation-gateway.md) - [All operations](https://skmtc.dev/eu-federation-gateway-service/apis/efgs-federation-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/eu-federation-gateway-service/apis/efgs-federation-gateway/revisions/172696266496?raw)
