Skip to content

← API reference

Election results for the address's polling district

election_results11 fields11 of these fields open in the demo
Source
Valgdirektoratet valgresultat.no
Geography
The address point
Reported stale after
400 days
Access
Requires an API key granted this section
Contract version
1
In packages
local_economy

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.

  • Aggregate results for the polling district (stemmekrets) the address register assigns to this address, plus the municipality total; nothing about any voter. Districts are redrawn between elections.

Fields

2 of 11 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
feature_idstring | nullcontextopen
district_namestring | nullcontextopen
levelstring | nullcontextopen
election_yearstring | null (årstall)contextopen
election_typestring | nullcontextopen
turnout_pctnumber | null (%)valueopen
votes_totalinteger | nullcontextopen
top_partystring | nullvalueopen
top_party_pctnumber | null (%)contextopen
partiesobject | nullcontextopen
updated_atstring | nullcontextopen

Fetch this section

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

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