Weather forecast by city: current weather and hourly forecast for any city or coordinates
No account. Pay by card from $1 and your key appears right after payment. Get a key by card
Weather forecast by city name or coordinates: current temperature, conditions, precipitation, wind, humidity, cloud cover and pressure, plus an hourly forecast up to 48 hours ahead, for any city on Earth (MET Norway data). Give a city such as London or Tokyo, or lat and lon. Use when an agent needs today's weather or tomorrow's forecast for travel, events, logistics or a daily brief.
Inputs
| Name | Type | Description |
|---|---|---|
city | string | City or place name, e.g. London or Tokyo (used when lat and lon are not given; with no place at all the answer is for London) |
lat | number | Latitude in decimal degrees, -90 to 90 (with lon, instead of city) |
lon | number | Longitude in decimal degrees, -180 to 180 (with lat, instead of city) |
hours | integer | Hours of hourly forecast to return, 1-48 (default 12; 48 covers tomorrow) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://www.glyphtools.com/weather/forecast?city=London"
Node.js
const r = await fetch("https://www.glyphtools.com/weather/forecast?city=London", {
headers: { Authorization: "Bearer adt_…" },
});
const data = await r.json(); // 402 until the key is in the header
Python
import requests
r = requests.get("https://www.glyphtools.com/weather/forecast?city=London", headers={"Authorization": "Bearer adt_…"}, timeout=60)
data = r.json()
Or one of your 3 free calls, no key — the same request with &trial=1 on the end:
curl "https://www.glyphtools.com/weather/forecast?city=London&trial=1"
The same tool answers at https://api.glyphcall.com/weather/forecast: one key, the same price and the same payment terms on both hosts.
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Live result
The real answer to the request above, read 2026-12-05 03:30 UTC and refreshed every 15 minutes.
{
"place": "London",
"latitude": 51.5074,
"longitude": -0.1278,
"elevationM": 8,
"current": {
"time": "2026-12-05T03:00:00Z",
"temperatureC": 9.1,
"conditions": "cloudy",
"precipitationMm": 0,
"windSpeedMs": 2.2,
"windFromDegrees": 116.4,
"humidityPercent": 97.2,
"cloudCoverPercent": 100,
"pressureHpa": 1035.1
},
"forecast": [
{
"time": "2026-12-05T04:00:00Z",
"temperatureC": 9,
"conditions": "cloudy",
"precipitationMm": 0,
"windSpeedMs": 2,
"windFromDegrees": 113.6,
"humidityPercent": 96.7,
"cloudCoverPercent": 100,
"pressureHpa": 1034.7
},
{
"time": "2026-12-05T05:00:00Z",
"temperatureC": 8.8,
"conditions": "cloudy",
"precipitationMm": 0,
"windSpeedMs": 2,
"windFromDegrees": 110.1,
"humidityPercent": 97,
"cloudCoverPercent": 100,
"pressureHpa": 1034.5
},
{
"time": "2026-12-05T06:00:00Z",
"temperatureC": 8.7,
"conditions": "cloudy",
"precipitationMm": 0,
"windSpeedMs": 2,
"windFromDegrees": 111.9,
"humidityPercent": 96.3,
"cloudCoverPercent": 100,
"pressureHpa": 1034.7
},
{
"time": "2026-12-05T07:00:00Z",
"temperatureC": 8.6,
"conditions": "cloudy",
"precipitationMm": 0,
"windSpeedMs": 2.4,
"windFromDegrees": 114.3,
"humidityPercent": 96.1,
"cloudCoverPercent": 100,
"pressureHpa": 1035
},
{
"time": "2026-12-05T08:00:00Z",
"temperatureC": 8.4,
"conditions": "cloudy",
"precipitationMm": 0,
"windSpeedMs": 2,
"windFromDegrees": 119.5,
"humidityPercent": 95.7,
"cloudCoverPercent": 100,
"pressureHpa": 1035.5
},
{
"time": "2026-12-05T09:00:00Z",
"temperatureC": 8.6,
"conditions": "cloudy",
"precipitationMm": 0,
"windSpeedMs": 1.8,
"windFromDegrees": 123.5,
"humidityPercent": 94.3,
"cloudCoverPercent": 100,
"pressureHpa": 1035.9
},
{
"time": "2026-12-05T10:00:00Z",
"temperatureC": 8.8,
"conditions": "cloudy",
"precipitationMm": 0,
"windSpeedMs": 2.2,
"windFromDegrees": 134.3,
"humidityPercent": 91.7,
"cloudCoverPercent": 100,
"pressureHpa": 1035.9
},
{
"time": "2026-12-05T11:00:00Z",
"temperatureC": 9.2,
"conditions": "cloudy",
"precipitationMm": 0,
"windSpeedMs": 1.6,
"windFromDegrees": 170.6,
"humidityPercent": 88.8,
"cloudCoverPercent": 100,
"pressureHpa": 1036.1
},
{
"time": "2026-12-05T12:00:00Z",
"temperatureC": 9.2,
"conditions": "cloudy",
"precipitationMm": 0,
"windSpeedMs": 1.3,
"windFromDegrees": 170.4,
"humidityPercent": 88,
"cloudCoverPercent": 100,
"pressureHpa": 1035.7
},
{
"time": "2026-12-05T13:00:00Z",
"temperatureC": 9.3,
"conditions": "cloudy",
"precipitationMm": 0,
"windSpeedMs": 1,
"windFromDegrees": 161.2,
"humidityPercent": 87.4,
"cloudCoverPercent": 100,
"pressureHpa": 1035.7
},
{
"time": "2026-12-05T14:00:00Z",
"temperatureC": 9.3,
"conditions": "cloudy",
"precipitationMm": 0,
"windSpeedMs": 1.2,
"windFromDegrees": 136.5,
"humidityPercent": 86.7,
"cloudCoverPercent": 100,
"pressureHpa": 1035.5
},
{
"time": "2026-12-05T15:00:00Z",
"temperatureC": 9.2,
"conditions": "cloudy",
"precipitationMm": 0,
"windSpeedMs": 0.5,
"windFromDegrees": 127.8,
"humidityPercent": 86.2,
"cloudCoverPercent": 100,
"pressureHpa": 1035.9
}
],
"forecastUpdatedAt": "2026-12-05T01:17:19Z",
"source": "MET Norway (api.met.no), licensed CC BY 4.0",
"checkedAt": "2026-12-05T03:30:29.098Z"
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is weather_forecast, and the first 10 successful calls are free:
https://www.glyphtools.com/mcp