Skip to content

PowerLaunch/apier-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Norwegian Altinn 2 → Altinn 3 migration, in 10 lines

June 19, 2026 — Altinn 2 shuts down. This quickstart hits Apier's free, zero-auth Altinn 2 → Altinn 3 migration bridge so you can ship the upgrade before the deadline. Node and Python examples both run against production with no setup.

Get a key in 30 seconds

  1. Open https://apier.no/sign-up
  2. Verify your email → you'll see an API key starting with apier_test_
  3. Export it:
    export APIER_TEST_KEY=apier_test_xxxxxxxxxxxx
  4. Run the example below.

Free tier: 100 calls / hour. No credit card. The Altinn 2 → Altinn 3 migration bridge example below is zero-auth — you can run it without a key to see the shape, then bring your key for the rest.

Run it

cURL one-liner:

curl -sS 'https://www.apier.no/api/v1/tools/altinn-migration' | jq .

Node.js:

node examples/altinn-migration.mjs

Python:

python examples/altinn-migration.py

What it does

Input is no parameter; output is the full migration map of Altinn 2 service codes (e.g. A0208, A0212) and their Altinn 3 replacements, with migration notes, verification flags, and the deadline in days_remaining. Filter to one entry with ?altinn2_code=A0208.

Self-hosted or staging

Both examples honor an APIER_BASE_URL environment variable. To point at your own instance or a staging environment:

export APIER_BASE_URL=https://staging.apier.no
node examples/altinn-migration.mjs

Default: https://www.apier.no (production).

Only https:// URLs (or http://localhost / http://127.0.0.1 for local dev) are accepted — the examples reject other schemes so your key is never sent to an untrusted host.

Try the MCP server (one-shot)

Install + run the official Apier MCP server with one command:

npx @apier-no/mcp@latest --header "X-Apier-Key: $APIER_TEST_KEY"

The server speaks the Model Context Protocol and exposes Norwegian compliance tools (Brønnøysund, Maskinporten, Skatteetaten). Wire it into Claude Desktop, Cursor, or any MCP client via stdio.

Full setup: https://apier.no/docs/mcp

What's next

Security

Found a vulnerability? See SECURITY.md.

License

MIT

About

Norwegian Altinn 2 → Altinn 3 migration, 10 lines. Free, no signup. Cutover deadline 2026-06-19.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors