Realtime
realtimeGet current/real-time weather conditions for a location — temperature, feels-like, humidity, wind, precipitation probability, cloud cover, UV index, and visibility. Location can be "lat,lon" coordinates or a city name. Example: realtime({ location: "new york", units: "imperial" }) or realtime({ location: "40.71,-74.01" })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | Unit system: "metric" (default) or "imperial" | |
| _apiKey | No | Tomorrow.io API key (optional — get a free one at tomorrow.io; if omitted the platform key is used) | |
| location | Yes | Location to look up — either "lat,lon" coordinates (e.g. "40.71,-74.01") or a city name (e.g. "new york", "london") |