{"source":"finanstilsynet","operation":"search_licensed_entities","description":"Search licensed firms in Finanstilsynet's licence register. Signature: search_licensed_entities(query: string, optional, default None; licence_type: string, optional, default None; county: string, optional, default None; include_agents: yes/no, optional, default False; limit: integer, items, optional, default 50; offset: integer, items, optional, default 0).","signature":"search_licensed_entities(query: string, optional, default None; licence_type: string, optional, default None; county: string, optional, default None; include_agents: yes/no, optional, default False; limit: integer, items, optional, default 50; offset: integer, items, optional, default 0)","parameters":[{"name":"query","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Free-text search over the entity name (fuzzy). A 9-digit value is an organisation-number lookup. Omit to list one licence_type.","unit":null},{"name":"licence_type","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"A licence code (e.g. \"BANK\", \"CASP\") or a name substring matching exactly one licence type (Norwegian or English). An ambiguous value raises an error listing the matches.","unit":null},{"name":"county","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"A county number (\"46\") or name (\"Vestland\"). Optional.","unit":null},{"name":"include_agents","type":"boolean","schema":{"type":"boolean"},"required":false,"default":false,"description":"Also return firms that only act as agents for the licence type. Default false.","unit":null},{"name":"limit","type":"integer","schema":{"type":"integer"},"required":false,"default":50,"description":"Max entities to return, 1-500 (default 50). Unit: items.","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/finanstilsynet/search_licensed_entities?query={query}&licence_type={licence_type}&county={county}&include_agents=false&limit=50&offset=0","schema_scope":"#/data in the successful operation envelope","response_schema":{"type":"object","properties":{"total_upstream":{"type":"integer"},"count":{"type":"integer"},"entities":{"type":"array","items":{"type":"object","properties":{"id":{"type":["integer","string","null"]},"name":{"type":["string","null"]},"organization_id":{"type":["string","null"]},"type":{"type":["string","null"]},"lei":{"type":["string","null"]},"licences":{"type":"array","items":{"type":"object","properties":{"type_code":{"type":["string","null"]},"type":{"type":["string","null"]},"role":{"type":["string","null"]},"for_entity":{"type":["string","null"]},"registered":{"type":["string","null"],"format":"date"},"supervisor_country":{"type":["string","null"]}},"additionalProperties":false}}},"additionalProperties":false,"required":["licences"]}}},"additionalProperties":false,"required":["total_upstream","count","entities"]},"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."},"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"],"retryable":false},"429":{"codes":["RATE_LIMITED","GATEWAY_RATE_LIMITED"],"retryable":true},"503":{"codes":["SOURCE_UNAVAILABLE"],"retryable":true},"500":{"codes":["INTERNAL_ERROR"],"retryable":true}}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/finanstilsynet/search_licensed_entities/schema","operation":"https://allemannsdata.com/wiki/api/v1/kilder/finanstilsynet/search_licensed_entities","source":"https://allemannsdata.com/wiki/api/v1/kilder/finanstilsynet","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"},"output_fields":["total_upstream","count","entities","entities[].id","entities[].name","entities[].organization_id","entities[].type","entities[].lei","entities[].licences","entities[].licences[].type_code","entities[].licences[].type","entities[].licences[].role","entities[].licences[].for_entity","entities[].licences[].registered","entities[].licences[].supervisor_country"],"output_fields_truncated":false,"canonical_field_aliases":{"identifier":["entities[].id"],"name":["entities[].name"]},"response_example":{"source":"finanstilsynet","operation":"search_licensed_entities","parameters":{"query":"example value","licence_type":"example value","county":"example value","include_agents":false,"limit":50},"data":{"total_upstream":1,"count":1,"entities":[{"id":1,"name":"Example","organization_id":"example-id","type":"example value","lei":"example value","licences":[{"type_code":"example value","type":"example value","role":"example value","for_entity":"example value","registered":"2026-01-15","supervisor_country":"example value"}]}]},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"finanstilsynet","name":"Financial licence register","description":"Firms and persons licensed by Finanstilsynet, with their licence types, roles and supervisory authorities.","cache_ttl_seconds":3600,"documentation":"https://www.finanstilsynet.no/"}]},"_provenance":{"data":{"source":"finanstilsynet","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/finanstilsynet"},"entities":{"source":"finanstilsynet","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/finanstilsynet","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/finanstilsynet/search_licensed_entities","source":"https://allemannsdata.com/wiki/api/v1/kilder/finanstilsynet","wiki":"https://allemannsdata.com/wiki/kilder/finanstilsynet/search_licensed_entities/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}}
