{"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,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","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},"links":{"run":"https://pullrow.dev/v1/apis/api_bb1f22ae326348f330770d00/run","openapi":"https://pullrow.dev/v1/apis/api_bb1f22ae326348f330770d00/openapi.json","contract":"https://pullrow.dev/v1/apis/api_bb1f22ae326348f330770d00/contract.json","page":"https://pullrow.dev/catalog/scb-sweden-statistics"},"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":["You give the table path yourself (for example START/PR/PR0101/PR0101A/KPItotM); there is no search across tables here.","One run reads one table. Statistics Sweden allows at most 150,000 values per query and 10 requests per 10 seconds; a query over the limit is refused with a message, so narrow it with filters.","Variables that can be left out (such as region or age) are summed to their total unless you filter them with code=value; add filters such as Region=0180 to split them out.","Values are as published; tables stop updating when Statistics Sweden retires them. The unit is the one the table states and can be a generic word such as index or number.","Data is published under the CC0 licence; naming Statistics Sweden as the source is good practice."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"table_path","label":"Table path","description":"The table the value comes from.","group":"Basics","shown":true,"written":false},{"name":"period","label":"Period","description":"The period the value covers, in the table's own code, such as 2025M12 (month), 2025K4 (quarter) or 2025 (year).","group":"Basics","shown":true,"written":false},{"name":"dimensions","label":"Dimensions","description":"The other dimensions of the value as readable labels, for example the measure, region, sex or age group.","group":"Basics","shown":true,"written":false},{"name":"value","label":"Value","description":"The statistic value; null when the table has no figure for that cell.","group":"Basics","shown":true,"written":false},{"name":"unit","label":"Unit","description":"The unit of the measure as the table states it.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"table_path","label":"Table path","help":"Path of the table after /ssd/, for example START/PR/PR0101/PR0101A/KPItotM (the consumer price index).","example":"START/PR/PR0101/PR0101A/KPItotM","written":false},{"name":"last_periods","label":"Last periods","help":"How many of the latest periods (months, quarters or years) to return. Default 12.","example":"12","written":false},{"name":"filters","label":"Filters","help":"Optional code=value filters, such as ContentsCode=000004VV. Several values for one code go after the equals sign, separated by commas.","example":"ContentsCode=000004VV","written":false}]}},"incidents":[]}