Discover/weatherforecast.com API
live

weatherforecast.com APIweatherforecast.com

Get worldwide 12-day weather forecasts from WeatherForecast.com. Three periods per day with temperature, wind, rain, humidity, and UV index data.

Endpoints
2
Updated
14d ago
Try it
City or country name to search for (e.g. 'London', 'Tokyo', 'Springfield').
api.parse.bot/scraper/e084886e-f8e2-4450-9a25-3440ef2da151/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/e084886e-f8e2-4450-9a25-3440ef2da151/search_location?query=Tokyo' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 2 totalclick to expand

Search for a location by name using the autocomplete service and return its canonical slug and forecast URL. The slug can be passed to get_forecast to retrieve the full weather data.

Input
ParamTypeDescription
queryrequiredstringCity or country name to search for (e.g. 'London', 'Tokyo', 'Springfield').
Response
{
  "type": "object",
  "fields": {
    "url": "string - full URL to the location's forecast page",
    "slug": "string - canonical location slug for use with get_forecast",
    "query": "string - the original search query"
  },
  "sample": {
    "data": {
      "url": "https://www.weather-forecast.com/locations/Tokyo-1/forecasts/latest",
      "slug": "Tokyo-1",
      "query": "Tokyo"
    },
    "status": "success"
  }
}

About the weatherforecast.com API

The WeatherForecast.com API exposes 2 endpoints covering worldwide location search and 12-day weather forecasts, returning up to 36 forecast periods per location. The get_forecast endpoint delivers temperature highs and lows, feels-like temperature, wind speed, rainfall in millimeters, humidity percentage, UV index, and freeze level data across three daily periods (AM, PM, Night). Location slugs are resolved via the search_location endpoint before fetching forecast data.

Endpoints

The API consists of two endpoints. search_location accepts a query string (city or country name) and returns a canonical slug, the original query, and a full forecast page url. This slug is the required input to get_forecast — slugs follow patterns like London, Tokyo-1, or New-York-1 and are not always predictable from the city name alone, so resolving them through search_location first is the correct workflow.

Forecast Data Shape

get_forecast accepts a slug and returns a details object containing the location's text description, elevation, population, and coordinates. The forecasts array contains one object per forecast period, each tagged with day, time (AM / PM / Night), and a summary label. Numerical fields per period include temp_high, temp_low, feels_like, wind, rain_mm, humidity_pct, uv_index, and freeze level data. The forecast covers 12 days, yielding up to 36 period objects per response.

Coverage and Freshness

Forecasts are worldwide in scope. The details object supplements weather data with geographic context — elevation and population figures are included alongside latitude/longitude coordinates, which makes the response useful for applications that need to cross-reference location metadata alongside forecast conditions. The forecast_url field in the response points back to the source page for the queried location.

Common use cases
  • Travel itinerary tools that surface rain probability and UV index for trip dates using get_forecast
  • Agricultural planning dashboards that monitor rain_mm and humidity_pct over a 12-day window
  • Outdoor event scheduling systems that check AM/PM/Night temperature and wind forecasts for a venue location
  • Elevation-aware hiking or mountaineering apps that use the freeze level and elevation fields from details
  • Research pipelines that batch search_location queries to resolve canonical slugs for a list of cities before pulling forecast data
  • UV exposure monitoring tools for health or dermatology applications using the uv_index field
  • Logistics or shipping dashboards that surface feels-like temperature and wind data for driver or route planning
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does WeatherForecast.com have an official developer API?+
WeatherForecast.com does not publish an official developer API or documented data access program for third-party developers.
What does the `search_location` endpoint return, and why is it needed before calling `get_forecast`?+
search_location returns a slug, the original query, and a forecast page url for the matched location. The slug is the required input to get_forecast, and slugs are not always a simple city name — Tokyo resolves to Tokyo-1 and New York to New-York-1, for example — so using search_location first is the reliable way to obtain a valid slug before fetching forecast data.
Are hourly forecasts available, or only the three daily periods?+
The API currently returns three periods per day — AM, PM, and Night — for a 12-day window, totaling up to 36 forecast periods per response. Hourly resolution is not covered. You can fork this API on Parse and revise it to add an hourly-resolution endpoint if your use case requires finer time granularity.
Does `get_forecast` include historical weather data?+
The API covers forward-looking forecasts only — the 12-day window starting from the current date. Historical weather records are not returned by either endpoint. You can fork this API on Parse and revise it to add a historical data endpoint if past conditions are needed.
What geographic metadata does the API include alongside forecast data?+
The details object in the get_forecast response includes the location's elevation, population, coordinates (latitude/longitude), and a text description. These fields are returned alongside the forecast array, so you can use elevation or coordinates for downstream calculations without a separate geocoding call.
Page content last updated . Spec covers 2 endpoints from weatherforecast.com.
Related APIs in WeatherSee all →
sentinel-hub.com API
Access satellite imagery from around the world and retrieve spectral band data, timestamps, and geographic coverage information to analyze Earth observation data. Process and generate statistics from satellite images for your specific areas of interest using powerful image processing tools.
openweathermap.org API
Search for cities and retrieve live weather conditions and forecasts (current, minutely precipitation, hourly and daily) by coordinates or by city name.
api.nasa.gov API
Access NASA's suite of open data APIs — including the Astronomy Picture of the Day, Near Earth Object tracking, DONKI space weather events, EPIC Earth imagery, Mars weather, the NASA Image and Video Library, the Exoplanet Archive, and EONET natural events.
weatherspark.com API
Get historical weather data, current METAR reports, and monthly climate summaries for any location by searching WeatherSpark's comprehensive weather database. Access detailed weather insights including temperature trends, precipitation patterns, and atmospheric conditions to power weather-dependent applications and analysis.
breckenridge.com API
Check real-time snow conditions, weather forecasts, lift operations, and trail status at Breckenridge Ski Resort to plan your day on the mountain. View live mountain cameras and get up-to-the-minute updates on slopes, lifts, and weather before you head out.
surfline.com API
Check real-time surf conditions, forecasts for waves and wind, tide predictions, and live camera feeds from thousands of surf spots around the world. Browse spots by geographic region and access detailed weather data to plan your perfect surfing session.
ingres.iith.ac.in API
Access groundwater resource estimation data across India at multiple geographic levels—from national summaries down to block-level details—and search specific locations to track groundwater availability and assessment trends. View historical assessment years and generate reports to analyze groundwater resources by state, district, or region.
zoom.earth API
Search Zoom Earth for places and get live environmental data including weather forecasts by coordinates, satellite imagery timestamps, active tropical storm tracks, active fires, and current platform status.