Weather, transport, companies, elections, health, and 45+ government data sources. One key, one format, zero bureaucracy.
Apiverket is an independent third-party service, not affiliated with any Swedish government agency.
Stop juggling XML feeds, SOAP services, and inconsistent APIs. Get clean JSON from one place.
No signup required for test mode. Use sandbox examples immediately, then switch to a live key for real data.
sk_test_democonst res = await fetch('https://apiverket.se/v1/weather/stockholm', { headers: { 'Authorization': 'Bearer sk_test_demo' } }); const { data, meta } = await res.json(); console.log(data.temperature_c); // 14.2 console.log(data.wind_speed_ms); // 3.8 console.log(meta.mode); // "test" console.log(meta.sources[0].agency); // "SMHI"
Our MCP server lets AI assistants query Swedish public data using natural language. No API knowledge required.
{
"mcpServers": {
"govdata": {
"command": "npx",
"args": ["govdata-mcp-server@latest"],
"env": {
"GOVDATA_API_KEY": "sk_test_demo"
}
}
}
}
{
"meta": {
"request_id": "req_a1b2c3",
"api_version": "2026-02-15",
"mode": "live",
"sources": [{
"agency": "SMHI",
"freshness": "cached",
"cache_ttl": 1800
}],
"rate_limit": {
"limit": 100,
"remaining": 97
}
},
"data": {
"city": "stockholm",
"temperature_c": 14.2,
"wind_speed_ms": 3.8,
"humidity_pct": 68
}
}
Every response has the same meta + data structure. No more parsing XML or guessing field names.
Sandbox data with sk_test_ keys. Switch to sk_live_ when you're ready for production.
Source-aware TTLs. Real-time data (trains, power grid) cached for minutes. Static data (elections) cached for weeks.
Track requests, latency, and endpoint usage in real time. Full self-service at /dashboard.
Guides for setup, News for bigger launches, and Changelog for the smaller fixes in between.
Start free. Scale when you need to. No hidden fees, no per-endpoint charges.
Start with the test key. No signup, no credit card.