/v1/current
Returns the latest observed conditions for a coordinate pair. Cached for 60 seconds.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
lat | number | Yes | Latitude, −90 to 90. |
lon | number | Yes | Longitude, −180 to 180. |
units | string | No | metric (default) or imperial. |
tz | string | No | IANA time zone, e.g. Europe/Amsterdam. |
curl "https://api.weatherly.example.com/v1/current?lat=52.37&lon=4.90&units=metric" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"data": {
"location": { "name": "Amsterdam", "country": "NL", "lat": 52.37, "lon": 4.90 },
"observed_at": "2025-03-04T09:15:00Z",
"condition": "partly_cloudy",
"temperature": { "value": 9.4, "unit": "celsius" },
"feels_like": { "value": 7.1, "unit": "celsius" },
"humidity": 78,
"wind": { "speed": 14.2, "direction": 240, "unit": "kmh" },
"pressure": 1014
}
}