Morocco GeoData API: Cities & Regions
Your gateway to Morocco's geographic data Access comprehensive information about Morocco's regions and cities through simple, reliable API endpoints. Perfect for travel applications, business location services, government reference tools, and educational platforms. Features: Complete database of all Moroccan regions and cities Clean, consistent JSON responses Search by name, filter by region…
Morocco GeoData API: Cities & Regions endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET |
search_search_get /search |
Search for regions or cities by name |
| GET |
get_city_cities__city_id__get /cities/{city_id} |
Get details for a specific city |
| GET |
get_regions_regions_get /regions |
Get all regions in Morocco |
| GET |
get_region_regions__region_id__get /regions/{region_id} |
Get details for a specific region |
| GET |
get_cities_cities_get /cities |
Get cities with pagination and filtering |
| GET |
get_cities_by_region_cities_by_region__region_id__get /cities/by-region/{region_id} |
Get all cities for a specific region |
| GET |
Get region details /morocco/regions/{region_id} |
Get details for a specific region |
| GET |
Get cities with filtering /morocco/cities |
Get cities with pagination and filtering |
| GET |
Get all Morocco regions /morocco/regions |
Get all Morocco regions |
| GET |
Search cities and regions /morocco/search |
Search for regions or cities by name |
| GET |
Get cities in region /morocco/cities/by-region/{region_id} |
Get all cities for a specific region |
| GET |
Get city details /morocco/cities/{city_id} |
Get details for a specific city |