UpGrowth Company creation API
The legal forms of company creation and the State fees (Algeria, Tunisia and Morocco).
The legal forms of company creation and the State fees (Algeria, Tunisia and Morocco).
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/upgrowth-dz:upgrowth-dz-company-creation-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: UpGrowth business data API (Algeria, Tunisia, Morocco)…
version: '1.0'
summary: Public business data for Algeria, Tunisia and Morocco, for websites and AI assistants.
description: 'Public business data for Algeria, Tunisia and Morocco, maintained by UpGrowth (https://www.upgrowth.dz). Algeria (the default country) has every dataset: the CNRC activity codes with their status, the ANAE list of auto-entrepreneur activities (the activity 080101, micro-importation, carries a regime object of its own: it is not governed by the ordinary auto-entrepreneur limits), the wilayas, the index of the Journal Officiel, the sections and chapters of the customs tariff, the legal forms of company creation with the State fees, 2026 estimates of the CASNOS contribution and of the IFU flat tax, and the 2026 tax rates, the social contributions and the key public bodies. Tunisia (country TN) is live with these datasets: the governorates, the legal forms of company creation with the registration steps and official fees, the 2026 tax rates, the social contributions and the key public bodies. It also has the index of its official gazette, the Journal Officiel de la République Tunisienne (JORT), from 1956, through the Journal Officiel routes (French and Arabic editions, no summaries, no direct PDF links). Three more datasets answer through the Algerian routes with country=TN: the activity nomenclature NAT 2009 of the national statistics institute (/activities, four-digit codes, French labels; the status comes from a hand-reviewed map to annex 1 of décret 2018-417, the exclusive list of the activities that need an authorisation, text of 11 May 2018 as amended by décret présidentiel 2022-317 without later amendments: reglementee with the authorisations that govern the class, or libre because the list is exclusive; list=authorisations serves the authorisations themselves), the sections and chapters of the customs tariff, and the CNSS contribution of the non-agricultural self-employed (/calculators/casnos with regime INDEPENDANT_NON_AGRICOLE and income_class). Two more answer with country=TN: the regime of the auto-entrepreneur as the finance law 2023 states it (/anae-activities, one record with the key regime and no list of activities: the official list is not loaded, so the absence of an activity means nothing) and the single contribution of the auto-entrepreneur (/calculators/ifu with regime ae, activity and zone). Morocco (country MA) is live with these datasets: its 12 regions, the legal forms of company creation with the creation steps and official fees, the 2026 tax rates, the social contributions and the key public bodies. It also has the index of its official gazette, the Bulletin officiel, from 1912, through the Journal Officiel routes (French and Arabic editions with their PDF links, no summaries). Morocco also has the official NMA 2010 activity nomenclature on the /activities routes (four-digit codes, every code with the status not_determined), the auto-entrepreneur regime and its excluded professions on the /anae-activities routes and the auto-entrepreneur tax on /calculators/ifu (country=MA, in dirhams); the social security contributions of the auto-entrepreneur on /calculators/casnos (country=MA, regime AUTO_ENTREPRENEUR, in dirhams) and the forfait income multiple of each category of non-salaried worker (regime TRAVAILLEUR_NON_SALARIE with category), and the sections and chapters of its customs tariff (the titles of the harmonized system 2022). Only public data is served, never personal or client data. ## Free tier
No key is needed. Each IP address may make 20 calls per UTC day (an IPv6 address is counted with the other addresses of its /64 block). When you use the data, credit UpGrowth with a link to https://www.upgrowth.dz: the exact text is in meta.attribution of every answer. Past the limit the API answers 429 free_quota_exceeded until 00:00 UTC. Without a key the answers cover Algeria only (country DZ), and the Journal Officiel for the current UTC year and the two years before it (meta.free_years of /journal-officiel/years lists them).'
contact:
name: UpGrowth
url: https://www.upgrowth.dz/api
servers:
- url: https://www.upgrowth.dz/api/v1
description: UpGrowth public data API
security:
- {}
- bearerAuth: []
tags:
- name: Company creation
description: The legal forms of company creation and the State fees (Algeria, Tunisia and Morocco).
paths:
/creation/legal-forms:
get:
tags:
- Company creation
operationId: creation_legal_forms
summary: List legal forms and State fees
description: 'The legal forms for creating a company in Algeria with the partners allowed, the minimum capital and the State fees. It holds no fee of a service provider. Tunisia (country=TN) and Morocco (country=MA): the legal forms, the creation steps and the official fees.'
parameters:
- name: lang
in: query
required: false
description: 'Language of the labels, notes and attribution text in the answer: fr (French, the default), ar (Arabic) or en (English).'
schema:
type: string
enum:
- fr
- ar
- en
default: fr
- name: country
in: query
required: false
description: '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.'
schema:
type: string
pattern: ^[A-Za-z]{2}$
default: DZ
examples:
algeria:
summary: Algeria, the default
value: DZ
tunisia:
summary: Tunisia
value: TN
morocco:
summary: Morocco
value: MA
responses:
'200':
description: The data, with its meta.
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-UpGrowth-Tier:
$ref: '#/components/headers/X-UpGrowth-Tier'
content:
application/json:
schema:
type: object
required:
- data
- meta
properties:
data:
type: array
items:
$ref: '#/components/schemas/LegalForm'
meta:
$ref: '#/components/schemas/Meta'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/TooManyRequests'
'503':
$ref: '#/components/responses/Unavailable'
components:
responses:
Forbidden:
description: 'dataset_unavailable: the account of the key may not read the data of this country. access_denied: the account is not served. Neither says why. key_required: a call with no key asked for what needs one (a country other than Algeria, an older year of the Journal Officiel, a page of a search past the first). trial_ended: the trial of the account is over; the error also carries trial_ended_at, plan, price and order_url. key_required, free_quota_exceeded, trial_ended and trial_quota also carry help { text, url }, the next step (the trial page, or the account page with the Professional price), worded in the language of the lang parameter (fr, en or ar, English by default for the first two).'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unavailable:
description: 'unavailable: a call with a key could not be counted right now. Retry in a moment.'
headers:
Retry-After:
description: Seconds to wait.
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
NotFound:
description: 'not_found: the code, the issue or the section does not exist. country_not_available: the country is not live, or does not have this dataset yet; the message lists the live countries.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: 'invalid_key: the Authorization header is malformed, or the key is unknown or revoked. A call without the header is never refused with this code, it uses the free tier.'
headers:
WWW-Authenticate:
description: 'How to authenticate: a Bearer key.'
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
TooManyRequests:
description: rate_limited (more than about 30 requests in 10 seconds from one address), free_quota_exceeded (the free tier of the address is used up for today), quota_exceeded (the daily quota of the key is used up) or monthly_quota_exceeded (the monthly quota of the account is used up, on the plans that have one) or trial_quota (the 1,000 calls of a trial are used up, which does not reset; the error also carries calls_used, calls_limit, plan, price and order_url). Retry-After says when to try again. quota_exceeded and monthly_quota_exceeded of a professional, team or api key also carry the optional error.upgrade, the next plan with its yearly price. free_quota_exceeded also carries error.upgrade on REST, the professional plan with its yearly price in dollars and in dinars excluding tax.
headers:
Retry-After:
description: Seconds to wait.
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
BadRequest:
description: A parameter is missing or invalid. error.code names the problem and error.message says how to fix it.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
headers:
X-RateLimit-Remaining:
description: Calls left today after this one.
schema:
type: integer
X-UpGrowth-Tier:
description: The plan the call was counted on, or the older tier name of an account that has not been moved to a plan yet.
schema:
type: string
enum:
- free
- professional
- team
- api
- licence
- starter
- pro
- business
- enterprise
X-RateLimit-Limit:
description: Calls allowed per UTC day on the key, or on the free tier.
schema:
type: integer
schemas:
SourceRef:
type: object
required:
- url
- title
- retrieved
properties:
url:
type: string
description: The official page the record was read on.
format: uri
title:
type: string
description: What the page is.
retrieved:
type: string
description: The day the page was read, as YYYY-MM-DD.
FeeStep:
type: object
required:
- step
- fee
- priced
properties:
step:
type: string
description: The creation step.
fee:
anyOf:
- type: object
properties:
dzd:
type: integer
description: The fee in dinars.
dzd_electronic:
type: integer
description: The fee when paid electronically.
dzd_min:
type: integer
description: The lowest fee, when it depends on the case.
dzd_max:
type: integer
description: The highest fee, when it depends on the case.
tnd:
type: integer
description: 'Tunisia: the fee in dinars.'
tnd_electronic:
type: integer
description: 'Tunisia: the fee in dinars when the procedure is carried out electronically.'
tnd_min:
type: integer
description: 'Tunisia: the lowest fee in dinars, when it depends on the case.'
tnd_max:
type: integer
description: 'Tunisia: the highest fee in dinars, when it depends on the case.'
mad:
type: integer
description: 'Morocco: the fee in dirhams.'
- type: 'null'
description: The fee the State fixes, null when no text fixes one.
priced:
type: boolean
description: 'False for a third-party price that no text fixes, such as the notary or the bank: it carries no amount on purpose.'
delay:
type:
- string
- 'null'
description: 'Tunisia and Morocco: the official delay of the step, when a page states one.'
documents:
type: array
items:
type: string
description: 'Tunisia and Morocco: the documents the step asks for.'
source:
anyOf:
- type: string
- $ref: '#/components/schemas/SourceRef'
- type: 'null'
description: 'The official text the fee comes from: a reference for Algeria, the official page for Tunisia and Morocco.'
note:
type:
- string
- 'null'
description: A note on the step, in French for Algeria, in the language of the request for Tunisia and Morocco.
Localized:
type: object
description: The same text in the three languages of the site.
properties:
fr:
type: string
ar:
type: string
en:
type: string
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
properties:
code:
type: string
description: A short stable name for the problem, for example invalid_key or not_found.
message:
type: string
description: What went wrong and how to fix it.
trial_ended_at:
type: string
description: 'trial_ended only: when the trial ended, an ISO time.'
calls_used:
type: integer
description: 'trial_quota only: the calls made since the trial started, the refused one included.'
calls_limit:
type: integer
description: 'trial_quota only: the total of the trial.'
plan:
type: string
description: 'trial_ended and trial_quota: the plan to move to, professional.'
price:
type: object
properties:
currency:
type: string
description: USD, or DZD for a company in Algeria.
year:
type: integer
description: The yearly price. In dinars it excludes tax, 19 % VAT on top.
month:
type: integer
description: 'DZD only: the monthly price, excluding tax.'
excluding_tax:
type: boolean
description: true for the dinar prices.
order_url:
type: string
description: 'trial_ended and trial_quota: the page to order the plan alone, in the language of the lang parameter (fr when absent). Absent for an account that is not served.'
upgrade:
type: object
required:
- plan
- price_usd
- price_dzd_ht
- from
- url
- text
properties:
plan:
type: string
description: 'The next plan: team, api or licence.'
price_usd:
type: integer
description: Its yearly price in US dollars.
price_dzd_ht:
type: integer
description: Its yearly price in dinars, excluding tax (19 % VAT on top, for a company in Algeria only).
from:
type: boolean
description: true when the price is a starting price (api and licence).
from_price:
type: boolean
description: 'free_quota_exceeded only, in place of from: true when the plan is sold from this price (false for professional).'
url:
type: string
description: The account page where the plan is ordered, in the language of the lang parameter, with ?plan=<plan>.
text:
type: string
description: 'One sentence for a person: the limit is reached, the plan, its yearly price and the link.'
description: 'quota_exceeded and monthly_quota_exceeded of a professional, team or api key only: the next plan, priced from the UpGrowth price grid. Absent for a licence key and for an account that is not served. Never shown in the MCP server. free_quota_exceeded of a call with no key, on REST only, also carries it: the professional plan, with from_price and without text (the sentence is the message).'
meta:
type: object
properties:
upgrade:
type: string
description: 'key_required of a call with no key: one sentence on what a paid plan lifts and the cheapest price.'
upgrade_url:
type: string
description: The page of the plans.
format: uri
plans_url:
type: string
description: 'key_required only: the plans page, in the language of the lang parameter.'
format: uri
trial_url:
type: string
description: 'key_required only: the trial page, in the language of the lang parameter.'
format: uri
order_url:
type: string
description: 'key_required only: the Professional order page, in the language of the lang parameter.'
format: uri
professional_price:
type: object
properties:
usd_year:
type: integer
description: The yearly price in US dollars.
dzd_year_ht:
type: integer
description: The yearly price in dinars, excluding tax.
dzd_month_ht:
type: integer
description: The monthly price in dinars, excluding tax (Algeria).
dzd_tva_rate:
type: integer
description: The VAT rate in percent, on top of the dinar prices.
text:
type: string
description: One plain sentence with these prices, in the language of the lang parameter.
Meta:
type: object
required:
- dataset
- source
- source_url
- licence
- licence_url
- attribution
- updated
- help
properties:
country:
type:
- string
- 'null'
description: 'ISO 3166-1 alpha-2 code of the country the answer is about, for example DZ. Present on every successful answer: null only for the list of countries.'
dataset:
type: string
description: Identifier of the dataset the answer comes from.
source:
type: string
description: Name of the source, in the language of the request.
source_url:
type: string
description: The page that describes the source.
licence:
type:
- string
- 'null'
description: 'The licence of the dataset: CC BY 4.0 for the datasets UpGrowth publishes under it, otherwise null.'
licence_url:
type:
- string
- 'null'
description: Link to the text of the licence, null when licence is null.
attribution:
type: string
description: 'The credit to give when the data is used, in the language of the request: UpGrowth, with a link to https://www.upgrowth.dz.'
updated:
type:
- string
- 'null'
description: 'Day of the snapshot of the data, as YYYY-MM-DD. For the tax rates, social contributions and institutions: the day the official pages were read.'
notice:
type: string
description: 'Datasets without an open licence only: why. A null licence never means public domain.'
help:
type: object
required:
- text
- url
properties:
text:
type: string
description: One sentence to pass on to the user.
url:
type: string
description: The contact page of UpGrowth to send the user to.
format: uri
description: A call to action to relay to the user, in the language of the request.
service_line:
type: object
required:
- service
- text
- url
properties:
service:
type: string
description: 'The UpGrowth service the line is about: agrements, creation or demarches.'
text:
type: string
description: 'The line to pass on to the user: the starting price HT (19 % VAT on top) and the order link, in the language of the request.'
url:
type: string
description: The page to order from.
format: uri
description: 'Optional, REST only (not on MCP): present only for Algeria, on the answers of the activity codes (a regulated or free code), the creation legal forms and the start-up label support schemes.'
total:
type: integer
description: Number of results. Present on lists.
limit:
type: integer
description: Page size used. Paginated lists only.
offset:
type: integer
description: Results skipped. Paginated lists only.
sommaire_years:
type: array
items:
type: integer
description: 'Journal Officiel search only: the years whose summaries are searched.'
free_years:
type: array
items:
type: integer
description: 'Calls with no key, Journal Officiel routes only: the years such a call may read.'
upgrade_note:
type: string
description: 'Calls with no key, Journal Officiel routes only: what a paid plan adds, its price and the trial.'
older_matches:
description: 'Calls with no key, full-text search without a year only: how many acts match in the older years that need a plan, a number or the string ''more than 1000''.'
oneOf:
- type: integer
- type: string
truncated:
type: object
required:
- returned
properties:
returned:
type: integer
description: Rows in this answer.
total:
type:
- integer
- 'null'
description: Rows that matched, null when unknown.
description: 'Calls with no key only: present when the answer holds fewer rows than matched, because such a call gets at most 10 rows and cannot page.'
free_note:
type: string
description: 'Calls with no key only: says the list is not complete. Present with truncated.'
upgrade:
type: string
description: 'Calls with no key only: present when the answer is cut (truncated) or refused (403 key_required). One sentence, in the language of the request, with what a paid plan lifts and the cheapest price.'
upgrade_url:
type: string
description: 'Calls with no key only: present with upgrade. The page of the plans.'
format: uri
status_note:
type: string
description: 'CNRC activity answers of Algeria and Morocco: what the statuses libre, reglementee, bloquee and not_determined mean, who gives them and what they do not prove.'
activity_list:
type: object
description: 'ANAE answers of Algeria and Tunisia: whether the list of activities is loaded, how many activities it holds (count), and in note where the list comes from and what it excludes.'
additionalProperties: true
sources:
type: array
items:
$ref: '#/components/schemas/SourceRef'
description: 'Tunisian governorates and Moroccan regions only: every official page the list was read on.'
disclaimer:
$ref: '#/components/schemas/Localized'
description: 'Calculators only: the answer is an estimate from public texts, not tax or legal advice.'
LegalForm:
type: object
required:
- code
- name
- steps
properties:
code:
type: string
description: For example SARL, EURL or SPA.
name:
type: string
description: The name of the form, in the language of the request.
associates:
type: object
properties:
min:
type:
- integer
- 'null'
description: Fewest partners.
max:
type:
- integer
- 'null'
description: Most partners, null when there is no limit.
note:
type:
- string
- 'null'
capital:
type: object
properties:
min_capital_dzd:
type:
- integer
- 'null'
description: The legal minimum, null when the law fixes none.
usual_capital_dzd:
type:
- integer
- 'null'
description: 'The capital usually asked in practice: an observation, not a legal rule.'
public_offering_capital_dzd:
type:
- integer
- 'null'
description: The minimum for a company that makes a public offering.
min_capital_tnd:
type:
- integer
- 'null'
description: 'Tunisia: the legal minimum in dinars, null when the law fixes none.'
public_offering_capital_tnd:
type:
- integer
- 'null'
description: 'Tunisia: the minimum in dinars for a company that makes a public offering.'
min_capital_mad:
type:
- integer
- 'null'
description: 'Morocco: the legal minimum in dirhams, null when the law fixes none.'
public_offering_capital_mad:
type:
- integer
- 'null'
description: 'Morocco: the minimum in dirhams for a company that makes a public offering.'
note:
type:
- string
- 'null'
steps:
type: array
items:
$ref: '#/components/schemas/FeeStep'
published_fees_total:
type: object
properties:
min_dzd:
type:
- integer
- 'null'
max_dzd:
type:
- integer
- 'null'
scope_note:
type:
- string
- 'null'
description: What the total covers.
excludes:
type:
- string
- 'null'
description: What it leaves out.
liability:
type:
- string
- 'null'
description: 'Tunisia and Morocco: who bears the losses and how far.'
legal_basis:
type:
- string
- 'null'
description: 'Tunisia and Morocco: the law and articles the form comes from.'
registration_effect:
type:
- string
- 'null'
description: 'Tunisia and Morocco: what the registration gives the company.'
source:
anyOf:
- $ref: '#/components/schemas/SourceRef'
- type: 'null'
description: 'Tunisia and Morocco: the official page or text the form was read in.'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: ugk_...
description: 'An UpGrowth API key, which starts with ugk_. Optional: without it the free tier applies (20 calls per UTC day per IP address, Algeria only). A malformed or revoked key is refused with 401 invalid_key.'
externalDocs:
description: Documentation, API keys and the MCP server
url: https://www.upgrowth.dz/api