Skip to content

← All sections

Pupil results in the address's municipality (grunnskolepoeng, national tests)

school_results12 fields12 of these fields open in the demo
Source
Udir figures by kommune, published by Statistics Norway (KOSTRA table 12255)
Geography
Municipality
Reported stale after
400 days
Access
Requires an API key granted this section
Contract version
1

Available with: trial key (open fields) · bought bundle or agreed plan (all fields) · Pricing

What this does not say

Quoted verbatim from the section’s warnings field, exactly as the API returns it. They are not translated: a translation would show something other than what your response actually contains.

  • Kommune level, not school level: these are averages over the kommune's pupils, not the results of the school nearest the address or the catchment school. Udir's school-by-school results (grunnskolepoeng, nasjonale prøver, eksamen) are in statistikkbanken.udir.no and skoleporten.udir.no and have no open export, so they are not served. Indicators: gjennomsnittlig grunnskolepoeng (points, the average of final marks at the end of lower secondary), and the percentage of pupils at mastery level 3-5 on the 8. trinn national tests in reading and in numeracy. kostra_year is SSB's own year label for the figure.
  • withheld=true means SSB shows no figure for that kommune and year (missing_symbol is its symbol: ':' withheld for confidentiality or too few pupils, '.' not available). value is then null, never zero, and nothing is filled from another year or the county. A small kommune often has the national-test shares withheld in every year. difference_from_national is value minus national_value in the same unit and is null whenever either is missing. National tests measure basic skills in reading and numeracy only; they are not a ranking of schools.
  • Licence: CC BY 4.0 (Statistics Norway, https://www.ssb.no/en/diverse/lisens). The figures are Udir's, published by municipality by SSB in KOSTRA table 12255; Approach selects and compares them. Attribution: Kilde: Statistisk sentralbyrå (SSB), CC BY 4.0.

Fields

3 of 12 fields are value fields — the ones that decide whether a record actually says anything. The rest are context: identifiers, codes and timestamps. Fields marked “open” return values to anonymous callers; the rest require a key.

FieldTypeRoleDemo
region_codestring | nullcontextopen
region_namestring | nullcontextopen
indicator_codestring | nullcontextopen
indicator_namestring | nullcontextopen
unitstring | nullcontextopen
kostra_yearinteger | null (årstall)contextopen
valuenumber | nullvalueopen
withheldboolean | nullcontextopen
missing_symbolstring | nullcontextopen
national_valuenumber | nullvalueopen
difference_from_nationalnumber | nullvalueopen
fetched_attimestamp | nullcontextopen

Fetch this section

Send the key in the X-API-Key header. The section can be fetched with the rest of the address, or on its own with pagination.

curl --fail-with-body --silent --show-error \
  -H "X-API-Key: $APPROACH_API_KEY" \
  'https://api.approach.no/api/v1/addresses/285717643?include=school_results'

# paginated, one section at a time
curl --fail-with-body --silent --show-error \
  -H "X-API-Key: $APPROACH_API_KEY" \
  'https://api.approach.no/api/v1/addresses/285717643/sections/school_results?limit=25'

Try it now

This is a real call against the public demo, from here. What appears below is what the API returned — not a sample.