Datasets

Filtered time series

Filter by dimension labels (dim1..dim8, exact and case-sensitive), countries and periods. Repeat a parameter for multiple values, e.g. country=Austria&country=Poland. Periods use the dataset format: 1995, Q1/1995, 01/2000 (URL-encode slashes).

get/api/datasets/{id}/data

Request

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

Path parameters

idinteger required
Example:2973

Dataset id from /api/datasets

Query parameters

dim1string[]
dim2string[]
dim3string[]
dim4string[]
dim5string[]
dim6string[]
dim7string[]
dim8string[]
countrystring[]

Country label as in the dataset; repeat for several.

periodstring
Example:2024

Single period

period_fromstring
Example:Q1/1995

Inclusive start

period_tostring
Example:Q1/2025

Inclusive end

latestboolean

Only the most recent period

followedboolean

Only dimensions and countries your organization tracks

Response

Filtered series with metadata

Example response

{
  "data": [
    {
      "series_key": {
        "dim1_value": "Quarterly"
      },
      "rows": [
        {
          "period": "Q1/1995"
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.