🌤️ Weather Forecast API avatar

🌤️ Weather Forecast API

Pricing

Pay per event

Go to Apify Store
🌤️ Weather Forecast API

🌤️ Weather Forecast API

Fetch weather forecasts for any location worldwide via free Open-Meteo API. Current conditions, hourly and daily forecasts up to 16 days. No API key, unlimited requests. Great for logistics.

Pricing

Pay per event

Rating

0.0

(0)

Developer

太郎 山田

太郎 山田

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

3 hours ago

Last modified

Share

Fetch weather forecasts for any location worldwide via free Open-Meteo API. Current, hourly, daily forecasts up to 16 days. No API key, unlimited.

Store Quickstart

Start with the Quickstart template (3 cities, daily forecast). For logistics planning, use 7-Day Hourly with hourly detail enabled.

Key Features

  • 🌤️ Any location worldwide — Lat/lng coordinates with optional city name
  • 📅 Up to 16 days forecast — Daily + hourly granularity
  • Open-Meteo free API — No API key, no rate limits, 100% free
  • 📊 Current + hourly + daily — All three timescales in one response
  • 🌡️ Full weather data — Temp, humidity, wind, precipitation, UV, cloud cover
  • 🔑 No API key needed — Truly free commercial weather API

Use Cases

WhoWhy
Logistics companiesRoute planning with weather forecasts
Agricultural techFarm irrigation/harvest scheduling
Event planningOutdoor venue weather risk assessment
Travel servicesDestination weather for trip planners
Energy/utilitiesLoad forecasting from weather patterns

Input

FieldTypeDefaultDescription
locationsobject[](required)List of {lat, lng, name?}
forecastDaysinteger7Forecast horizon (1-16)
hourlybooleanfalseInclude hourly forecast
dailybooleantrueInclude daily forecast

Input Example

{
"locations": [{"lat": 35.6762, "lng": 139.6503, "name": "Tokyo"}],
"forecastDays": 7,
"hourly": false,
"daily": true
}

Output

FieldTypeDescription
locationstringLocation name
latitudenumberLatitude
longitudenumberLongitude
forecastobject[]Daily forecast array
forecast[].datestringISO date
forecast[].tempMinnumberMin temperature (°C)
forecast[].tempMaxnumberMax temperature (°C)
forecast[].precipitationnumberPrecipitation (mm)
forecast[].weatherCodeintegerWMO weather code

Output Example

{
"name": "Tokyo",
"current": {"temperature": 18.5, "weatherCode": 1, "windSpeed": 12},
"daily": [
{"date": "2026-04-05", "tempMax": 22, "tempMin": 14, "precip": 0.2},
{"date": "2026-04-06", "tempMax": 24, "tempMin": 15, "precip": 0.0}
]
}

API Usage

Run this actor programmatically using the Apify API. Replace YOUR_API_TOKEN with your token from Apify Console → Settings → Integrations.

cURL

curl -X POST "https://api.apify.com/v2/acts/taroyamada~weather-forecast-fetcher/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "locations": [{"lat": 35.6762, "lng": 139.6503, "name": "Tokyo"}], "forecastDays": 7, "hourly": false, "daily": true }'

Python

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("taroyamada/weather-forecast-fetcher").call(run_input={
"locations": [{"lat": 35.6762, "lng": 139.6503, "name": "Tokyo"}],
"forecastDays": 7,
"hourly": false,
"daily": true
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

JavaScript / Node.js

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('taroyamada/weather-forecast-fetcher').call({
"locations": [{"lat": 35.6762, "lng": 139.6503, "name": "Tokyo"}],
"forecastDays": 7,
"hourly": false,
"daily": true
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Tips & Limitations

  • Powered by Open-Meteo — completely free, no API key, no rate limits.
  • Set hourly: true for hour-by-hour forecasts (24x more data).
  • Use lat/lng for any location worldwide — no geocoding required.
  • Schedule daily for travel apps, agriculture, or logistics planning.

FAQ

How accurate is Open-Meteo?

Very accurate — uses major global models (ECMWF, ICON, GFS). Comparable to OpenWeatherMap.

Rate limits?

No published limits for non-commercial use. Commercial users should self-limit to ~10,000 calls/day.

Historical data?

This actor focuses on forecasts. For historical weather, use Open-Meteo's archive endpoint separately.

What's weatherCode?

WMO standard weather codes (0=clear, 1-3=cloudy, 51-67=rain, 71-77=snow, etc.).

What's the forecast accuracy?

Open-Meteo uses ECMWF and DWD models. Reliable up to 7 days, useful up to 14.

Can I get historical weather data?

Not in this actor — it focuses on forecasts. Open-Meteo has a separate historical API.

Market Data APIs cluster — explore related Apify tools:

Cost

Pay Per Event:

  • actor-start: $0.01 (flat fee per run)
  • dataset-item: $0.001 per output item

Example: 1,000 items = $0.01 + (1,000 × $0.001) = $1.01

No subscription required — you only pay for what you use.