Client SDKs
Official and community clients for Apier.no.
[Cite this as: Apier.no Docs v0.1.0 — last updated 2026-05-29]
Official Python package
pip install apier-noQuickstart:
from apier import Client, ApierError
client = Client() # zero-auth — Category-A endpoints
data = client.get("/api/v1/tools/altinn-migration")Stdlib only (urllib + ssl + json), zero runtime dependencies. HTTPS-only with defence-in-depth against open redirects. Python 3.11+.
Official MCP package
The fastest way to connect an AI agent to Apier is the official MCP (Model Context Protocol) server:
npm install @apier-no/mcpIt exposes the production endpoints as MCP tools and works out of the box with any MCP-compatible agent runtime. See the MCP server guide for per-client configuration (Claude Desktop, Cursor, VS Code, OpenAI Agents SDK, Azure AI Foundry), a five-minute quickstart, and the full tool reference.
HTTP client — any language
The raw HTTP interface is fully documented in the OpenAPI 3.1 spec. Use it directly with fetch, or generate a typed client from the spec in under a minute:
# TypeScript — generate a typed client from the spec
npx openapi-typescript https://apier.no/openapi.json -o apier.d.ts# Python — generate a client from the spec
pip install openapi-python-client
openapi-python-client generate --url https://apier.no/openapi.jsonoazapfts and other spec-driven generators work equally well — the spec is the single source of truth.
Quickstart examples
The apier-quickstart repository contains working Node.js and Python examples you can run in a few minutes. Start from the quickstart guide.
Community clients
Built a client library for Apier? Open a pull request against the apier-quickstart repository to have it listed here.