{"id":"stortinget","name":"Stortinget open data","description":"Parliamentary sessions, representatives, government, parties, cases, votes and election results.","documentation":"https://data.stortinget.no/","operations":[{"name":"list_sessions","description":"List parliamentary sessions (sesjoner, e.g. \"2025-2026\"), from 1986-87.\nSession ids are the `sesjonid` parameter for cases, votes and parties.","parameters":[{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/list_sessions?limit=25&offset=0","output_fields":[],"output_fields_truncated":false,"canonical_field_aliases":{},"description_language":"en","documentation":"List parliamentary sessions (sesjoner, e.g. \"2025-2026\"), from 1986-87.\nSession ids are the `sesjonid` parameter for cases, votes and parties.","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/stortinget/list_sessions/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/stortinget/list_sessions/?hent=1&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/list_sessions","response_schema":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"response_schema_status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"entity_projection":{"status":"intentionally_none","entity_types":[],"description":"No stable cross-source entity projection is defined for this operation; entities is intentionally empty."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/list_sessions/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/list_sessions","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/list_sessions?limit=25&offset=0"},{"name":"list_periods","description":"List election periods (stortingsperioder, e.g. \"2025-2029\").\nPeriod ids are the `stortingsperiodeid` parameter for representatives.","parameters":[{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/list_periods?limit=25&offset=0","output_fields":[],"output_fields_truncated":false,"canonical_field_aliases":{},"description_language":"en","documentation":"List election periods (stortingsperioder, e.g. \"2025-2029\").\nPeriod ids are the `stortingsperiodeid` parameter for representatives.","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/stortinget/list_periods/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/stortinget/list_periods/?hent=1&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/list_periods","response_schema":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"response_schema_status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"entity_projection":{"status":"intentionally_none","entity_types":[],"description":"No stable cross-source entity projection is defined for this operation; entities is intentionally empty."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/list_periods/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/list_periods","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/list_periods?limit=25&offset=0"},{"name":"get_current_representatives","description":"Get today's sitting representatives: id, name, party, county, email,\ncommittees and deputy status.","parameters":[{"name":"full_detail","type":"boolean","schema":{"type":"boolean"},"display_type":"yes/no","required":false,"default":false,"description":"Return the raw upstream objects (adds birth date, gender code, deputy relations, ...). Default False."},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_current_representatives?full_detail=false&limit=25&offset=0","output_fields":["dagensrepresentanter_liste","dagensrepresentanter_liste[].id","dagensrepresentanter_liste[].navn","dagensrepresentanter_liste[].parti","dagensrepresentanter_liste[].fylke","dagensrepresentanter_liste[].epost","dagensrepresentanter_liste[].vara_representant","dagensrepresentanter_liste[].komiteer"],"output_fields_truncated":false,"canonical_field_aliases":{"identifier":["dagensrepresentanter_liste[].id"],"name":["dagensrepresentanter_liste[].navn"]},"description_language":"en","documentation":"Get today's sitting representatives: id, name, party, county, email,\ncommittees and deputy status.\n\nArgs:\n    full_detail: Return the raw upstream objects (adds birth date,\n        gender code, deputy relations, ...). Default False.","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/stortinget/get_current_representatives/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/stortinget/get_current_representatives/?full_detail=false&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_current_representatives","response_schema":{"type":"object","properties":{"dagensrepresentanter_liste":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"navn":{"type":["string","null"]},"parti":{"type":["string","null"]},"fylke":{"type":["string","null"]},"epost":{"type":["string","null"]},"vara_representant":{"type":["boolean","null"]},"komiteer":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}}},"additionalProperties":false},"response_schema_status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"entity_projection":{"status":"intentionally_none","entity_types":[],"description":"No stable cross-source entity projection is defined for this operation; entities is intentionally empty."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_current_representatives/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_current_representatives","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_current_representatives?full_detail=false&limit=25&offset=0","response_example":{"source":"stortinget","operation":"get_current_representatives","parameters":{"full_detail":false},"data":{"dagensrepresentanter_liste":[{"id":"example-id","navn":"example value","parti":"example value","fylke":"example value","epost":"example value","vara_representant":true,"komiteer":["example value"]}]},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"stortinget","name":"Stortinget open data","description":"Parliamentary sessions, representatives, government, parties, cases, votes and election results.","cache_ttl_seconds":300,"documentation":"https://data.stortinget.no/"}]},"_provenance":{"data":{"source":"stortinget","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget"},"entities":{"source":"stortinget","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_current_representatives","source":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget","wiki":"https://allemannsdata.com/wiki/kilder/stortinget/get_current_representatives/"}}},{"name":"get_representatives","description":"Get the representatives elected for a given period: id, name, party,\ncounty.","parameters":[{"name":"period_id","type":"string","schema":{"type":"string"},"display_type":"string","required":true,"default":null,"description":"A stortingsperiode id from list_periods(), e.g. \"2025-2029\"."},{"name":"full_detail","type":"boolean","schema":{"type":"boolean"},"display_type":"yes/no","required":false,"default":false,"description":"Return the raw upstream objects (adds birth date, gender code, ...). Default False."},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_representatives?period_id={period_id}&full_detail=false&limit=25&offset=0","output_fields":["representanter_liste","representanter_liste[].id","representanter_liste[].navn","representanter_liste[].parti","representanter_liste[].fylke","representanter_liste[].epost","representanter_liste[].vara_representant","representanter_liste[].komiteer"],"output_fields_truncated":false,"canonical_field_aliases":{"identifier":["representanter_liste[].id"],"name":["representanter_liste[].navn"]},"description_language":"en","documentation":"Get the representatives elected for a given period: id, name, party,\ncounty.\n\nArgs:\n    period_id: A stortingsperiode id from list_periods(), e.g. \"2025-2029\".\n    full_detail: Return the raw upstream objects (adds birth date,\n        gender code, ...). Default False.","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/stortinget/get_representatives/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/stortinget/get_representatives/?period_id={period_id}&full_detail=false&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_representatives","response_schema":{"type":"object","properties":{"representanter_liste":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"navn":{"type":["string","null"]},"parti":{"type":["string","null"]},"fylke":{"type":["string","null"]},"epost":{"type":["string","null"]},"vara_representant":{"type":["boolean","null"]},"komiteer":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}}},"additionalProperties":false},"response_schema_status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"entity_projection":{"status":"intentionally_none","entity_types":[],"description":"No stable cross-source entity projection is defined for this operation; entities is intentionally empty."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_representatives/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_representatives","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_representatives?period_id={period_id}&full_detail=false&limit=25&offset=0","response_example":{"source":"stortinget","operation":"get_representatives","parameters":{"period_id":"example-id","full_detail":false},"data":{"representanter_liste":[{"id":"example-id","navn":"example value","parti":"example value","fylke":"example value","epost":"example value","vara_representant":true,"komiteer":["example value"]}]},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"stortinget","name":"Stortinget open data","description":"Parliamentary sessions, representatives, government, parties, cases, votes and election results.","cache_ttl_seconds":300,"documentation":"https://data.stortinget.no/"}]},"_provenance":{"data":{"source":"stortinget","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget"},"entities":{"source":"stortinget","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_representatives","source":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget","wiki":"https://allemannsdata.com/wiki/kilder/stortinget/get_representatives/"}}},{"name":"get_current_government","description":"Get the sitting government's members (regjeringsmedlemmer).","parameters":[{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_current_government?limit=25&offset=0","output_fields":[],"output_fields_truncated":false,"canonical_field_aliases":{},"description_language":"en","documentation":"Get the sitting government's members (regjeringsmedlemmer).","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/stortinget/get_current_government/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/stortinget/get_current_government/?hent=1&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_current_government","response_schema":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"response_schema_status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"entity_projection":{"status":"intentionally_none","entity_types":[],"description":"No stable cross-source entity projection is defined for this operation; entities is intentionally empty."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_current_government/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_current_government","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_current_government?limit=25&offset=0"},{"name":"get_parties","description":"Get the parties represented in parliament.","parameters":[{"name":"session_id","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"display_type":"string","required":false,"default":null,"description":"Optional session id (e.g. \"2025-2026\"); omit for current."},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_parties?session_id={session_id}&limit=25&offset=0","output_fields":[],"output_fields_truncated":false,"canonical_field_aliases":{},"description_language":"en","documentation":"Get the parties represented in parliament.\n\nArgs:\n    session_id: Optional session id (e.g. \"2025-2026\"); omit for current.","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/stortinget/get_parties/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/stortinget/get_parties/?session_id={session_id}&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_parties","response_schema":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"response_schema_status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"entity_projection":{"status":"intentionally_none","entity_types":[],"description":"No stable cross-source entity projection is defined for this operation; entities is intentionally empty."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_parties/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_parties","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_parties?session_id={session_id}&limit=25&offset=0"},{"name":"search_cases","description":"List the cases (saker) handled in a session, optionally filtered by a\nkeyword. Paged: the response has `total` matching cases and returns at\nmost `limit` from `offset`; a `note` says which offset fetches the next\npage when there is one.","parameters":[{"name":"session_id","type":"string","schema":{"type":"string"},"display_type":"string","required":true,"default":null,"description":"A session id from list_sessions(), e.g. \"2025-2026\"."},{"name":"query","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"display_type":"string","required":false,"default":null,"description":"Optional keyword, matched case-insensitively against each case's title, short title and topic names (upstream has no text search; filtering happens here)."},{"name":"limit","type":"integer","schema":{"type":"integer"},"display_type":"integer","required":false,"default":100,"description":"Max cases to return (default 100)."},{"name":"offset","type":"integer","schema":{"type":"integer"},"display_type":"integer","required":false,"default":0,"description":"Skip this many matching cases (for paging, default 0)."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/search_cases?session_id={session_id}&query={query}&limit=100&offset=0","output_fields":["sesjon_id","total","offset","returned","saker_liste","saker_liste[].id","saker_liste[].korttittel","saker_liste[].status","saker_liste[].type","saker_liste[].komite","saker_liste[].emner","saker_liste[].henvisning","saker_liste[].sist_oppdatert_dato","note"],"output_fields_truncated":false,"canonical_field_aliases":{"identifier":["saker_liste[].id"]},"description_language":"en","documentation":"List the cases (saker) handled in a session, optionally filtered by a\nkeyword. Paged: the response has `total` matching cases and returns at\nmost `limit` from `offset`; a `note` says which offset fetches the next\npage when there is one.\n\nReturns each case's id, title (korttittel), topics, committee and status;\npass a case id to get_case() or get_votes_for_case().\n\nArgs:\n    session_id: A session id from list_sessions(), e.g. \"2025-2026\".\n    query: Optional keyword, matched case-insensitively against each\n        case's title, short title and topic names (upstream has no text\n        search; filtering happens here).\n    limit: Max cases to return (default 100).\n    offset: Skip this many matching cases (for paging, default 0).","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/stortinget/search_cases/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/stortinget/search_cases/?session_id={session_id}&query={query}&limit=100&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/search_cases","response_schema":{"type":"object","properties":{"sesjon_id":{"type":["string","null"]},"total":{"type":"integer"},"offset":{"type":["integer","null"]},"returned":{"type":"integer"},"saker_liste":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"korttittel":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"status":{"type":["string","null"]},"type":{"type":["string","null"]},"komite":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"emner":{"type":"array","items":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"henvisning":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"sist_oppdatert_dato":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"note":{"type":"string"}},"additionalProperties":false},"response_schema_status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"entity_projection":{"status":"intentionally_none","entity_types":[],"description":"No stable cross-source entity projection is defined for this operation; entities is intentionally empty."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/search_cases/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/search_cases","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/search_cases?session_id={session_id}&query={query}&limit=100&offset=0"},{"name":"get_case","description":"Get the full detail for one case (sak): recommendation text, committee,\nshort decision, references and topics.","parameters":[{"name":"case_id","type":"integer","schema":{"type":"integer"},"display_type":"integer","required":true,"default":null,"description":"A numeric case id (from search_cases), e.g. 100012."},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_case?case_id={case_id}&limit=25&offset=0","output_fields":[],"output_fields_truncated":false,"canonical_field_aliases":{},"description_language":"en","documentation":"Get the full detail for one case (sak): recommendation text, committee,\nshort decision, references and topics.\n\nArgs:\n    case_id: A numeric case id (from search_cases), e.g. 100012.","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/stortinget/get_case/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/stortinget/get_case/?case_id={case_id}&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_case","response_schema":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"response_schema_status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"entity_projection":{"status":"intentionally_none","entity_types":[],"description":"No stable cross-source entity projection is defined for this operation; entities is intentionally empty."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_case/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_case","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_case?case_id={case_id}&limit=25&offset=0"},{"name":"get_votes_for_case","description":"List the votes (voteringer) held on a case, with for/against/absent\ncounts. Use a vote's `votering_id` with get_vote_result() for the\nper-representative breakdown.","parameters":[{"name":"case_id","type":"integer","schema":{"type":"integer"},"display_type":"integer","required":true,"default":null,"description":"A numeric case id, e.g. 100012."},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_votes_for_case?case_id={case_id}&limit=25&offset=0","output_fields":[],"output_fields_truncated":false,"canonical_field_aliases":{},"description_language":"en","documentation":"List the votes (voteringer) held on a case, with for/against/absent\ncounts. Use a vote's `votering_id` with get_vote_result() for the\nper-representative breakdown.\n\nArgs:\n    case_id: A numeric case id, e.g. 100012.","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/stortinget/get_votes_for_case/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/stortinget/get_votes_for_case/?case_id={case_id}&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_votes_for_case","response_schema":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"response_schema_status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"entity_projection":{"status":"intentionally_none","entity_types":[],"description":"No stable cross-source entity projection is defined for this operation; entities is intentionally empty."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_votes_for_case/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_votes_for_case","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_votes_for_case?case_id={case_id}&limit=25&offset=0"},{"name":"get_vote_result","description":"Get the per-representative result of a single vote (voteringsresultat):\nhow each representative voted.","parameters":[{"name":"vote_id","type":"integer","schema":{"type":"integer"},"display_type":"integer","required":true,"default":null,"description":"A numeric vote id (votering_id from get_votes_for_case)."},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_vote_result?vote_id={vote_id}&limit=25&offset=0","output_fields":[],"output_fields_truncated":false,"canonical_field_aliases":{},"description_language":"en","documentation":"Get the per-representative result of a single vote (voteringsresultat):\nhow each representative voted.\n\nArgs:\n    vote_id: A numeric vote id (votering_id from get_votes_for_case).","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/stortinget/get_vote_result/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/stortinget/get_vote_result/?vote_id={vote_id}&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_vote_result","response_schema":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"response_schema_status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"entity_projection":{"status":"intentionally_none","entity_types":[],"description":"No stable cross-source entity projection is defined for this operation; entities is intentionally empty."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_vote_result/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_vote_result","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_vote_result?vote_id={vote_id}&limit=25&offset=0"},{"name":"get_election_result","description":"Norwegian election results from valgresultat.no (Valgdirektoratet):\nper-party votes, percentages, change vs last election and seats, plus\nturnout. Omit fylke_nr for the national result; the response's\n`underomrader` lists the area numbers one level down.","parameters":[{"name":"year","type":"integer","schema":{"type":"integer"},"display_type":"integer","required":true,"default":null,"description":"Election year. Storting/Sameting years: 2009 (st only), 2013, 2017, 2021, 2025. Municipal/county (ko/fy) years: 2011, 2015, 2019, 2023."},{"name":"election_type","type":"string","schema":{"type":"string"},"display_type":"string","required":false,"default":"st","description":"\"st\" Storting, \"fy\" fylkesting, \"ko\" kommunestyre, \"sa\" Sameting."},{"name":"fylke_nr","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"display_type":"string","required":false,"default":null,"description":"Fylke number (e.g. \"03\" for Oslo) to drill down; for \"sa\" this is the valgkrets number (e.g. \"0001\")."},{"name":"kommune_nr","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"display_type":"string","required":false,"default":null,"description":"Kommune number (e.g. \"0301\") within the fylke."},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_election_result?year={year}&election_type=st&fylke_nr={fylke_nr}&kommune_nr={kommune_nr}&limit=25&offset=0","output_fields":["valg","rapport_generert","merknader","stemmeberettigede","frammote_prosent","mandater_totalt","stemmer","partier","partier[].partikode","partier[].parti","partier[].prosent","partier[].prosent_endring","partier[].stemmer","partier[].mandater","partier[].mandater_endring","partier[].utjevningsmandater","underomrader","underomrader[].nr","underomrader[].navn"],"output_fields_truncated":false,"canonical_field_aliases":{"name":["underomrader[].navn"]},"description_language":"en","documentation":"Norwegian election results from valgresultat.no (Valgdirektoratet):\nper-party votes, percentages, change vs last election and seats, plus\nturnout. Omit fylke_nr for the national result; the response's\n`underomrader` lists the area numbers one level down.\n\nArgs:\n    year: Election year. Storting/Sameting years: 2009 (st only), 2013,\n        2017, 2021, 2025. Municipal/county (ko/fy) years: 2011, 2015,\n        2019, 2023.\n    election_type: \"st\" Storting, \"fy\" fylkesting, \"ko\" kommunestyre,\n        \"sa\" Sameting.\n    fylke_nr: Fylke number (e.g. \"03\" for Oslo) to drill down; for \"sa\"\n        this is the valgkrets number (e.g. \"0001\").\n    kommune_nr: Kommune number (e.g. \"0301\") within the fylke.","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/stortinget/get_election_result/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/stortinget/get_election_result/?year={year}&election_type=st&fylke_nr={fylke_nr}&kommune_nr={kommune_nr}&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_election_result","response_schema":{"type":"object","properties":{"valg":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"rapport_generert":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"merknader":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"stemmeberettigede":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"frammote_prosent":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"mandater_totalt":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"stemmer":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"partier":{"type":"array","items":{"type":"object","properties":{"partikode":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"parti":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"prosent":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"prosent_endring":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"stemmer":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"mandater":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"mandater_endring":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"utjevningsmandater":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}},"underomrader":{"type":"array","items":{"type":"object","properties":{"nr":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"navn":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}},"additionalProperties":false}}},"additionalProperties":false},"response_schema_status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"entity_projection":{"status":"intentionally_none","entity_types":[],"description":"No stable cross-source entity projection is defined for this operation; entities is intentionally empty."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_election_result/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_election_result","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/get_election_result?year={year}&election_type=st&fylke_nr={fylke_nr}&kommune_nr={kommune_nr}&limit=25&offset=0"}],"operation_schema_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget/{operation}/schema","related_sources":[{"id":"lovdata","name":"Lovdata public data","reason":"Legislation and case law related to parliamentary business.","api":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata","wiki":"https://allemannsdata.com/wiki/kilder/lovdata/"}],"_meta":{"retrieved_at":"2026-08-02T14:01:14Z","language":"en","content_languages":["en"],"sources":[{"id":"stortinget","name":"Stortinget open data","description":"Parliamentary sessions, representatives, government, parties, cases, votes and election results.","documentation":"https://data.stortinget.no/","cache_ttl_seconds":300}]},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget","names":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget?view=names","compact":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget?view=compact","full":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget","wiki":"https://allemannsdata.com/wiki/kilder/stortinget/"}}
