{"api":{"id":"api_1aa90aca085344d3b5e29144","slug":"sweden-smhi-weather-stations","name":"Sweden SMHI Weather Observations API","description":"Weather observations from SMHI's Swedish stations: the latest reading at every station for one parameter, or one station's last day of hourly values, with position, quality code and unit.","kind":"ready_made","visibility":"public","domain":"opendata-download-metobs.smhi.se","source_url":"https://opendata-download-metobs.smhi.se/api/version/latest/parameter/1.json","category":"environment","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":11,"created_at":"2026-12-06T04:45:48.405Z","updated_at":"2026-12-06T04:45:48.405Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"Station, parameter and time of the reading.","required":true,"coverage":1,"example":"188790-1-1796529600000"},{"name":"url","type":"url","description":"SMHI link to the station's last day of data.","required":false,"coverage":1,"example":"https://opendata-download-metobs.smhi.se/api/version/latest/parameter/1/station/188790/period/latest-day/data.json"},{"name":"station_id","type":"string","description":"SMHI station id.","required":false,"coverage":1,"example":"188790"},{"name":"station","type":"string","description":"Station name.","required":false,"coverage":1,"example":"Abisko Aut"},{"name":"parameter","type":"string","description":"What is measured, in Swedish as SMHI names it.","required":false,"coverage":1,"example":"Lufttemperatur"},{"name":"observed_at","type":"datetime","description":"Time of the reading (UTC).","required":false,"coverage":1,"example":"2026-12-06T04:00:00.000Z"},{"name":"value","type":"number","description":"Measured value in the unit given.","required":false,"coverage":1,"example":1.8},{"name":"quality","type":"string","description":"SMHI quality code.","required":false,"coverage":1,"example":"G"},{"name":"unit","type":"string","description":"Unit of the value, such as celsius.","required":false,"coverage":1,"example":"celsius"},{"name":"latitude","type":"number","description":"Station latitude.","required":false,"coverage":1,"example":68.3538},{"name":"longitude","type":"number","description":"Station longitude.","required":false,"coverage":1,"example":18.8164}],"inputs":[{"name":"parameter","type":"integer","description":"SMHI parameter number; 1 is air temperature.","default":1,"example":1},{"name":"station_id","type":"integer","description":"One station's id, for its last day of readings.","example":98230},{"name":"search","type":"string","description":"Only stations whose name contains this text (latest-readings mode).","example":"Stockholm"}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"id":{"description":"Station, parameter and time of the reading.","type":"string"},"latitude":{"description":"Station latitude.","type":"number"},"longitude":{"description":"Station longitude.","type":"number"},"observed_at":{"description":"Time of the reading (UTC).","format":"date-time","type":"string"},"parameter":{"description":"What is measured, in Swedish as SMHI names it.","type":"string"},"quality":{"description":"SMHI quality code.","type":"string"},"station":{"description":"Station name.","type":"string"},"station_id":{"description":"SMHI station id.","type":"string"},"unit":{"description":"Unit of the value, such as celsius.","type":"string"},"url":{"description":"SMHI link to the station's last day of data.","format":"uri","type":"string"},"value":{"description":"Measured value in the unit given.","type":"number"}},"required":["id"],"title":"Sweden SMHI Weather Observations API","type":"object"},"samples":[{"id":"188790-1-1796529600000","station_id":"188790","station":"Abisko Aut","parameter":"Lufttemperatur","observed_at":"2026-12-06T04:00:00.000Z","value":1.8,"quality":"G","unit":"celsius","latitude":68.3538,"longitude":18.8164,"url":"https://opendata-download-metobs.smhi.se/api/version/latest/parameter/1/station/188790/period/latest-day/data.json"},{"id":"97280-1-1796529600000","station_id":"97280","station":"Adelsö A","parameter":"Lufttemperatur","observed_at":"2026-12-06T04:00:00.000Z","value":4.7,"quality":"G","unit":"celsius","latitude":59.3579,"longitude":17.5213,"url":"https://opendata-download-metobs.smhi.se/api/version/latest/parameter/1/station/97280/period/latest-day/data.json"},{"id":"9013-1-1796529600000","station_id":"9013","station":"Alskog","parameter":"Lufttemperatur","observed_at":"2026-12-06T04:00:00.000Z","value":2.1,"quality":"Y","unit":"celsius","latitude":57.3271,"longitude":18.6162,"url":"https://opendata-download-metobs.smhi.se/api/version/latest/parameter/1/station/9013/period/latest-day/data.json"}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"id":1,"latitude":1,"longitude":1,"observed_at":1,"parameter":1,"quality":1,"station":1,"station_id":1,"unit":1,"url":1,"value":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_1aa90aca085344d3b5e29144/run","openapi":"https://pullrow.dev/v1/apis/api_1aa90aca085344d3b5e29144/openapi.json","contract":"https://pullrow.dev/v1/apis/api_1aa90aca085344d3b5e29144/contract.json","page":"https://pullrow.dev/catalog/sweden-smhi-weather-stations"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Without station_id you get the latest reading of each station that reported in the last hour, about 200 stations; stations that did not report are left out.","With station_id you get about one day of readings, and only if that station measures the chosen parameter.","Readings are hourly for most parameters and carry SMHI's quality code (G checked, Y suspect).","Parameter numbers follow SMHI (1 air temperature, 4 wind speed, 7 precipitation). Data is CC BY 4.0: credit SMHI."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"Station, parameter and time of the reading.","group":"Technical","shown":false,"written":false},{"name":"url","label":"Link","description":"SMHI link to the station's last day of data.","group":"Links","shown":true,"written":false},{"name":"station_id","label":"SMHI station ID","description":"","group":"Technical","shown":false,"written":false},{"name":"station","label":"Station name","description":"","group":"Basics","shown":true,"written":false},{"name":"parameter","label":"Parameter","description":"What is measured, in Swedish as SMHI names it.","group":"Basics","shown":true,"written":false},{"name":"observed_at","label":"Observed","description":"Time of the reading (UTC).","group":"Dates","shown":true,"written":false},{"name":"value","label":"Value","description":"Measured value in the unit given.","group":"Basics","shown":true,"written":false},{"name":"quality","label":"SMHI quality code","description":"","group":"Basics","shown":true,"written":false},{"name":"unit","label":"Unit","description":"Unit of the value, such as celsius.","group":"Basics","shown":true,"written":false},{"name":"latitude","label":"Station latitude","description":"","group":"Location","shown":true,"written":false},{"name":"longitude","label":"Station longitude","description":"","group":"Location","shown":true,"written":false}],"inputs":[{"name":"parameter","label":"Parameter","help":"SMHI parameter number; 1 is air temperature.","example":"1","written":false},{"name":"station_id","label":"Station ID","help":"One station's id, for its last day of readings.","example":"98230","written":false},{"name":"search","label":"Search","help":"Only stations whose name contains this text (latest-readings mode).","example":"Stockholm","written":false}]}},"incidents":[]}