---
title: "getLatestCountryDataByCode"
method: GET
path: "/country/code"
tags: ["Country"]
---

# getLatestCountryDataByCode

`GET /country/code`

Get latest data for specific country. Country code and format are in parametars. Country code is in ISO 3166-1 standard. It can be 2 chars (Alpha-2) or 3 chars (Alpha-3) type.

## Query parameters

- `code` string, required
- `format` 'json' | 'xml'

## Response `200`

Latest data about COVID-19 for selected country

- object[]
  - `confirmed` integer
  - `country` string
  - `critical` integer
  - `deaths` integer
  - `lastChange` string, date-time
  - `lastUpdate` string, date-time
  - `latitude` number, float
  - `longitude` number, float
  - `recovered` integer

---

[API](https://skmtc.net/covid19api/apis/covid19-api.md) · [All operations](https://skmtc.net/covid19api/apis/covid19-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/covid19api/covid19-api/versions/1a4895bf1c0b/schema)
