# Tomorrow.io

> Look up weather from Tomorrow.io: conditions right now, a day-by-day forecast with sunrise and sunset, and an hour-by-hour forecast up to 120 hours out. Connects with a free API key.

App · Weather & Space · 3 actions. Web page: https://docs.lodol.com/docs/integrations/tomorrow-io

## Actions

### Get daily forecast

Get the day-by-day forecast for a location, with highs and lows, rain and snow totals, wind, UV, and sunrise and sunset times. Tomorrow.io serves 5 days on the free plan and more on paid ones.

**Inputs**

- Location (`location`, text, required): Where to look up. Accepts 'latitude,longitude' ('42.3478,-71.0466'), a city name ('new york'), a US zip code with country ('10001 US'), or a UK postcode ('SW1').
- Units (`units`, text): Unit system for the figures. Metric gives Celsius, m/s, and millimetres; imperial gives Fahrenheit, mph, and inches. Defaults to Tomorrow.io's own default, which is metric. One of: `metric` (Metric (°C, m/s, mm)), `imperial` (Imperial (°F, mph, in)).

**Outputs**

- `count` (number): Number of days returned.
- `days` (list): One entry per forecast day, earliest first.
- `location` (object)

**Example output**

```json
{
  "count": 1,
  "days": [
    {
      "cloud_cover_avg": 63,
      "date": "2026-01-28T11:00:00Z",
      "dew_point_avg": 0.4,
      "humidity_avg": 71,
      "moon_phase": 3,
      "precipitation_probability_avg": 35,
      "pressure_surface_level_avg": 1010.2,
      "rain_accumulation_sum": 2.4,
      "snow_accumulation_sum": 0.0,
      "sunrise_time": "2026-01-28T11:58:00Z",
      "sunset_time": "2026-01-28T21:47:00Z",
      "temperature_apparent_avg": 2.4,
      "temperature_apparent_max": 7.0,
      "temperature_apparent_min": -1.8,
      "temperature_avg": 5.2,
      "temperature_max": 9.1,
      "temperature_min": 1.3,
      "uv_health_concern_max": 0,
      "uv_index_max": 2,
      "visibility_avg": 14.8,
      "weather_code": 4200,
      "weather_code_text": "Light Rain",
      "wind_direction_avg": 231.5,
      "wind_gust_max": 14.2,
      "wind_speed_avg": 5.1,
      "wind_speed_max": 9.8
    }
  ],
  "location": {
    "lat": 42.3478,
    "lon": -71.0466,
    "name": "Boston, Suffolk County, Massachusetts, United States",
    "type": "administrative"
  }
}
```

### Get hourly forecast

Get the hour-by-hour forecast for a location, with the same readings as the realtime action for each upcoming hour.

**Inputs**

- Location (`location`, text, required): Where to look up. Accepts 'latitude,longitude' ('42.3478,-71.0466'), a city name ('new york'), a US zip code with country ('10001 US'), or a UK postcode ('SW1').
- Hours (`hours`, number): How many hours to return, 1 to 120, starting from the current hour. Defaults to 24.
- Units (`units`, text): Unit system for the figures. Metric gives Celsius, m/s, and millimetres; imperial gives Fahrenheit, mph, and inches. Defaults to Tomorrow.io's own default, which is metric. One of: `metric` (Metric (°C, m/s, mm)), `imperial` (Imperial (°F, mph, in)).

**Outputs**

- `count` (number): Number of hourly entries returned.
- `hours` (list): One entry per hour, earliest first.
- `location` (object)

**Example output**

```json
{
  "count": 1,
  "hours": [
    {
      "cloud_base": 1.2,
      "cloud_ceiling": 2.4,
      "cloud_cover": 42,
      "dew_point": 1.2,
      "freezing_rain_intensity": 0.0,
      "humidity": 68,
      "precipitation_probability": 5,
      "pressure_surface_level": 1011.4,
      "rain_intensity": 0.0,
      "sleet_intensity": 0.0,
      "snow_intensity": 0.0,
      "temperature": 6.5,
      "temperature_apparent": 3.1,
      "time": "2026-01-28T15:00:00Z",
      "uv_health_concern": 0,
      "uv_index": 1,
      "visibility": 16.0,
      "weather_code": 1101,
      "weather_code_text": "Partly Cloudy",
      "wind_direction": 248.1,
      "wind_gust": 8.2,
      "wind_speed": 4.6
    }
  ],
  "location": {
    "lat": 42.3478,
    "lon": -71.0466,
    "name": "Boston, Suffolk County, Massachusetts, United States",
    "type": "administrative"
  }
}
```

### Get realtime weather

Get the conditions at a location right now: temperature, what it feels like, wind, humidity, cloud cover, visibility, precipitation intensity, and UV.

**Inputs**

- Location (`location`, text, required): Where to look up. Accepts 'latitude,longitude' ('42.3478,-71.0466'), a city name ('new york'), a US zip code with country ('10001 US'), or a UK postcode ('SW1').
- Units (`units`, text): Unit system for the figures. Metric gives Celsius, m/s, and millimetres; imperial gives Fahrenheit, mph, and inches. Defaults to Tomorrow.io's own default, which is metric. One of: `metric` (Metric (°C, m/s, mm)), `imperial` (Imperial (°F, mph, in)).

**Outputs**

- `location` (object)
- `observed_at` (text): When the reading applies to, ISO 8601 UTC.
- `weather` (object)

**Example output**

```json
{
  "location": {
    "lat": 42.3478,
    "lon": -71.0466,
    "name": "Boston, Suffolk County, Massachusetts, United States",
    "type": "administrative"
  },
  "observed_at": "2026-01-28T14:30:00Z",
  "weather": {
    "cloud_base": 1.2,
    "cloud_ceiling": 2.4,
    "cloud_cover": 42,
    "dew_point": 1.2,
    "freezing_rain_intensity": 0.0,
    "humidity": 68,
    "precipitation_probability": 5,
    "pressure_surface_level": 1011.4,
    "rain_intensity": 0.0,
    "sleet_intensity": 0.0,
    "snow_intensity": 0.0,
    "temperature": 6.5,
    "temperature_apparent": 3.1,
    "uv_health_concern": 0,
    "uv_index": 1,
    "visibility": 16.0,
    "weather_code": 1101,
    "weather_code_text": "Partly Cloudy",
    "wind_direction": 248.1,
    "wind_gust": 8.2,
    "wind_speed": 4.6
  }
}
```
