---
title: "Weather catalog"
method: GET
path: "/weather/latest.json"
tags: ["Weather"]
---

# Weather catalog

`GET /weather/latest.json`

## Request

- Base URL: `https://api.maptiler.com`
- URL: `https://api.maptiler.com/weather/latest.json`
- Auth: API key in query parameter `key`
- TypeScript: <https://skmtc.dev/maptiler/apis/maptiler-api-reference/docs/weather/latest.json/get.ts> (a function with typed inputs; its response is checked against the schema)

List current weather-related variables, their metadata and individual keyframes

## Response `200`

Catalog of the available weather variables.

- WeatherCatalogResult
  - `variables` object[]: List of all the available weather variables
    - `spatial_ref_sys` object: Projection
      - `auth_name` string, required: Name of the defining authority
      - `auth_srid` string, required: ID given by the defining authority
      - `wkt` string: Well known text of the definition
    - `bounds` number[], required: Bounds of the area represented by the tileset. Coordinates are in the given projection.
    - `tile_format` string: Format of individual tiles
    - `tile_matrix_set` object, required
      - `bounds` number[]
      - `items` object[]
        - `zoom_level` integer
        - `matrix_width` integer
        - `matrix_height` integer
        - `tile_width` integer
        - `tile_height` integer
        - `pixel_x_size` number
        - `pixel_y_size` number
    - `metadata` object
      - `weather_variable` object
        - `name` string: Human-friendly name of the variable
        - `description` string: Human-friendly description of the variable
        - `attribution` string
        - `variable_id` string: unique ID of the forecast for grouping
        - `decoding` object
          - `channels` 'r' | 'g' | 'b' | 'rg' | 'rb' | 'gb' | 'rgb': Channel to decode the info from
          - `min` number: Min boundary of the data for decoding
          - `max` number: Max boundary of the data for decoding
        - `unit` string: Human-friendly unit of the values
        - `release_timestamp` string: Date of release for the whole batch, ISO timestamp
        - `timestamp` string: ISO timestamp of the forecast frame – the moment in time it depicts
    - `keyframes` object[], required: List of the available keyframes for this variable
      - `id` string: UUID of the tileset
      - `timestamp` string: ISO timestamp of the tileset

## Other responses

- `403`: Key is missing, invalid or restricted

---

[API](https://skmtc.dev/maptiler/apis/maptiler-api-reference.md) - [All operations](https://skmtc.dev/maptiler/apis/maptiler-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/maptiler/apis/maptiler-api-reference/revisions/68ce3046fc1a?raw)
