🇲🇦Morocco
المغرب
Morocco is a sovereign country in Northern Africa, Africa. Its capital is Rabat. It has a population of about 36,910,558 across 446,550 km² — roughly 83 people per km². The currency is the Moroccan dirham (MAD د.م.). The official language is Arabic. Its ISO 3166 codes are MA, MAR, 504, and the international calling code is +212.
Key facts about Morocco
GET/alpha/MAOther names for Morocco
Largest cities in Morocco (12)
GET/cities?country=MACountries bordering Morocco (3)
GET/borders/moroccoFrequently asked questions about Morocco
What is the capital of Morocco?
The capital of Morocco is Rabat.
What is the population of Morocco?
Morocco has a population of about 36,910,558, the 40th largest in the world.
What currency is used in Morocco?
Morocco uses the Moroccan dirham (MAD, symbol د.م.).
What languages are spoken in Morocco?
The main language of Morocco is Arabic.
What is the calling code for Morocco?
The international dialing code for Morocco is +212.
Which countries border Morocco?
Morocco shares land borders with Algeria, Western Sahara, and Spain.
Query Morocco from the API
Every value on this page is available from the free REST API — no key required. Each endpoint below is filled in for Morocco; copy any URL and run it.
GET countries.dev/alpha/MAGET countries.dev/alpha/MARGET countries.dev/numericcode/504GET countries.dev/cioc/MARGET countries.dev/name/moroccoGET countries.dev/region/AfricaGET countries.dev/subregion/Northern%20AfricaGET countries.dev/currency/MADGET countries.dev/lang/arGET countries.dev/callingcode/212GET countries.dev/timezone/UTCGET countries.dev/tld/maGET countries.dev/demonym/MoroccanGET countries.dev/capital/Rabat