Skip to content

Instantly share code, notes, and snippets.

@cedendahlkim
Created July 26, 2026 06:12
Show Gist options
  • Select an option

  • Save cedendahlkim/e6afa008c1f48c043a0c8381ce2d8742 to your computer and use it in GitHub Desktop.

Select an option

Save cedendahlkim/e6afa008c1f48c043a0c8381ce2d8742 to your computer and use it in GitHub Desktop.
Svensk Skatte-API — /demo live, zero auth, 4 calculations in your terminal

Svensk Skatte-API — /demo live, zero auth, 4 calculations in your terminal

Sweden's first open tax API is live. No API keys needed to test.

curl https://skatteapi.gracestack.se/demo

You get four sample calculations directly in the JSON response:

Calculation Input Result
ISK tax 500 000 kr portfolio 5 250 kr/year
VAT 25% 1 000 kr 250 kr
Income tax 50 000 kr/month Progressive table
Employer fee 40 000 kr 12 568 kr

Each with embedded curl examples so you can copy-paste directly.

Two tiers

Quick start

curl https://skatteapi.gracestack.se/demo | python3 -m json.tool

Endpoints

Endpoint Description
GET /demo 4 sample calculations, no auth
GET /health API status
GET /isk/{capital} ISK schablonskatt
GET /moms/{amount}?rate=25 VAT add/remove/extract
GET /inkomstskatt/{monthly_salary} Progressive income tax
GET /arbetsgivaravgift/{salary} Employer fee 31.42%
GET /kapitalvinst/{profit} Capital gains tax 30%
+7 more (see /demo for full list)

Open source

MIT licensed: github.com/cedendahlkim/svensk-skatt-api

Built for developers building Swedish fintech apps, accounting systems, payroll software — or anyone tired of implementing Swedish tax calculations from scratch.


Try /demo now — no signup, no key, just Swedish tax math in your terminal.

More Gracestack tools: Skattefällan · ISK-Skattekollen · Räntechocken · Skatteåterbäringen · Verktygslådan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment