{"api":{"id":"api_e58af4e14d4abb79bbb9e5b9","slug":"sweden-statistics-scb","name":"Sweden Statistics SCB API","description":"Observations from any Statistics Sweden (SCB) table: population, labour, economy and more, as one labelled row per region, period and measure, with its unit.","kind":"ready_made","visibility":"public","domain":"api.scb.se","source_url":"https://api.scb.se/OV0104/v1/doris/en/ssd/BE/BE0101/BE0101A/BefolkningNy","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":8,"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":"Table path plus the codes of the row.","required":true,"coverage":1,"example":"BE/BE0101/BE0101A/BefolkningNy|00|BE0101N1|2022"},{"name":"table","type":"string","description":"Table title and path.","required":false,"coverage":1,"example":"Population by region, observations and year (BE/BE0101/BE0101A/BefolkningNy)"},{"name":"region_code","type":"string","description":"SCB region code.","required":false,"coverage":1,"example":"00"},{"name":"region","type":"string","description":"Region name.","required":false,"coverage":1,"example":"Sweden"},{"name":"period","type":"string","description":"Period, such as 2024 or 2024M05.","required":false,"coverage":1,"example":"2022"},{"name":"measure","type":"string","description":"What is measured, with any extra breakdown.","required":false,"coverage":1,"example":"Population"},{"name":"value","type":"number","description":"The observation.","required":false,"coverage":1,"example":10521556},{"name":"unit","type":"string","description":"Unit of the value, such as number of persons.","required":false,"coverage":1,"example":"number of persons"}],"inputs":[{"name":"table_path","type":"string","description":"Path of the SCB table under the English database, such as BE/BE0101/BE0101A/BefolkningNy.","example":"BE/BE0101/BE0101A/BefolkningNy"},{"name":"region","type":"string","description":"Region code; 00 is all of Sweden, 0180 is Stockholm municipality. Leave empty for the table's total.","example":"00"},{"name":"latest_periods","type":"integer","description":"How many of the latest periods to return.","example":3}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"id":{"description":"Table path plus the codes of the row.","type":"string"},"measure":{"description":"What is measured, with any extra breakdown.","type":"string"},"period":{"description":"Period, such as 2024 or 2024M05.","type":"string"},"region":{"description":"Region name.","type":"string"},"region_code":{"description":"SCB region code.","type":"string"},"table":{"description":"Table title and path.","type":"string"},"unit":{"description":"Unit of the value, such as number of persons.","type":"string"},"value":{"description":"The observation.","type":"number"}},"required":["id"],"title":"Sweden Statistics SCB API","type":"object"},"samples":[{"id":"BE/BE0101/BE0101A/BefolkningNy|00|BE0101N1|2022","table":"Population by region, observations and year (BE/BE0101/BE0101A/BefolkningNy)","region_code":"00","region":"Sweden","period":"2022","measure":"Population","value":10521556,"unit":"number of persons"},{"id":"BE/BE0101/BE0101A/BefolkningNy|00|BE0101N1|2023","table":"Population by region, observations and year (BE/BE0101/BE0101A/BefolkningNy)","region_code":"00","region":"Sweden","period":"2023","measure":"Population","value":10551707,"unit":"number of persons"},{"id":"BE/BE0101/BE0101A/BefolkningNy|00|BE0101N1|2024","table":"Population by region, observations and year (BE/BE0101/BE0101A/BefolkningNy)","region_code":"00","region":"Sweden","period":"2024","measure":"Population","value":10587710,"unit":"number of persons"}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"id":1,"measure":1,"period":1,"region":1,"region_code":1,"table":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_e58af4e14d4abb79bbb9e5b9/run","openapi":"https://pullrow.dev/v1/apis/api_e58af4e14d4abb79bbb9e5b9/openapi.json","contract":"https://pullrow.dev/v1/apis/api_e58af4e14d4abb79bbb9e5b9/contract.json","page":"https://pullrow.dev/catalog/sweden-statistics-scb"},"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 under SCB's statistical database (for example BE/BE0101/BE0101A/BefolkningNy); finding the path is up to you on scb.se.","Other breakdowns (age, sex and so on) are left at their total unless the table requires them, in which case every value is returned and appended to the measure name.","A table or query that SCB considers too large is refused by SCB (a limit of about 150,000 values); narrow the region or periods.","The region input only works on tables that have a region dimension; elsewhere it is ignored.","SCB allows 30 calls per 10 seconds; this API stays under it, so each run makes a few requests a second at most.","Values are as SCB publishes them in English and can be revised; latest_periods counts the table's own periods (years, months or quarters).","Open data from Statistics Sweden under CC0; credit SCB when you republish."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"Table path plus the codes of the row.","group":"Technical","shown":false,"written":false},{"name":"table","label":"Table title and path","description":"","group":"Basics","shown":true,"written":false},{"name":"region_code","label":"SCB region code","description":"","group":"Location","shown":true,"written":false},{"name":"region","label":"Region name","description":"","group":"Location","shown":true,"written":false},{"name":"period","label":"Period","description":"Period, such as 2024 or 2024M05.","group":"Basics","shown":true,"written":false},{"name":"measure","label":"Measure","description":"What is measured, with any extra breakdown.","group":"Basics","shown":true,"written":false},{"name":"value","label":"Value","description":"The observation.","group":"Basics","shown":true,"written":false},{"name":"unit","label":"Unit","description":"Unit of the value, such as number of persons.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"table_path","label":"Table path","help":"Path of the SCB table under the English database, such as BE/BE0101/BE0101A/BefolkningNy.","example":"BE/BE0101/BE0101A/BefolkningNy","written":false},{"name":"region","label":"Region","help":"Region code; 00 is all of Sweden, 0180 is Stockholm municipality. Leave empty for the table's total.","example":"00","written":false},{"name":"latest_periods","label":"Latest periods","help":"How many of the latest periods to return.","example":"3","written":false}]}},"incidents":[]}