Quickstart for the Lohnica Payroll API: authentication, first request, responses in milliseconds – plus OpenAPI spec, Swagger UI and MCP server.
A gross-to-net calculation for September 2026: €4,500 gross, tax class 1, Bavaria, Techniker Krankenkasse. The response arrives in milliseconds – abridged here, but the numbers are real.
curl -X POST \ https://app.lohnica.de/api/v1/gross-net-calc/2026-09 \ -H "X-API-Key: <ihr-api-key>" \ -H "Content-Type: application/json" \ -d '{ "monthly-gross-income": 4500, "income-tax-class": "1", "state": "by", "age": 35, "church-tax": false, "health-insurance-company-number": "15027365" }'
{ "data": { "gross-income": 4500.0, "net-salary": 2874.31, "net-pay": 2874.31, "labor-cost": 5568.08, "employee": { "income-tax": 651.66, "health-insurance": 389.03, "nursing-care-insurance": 108.0, "pension-insurance": 418.5, "unemployment-insurance": 58.5, "insurance-total": 974.03 }, "employer": { "insurance-total": 1068.08 } } }
Valid health insurance company numbers come from GET /health-insurances/ – updated daily including supplementary rates.
Company pensions and company cars are included in all four calculation types.
From gross salary to net pay, deductions and employer costs – the classic.
From a target net salary back to the required gross – e.g. for salary negotiations.
From budget to salary: which gross and net fit into €X of total employer cost?
The complete payroll run with full master data and a wide range of wage types – benefits such as recreation allowance, Deutschlandticket or meal vouchers including flat-rate taxation and contribution pass-through, plus PDF export.
All calculation types are also available as MCP tools: mcp.lohnica.de connects Claude, Cursor and friends directly to the Lohnica API – no local installation.
The quickest impression is the salary calculator on this website – it runs on the same API. For your own tests, register in the API portal and create your own API key – no waiting, usage overview included.
You create your API key yourself in the API portal. For everything else – Payroll API, volumes, consulting – just get in touch.