---
updatedAt: 2026-02-09T22:21:24.000Z
agentTools:
  projectIndex: https://docs.tomorrow.io/llms.txt
---

# Aggregative Weather Maps

The Aggregative Tiles API lets you request a single tile that aggregates a field across a time range using one of four operations: min, max, sum, or avg.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "tomorrowio-api",
    "version": "4.0.1"
  },
  "servers": [
    {
      "url": "https://api.tomorrow.io/v4"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "query",
        "name": "apikey"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/map/aggregate/tile/{aggregationType}/{timeFrom}/{timeTo}/{zoom}/{x}/{y}/{field}.{format}": {
      "get": {
        "summary": "Copy of Weather Maps",
        "description": "",
        "operationId": "get-map-tile-1",
        "parameters": [
          {
            "name": "zoom",
            "in": "path",
            "description": "The zoom level for the map, 1-12",
            "schema": {
              "type": "string",
              "default": "5"
            },
            "required": true
          },
          {
            "name": "x",
            "in": "path",
            "description": "The “x” coordinate for the map",
            "schema": {
              "type": "string",
              "default": "2"
            },
            "required": true
          },
          {
            "name": "y",
            "in": "path",
            "description": "The “y” coordinate for the map",
            "schema": {
              "type": "string",
              "default": "3"
            },
            "required": true
          },
          {
            "name": "field",
            "in": "path",
            "description": "A field from our [data layers](https://docs.tomorrow.io/reference/data-layers-core)",
            "schema": {
              "type": "string",
              "default": "windSpeed"
            },
            "required": true
          },
          {
            "name": "format",
            "in": "path",
            "description": "Specifies the format of the returned tiles (defaults to .png)",
            "schema": {
              "type": "string",
              "default": "png"
            },
            "required": true
          },
          {
            "name": "gradient",
            "in": "query",
            "description": "Defines custom color gradient for the map. i.e \"1:93e4dd4d, 2:94d6ab4d, 3:9bca864d\". The key represents the position as an integer and the value is the color code in HEX format.",
            "schema": {
              "type": "string"
            },
            "required": false
          },
          {
            "name": "accept-encoding",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "default": "deflate, gzip, br"
            }
          },
          {
            "in": "path",
            "name": "aggregationType",
            "schema": {
              "type": "string",
              "enum": [
                "min",
                "max",
                "sum",
                "avg"
              ],
              "default": "max"
            },
            "required": true,
            "description": ""
          },
          {
            "in": "path",
            "name": "timeFrom",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "Start timestamp in ISO 8601 format."
          },
          {
            "in": "path",
            "name": "timeTo",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "End timestamp in ISO 8601 format."
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "// \tThe map image in requested format"
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```