{"source":"nodomains","operation":"sovereignty_stats","description":"Where Norwegian organizations' web hosting, e-mail or DNS is controlled:\ndomain counts and shares by jurisdiction (NO, EEA, US, UK, CH, other,\nunknown, none = no such service), grouped by the linked organization's\nkommune, county, SSB institutional sector code, org form or public/private. Signature: sovereignty_stats(group_by: one of: kommune, county, sector, orgform, public, optional, default 'kommune'; role: one of: hosting, mail, dns, optional, default 'hosting'; public_sector: yes/no, optional, default None; orgform: string, optional, default None; county: string, optional, default None; live_only: yes/no, optional, default False; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","signature":"sovereignty_stats(group_by: one of: kommune, county, sector, orgform, public, optional, default 'kommune'; role: one of: hosting, mail, dns, optional, default 'hosting'; public_sector: yes/no, optional, default None; orgform: string, optional, default None; county: string, optional, default None; live_only: yes/no, optional, default False; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0)","parameters":[{"name":"group_by","type":"string","schema":{"enum":["kommune","county","sector","orgform","public"],"type":"string"},"required":false,"default":"kommune","description":"\"kommune\" (default), \"county\", \"sector\", \"orgform\" or \"public\".","unit":null},{"name":"role","type":"string","schema":{"enum":["hosting","mail","dns"],"type":"string"},"required":false,"default":"hosting","description":"\"hosting\" (default, the website), \"mail\" (MX) or \"dns\".","unit":null},{"name":"public_sector","type":"boolean","schema":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"required":false,"default":null,"description":"true for public-sector orgs only, false for private.","unit":null},{"name":"orgform","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Only orgs of this form, e.g. \"KOMM\" for municipalities.","unit":null},{"name":"county","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Only orgs in this county (name or number).","unit":null},{"name":"live_only","type":"boolean","schema":{"type":"boolean"},"required":false,"default":false,"description":"Count only domains with a live website.","unit":null},{"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).","unit":"items"},{"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.","unit":"items"}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/nodomains/sovereignty_stats?group_by=kommune&role=hosting&public_sector={public_sector}&orgform={orgform}&county={county}&live_only=false&limit=25&offset=0","example_url":"https://allemannsdata.com/wiki/api/v1/kilder/nodomains/sovereignty_stats?group_by=county&orgform=KOMM","schema_scope":"#/data in the successful operation envelope","response_schema":{"type":"object","properties":{"group_by":{"type":"string"},"role":{"type":"string"},"total_domains":{"type":"integer"},"items":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"name":{"type":["string","null"]},"total":{"type":"integer"},"counts":{"type":"object","properties":{"NO":{"type":"integer"},"EEA":{"type":"integer"},"US":{"type":"integer"},"UK":{"type":"integer"},"CH":{"type":"integer"},"other":{"type":"integer"},"unknown":{"type":"integer"},"none":{"type":"integer"}},"additionalProperties":false},"shares":{"type":"object","properties":{"NO":{"type":"number"},"EEA":{"type":"number"},"US":{"type":"number"},"UK":{"type":"number"},"CH":{"type":"number"},"other":{"type":"number"},"unknown":{"type":"number"},"none":{"type":"number"}},"additionalProperties":false}},"additionalProperties":false,"required":["key","total","counts","shares"]}}},"additionalProperties":false,"required":["group_by","role","total_domains","items"]},"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."},"error_contract":{"scope":"top-level HTTP error response; never part of a success payload","schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object"}},"additionalProperties":false,"required":["code","message","retryable"]},"suggestion":{"type":"string"},"_meta":{"type":"object","properties":{"retrieved_at":{"type":"string","format":"date-time"},"language":{"type":"string","const":"en"},"content_languages":{"type":"array","items":{"type":"string"}},"sources":{"type":"array","items":{"type":"object"}}},"required":["retrieved_at","language","content_languages","sources"]},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"api_index":{"type":"string","format":"uri"},"feedback":{"type":"string","format":"uri"}},"required":["self","api_index","feedback"],"additionalProperties":false}},"additionalProperties":false,"required":["error","suggestion","_meta","_links"]},"statuses":{"400":{"codes":["MISSING_PARAMETER","INVALID_PARAMETER","INVALID_REQUEST"],"retryable":false},"404":{"codes":["SOURCE_NOT_FOUND","OPERATION_NOT_FOUND","ENTITY_NOT_FOUND","ENDPOINT_NOT_FOUND"],"retryable":false},"405":{"codes":["METHOD_NOT_ALLOWED"],"retryable":false},"429":{"codes":["RATE_LIMITED","GATEWAY_RATE_LIMITED"],"retryable":true},"503":{"codes":["SOURCE_UNAVAILABLE"],"retryable":true},"500":{"codes":["INTERNAL_ERROR"],"retryable":false}}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/nodomains/sovereignty_stats/schema","operation":"https://allemannsdata.com/wiki/api/v1/kilder/nodomains/sovereignty_stats","source":"https://allemannsdata.com/wiki/api/v1/kilder/nodomains","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"},"output_fields":["group_by","role","total_domains","items","items[].key","items[].name","items[].total","items[].counts","items[].counts.NO","items[].counts.EEA","items[].counts.US","items[].counts.UK","items[].counts.CH","items[].counts.other","items[].counts.unknown","items[].counts.none","items[].shares","items[].shares.NO","items[].shares.EEA","items[].shares.US","items[].shares.UK","items[].shares.CH","items[].shares.other","items[].shares.unknown","items[].shares.none"],"output_fields_truncated":false,"canonical_field_aliases":{"name":["items[].name"]},"response_example":{"source":"nodomains","operation":"sovereignty_stats","parameters":{"group_by":"county","orgform":"KOMM","limit":25,"offset":0},"data":{"group_by":"example value","role":"example value","total_domains":1,"items":[{"key":"example value","name":"Example","total":1,"counts":{"NO":1,"EEA":1,"US":1,"UK":1,"CH":1,"other":1,"unknown":1,"none":1},"shares":{"NO":1.0,"EEA":1.0,"US":1.0,"UK":1.0,"CH":1.0,"other":1.0,"unknown":1.0,"none":1.0}}]},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"nodomains","name":".no domains","description":"~1.2 million .no domain names with registry status and web visibility, plus hosting, mail and DNS vendors with jurisdiction, tech stack, TLS and linked Br\u00f8nn\u00f8ysund organizations for ~713k registered domains. Phishing lookalikes, CVE exposure and digital-sovereignty statistics per kommune, county and sector.","publisher":null,"license":null,"cache_ttl_seconds":60}]},"_provenance":{"data":{"source":"nodomains","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/nodomains"},"entities":{"source":"nodomains","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/nodomains","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/nodomains/sovereignty_stats","source":"https://allemannsdata.com/wiki/api/v1/kilder/nodomains","wiki":"https://allemannsdata.com/wiki/kilder/nodomains/sovereignty_stats/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}}
