280+ endpoints live

One API for all
Swedish public data

Weather, transport, companies, elections, health, and 45+ government data sources. One key, one format, zero bureaucracy.

Explore the API Try It Live

Apiverket is an independent third-party service, not affiliated with any Swedish government agency.

45+
Data Sources
280+
Endpoints
0 kr
Free Tier
<200ms
Avg Latency

Swedish public data sources, unified

Stop juggling XML feeds, SOAP services, and inconsistent APIs. Get clean JSON from one place.

Up and running in 30 seconds

No signup required for test mode. Use sandbox examples immediately, then switch to a live key for real data.

  1. 1 Use the test key sk_test_demo
  2. 2 Call any endpoint with Bearer auth
  3. 3 Get clean, consistent JSON every time
Open Test Console
JavaScript
const 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"

Use with Claude, Cursor & VS Code

Our MCP server lets AI assistants query Swedish public data using natural language. No API knowledge required.

Natural language queries
Ask "What's the weather in Stockholm?" or "Show train delays to Gothenburg" — the AI finds the right endpoint automatically.
139 endpoints, 2 tools
Discover endpoints and query data — the AI handles parameter mapping, pagination, and error handling for you.
Works everywhere
Compatible with Claude Code, Claude Desktop, Cursor, VS Code, and any MCP-compatible client.
View on GitHub
claude_desktop_config.json
{
  "mcpServers": {
    "govdata": {
      "command": "npx",
      "args": ["govdata-mcp-server@latest"],
      "env": {
        "GOVDATA_API_KEY": "sk_test_demo"
      }
    }
  }
}
Response envelope
{
  "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
  }
}

Built for developers

  • Consistent JSON envelope

    Every response has the same meta + data structure. No more parsing XML or guessing field names.

  • Test & live modes

    Sandbox data with sk_test_ keys. Switch to sk_live_ when you're ready for production.

  • Smart caching

    Source-aware TTLs. Real-time data (trains, power grid) cached for minutes. Static data (elections) cached for weeks.

  • Usage dashboard

    Track requests, latency, and endpoint usage in real time. Full self-service at /dashboard.

Go deeper when you are ready

Guides for setup, News for bigger launches, and Changelog for the smaller fixes in between.

Simple, transparent pricing

Start free. Scale when you need to. No hidden fees, no per-endpoint charges.

Free
0 SEK
forever
  • 200 requests / day
  • 10 requests / minute
  • All 280+ endpoints
  • Test & live mode
  • Usage dashboard
Starter
249 SEK/mo
billed monthly
  • 5,000 requests / day
  • 50 requests / minute
  • All 280+ endpoints
  • Email support
  • Commercial use
Business
1 499 SEK/mo
billed monthly
  • 100,000 requests / day
  • 500 requests / minute
  • All 280+ endpoints
  • Email support
  • Commercial use

Enterprise

Custom limits, higher rate caps, and tailored integrations. Contact us to discuss your needs.

Contact Sales

Ready to build?

Start with the test key. No signup, no credit card.