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://glyphtools.com/weather/forecast?city=London"
Node.js
const r = await fetch("https://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://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://glyphtools.com/weather/forecast?city=London&trial=1"
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-01 05:05 UTC and refreshed every 15 minutes.
{
"place": "London",
"latitude": 51.5074,
"longitude": -0.1278,
"elevationM": 8,
"current": {
"time": "2026-12-01T04:00:00Z",
"temperatureC": 10.4,
"conditions": "lightrain",
"precipitationMm": 0.3,
"windSpeedMs": 7.1,
"windFromDegrees": 197.5,
"humidityPercent": 93.6,
"cloudCoverPercent": 100,
"pressureHpa": 1018.2
},
"forecast": [
{
"time": "2026-12-01T05:00:00Z",
"temperatureC": 10.5,
"conditions": "lightrain",
"precipitationMm": 0.3,
"windSpeedMs": 6.7,
"windFromDegrees": 196.4,
"humidityPercent": 93.3,
"cloudCoverPercent": 100,
"pressureHpa": 1018
},
{
"time": "2026-12-01T06:00:00Z",
"temperatureC": 10.6,
"conditions": "cloudy",
"precipitationMm": 0,
"windSpeedMs": 6.5,
"windFromDegrees": 195.4,
"humidityPercent": 93.4,
"cloudCoverPercent": 100,
"pressureHpa": 1018.1
},
{
"time": "2026-12-01T07:00:00Z",
"temperatureC": 10.6,
"conditions": "cloudy",
"precipitationMm": 0,
"windSpeedMs": 7,
"windFromDegrees": 193.4,
"humidityPercent": 92.4,
"cloudCoverPercent": 100,
"pressureHpa": 1018.1
},
{
"time": "2026-12-01T08:00:00Z",
"temperatureC": 10.7,
"conditions": "lightrain",
"precipitationMm": 0.2,
"windSpeedMs": 6.4,
"windFromDegrees": 192.4,
"humidityPercent": 91.8,
"cloudCoverPercent": 100,
"pressureHpa": 1018.3
},
{
"time": "2026-12-01T09:00:00Z",
"temperatureC": 10.9,
"conditions": "rain",
"precipitationMm": 0.8,
"windSpeedMs": 6.8,
"windFromDegrees": 192.1,
"humidityPercent": 90.7,
"cloudCoverPercent": 100,
"pressureHpa": 1018.3
},
{
"time": "2026-12-01T10:00:00Z",
"temperatureC": 10.9,
"conditions": "rain",
"precipitationMm": 0.7,
"windSpeedMs": 7.1,
"windFromDegrees": 191.3,
"humidityPercent": 92,
"cloudCoverPercent": 100,
"pressureHpa": 1018.2
},
{
"time": "2026-12-01T11:00:00Z",
"temperatureC": 11.1,
"conditions": "lightrain",
"precipitationMm": 0.4,
"windSpeedMs": 6.8,
"windFromDegrees": 191.7,
"humidityPercent": 93.4,
"cloudCoverPercent": 100,
"pressureHpa": 1018
},
{
"time": "2026-12-01T12:00:00Z",
"temperatureC": 11.2,
"conditions": "rain",
"precipitationMm": 0.7,
"windSpeedMs": 6.8,
"windFromDegrees": 194.6,
"humidityPercent": 93.8,
"cloudCoverPercent": 100,
"pressureHpa": 1017.3
},
{
"time": "2026-12-01T13:00:00Z",
"temperatureC": 11.6,
"conditions": "rain",
"precipitationMm": 0.5,
"windSpeedMs": 7.1,
"windFromDegrees": 198.5,
"humidityPercent": 94.3,
"cloudCoverPercent": 100,
"pressureHpa": 1016.9
},
{
"time": "2026-12-01T14:00:00Z",
"temperatureC": 11.8,
"conditions": "rain",
"precipitationMm": 0.7,
"windSpeedMs": 6.9,
"windFromDegrees": 200.4,
"humidityPercent": 94.9,
"cloudCoverPercent": 100,
"pressureHpa": 1016.9
},
{
"time": "2026-12-01T15:00:00Z",
"temperatureC": 12.2,
"conditions": "lightrain",
"precipitationMm": 0.4,
"windSpeedMs": 6.4,
"windFromDegrees": 203.5,
"humidityPercent": 95.7,
"cloudCoverPercent": 100,
"pressureHpa": 1017.1
},
{
"time": "2026-12-01T16:00:00Z",
"temperatureC": 12.6,
"conditions": "lightrain",
"precipitationMm": 0.3,
"windSpeedMs": 6.4,
"windFromDegrees": 205.8,
"humidityPercent": 95.4,
"cloudCoverPercent": 100,
"pressureHpa": 1017.1
}
],
"forecastUpdatedAt": "2026-12-01T01:18:21Z",
"source": "MET Norway (api.met.no), licensed CC BY 4.0",
"checkedAt": "2026-12-01T05:05:39.493Z"
}
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://glyphtools.com/mcp