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 finds the venue, search_facebook_events 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.

FieldTypeRequiredDescription
daysintegernoHow many days, 1 to 14. Default 7.; max 14
placestringone ofA city or town name ("Pune"). Looked up first; wins over the coordinates.
latitudestringone ofLatitude, with longitude, instead of place.
longitudestringone ofLongitude, 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 whenit fails, or the provider answers but there is nothing in it (an empty list, no email, no page): class: "ok_free", ₹0
Timeout30 s, then upstream_timeout (₹0, retryable)
Over MCPrun_tool with tool: "get_weather"
Over RESTPOST https://api.parel.si/v1/run with "tool": "get_weather"
Confirmationnot needed (the estimate is under the ₹200 threshold)

Request

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:

[
  {
    "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

This page as Markdown: /docs/tools/get_weather.md. Something wrong or missing: hello@parel.si.