---
title: "Latest data point"
method: GET
path: "/api/datasets/{id}/latest"
tags: ["Datasets"]
---

# Latest data point

`GET /api/datasets/{id}/latest`

## Request

- Base URL: `https://monit.ly`
- URL: `https://monit.ly/api/datasets/{id}/latest`
- Auth: API key in header `X-API-Key`

Only the most recent period with values per country and the dimension values.

## Path parameters

- `id` integer, required

## Response `200`

Latest period

- object
  - `dataset` object
  - `latest_period` object
    - `period` string
    - `countries` object
    - `dimensions` object

## Other responses

- `404`: Dataset not found
- `429`: Daily limit exceeded (resets at midnight UTC)

---

[API](https://skmtc.dev/monitly/apis/monitly-api.md) · [All operations](https://skmtc.dev/monitly/apis/monitly-api/llms.txt) · [OpenAPI document](https://skmtc.dev/monitly/apis/monitly-api/revisions/87330898d3a6?raw)
