> Parel documentation. Index of every page: https://parel.si/docs/llms.txt. This page in HTML: https://parel.si/docs/tools/get_weather

# get_weather

> The daily forecast for a place, up to fourteen days: conditions, highs and lows, rain, wind, sunrise and sunset. ₹0.12 per call; a result that finds nothing is ₹0.

## What it does

A day-by-day forecast for a place or a pair of coordinates: data with one row per day carrying the date, the weather in words, maximum and minimum temperature in °C, precipitation in mm and the highest chance of rain, the strongest wind in km/h, and sunrise and sunset in local time, up to fourteen days.

Use it to plan a launch, an outdoor event or a delivery window, or to give an agent the weather in a chat; [`get_place`](https://parel.si/docs/tools/get_place.md) finds the venue, [`search_facebook_events`](https://parel.si/docs/tools/search_facebook_events.md) what is on. Flat price per call; an unknown place is free. One to three seconds.

India: any Indian town; the place name is looked up first, so spell it as a map would.

## Inputs

Generated from the contract captured from staging on 2026-11-05.

| Field | Type | Required | Description |
|---|---|---|---|
| `days` | integer | no | How many days, 1 to 14. Default 7.; max 14 |
| `place` | string | one of | A city or town name ("Pune"). Looked up first; wins over the coordinates. |
| `latitude` | string | one of | Latitude, with longitude, instead of place. |
| `longitude` | string | one of | Longitude, with latitude. |

One of these sets must be complete (anything else is `invalid_input`, ₹0): `place`; `latitude` + `longitude`.

## What drives the cost

Flat per call whatever the number of days; an unknown place is free. A result that finds nothing is `class: "ok_free"`, ₹0. The timeout is 30 seconds.

## Price today

| | |
|---|---|
| Price today | **₹0.12** per call (`cost_paise: 12`) at ₹93.93 per US dollar on 17 November 2026 |
| Hold before the call | ₹0.38 (`hold_paise: 38`); when the call settles the real price is charged and the unused part is released |
| ₹0 when | it fails, or the provider answers but there is nothing in it (an empty list, no email, no page): `class: "ok_free"`, ₹0 |
| Timeout | 30 s, then `upstream_timeout` (₹0, retryable) |
| Over MCP | `run_tool` with `tool: "get_weather"` |
| Over REST | `POST https://api.parel.si/v1/run` with `"tool": "get_weather"` |
| Confirmation | not needed (the estimate is under the ₹200 threshold) |

## Request

```bash
curl https://api.parel.si/v1/run \
  -H "Authorization: Bearer $PAREL_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tool":"get_weather","input":{"days":7,"place":"Pune"}}'
```

## What comes back

`data`, as the live check of 2026-11-05 recorded it, trimmed:

```json
[
  {
    "code": 3,
    "date": "2026-11-05",
    "place": "Pune, India",
    "precipitation_chance": 2,
    "precipitation_mm": 0,
    "sunrise": "2026-11-05T06:35",
    "sunset": "2026-11-05T18:00",
    "temp_max": 31.2,
    "temp_min": 21.3,
    "timezone": "Asia/Kolkata",
    "weather": "overcast",
    "wind_max": 13
  },
  {
    "code": 1,
    "date": "2026-11-06",
    "place": "Pune, India",
    "precipitation_chance": 0,
    "precipitation_mm": 0,
    "sunrise": "2026-11-06T06:36",
    "sunset": "2026-11-06T17:59",
    "temp_max": 31.3,
    "temp_min": 20.5,
    "timezone": "Asia/Kolkata",
    "weather": "mainly clear",
    "wind_max": 11.7
  },
  {
    "code": 0,
    "date": "2026-11-07",
    "place": "Pune, India",
    "precipitation_chance": 0,
    "precipitation_mm": 0,
    "sunrise": "2026-11-07T06:36",
    "sunset": "2026-11-07T17:59",
    "temp_max": 31.6,
    "temp_min": 20.4,
    "timezone": "Asia/Kolkata",
    "weather": "clear",
    "wind_max": 13.5
  }
]
```

## Notes

- Flat per call whatever the number of days; an unknown place is free.
- place wins when coordinates are also given.
- Temperatures in °C, wind in km/h, rain in mm.

## Siblings

- [`get_place`](https://parel.si/docs/tools/get_place.md)
- [`search_facebook_events`](https://parel.si/docs/tools/search_facebook_events.md)
