{"api":{"id":"api_bb1f22ae326348f330770d00","slug":"scb-sweden-statistics","name":"Statistics Sweden Tables API","description":"Official Swedish statistics from Statistics Sweden (SCB) as flat rows: for any statistical table you get the period, the dimension values (region, sex, age, measure and so on), the value and its unit. Prices, population, jobs, trade and more.","kind":"ready_made","visibility":"public","domain":"api.scb.se","source_url":"https://www.scb.se/en/finding-statistics/statistics-by-subject-area/","category":"government","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":5,"created_at":"2026-12-06T04:45:48.395Z","updated_at":"2026-12-06T04:45:48.395Z","runnable":true},"version":"1.0","contract_hash":"3875cfdb3515fa0669f9556f13f538198e901e37f0b2dfbe655d2a6c696f9066","fields":[{"name":"table_path","type":"string","description":"The table the value comes from.","required":true,"coverage":1,"example":"START/PR/PR0101/PR0101A/KPItotM"},{"name":"period","type":"string","description":"The period the value covers, in the table's own code, such as 2025M12 (month), 2025K4 (quarter) or 2025 (year).","required":false,"coverage":1,"example":"2025M10"},{"name":"dimensions","type":"object","description":"The other dimensions of the value as readable labels, for example the measure, region, sex or age group.","required":false,"coverage":1,"example":{"ContentsCode":"Annual changes"}},{"name":"value","type":"number","description":"The statistic value; null when the table has no figure for that cell.","required":false,"coverage":1,"example":0.9},{"name":"unit","type":"string","description":"The unit of the measure as the table states it.","required":false,"coverage":1,"example":"index"}],"inputs":[{"name":"table_path","type":"string","description":"Path of the table after /ssd/, for example START/PR/PR0101/PR0101A/KPItotM (the consumer price index).","example":"START/PR/PR0101/PR0101A/KPItotM","required":true},{"name":"last_periods","type":"integer","description":"How many of the latest periods (months, quarters or years) to return. Default 12.","example":12},{"name":"filters","type":"array","description":"Optional code=value filters, such as ContentsCode=000004VV. Several values for one code go after the equals sign, separated by commas.","example":["ContentsCode=000004VV"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"dimensions":{"description":"The other dimensions of the value as readable labels, for example the measure, region, sex or age group.","type":"object"},"period":{"description":"The period the value covers, in the table's own code, such as 2025M12 (month), 2025K4 (quarter) or 2025 (year).","type":"string"},"table_path":{"description":"The table the value comes from.","type":"string"},"unit":{"description":"The unit of the measure as the table states it.","type":"string"},"value":{"description":"The statistic value; null when the table has no figure for that cell.","type":"number"}},"required":["table_path"],"title":"Statistics Sweden Tables API","type":"object"},"samples":[{"table_path":"START/PR/PR0101/PR0101A/KPItotM","period":"2025M10","dimensions":{"ContentsCode":"Annual changes"},"value":0.9,"unit":"index"},{"table_path":"START/PR/PR0101/PR0101A/KPItotM","period":"2025M11","dimensions":{"ContentsCode":"Annual changes"},"value":0.3,"unit":"index"},{"table_path":"START/PR/PR0101/PR0101A/KPItotM","period":"2025M12","dimensions":{"ContentsCode":"Annual changes"},"value":0.3,"unit":"index"}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"dimensions":1,"period":1,"table_path":1,"unit":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},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T04:45:48.395Z","activated_at":"2026-12-06T04:45:48.395Z","active":true,"contract_hash":"3875cfdb3515fa0669f9556f13f538198e901e37f0b2dfbe655d2a6c696f9066","fields_count":5}]}