Swedish Official Statistics Lookup (SCB) avatar

Swedish Official Statistics Lookup (SCB)

Pricing

$2.00 / 1,000 successful statistics lookups

Go to Apify Store
Swedish Official Statistics Lookup (SCB)

Swedish Official Statistics Lookup (SCB)

Swedish official statistics from SCB: inflation (CPI), unemployment, GDP, population, salaries, house prices. Every answer cites the exact source table.

Pricing

$2.00 / 1,000 successful statistics lookups

Rating

0.0

(0)

Developer

David

David

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Share

Verified official source - never hallucinated. Every number this Actor returns is fetched live from Statistics Sweden (SCB), Sweden's national statistics office, and is delivered together with the exact official table it came from - so your agent, dashboard or report can cite its source.

Why this Actor?

LLMs confidently make up Swedish statistics - last month's inflation, a municipality's population, the average salary for an occupation. Generic AI web search is little better: it quotes whichever blog post ranks first, often outdated or misread. The real numbers live in SCB's official database, which updates monthly and is unknown territory for a model's training data. This Actor answers a curated menu of the most-asked questions by querying SCB's official open API directly.

Features

  • Get the current inflation rate in Sweden (CPI and CPIF, 12-month change) - the number as SCB publishes it, not as a model remembers it.
  • Look up Sweden's unemployment rate - seasonally adjusted and unadjusted, from the official Labour Force Survey (LFS).
  • Get Swedish GDP growth figures from the national accounts.
  • Look up the population of any Swedish municipality or county - down to 4-digit municipality codes (e.g. 0180 = Stockholm).
  • Find the average salary for an occupation in Sweden by 4-digit SSYK 2012 occupation code.
  • Check Swedish house prices and the real estate price index, plus births, deaths, migration and new dwellings.
  • Every answer cites the exact SCB table - table id, table name and last-updated timestamp included in every result.
  • No AI in the loop, injection-safe - question ids and parameter codes are validated against strict patterns; no free text ever reaches the source.

Use cases

  • AI agents and chatbots that quote real numbers: ground answers about the Swedish economy in cited official statistics instead of hallucinations - at $0.002 per verified answer.
  • Reports and client deliverables: pull inflation, salaries or population with a source line auditors and clients can check.
  • Dashboards that stay fresh: schedule lookups for the mornings SCB publishes and keep KPIs current automatically.
  • Market sizing and site selection: population and housing figures per municipality, straight from the source.
  • Index-linked business logic: fetch the latest CPI series input for rent or contract calculations (verify against the cited table for legally binding uses).

Input

{
"question": "inflation",
"period": "latest",
"region": "0180",
"occupationCode": "2512"
}

question is required (pick from the menu in the input form). period is optional: latest (default) or an exact period matching the question's frequency (2025, 2026M05, 2026K1). region (for population/housing questions) takes 00 = whole country, a 2-digit county code or a 4-digit municipality code (0180 = Stockholm). occupationCode (for salary questions) takes a 4-digit SSYK 2012 code.

Output (dataset item)

{
"ok": true,
"question": "inflation",
"description": "Inflationstakten enligt KPI (förändring senaste 12 månaderna)",
"unit": "procent",
"values": [{"label": "Årsförändring", "value": 0.8, "period": "2026M05"}],
"period": "2026M05",
"tableId": "TAB6596",
"tableName": "Konsumentprisindex (KPI), totalt, 2020=100. Månad",
"source": "SCB - Statistics Sweden (api.scb.se, PxWebApi 2)",
"license": "CC0 1.0",
"sourceUpdated": "2026-06-11T06:00:00Z"
}

Some questions return several values (e.g. salary for men and women, or seasonally adjusted plus unadjusted unemployment) - one entry per value, clearly labelled.

Pricing (pay-per-event)

EventPriceWhen
statistics-lookup$0.002Per successful lookup

Unknown questions and invalid parameters are free. 1,000 verified statistics cost $2 - cheaper than one hallucinated number in a client report. No subscription, no minimum.

Tip: combine with Apify Schedules to keep a dashboard or agent memory fresh (e.g. re-fetch inflation and unemployment on the mornings SCB publishes).

FAQ

What is the current inflation rate in Sweden? Ask this Actor with {"question": "inflation"} and you get the latest official 12-month CPI change, with period and source table - not a guess.

Which questions can it answer? 21 curated questions against 10 verified SCB tables: CPI/CPIF inflation, unemployment and employment (LFS), GDP, population down to municipality level, births/deaths/migration, salaries by occupation (SSYK), the real estate price index, house prices and new dwellings. It is deliberately not a general SCB browser - predictable answers, predictable cost. Missing a question you need? Request it.

Is SCB data free to use commercially? Yes - SCB publishes under CC0 1.0 (public domain), which the Actor passes through in every result. You pay $0.002 for the packaging: validated queries, stable JSON and a cited source.

Can numbers change after publication? SCB revises some series (e.g. labour force survey, national accounts). A number can therefore change at the source after first publication - each result carries sourceUpdated so you can see the vintage.

Can my AI agent use this? Yes - that is the core use case. Compact, flat JSON with a citation, callable via the Apify API or MCP, cheap enough to call on every user question.

What happens for small regions or rare occupations? SCB suppresses detail for small groups; the Actor then returns a clear "no data" answer instead of a made-up number - and you are not charged.

Permissions & security

This Actor runs with Apify's limited permissions model: it reads its own input, writes to its own default dataset and calls SCB's open API over HTTPS - nothing else. No API key is needed anywhere, and it requests no access to your other Actors, storages or account data.

Data source & license

Data comes from Statistics Sweden (SCB), Sweden's national statistics office, via its open PxWebApi 2. The data license is CC0 1.0 (public domain) - free reuse, including commercial. SCB is credited as the source in every result. This Actor is independent and not affiliated with or endorsed by Statistics Sweden.

Terms of use

  • Business use only. This Actor is intended exclusively for use in the course of business (B2B). By using it you confirm you are acting as a business, not a consumer.
  • As is. The service and all data are provided "as is", without warranties of any kind - no guarantee of accuracy, completeness, timeliness or availability. Statistics are exactly what SCB publishes at lookup time and may be revised by SCB afterwards.
  • Liability cap. Total aggregate liability for all claims in any 12-month period is limited to the amount you paid for the service in that period. No liability for indirect or consequential damages, lost profits, lost business opportunities or lost data. Nothing in these terms limits liability that cannot lawfully be limited.
  • Fair use. No bulk re-selling of raw data, no circumventing rate limits, no use that violates SCB's terms. The Actor makes one source call per lookup and must not be used to mass-download SCB's database.
  • Privacy. All statistics are aggregated (sums, averages, index numbers for groups) - no personal data is processed, requested or returned.

Versioning & support

Versions are locked - the Actor never silently changes behaviour under you. Changes are released as new versions with a changelog entry.

Part of the Swedish Data Tools family: company lookup, company financials, new company registrations, public procurement search and official statistics - all built on official Swedish and EU data sources.

Changelog

  • 0.1 - initial release: 21 curated questions against 10 verified SCB tables (CPI/CPIF, LFS, GDP, population, salaries, housing), pay-per-lookup pricing.