# API Weather Forecast annunci per Roma

**Use case:** 

Un esempio pronto all'uso che estrae annunci da Weather Forecast per Roma e restituisce campi normalizzati per ogni riga.

## Input

```json
{
  "location": "Roma",
  "days": 7,
  "start_date": "",
  "end_date": ""
}
```

## Output

```json
{
  "date": {
    "label": "Date",
    "format": "string"
  },
  "weather": {
    "label": "Weather",
    "format": "string"
  },
  "temperature_max": {
    "label": "Temperature Max",
    "format": "number"
  },
  "temperature_min": {
    "label": "Temperature Min",
    "format": "number"
  },
  "temperature_mean": {
    "label": "Temperature Mean",
    "format": "number"
  },
  "apparent_temperature_max": {
    "label": "Feels Like Max",
    "format": "number"
  },
  "apparent_temperature_min": {
    "label": "Feels Like Min",
    "format": "number"
  },
  "wind_speed_max": {
    "label": "Wind Speed Max",
    "format": "number"
  },
  "wind_gusts_max": {
    "label": "Wind Gusts Max",
    "format": "number"
  },
  "wind_direction_dominant": {
    "label": "Wind Direction",
    "format": "number"
  },
  "wind_direction_label": {
    "label": "Wind Direction Label",
    "format": "string"
  },
  "precipitation_sum": {
    "label": "Precipitation Sum",
    "format": "number"
  },
  "precipitation_probability_max": {
    "label": "Precipitation Probability",
    "format": "number"
  },
  "rain_sum": {
    "label": "Rain Sum",
    "format": "number"
  },
  "snowfall_sum": {
    "label": "Snowfall Sum",
    "format": "number"
  },
  "precipitation_hours": {
    "label": "Precipitation Hours",
    "format": "number"
  },
  "uv_index_max": {
    "label": "UV Index Max",
    "format": "number"
  },
  "sunrise": {
    "label": "Sunrise",
    "format": "string"
  },
  "sunset": {
    "label": "Sunset",
    "format": "string"
  },
  "daylight_hours": {
    "label": "Daylight Hours",
    "format": "number"
  },
  "sunshine_hours": {
    "label": "Sunshine Hours",
    "format": "number"
  },
  "location": {
    "label": "Location",
    "format": "string"
  },
  "country": {
    "label": "Country",
    "format": "string"
  },
  "region": {
    "label": "Region",
    "format": "string"
  },
  "city": {
    "label": "City",
    "format": "string"
  },
  "latitude": {
    "label": "Latitude",
    "format": "number"
  },
  "longitude": {
    "label": "Longitude",
    "format": "number"
  },
  "timezone": {
    "label": "Timezone",
    "format": "string"
  },
  "mode": {
    "label": "Mode",
    "format": "string"
  },
  "start_date": {
    "label": "Start Date",
    "format": "string"
  },
  "end_date": {
    "label": "End Date",
    "format": "string"
  },
  "temperature_unit": {
    "label": "Temperature Unit",
    "format": "string"
  },
  "wind_speed_unit": {
    "label": "Wind Speed Unit",
    "format": "string"
  },
  "current_temperature": {
    "label": "Current Temperature",
    "format": "number"
  },
  "current_apparent_temperature": {
    "label": "Feels Like Now",
    "format": "number"
  },
  "current_humidity": {
    "label": "Humidity",
    "format": "number"
  },
  "current_weather": {
    "label": "Current Weather",
    "format": "string"
  },
  "current_cloud_cover": {
    "label": "Current Cloud Cover",
    "format": "number"
  },
  "current_pressure": {
    "label": "Current Pressure",
    "format": "number"
  },
  "current_visibility_km": {
    "label": "Current Visibility (km)",
    "format": "number"
  },
  "current_uv_index": {
    "label": "Current UV Index",
    "format": "number"
  },
  "current_wind_speed": {
    "label": "Current Wind Speed",
    "format": "number"
  },
  "current_wind_direction": {
    "label": "Current Wind Direction",
    "format": "number"
  },
  "current_wind_direction_label": {
    "label": "Current Wind Direction Label",
    "format": "string"
  },
  "current_wind_gusts": {
    "label": "Current Wind Gusts",
    "format": "number"
  },
  "current_is_day": {
    "label": "Is Day",
    "format": "boolean"
  },
  "current_precipitation": {
    "label": "Current Precipitation",
    "format": "number"
  },
  "air_quality_note": {
    "label": "Air Quality Note",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "hourly_forecast": {
    "label": "Hourly Forecast",
    "format": "array"
  },
  "air_quality_current": {
    "label": "Current Air Quality",
    "format": "object"
  },
  "air_quality_hourly": {
    "label": "Hourly Air Quality",
    "format": "array"
  },
  "processor": {
    "label": "Processor",
    "format": "string"
  },
  "processed_at": {
    "label": "Processed At",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Weather Forecast API](https://apify.com/agentx/weather-forecast-api.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/agentx/weather-forecast-api.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/agentx/weather-forecast-api.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
