Discover/WeatherForecast API
live

WeatherForecast APIweatherforecast.com

Access 12-day weather forecasts from weatherforecast.com via 2 endpoints. Get temperature, wind, rain, humidity, and UV index for any location worldwide.

Endpoint health
verified 4h ago
get_forecast
search_location
1/2 passing latest checkself-healing
Endpoints
2
Updated
26d ago

What is the WeatherForecast API?

The WeatherForecast.com API provides 12-day weather forecasts for locations worldwide through 2 endpoints: search_location to resolve a city or country name to a canonical slug, and get_forecast to retrieve structured forecast data covering up to 36 periods per location (3 per day: AM, PM, Night). Each period includes temperature, wind, rain, humidity, UV index, and feels-like values.

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.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/e084886e-f8e2-4450-9a25-3440ef2da151/search_location?query=London' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace weatherforecast-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

from parse_apis.global_weather_forecast_api import WeatherForecast, Location, Forecast, ForecastPeriod

client = WeatherForecast()

# Search for a location
location = client.locations.search(query="Tokyo")
print(location.slug, location.url)

# Get the forecast for that location
forecast = location.forecast()
print(forecast.location, forecast.forecast_url)
print(forecast.details.elevation, forecast.details.coordinates)

# Iterate over forecast periods
for period in forecast.forecasts:
    print(period.day, period.time, period.summary, period.temp_high, period.rain_mm)
All endpoints · 2 totalmissing one? ·

Search for a location by name using the autocomplete service and return its canonical slug and forecast URL. The slug identifies the location for get_forecast. Returns the first matching result from the autocomplete index; partial names and common city names resolve to the most prominent match.

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/London/forecasts/latest",
      "slug": "London",
      "query": "London"
    },
    "status": "success"
  }
}

About the WeatherForecast API

Endpoints

The API exposes two endpoints. search_location accepts a query string — a city name, country, or partial name — and returns the canonical slug and forecast url for the best-matching location. This slug is the required input for get_forecast. Slugs follow patterns like London, Tokyo-1, or New-York-1, reflecting the site's internal location index.

Forecast Data

get_forecast accepts a slug and returns a forecasts array covering 12 days at 3 time periods per day (AM, PM, Night). Each period object carries day, time, summary, temp_high, temp_low, feels_like, wind, rain_mm, humidity_pct, and uv_index. The response also includes a details object with text, elevation, population, and coordinates for the location, plus a location string and a forecast_url.

Coverage and Freshness

The data covers locations globally. Resolution depends on how well the source index matches the supplied query — common city names typically resolve immediately, while ambiguous names (e.g., "Springfield") return the most prominent match. The search_location endpoint processes partial names, so you can supply incomplete strings and still get a usable slug.

Data Shape Notes

Temperature values are provided per period as both temp_high and temp_low, alongside feels_like. Wind is a single field per period; the API does not split wind speed and direction into separate fields in the current response shape. The freeze_level field is included in the forecast period objects where applicable.

Reliability & maintenanceVerified

The WeatherForecast API is a managed, monitored endpoint for weatherforecast.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when weatherforecast.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official weatherforecast.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
4h ago
Latest check
1/2 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Display a 12-day trip forecast broken into AM/PM/Night periods for a travel itinerary app
  • Monitor daily UV index and humidity across multiple cities for health or agriculture dashboards
  • Collect rain_mm forecasts for outdoor event scheduling or logistics planning
  • Batch-resolve city slugs via search_location and store forecast data for offline analysis
  • Track feels_like temperatures alongside wind data to calculate apparent weather conditions
  • Generate location-specific weather summaries using the details object's elevation and coordinates
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 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 public developer API or developer documentation for third-party access.
What does get_forecast actually return for each forecast period?+
Each period in the forecasts array includes: day label, time slot (AM/PM/Night), a text summary, temp_high, temp_low, feels_like, wind, rain_mm, humidity_pct, uv_index, and freeze_level where available. The response also carries location metadata such as elevation, population, and coordinates in the details object.
Does search_location return multiple candidate locations for an ambiguous query?+
No — it returns the single best-matching result from the autocomplete index. If you search 'Springfield', you get one slug, not a ranked list of all Springfields. You can fork this API on Parse and revise the search_location endpoint to return multiple candidates if your use case requires disambiguation.
Are hourly forecasts available, or only AM/PM/Night periods?+
The current API provides three periods per day (AM, PM, Night) for a 12-day window — hourly breakdown is not included. You can fork this API on Parse and revise it to add an hourly endpoint if finer time resolution is needed.
Does the forecast data include historical weather or only future days?+
get_forecast returns forward-looking forecast data only, covering up to 12 days from the current date. Historical weather records are not part of the current API. You can fork this API on Parse and revise it to target a historical data source if past conditions are required.
Page content last updated . Spec covers 2 endpoints from weatherforecast.com.
Related APIs in WeatherSee all →
weatherunderground.com API
Get real-time weather data and 10-day forecasts for any location, with access to current conditions like temperature, humidity, and wind speed. Search for locations and receive detailed weather narratives to plan your day or week ahead.
wetter.com API
Retrieve structured weather forecasts from wetter.com, including daily high and low temperatures in Celsius across a 16-day outlook. Supports location-based lookups for cities and regions.
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.
meteo.pl API
Get detailed weather forecasts with temperature, pressure, wind, precipitation, and cloud data for any location using multiple weather models (UM, GFS) from Poland's Institute of Meteorology and Water Management. Search locations and access available forecasts to plan ahead with comprehensive meteorological information.
wunderground.com API
Access real-time weather conditions, multi-day forecasts, and detailed historical weather data from thousands of personal and airport weather stations worldwide. Search and retrieve current observations, hourly history, and monthly records to power your weather applications and analysis.
bom.gov.au API
Get accurate weather forecasts for Australian cities with temperature, precipitation, UV index, and conditions from the Bureau of Meteorology. Search for any location and retrieve multi-day forecasts to plan your activities with confidence.
accuweather.com API
Get real-time weather conditions, multi-day forecasts, and health alerts for any location worldwide. Search cities and access detailed data including allergen information and air quality to plan your activities with confidence.
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.