Africa • ISO MA
Verify Morocco companies via API
Know Your Customer Limited verifies Morocco companies live from the l’OMPIC (Registre central du Commerce, Propriété industrielle), returning company data, controlling parties, shareholders and beneficial owners, and registry documents, with AML screening and ongoing monitoring. Free sandbox available.
What the API returns for Morocco
When you create a KYB case for a Morocco company, Know Your Customer Limited retrieves data live from the l’OMPIC (Registre central du Commerce, Propriété industrielle). A single integration returns the company record, the controlling parties and individuals, the shareholders and beneficial owners, and the registry documents, with AML screening on the entity and its associated individuals built into the same case.
Morocco data and document availability
What the API makes available for Morocco companies:
| Category | Available |
|---|---|
| Company data | Entity Name, Entity Type, Entity Status, Registration Number, Registration Date, Other Identifiers, Capital, Activity Type, Other Names |
| Controlling entities & individuals | Name, Role |
| Shareholders & beneficial owners | Name, Role, Sharecount |
| Documents | Retrieved by default: Registry Extract, Company Statutes Available on demand: Historical Extract, Simplified financial statement, Detailed financial statement |
AML, sanctions, and PEP screening on the entity and its associated individuals, and ongoing live monitoring with change alerts, are available for Morocco as part of the same case.
How to verify a Morocco company via API
The following example shows the complete flow: authenticate, search the Morocco registry, create a KYB case, and retrieve company data and the ownership org-chart. All calls go to the sandbox base URL for testing.
The sandbox at https://api.knowyourcustomer.dev is free. Request access to get your client credentials.
# 1. Authenticate (OAuth2 client credentials)
curl -X POST https://api.knowyourcustomer.dev/connect/token \
-d "grant_type=client_credentials" \
-d "client_id=YOUR_CLIENT_ID" \
-d "client_secret=YOUR_CLIENT_SECRET" \
-d "scope=PublicApi"
# 2. Search the Morocco registry
curl -X POST https://api.knowyourcustomer.dev/v2/Companies/search \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"Morocco National Bank","codeiso31662":"MA"}'
# 3. Create a KYB case
curl -X POST https://api.knowyourcustomer.dev/v2/Companies \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"rawname":"Morocco National Bank","codeiso31662":"MA"}'
# 4. Retrieve company data and status
curl https://api.knowyourcustomer.dev/v2/Companies/CASE_ID \
-H "Authorization: Bearer $TOKEN"
# 5. Get the beneficial ownership org-chart
curl https://api.knowyourcustomer.dev/v2/Companies/CASE_ID/org-chart \
-H "Authorization: Bearer $TOKEN"
Replace YOUR_CLIENT_ID and YOUR_CLIENT_SECRET with your sandbox credentials, and CASE_ID with the caseCommonId returned in step 3.
Frequently asked questions about the Morocco KYB API
What company data can I verify in Morocco?
For a Morocco company, the API returns the company record read live from the l’OMPIC (Registre central du Commerce, Propriété industrielle): the entity name, type, status, registration number, address, and registration date, along with the controlling parties, the shareholders and beneficial owners, and the available registry documents. See the table above for the full Morocco availability.
Does the API return beneficial ownership (UBO) data for Morocco companies?
The API resolves the controlling parties, shareholders, and beneficial owners for Morocco companies and exposes them as a recursive ownership org-chart (GET /v2/Companies/{caseCommonId}/org-chart), tracing control through holding companies to the individual beneficial owners. The depth available depends on what the l’OMPIC (Registre central du Commerce, Propriété industrielle) discloses. See the UBO API.
Can I retrieve official registry documents for Morocco companies?
Yes. The default document set for Morocco includes Registry Extract, Company Statutes, retrieved by default, with additional documents available on demand (Historical Extract, Simplified financial statement, Detailed financial statement). List and download them with the documents endpoint (GET /v2/Companies/{caseCommonId}/documents).
Is there a free sandbox for testing Morocco company verification?
Yes. The Know Your Customer sandbox at https://api.knowyourcustomer.dev is a free, high-fidelity test environment. Request free sandbox access to start testing.
The Know Your Customer Limited API covers 147 jurisdictions worldwide, including Morocco. One integration, one set of credentials, one response schema across all markets. Browse all covered jurisdictions.
Related coverage: Angola • Botswana • Burkina Faso • Djibouti • Ethiopia • Kenya.
Ready to verify Morocco companies?
The sandbox is free and available immediately. Integrate once, cover 147 jurisdictions.
