Live weather: current conditions and forecast by city
No account. Pay by card from $1 and your key appears right after payment. Get a key by card
Live weather for any city or coordinates: current conditions plus an hourly forecast, with temperature, wind and precipitation from MET Norway. Use to check what the weather is right now before an outdoor task or trip. $0.002 per call, no account, no API key.
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/live-weather?city=London"
Node.js
const r = await fetch("https://glyphtools.com/live-weather?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/live-weather?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/live-weather?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.
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"
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is live_weather, and the first 10 successful calls are free:
https://glyphtools.com/mcp