Glossary

Entgeltatlas concepts and the vocabulary this CLI exposes. The API answers one question: what does a given occupation earn? — as a median gross monthly salary, sliced by five dimensions.

Occupations

Term Meaning
KldB 2010 Klassifikation der Berufe 2010 — the BA’s occupation code system. The entgelte command’s required argument. Codes are 3–5 digits (e.g. 84304 = “Berufe in der Hochschullehre und -forschung – hoch komplexe Tätigkeiten”); the API has answered every 4-digit code tried with no rows, so use the 3-digit group or a 5-digit code (the CLI warns on an empty 4-digit answer). Kept as a string (leading zeros matter).
name → code This API has no name search. Resolve an occupation name to its KldB code via the BERUFENET / DKZ sibling APIs, or the Klassifikationsserver.

The five dimensions

Pass each as a numeric code; run entgeltatlas codes for the full tables. Code 1 is the Gesamt aggregate only for -g, -a and -b: for -l it is Helfer (there is no Gesamt level) and for -r it is Deutschland. Omitting a flag sends no parameter, so the server picks the slice; that has not been verified against the live API. Pass the dimensions you mean and check the labels in each returned row. A code that is not in its table (e.g. -r 31) is rejected before any request, by the CLI and by the library (DIMENSIONS holds the tables), because the API might ignore it and return the unfiltered slice.

Flag Param Dimension Codes
-l l Anforderungsniveau (requirement/performance level) 1 Helfer · 2 Fachkraft · 3 Spezialist · 4 Experte
-r r Region 1 Deutschland · 2 Ost · 3 West · 4–19 the 16 Länder · 20–30 eleven cities (irregular — not 1..16). 2 Ost and 3 West are listed but have answered no rows (2026-10-21; the CLI warns): compare Länder instead
-g g Geschlecht 1 Gesamt · 2 Männer · 3 Frauen
-a a Alter 1 Gesamt · 2 unter 25 · 3 25 bis unter 55 · 4 ab 55
-b b Branche (Wirtschaftszweig) 1 Gesamt … 11 (see codes)

Reading the figures

Field Meaning
entgelt Median gross monthly earnings, EUR, full-time. Not the arithmetic mean — the BA deliberately does not compute a mean (earnings above the ceiling are unknown).
entgeltQ25 / entgeltQ75 Lower / upper quartile (25th / 75th percentile), EUR.
besetzung The headcount the figures are based on — a count of people, not a salary.
region.beitragsBemessungsGrenze The social-insurance contribution ceiling. Earnings above it are censored, so entgelt/entgeltQ75 can look artificially flat at the top, or come back as the marker -2 (see below).

Suppression (Datenschutz / kleine Fallzahl)

When a slice is based on too few observations, its figures are suppressed for data protection. Recorded live on 2026-10-06, the API marks this with negative numbers, not null: entgelt, entgeltQ25 and entgeltQ75 come back as -1, and besetzung as a negative number too (-42 in that answer). A quartile above the social-insurance ceiling came back as -2 (entgeltQ75: -2 next to a real median): earnings above the ceiling are not known, which the BA’s web app shows as “> BBG”. Recorded on 2026-10-21: besetzung also comes as -3 next to a -1 median, a median itself once as -2, and a whole row as -100 on all four figures (entgelt, both quartiles, besetzung; the Helfer row of group 434, a branch row of 84304) — a slice without a figure, its meaning not documented (perhaps “no such level in this group”). These meanings are read from that answer and the web app’s help texts, not from documentation, so the rule is simple: any negative figure is a marker, not an amount — never report it in €, never compute a gap or a mean with it. null figures (from the community spec; not seen live) mean the same: no figure — never 0. The client and CLI pass all of these through unchanged.

An empty array

An empty array is the common live answer, and it has several causes, none of them a figure: a 4-digit KldB code (every one tried answered []); region 2 Ost or 3 West (never answered); a level that contradicts a 5-digit code’s fifth digit (84304 -l 2); a branch other than Gesamt combined with a gender or age other than Gesamt (the API does not cross them); and a code that doesn’t exist (99999). For all but the last the CLI adds a WARN record of entgeltatlas.api naming the cause; stdout keeps the []. The answer’s structure (recorded for 84304 on 2026-10-21): level × region × (gender × age, with branch Gesamt, or branch, with gender and age Gesamt); 28 regions, without Ost and West.

Auth terms

The log on stderr

See DATA_LICENSE.md for attribution and reuse terms.

View the source on GitHub →