{"id":"lottstift","name":"Voluntary-sector allocations (Lottstift)","description":"Find VAT compensation for voluntary organizations and sports facilities, and allocations from Norsk Tipping's surplus. Search published spreadsheets by recipient, organization number or municipality and rank recipients. Published years vary by scheme; amounts are allocations or approvals, not necessarily payments. Older files and ledgers without recipient organization numbers are excluded.","documentation":"https://lottstift.no/opne-data/","operations":[{"name":"list_datasets","description":"Find official allocation spreadsheets and the years actually published. Signature: list_datasets(scheme: one of: vat, surplus, sports, optional, default None).","signature":"list_datasets(scheme: one of: vat, surplus, sports, optional, default None)","parameters":[{"name":"scheme","type":"string","schema":{"anyOf":[{"enum":["vat","surplus","sports"],"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"vat (voluntary organisations), surplus (Norsk Tipping) or sports (sports facilities). None lists all three schemes. VAT lists since 2019, sports lists since 2018 and surplus lists since 2017. Older files and payout ledgers without recipient organisation numbers are excluded.","unit":null,"display_type":"one of: vat, surplus, sports"}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift/list_datasets?scheme={scheme}","example_url":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift/list_datasets?scheme=vat","not_paged":"Returns the supported publication catalogue in full.","output_fields":["count","datasets","datasets[].dataset_id","datasets[].scheme","datasets[].name","datasets[].source_url","datasets[].year","source_url","coverage_note"],"output_fields_truncated":false,"canonical_field_aliases":{"name":["datasets[].name"]},"description_language":"en","documentation":"Find official allocation spreadsheets and the years actually published.\n\nArgs:\n    scheme: vat (voluntary organisations), surplus (Norsk Tipping) or sports (sports facilities).\n        None lists all three schemes. VAT lists since 2019, sports lists since 2018 and surplus lists since 2017.\n        Older files and payout ledgers without recipient organisation numbers are excluded.\n\nSignature: list_datasets(scheme: one of: vat, surplus, sports, optional, default None).","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/lottstift/list_datasets/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/lottstift/list_datasets/?scheme={scheme}","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift/list_datasets","response_schema":{"type":"object","properties":{"count":{"type":"integer"},"datasets":{"type":"array","items":{"type":"object","properties":{"dataset_id":{"type":"string"},"scheme":{"type":"string"},"name":{"type":"string"},"source_url":{"type":"string"},"year":{"type":"integer"}},"additionalProperties":false}},"source_url":{"type":["string","null"]},"coverage_note":{"type":["string","null"]}},"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/lottstift/list_datasets/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift/list_datasets","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift/list_datasets?scheme={scheme}","response_example":{"source":"lottstift","operation":"list_datasets","parameters":{"scheme":"vat"},"data":{"count":1,"datasets":[{"dataset_id":"example-id","scheme":"example value","name":"Example","source_url":"https://example.invalid/resource","year":1}],"source_url":"https://example.invalid/resource","coverage_note":"example value"},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"lottstift","name":"Voluntary-sector allocations (Lottstift)","description":"Find VAT compensation for voluntary organizations and sports facilities, and allocations from Norsk Tipping's surplus. Search published spreadsheets by recipient, organization number or municipality and rank recipients. Published years vary by scheme; amounts are allocations or approvals, not necessarily payments. Older files and ledgers without recipient organization numbers are excluded.","publisher":"Lotteri- og stiftelsestilsynet","license":null,"cache_ttl_seconds":3600,"documentation":"https://lottstift.no/opne-data/"}]},"_provenance":{"data":{"source":"lottstift","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift"},"entities":{"source":"lottstift","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift/list_datasets","source":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift","wiki":"https://allemannsdata.com/wiki/kilder/lottstift/list_datasets/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}},{"name":"search_allocations","description":"Search one published allocation list by recipient, organisation number or municipality. Signature: search_allocations(dataset_id: string, required; query: string, optional, default None; organization_id: string, optional, default None; municipality: string, optional, default None; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","signature":"search_allocations(dataset_id: string, required; query: string, optional, default None; organization_id: string, optional, default None; municipality: string, optional, default None; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0)","parameters":[{"name":"dataset_id","type":"string","schema":{"type":"string"},"required":true,"default":null,"description":"Identifier from list_datasets; each publication is queried separately.","unit":null,"display_type":"string"},{"name":"query","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Literal recipient-name substring, case insensitive.","unit":null,"display_type":"string"},{"name":"organization_id","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Nine-digit organisation number, optionally with spaces.","unit":null,"display_type":"string"},{"name":"municipality","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Exact municipality name as published; not available in every spreadsheet.","unit":null,"display_type":"string"},{"name":"limit","type":"integer","schema":{"maximum":100,"minimum":1,"type":"integer","default":25},"required":false,"default":25,"description":"Allocation rows per page, 1\u2013100. Unit: items. Through this API: default 25, maximum 100.","unit":"items","display_type":"integer"},{"name":"offset","type":"integer","schema":{"minimum":0,"type":"integer"},"required":false,"default":0,"description":"Rows to skip. Multiple projects for the same recipient remain separate. Unit: items.","unit":"items","display_type":"integer"}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift/search_allocations?dataset_id={dataset_id}&query={query}&organization_id={organization_id}&municipality={municipality}&limit=25&offset=0","example_url":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift/search_allocations?dataset_id=vat-2024-a88ff58f&municipality=Trondheim","output_fields":["count","returned","allocations","allocations[].dataset_id","allocations[].scheme","allocations[].row_id","allocations[].organization_id","allocations[].name","allocations[].municipality","allocations[].county","allocations[].category","allocations[].outcome","allocations[].facility","allocations[].facility_id","allocations[].description","allocations[].note","allocations[].organisation_type","allocations[].applicant_org_nr","allocations[].amount_column","allocations[].year","allocations[].amount_nok","allocations[].supplementary_amount_nok","source","source.source_url","source.currency","source.funding_note","source.coverage_note","source.data_generated_at","source.first_transaction_date","source.last_transaction_date"],"output_fields_truncated":true,"canonical_field_aliases":{"name":["allocations[].name","source.name"]},"temporal_conventions":{"timezone":"explicit_offset","join_guidance":"date-time fields are RFC 3339 with an explicit offset (Z, +00:00 or the Europe/Oslo offset); compare absolute instants, not clock text. date fields are calendar dates without a time zone.","datetime_fields":["source.snapshot_refreshed_at"]},"description_language":"en","documentation":"Search one published allocation list by recipient, organisation number or municipality.\n\nArgs:\n    dataset_id: Identifier from list_datasets; each publication is queried separately.\n    query: Literal recipient-name substring, case insensitive.\n    org_nr: Nine-digit organisation number, optionally with spaces.\n    municipality: Exact municipality name as published; not available in every spreadsheet.\n    limit: Allocation rows per page, 1\u2013100.\n    offset: Rows to skip. Multiple projects for the same recipient remain separate.\n\nSignature: search_allocations(dataset_id: string, required; query: string, optional, default None; organization_id: string, optional, default None; municipality: string, optional, default None; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/lottstift/search_allocations/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/lottstift/search_allocations/?dataset_id={dataset_id}&query={query}&organization_id={organization_id}&municipality={municipality}&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift/search_allocations","response_schema":{"type":"object","properties":{"count":{"type":"integer"},"returned":{"type":"integer"},"allocations":{"type":"array","items":{"type":"object","properties":{"dataset_id":{"type":["string","null"]},"scheme":{"type":["string","null"]},"row_id":{"type":["string","null"]},"organization_id":{"type":["string","null"]},"name":{"type":["string","null"]},"municipality":{"type":["string","null"]},"county":{"type":["string","null"]},"category":{"type":["string","null"]},"outcome":{"type":["string","null"]},"facility":{"type":["string","null"]},"facility_id":{"type":["string","null"]},"description":{"type":["string","null"]},"note":{"type":["string","null"]},"organisation_type":{"type":["string","null"]},"applicant_org_nr":{"type":["string","null"]},"amount_column":{"type":["string","null"]},"year":{"type":"integer"},"amount_nok":{"type":["number","null"]},"supplementary_amount_nok":{"type":["number","null"]}},"additionalProperties":false}},"source":{"type":"object","properties":{"source_url":{"type":["string","null"]},"currency":{"type":["string","null"]},"funding_note":{"type":["string","null"]},"coverage_note":{"type":["string","null"]},"data_generated_at":{"type":["string","null"]},"first_transaction_date":{"type":["string","null"]},"last_transaction_date":{"type":["string","null"]},"dataset_id":{"type":["string","null"]},"scheme":{"type":["string","null"]},"name":{"type":["string","null"]},"amount_note":{"type":["string","null"]},"snapshot_refreshed_at":{"type":"string","format":"date-time"},"activity_count":{"type":"integer"},"year":{"type":"integer"},"has_municipality":{"type":"boolean"}},"additionalProperties":false},"dataset_id":{"type":["string","null"]},"total_amount_nok":{"type":["number","null"]},"missing_amount_rows":{"type":"integer"}},"additionalProperties":false},"response_schema_status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"entity_projection":{"status":"projected","entity_types":["organization"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift/search_allocations/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift/search_allocations","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift/search_allocations?dataset_id={dataset_id}&query={query}&organization_id={organization_id}&municipality={municipality}&limit=25&offset=0","response_example":{"source":"lottstift","operation":"search_allocations","parameters":{"dataset_id":"vat-2024-a88ff58f","municipality":"Trondheim","limit":25,"offset":0},"data":{"count":1,"returned":1,"allocations":[{"dataset_id":"example-id","scheme":"example value","row_id":"example-id","organization_id":"example-id","name":"Example","municipality":"example value","county":"example value","category":"example value","outcome":"example value","facility":"example value","facility_id":"example-id","description":"example value","note":"example value","organisation_type":"example value","applicant_org_nr":"example value","amount_column":"example value","year":1,"amount_nok":1.0,"supplementary_amount_nok":1.0}],"source":{"source_url":"https://example.invalid/resource","currency":"example value","funding_note":"example value","coverage_note":"example value","data_generated_at":"example value","first_transaction_date":"2026-01-15","last_transaction_date":"2026-01-15","dataset_id":"example-id","scheme":"example value","name":"Example","amount_note":"example value","snapshot_refreshed_at":"2026-01-15T12:00:00Z","activity_count":1,"year":1,"has_municipality":true},"dataset_id":"example-id","total_amount_nok":1.0,"missing_amount_rows":1},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"lottstift","name":"Voluntary-sector allocations (Lottstift)","description":"Find VAT compensation for voluntary organizations and sports facilities, and allocations from Norsk Tipping's surplus. Search published spreadsheets by recipient, organization number or municipality and rank recipients. Published years vary by scheme; amounts are allocations or approvals, not necessarily payments. Older files and ledgers without recipient organization numbers are excluded.","publisher":"Lotteri- og stiftelsestilsynet","license":null,"cache_ttl_seconds":3600,"documentation":"https://lottstift.no/opne-data/"}]},"_provenance":{"data":{"source":"lottstift","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift"},"entities":{"source":"lottstift","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift/search_allocations","source":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift","wiki":"https://allemannsdata.com/wiki/kilder/lottstift/search_allocations/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}},{"name":"summarize_allocations","description":"Rank recipients within one publication by their listed allocation amounts. Signature: summarize_allocations(dataset_id: string, required; municipality: string, optional, default None; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","signature":"summarize_allocations(dataset_id: string, required; municipality: string, optional, default None; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0)","parameters":[{"name":"dataset_id","type":"string","schema":{"type":"string"},"required":true,"default":null,"description":"Identifier from list_datasets.","unit":null,"display_type":"string"},{"name":"municipality","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Optional exact municipality name; not available in all publications.","unit":null,"display_type":"string"},{"name":"limit","type":"integer","schema":{"maximum":100,"minimum":1,"type":"integer","default":25},"required":false,"default":25,"description":"Recipients per page, 1\u2013100. Unit: items. Through this API: default 25, maximum 100.","unit":"items","display_type":"integer"},{"name":"offset","type":"integer","schema":{"minimum":0,"type":"integer"},"required":false,"default":0,"description":"Recipients to skip. Unit: items.","unit":"items","display_type":"integer"}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift/summarize_allocations?dataset_id={dataset_id}&municipality={municipality}&limit=25&offset=0","example_url":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift/summarize_allocations?dataset_id=vat-2024-a88ff58f&municipality=Trondheim","output_fields":["count","returned","recipients","recipients[].organization_id","recipients[].name","recipients[].allocation_count","recipients[].amount_nok","recipients[].missing_amount_rows","source","source.source_url","source.currency","source.funding_note","source.coverage_note","source.data_generated_at","source.first_transaction_date","source.last_transaction_date","source.dataset_id","source.scheme","source.name","source.amount_note","source.snapshot_refreshed_at","source.activity_count","source.year","source.has_municipality","dataset_id"],"output_fields_truncated":false,"canonical_field_aliases":{"name":["recipients[].name","source.name"]},"temporal_conventions":{"timezone":"explicit_offset","join_guidance":"date-time fields are RFC 3339 with an explicit offset (Z, +00:00 or the Europe/Oslo offset); compare absolute instants, not clock text. date fields are calendar dates without a time zone.","datetime_fields":["source.snapshot_refreshed_at"]},"description_language":"en","documentation":"Rank recipients within one publication by their listed allocation amounts.\n\nArgs:\n    dataset_id: Identifier from list_datasets.\n    municipality: Optional exact municipality name; not available in all publications.\n    limit: Recipients per page, 1\u2013100.\n    offset: Recipients to skip.\n\nNo merging across years, schemes or supplementary publications is performed.\n\nSignature: summarize_allocations(dataset_id: string, required; municipality: string, optional, default None; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/lottstift/summarize_allocations/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/lottstift/summarize_allocations/?dataset_id={dataset_id}&municipality={municipality}&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift/summarize_allocations","response_schema":{"type":"object","properties":{"count":{"type":"integer"},"returned":{"type":"integer"},"recipients":{"type":"array","items":{"type":"object","properties":{"organization_id":{"type":["string","null"]},"name":{"type":["string","null"]},"allocation_count":{"type":"integer"},"amount_nok":{"type":["number","null"]},"missing_amount_rows":{"type":"integer"}},"additionalProperties":false}},"source":{"type":"object","properties":{"source_url":{"type":["string","null"]},"currency":{"type":["string","null"]},"funding_note":{"type":["string","null"]},"coverage_note":{"type":["string","null"]},"data_generated_at":{"type":["string","null"]},"first_transaction_date":{"type":["string","null"]},"last_transaction_date":{"type":["string","null"]},"dataset_id":{"type":["string","null"]},"scheme":{"type":["string","null"]},"name":{"type":["string","null"]},"amount_note":{"type":["string","null"]},"snapshot_refreshed_at":{"type":"string","format":"date-time"},"activity_count":{"type":"integer"},"year":{"type":"integer"},"has_municipality":{"type":"boolean"}},"additionalProperties":false},"dataset_id":{"type":["string","null"]}},"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/lottstift/summarize_allocations/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift/summarize_allocations","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift/summarize_allocations?dataset_id={dataset_id}&municipality={municipality}&limit=25&offset=0","response_example":{"source":"lottstift","operation":"summarize_allocations","parameters":{"dataset_id":"vat-2024-a88ff58f","municipality":"Trondheim","limit":25,"offset":0},"data":{"count":1,"returned":1,"recipients":[{"organization_id":"example-id","name":"Example","allocation_count":1,"amount_nok":1.0,"missing_amount_rows":1}],"source":{"source_url":"https://example.invalid/resource","currency":"example value","funding_note":"example value","coverage_note":"example value","data_generated_at":"example value","first_transaction_date":"2026-01-15","last_transaction_date":"2026-01-15","dataset_id":"example-id","scheme":"example value","name":"Example","amount_note":"example value","snapshot_refreshed_at":"2026-01-15T12:00:00Z","activity_count":1,"year":1,"has_municipality":true},"dataset_id":"example-id"},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"lottstift","name":"Voluntary-sector allocations (Lottstift)","description":"Find VAT compensation for voluntary organizations and sports facilities, and allocations from Norsk Tipping's surplus. Search published spreadsheets by recipient, organization number or municipality and rank recipients. Published years vary by scheme; amounts are allocations or approvals, not necessarily payments. Older files and ledgers without recipient organization numbers are excluded.","publisher":"Lotteri- og stiftelsestilsynet","license":null,"cache_ttl_seconds":3600,"documentation":"https://lottstift.no/opne-data/"}]},"_provenance":{"data":{"source":"lottstift","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift"},"entities":{"source":"lottstift","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift/summarize_allocations","source":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift","wiki":"https://allemannsdata.com/wiki/kilder/lottstift/summarize_allocations/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}}],"operation_schema_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift/{operation}/schema","related_sources":[{"id":"brreg","name":"Br\u00f8nn\u00f8ysund Register Centre","reason":"Official entity information for allocation recipients.","api":"https://allemannsdata.com/wiki/api/v1/kilder/brreg","wiki":"https://allemannsdata.com/wiki/kilder/brreg/"},{"id":"anleggsregisteret","name":"Anleggsregisteret sports facilities","reason":"Sports facilities receiving VAT compensation.","api":"https://allemannsdata.com/wiki/api/v1/kilder/anleggsregisteret","wiki":"https://allemannsdata.com/wiki/kilder/anleggsregisteret/"}],"_meta":{"retrieved_at":"2026-11-29T12:00:45Z","language":"en","content_languages":["en"],"sources":[{"id":"lottstift","name":"Voluntary-sector allocations (Lottstift)","description":"Find VAT compensation for voluntary organizations and sports facilities, and allocations from Norsk Tipping's surplus. Search published spreadsheets by recipient, organization number or municipality and rank recipients. Published years vary by scheme; amounts are allocations or approvals, not necessarily payments. Older files and ledgers without recipient organization numbers are excluded.","publisher":"Lotteri- og stiftelsestilsynet","license":null,"documentation":"https://lottstift.no/opne-data/","cache_ttl_seconds":3600}]},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift","names":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift?view=names","compact":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift?view=compact","full":"https://allemannsdata.com/wiki/api/v1/kilder/lottstift","wiki":"https://allemannsdata.com/wiki/kilder/lottstift/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}
