Skip to content

← API reference

Pupil survey at the nearest school (Elevundersøkelsen)

school_wellbeing12 fields12 of these fields open in the demo
Source
Udir statistikkbanken, Elevundersøkelsen
Geography
The address point
Reported stale after
400 days
Access
Requires an API key granted this section
Contract version
1

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.

  • The school is the nearest one in Udir's register as found by the proximity enrichment, not the address's catchment school — catchment boundaries are not published nationally. Scores are pupils' own answers on Udir's 1-5 scale per trinn, with the national score beside them; they are not results, grades or national tests. suppressed=true means Udir withheld the figure because too few answered; it is null, never zero.
  • Latest school year Udir published for this school. A small school often has most figures suppressed; answered is the number who answered, the base any comparison should weigh.

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
school_orgnrstring | nullcontextopen
school_namestring | nullcontextopen
school_yearstring | null (årstall)contextopen
indicator_codestring | nullcontextopen
indicator_namestring | nullcontextopen
gradeinteger | nullcontextopen
scorenumber | nullvalueopen
std_devnumber | nullvalueopen
answeredinteger | nullvalueopen
suppressedboolean | nullcontextopen
national_scorenumber | nullcontextopen
fetched_attimestamp | nullcontextopen

Fetch this section

curl -H "X-API-Key: $APPROACH_API_KEY" \
  "https://api.approach.no/api/v1/addresses/285717643?include=school_wellbeing"

# paginated, one section at a time
curl -H "X-API-Key: $APPROACH_API_KEY" \
  "https://api.approach.no/api/v1/addresses/285717643/sections/school_wellbeing?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.