← clify home · catalogue · Weather and location data APIs for AI agents
yr API for agents (unofficial) — JSON over curl
yr.no (Norwegian Meteorological Institute / NRK weather service): search places and get forecasts, current weather, nowcasts, long-range, coastal/tide/water-level, air quality, aurora, sun/moon, observation history, warnings, mountain pass conditions and meteorologist posts via yr.no's public /api/v0 JSON API.
Host: yr.no. Call these verified read commands with plain curl; no install, key, or account. Use the public JSON API with plain curl. No install, key, account, or browser is needed. Start with San Francisco and U.S. agent tasks: events, startup jobs, BART and Muni departures, Craigslist listings, local news, public datasets and prediction markets. Example: curl 'https://clify-dev.netlify.app/search?q=SF+tech+events'. Responses are one JSON object. The hosted MCP and GitHub repo are also available.
Machine-readable command schema · Source website
Commands
search-locations
Search places worldwide by name; returns location ids (e.g. 1-92416) used by all location commands Params: q*, language Read-only
curl 'https://clify-dev.netlify.app/yr/search-locations?q=Bergen'
get-location
Get details for a location id: name, coordinates, elevation, region, time zone and which data types are available (_links) Params: id*, language Read-only
curl 'https://clify-dev.netlify.app/yr/get-location?id=1-92416'
get-forecast
Daily weather forecast (~9-10 days) for a location: symbols, min/max temperature, precipitation, wind Params: id* Read-only
curl 'https://clify-dev.netlify.app/yr/get-forecast?id=1-92416'
get-current-weather
Weather for the current hour at a location: symbol, temperature, feels-like, precipitation, wind, UV index Params: id* Read-only
curl 'https://clify-dev.netlify.app/yr/get-current-weather?id=1-92416'
get-nowcast
Radar-based precipitation nowcast for the next 90 minutes in 5-minute steps (Nordic locations) Params: id*, language Read-only
curl 'https://clify-dev.netlify.app/yr/get-nowcast?id=1-92416'
get-long-range-forecast
21-day (3 weeks) long-range forecast for a location with daily temperature/precipitation percentiles and weekly summaries Params: id* Read-only
curl 'https://clify-dev.netlify.app/yr/get-long-range-forecast?id=1-92416'
get-coast-forecast
Coastal/sea forecast for a coastal location: waves, currents, sea temperature plus wind and air temperature per day Params: id*, language Read-only
curl 'https://clify-dev.netlify.app/yr/get-coast-forecast?id=1-92416'
get-tide
Upcoming high and low tide times and levels (cm) for a Norwegian coastal location Params: id*, language Read-only
curl 'https://clify-dev.netlify.app/yr/get-tide?id=1-92416'
get-water-level
Hourly sea water level for ~9 days (astronomical prediction vs. weather-adjusted forecast, cm) Params: id*, language Read-only
curl 'https://clify-dev.netlify.app/yr/get-water-level?id=1-92416'
get-air-quality
Hourly air quality forecast (index, severity, health description) for a Norwegian location Params: id*, language Read-only
curl 'https://clify-dev.netlify.app/yr/get-air-quality?id=1-92416'
get-aurora-forecast
Hourly northern lights (aurora) forecast: Kp index, aurora activity, darkness and cloud cover Params: id*, language Read-only
curl 'https://clify-dev.netlify.app/yr/get-aurora-forecast?id=1-92416'
get-sun-moon-today
Today's sun and moon details: sunrise/sunset, day length, moon phase, illumination, next full/new moon and eclipses Params: id*, language Read-only
curl 'https://clify-dev.netlify.app/yr/get-sun-moon-today?id=1-92416'
get-celestial-events
Sunrise/sunset and moonrise/moonset events for each day over ~13 days Params: id* Read-only
curl 'https://clify-dev.netlify.app/yr/get-celestial-events?id=1-92416'
get-water-temperatures
Latest measured water/bathing temperatures at spots nearest to a location Params: id*, language Read-only
curl 'https://clify-dev.netlify.app/yr/get-water-temperatures?id=1-92416'
get-webcams
Webcams near a location with distance and image URLs Params: id*, language Read-only
curl 'https://clify-dev.netlify.app/yr/get-webcams?id=1-92416'
list-observation-stations
Weather stations near a location with their last 24h observed temperature, precipitation and wind Params: id* Read-only
curl 'https://clify-dev.netlify.app/yr/list-observation-stations?id=1-92416'
get-observation-history
Observed weather history from the nearest station: last year, last 30 days, last 25 hours, or a specific date Params: id*, period* Read-only
curl 'https://clify-dev.netlify.app/yr/get-observation-history?id=1-92416&period=month'
get-location-warnings
Active and upcoming weather warnings (farevarsler) affecting a location; an empty list means no warnings Params: id*, language Read-only
curl 'https://clify-dev.netlify.app/yr/get-location-warnings?id=1-305409'
list-warnings
All active weather warnings in Norway (land and marine): title, severity, event type, areas, validity Params: language Read-only
curl 'https://clify-dev.netlify.app/yr/list-warnings'
list-regions
List the counties/regions of a country (used to filter warnings by county) Params: country*, language Read-only
curl 'https://clify-dev.netlify.app/yr/list-regions?country=NO'
list-mountain-passes
All Norwegian mountain passes with open/closed/convoy status, road number and message count (collection fjell-sor = south, fjell-nord = north) Params: language Read-only
curl 'https://clify-dev.netlify.app/yr/list-mountain-passes'
get-mountain-pass
Mountain pass detail: open/closed status, road messages (closures, roadworks), road cameras and forecast location ids along the route Params: id*, language Read-only
curl 'https://clify-dev.netlify.app/yr/get-mountain-pass?id=1'
search-meteorologist-posts
Latest posts from yr's duty meteorologists (Meteorologene), optionally filtered by a keyword in the text, newest first Params: q, count Read-only
curl 'https://clify-dev.netlify.app/yr/search-meteorologist-posts?q=sn%C3%B8'
get-meteorologist-post
Get one meteorologist post by its _id (full text, images, thread replies) Params: id* Read-only
curl 'https://clify-dev.netlify.app/yr/get-meteorologist-post?id=3d267b39-0372-4d29-b283-d06019d16904'
Related task guides and sites
Continue with Weather and location data APIs for AI agents or explore related sources:
weather.gov
National Weather Service (weather.gov / api.weather.gov): look up US forecasts by lat/lon or NWS grid point, active alerts, weather stations and their latest observations, forecast-office text products (e.g. Area Forecast Discussions), zone boundary KML, DWML forecast export, and weather glossary terms.
Machine-readable commands · 11 verified commands
open-meteo.com
Open-Meteo: free, keyless weather APIs. The CLI provides forecasts, historical reanalysis, archived and previous model runs, ensembles, seasonal and climate projections, marine, air quality, satellite radiation, flood, elevation, geocoding and CSV export.
Machine-readable commands · 16 verified commands
smhi.se
SMHI (Swedish Meteorological and Hydrological Institute): look up places, get current weather, 10-day forecasts and recent observed weather, see active weather warnings, search SMHI's open-data catalog, download station observations from the open metobs API, and search or read knowledge-bank and news articles.
Machine-readable commands · 16 verified commands