Weather forecast API

From $0.01 per successful call · failed calls are never charged · no account needed · Markdown version: /guides/weather-forecast-api.md

Current weather by city name, or by latitude and longitude, for any place on Earth: temperature in Celsius, conditions (clear, cloudy, rain, snow), precipitation in mm, wind, humidity, cloud cover and air pressure, plus an hourly forecast for up to 48 hours. Data from the Norwegian Meteorological Institute; city names resolve via Wikidata. Use for travel and event planning, logistics, agriculture and any agent that needs the weather.

When an agent wants this

Weather forecast: current weather and 48-hour hourly forecast for any city or coordinates $0.01

Current weather by city name, or by latitude and longitude, for any place on Earth: temperature in Celsius, conditions (clear, cloudy, rain, snow), precipitation in mm, wind, humidity, cloud cover and air pressure, plus an hourly forecast for up to 48 hours. Data from the Norwegian Meteorological Institute; city names resolve via Wikidata. Use for travel and event planning, logistics, agriculture and any agent that needs the weather.

Inputs: city: City or place name, e.g. London or Uppsala (used when lat and lon are not given); lat: Latitude in decimal degrees, -90 to 90 (with lon, instead of city); lon: Longitude in decimal degrees, -180 to 180 (with lat, instead of city); hours: Hours of hourly forecast to return, 1-48 (default 12; 48 covers tomorrow).

Free first (25 successful calls per caller, no key):

curl "https://tools.funwords.eu/weather?city=London&trial=1"

With a card key from /credits, in a header or, when your client can only fetch a URL, in the URL:

curl -H "Authorization: Bearer adt_…" "https://tools.funwords.eu/weather?city=London"
curl "https://tools.funwords.eu/weather?city=London&api_key=adt_…"

Without a key the same URL answers 402 Payment Required with x402 and MPP terms, so a wallet client pays USDC per call and retries. Over MCP (https://tools.funwords.eu/mcp) this tool is weather.

Example result
{
  "latitude": 59.33,
  "longitude": 18.07,
  "elevationM": 23,
  "current": {
    "time": "2026-10-13T09:00:00Z",
    "temperatureC": 7.5,
    "conditions": "cloudy",
    "precipitationMm": 0,
    "windSpeedMs": 1.1,
    "windFromDegrees": 317,
    "humidityPercent": 85.9,
    "cloudCoverPercent": 94.6,
    "pressureHpa": 1024.2
  },
  "forecast": [
    {
      "time": "2026-10-13T10:00:00Z",
      "temperatureC": 8.5,
      "conditions": "partlycloudy_day",
      "precipitationMm": 0,
      "windSpeedMs": 1.2,
      "windFromDegrees": 335,
      "humidityPercent": 83.9,
      "cloudCoverPercent": 73,
      "pressureHpa": 1023.8
    }
  ],
  "forecastUpdatedAt": "2026-10-13T08:30:57Z",
  "source": "MET Norway (api.met.no), licensed CC BY 4.0",
  "checkedAt": "2026-10-13T09:12:00.000Z"
}

Tool page, inputs and limits

Location data, place brief: weather, sunrise and country facts $0.03

One call for a place by name: its coordinates, country, region, population and elevation (Wikidata), the current weather and a short hourly forecast (MET Norway, CC BY 4.0), today's sunrise, sunset and day length, and facts about its country (capital, region, income level, population). Cheaper than the tools bought one by one. Use for travel planning, event and delivery context, or enriching a city name in a record.

Inputs: place (required): Place name, such as Stockholm or Lyon, France.

Free first (25 successful calls per caller, no key):

curl "https://tools.funwords.eu/pack/location-brief?place=Stockholm&trial=1"

With a card key from /credits, in a header or, when your client can only fetch a URL, in the URL:

curl -H "Authorization: Bearer adt_…" "https://tools.funwords.eu/pack/location-brief?place=Stockholm"
curl "https://tools.funwords.eu/pack/location-brief?place=Stockholm&api_key=adt_…"

Without a key the same URL answers 402 Payment Required with x402 and MPP terms, so a wallet client pays USDC per call and retries. Over MCP (https://tools.funwords.eu/mcp) this tool is pack_location_brief.

Example result
{
  "pack": "location-brief",
  "place": {
    "name": "Stockholm",
    "country": "Sweden",
    "lat": 59.3294,
    "lon": 18.0686,
    "population": 984748
  },
  "weather": {
    "temperatureC": 8.1,
    "conditions": "cloudy",
    "windMs": 4.2
  },
  "sun": {
    "sunrise": "05:43",
    "sunset": "15:12",
    "dayLength": "9h 29m"
  },
  "country": {
    "name": "Sweden",
    "capital": "Stockholm",
    "region": "Europe & Central Asia"
  },
  "failed": {}
}

Tool page, inputs and limits

Questions

Where does the forecast come from?

The Norwegian Meteorological Institute (MET Norway); city names resolve via Wikidata.

Can I use coordinates instead of a city?

Yes, pass lat and lon instead of city.

How do I pay?

Each successful call costs the tool's price; failed calls are not charged. The first 25 calls are free. Then pay with card credits from $1 (the key goes in an Authorization header or as api_key= in the URL) or per call in USDC over x402 or MPP. No account is needed.