{"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},"version":"1.0","contract_hash":"6e22a300b2e107c1bbc68e8e13ee8aeecaf1fa2fcee0f11d62a1bfa380424ca7","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},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T04:45:48.405Z","activated_at":"2026-12-06T04:45:48.405Z","active":true,"contract_hash":"6e22a300b2e107c1bbc68e8e13ee8aeecaf1fa2fcee0f11d62a1bfa380424ca7","fields_count":8}]}