Tomorrow.io · Schema

TimelinesRequest

Advanced Timelines request body.

WeatherClimateForecastHistorical WeatherAir QualityPollenFireFloodRoutesMap TilesAviationMaritimePublic APIs

Properties

Name Type Description
location object
fields array
units string
timesteps array
startTime string Accepts `now`, relative `nowPlus/MinusXm/h/d`, or ISO 8601.
endTime string
timezone string
dailyStartHour integer
View JSON Schema on GitHub

JSON Schema

timelines-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/tomorrow/refs/heads/main/json-schema/timelines-request-schema.json",
  "title": "TimelinesRequest",
  "description": "Advanced Timelines request body.",
  "type": "object",
  "properties": {
    "location": {
      "oneOf": [
        {
          "type": "string",
          "description": "Pre-defined location ID, place name, or latlong string.",
          "example": "42.3478,-71.0466"
        },
        {
          "type": "object",
          "description": "GeoJSON geometry \u2014 Point, LineString, or Polygon.",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "Point",
                "LineString",
                "Polygon"
              ],
              "example": "Point"
            },
            "coordinates": {
              "type": "array",
              "items": {},
              "example": [
                -71.0466,
                42.3478
              ]
            }
          },
          "required": [
            "type",
            "coordinates"
          ]
        }
      ]
    },
    "fields": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "example": [
        "temperature",
        "humidity",
        "windSpeed"
      ]
    },
    "units": {
      "type": "string",
      "enum": [
        "metric",
        "imperial"
      ],
      "default": "metric"
    },
    "timesteps": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "1m",
          "5m",
          "15m",
          "30m",
          "1h",
          "1d",
          "current"
        ]
      },
      "example": [
        "1h"
      ]
    },
    "startTime": {
      "type": "string",
      "example": "now",
      "description": "Accepts `now`, relative `nowPlus/MinusXm/h/d`, or ISO 8601."
    },
    "endTime": {
      "type": "string",
      "example": "nowPlus6h"
    },
    "timezone": {
      "type": "string",
      "default": "UTC",
      "example": "America/New_York"
    },
    "dailyStartHour": {
      "type": "integer",
      "minimum": 0,
      "maximum": 23,
      "default": 6
    }
  },
  "required": [
    "location",
    "fields"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/timelines-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.