MoroccoAPI
moroccoapi.dev- Category
- Developer Tools
- Rank
- No. 1604Tools index
Previous survey · No. 1562 ·
- Pricing
- Open Source
- Type
- TOOL
- Use case
- Data, Retrieval & Knowledge
- Interfaces
- API
- GitHub
- 30 stars
- Latest release
- v2.7.0
- Date
About
MoroccoAPI is a community-built, open-source JSON API for Moroccan public data, covering geography, population, postal codes, schools and health. It needs no API key and has documentation in English, French and Arabic. Each dataset keeps its source, licence and update dates so users can trace where fields come from, and the API will not expose personal data.
At a glance
MoroccoAPI publishes Moroccan public datasets as JSON, with source metadata. It is worth trying if you need a region or municipality selector and want to trace names and identifiers to the underlying dataset.
Good fit
Developers building forms, maps or data tools that need Moroccan administrative geography.
Consider something else when
Skip it as your sole source when you need a guaranteed refresh schedule or coverage of a dataset outside the catalog.
Start here
Call the regions endpoint and use one returned code and translated name in a test selector. Check the response metadata before shipping the labels.
Cost and requirements
The community project is open source. Its public regions endpoint responded without credentials in this test and returned CC BY 4.0 attribution metadata.
Limits to know
The test covered the regions endpoint only. Check source dates, attribution and geographic granularity for each dataset you use.
Sources checked 2026-11-05. Source-based assessment.
Similar tools
Tags
Tech Stack
Media

Editorially curated, with community endorsements as a secondary signal. Corrections welcome.