Open Government, Sweden

Statistics Sweden's statistical database as JSON

🏛 GovernmentUNMONITORED
AUTH NONECORS ✓AGENT ?HTTPS ✓COMMERCIAL ✓

The PxWeb API behind Statistics Sweden (SCB), the data service documented by Sweden's national data portal. A keyless GET walks the statistical tree, returning subject areas, tables, and — via follow-up queries — the figures themselves as JSON. Ideal for official Swedish statistics.

—HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: — · unmonitored
ON PROBE SCHEDULE

We probe a documented GET and expect 2xx JSON — full uptime and health score. Open provider docs ↗

Uptime historystarts after first probe

On our probe schedule. Uptime charts appear after the first check lands.

Example responsefrom provider docs — not verified by us
GET https://api.scb.se/OV0104/v1/doris/en/ssd

[
  {
    "id": "AA",
    "type": "l",
    "text": "General statistics"
  },
  {
    "id": "AM",
    "type": "l",
    "text": "Labour market"
  }
]
Call itcurl · fetch · python
curl "https://api.scb.se/OV0104/v1/doris/en/ssd"
const res = await fetch("https://api.scb.se/OV0104/v1/doris/en/ssd");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://api.scb.se/OV0104/v1/doris/en/ssd")
print(res.json())
Endpoints · 2On scheduleFULL DOCS ↗
On schedule — GET /ssd awaits first probe
GET/ssdPROBED

Statistics Sweden's statistical database as JSON

GET/ssd?limit=5

Paginated variant with limit parameter.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Not tracked yet. Shape-change history starts once this API joins our probe schedule.

Open Government, Sweden: common questions

Is Open Government, Sweden free to use?

Yes — Open Government, Sweden is a free government API. Free tier: Free — no key required. Commercial use is allowed on the free tier.

Does Open Government, Sweden need an API key?

No — Open Government, Sweden needs no API key or signup. You can call it straight away; rate limits still apply (Rate-limited per SCB PxWeb API terms (call-rate and response-size caps)).

Can I call Open Government, Sweden from the browser?

Yes — Open Government, Sweden returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.

Is Open Government, Sweden up right now?

Open Government, Sweden is catalogued but not yet on our probe schedule, so we don't publish a live status for it. Check the provider's own status page or docs for its current state.