Get a CNRC activity code
get_activity_codeGet one activity of the Algerian CNRC nomenclature by its six-digit code, for example 101101: its status (free, regulated or blocked), its labels in French, Arabic and English, its sector and group, the URL of its page on upgrowth.dz and, in French, the text of the code as the CNRC publishes it: the supervising authority, the type of authorization, what the activity covers, its accessory activities and its legal references. Where UpGrowth compared the text with the Journal officiel and found an abrogated or mistyped reference, a wrong authority or type, or a doubt, details.jo_check gives the corrected value (already put in the field), the value it replaced, the act, the Journal officiel issue and the article, or what is left to verify: read it before quoting the authority or the text of a code. Use it when the user already gives a code, or after search_activity_codes. Returns an error when the code does not exist. For Tunisia (country TN) pass the four-digit NAT 2009 class code, for example 0111: you get its label in French, its section, division and group, its status (reglementee with the authorisations of annex 1 of décret 2018-417 that govern it and their legal references, or libre because that list is exclusive) and the official source. Pass A1-017 or A2-005 to get one authorisation of the decree as a record. For Morocco (country MA) pass the four-digit NMA 2010 code, for example 0111: you get its labels, section, branch, sub-branch and its status not_determined.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Activity code. Algeria: the CNRC code, six digits, for example 101101. Tunisia (country TN): the NAT 2009 class code, four digits, for example 0111 or 01.11, or the code of an authorisation of décret 2018-417, A1-017 (annex 1) or A2-005 (annex 2), or one added by décret 2022-317 such as A1-019bis. Morocco (country MA): the NMA 2010 activity code, four digits, for example 0111. Find codes with search_activity_codes. | |
| lang | No | Language of the labels, notes and attribution text in the answer: fr (French, the default), ar (Arabic) or en (English). | fr |
| country | No | Country of the data, an ISO 3166-1 alpha-2 code in any letter case: DZ for Algeria, the default, TN for Tunisia or MA for Morocco. Only live countries answer: list_countries shows them and their datasets. Any other country, or a dataset the country does not have (for example the activity nomenclature for Morocco), returns country_not_available. Without an API key only DZ answers: TN and MA return key_required. | DZ |