Skip to content

.ma

Please find in the following a set of the most commonly used standard API commands in order to register, modify, renew, and transfer a domain name.

(API Command reference » AddDomain)

Command
command = AddDomain
domain = yourdomain.ma
period = (INT)
ownercontact0 = (CONTACT)
admincontact0 = (CONTACT)
techcontact0 = (CONTACT)
billingcontact0 = (CONTACT)
nameserver0 = (NAMESERVER)
nameserver1 = (NAMESERVER)

From 15 July 2024, a new field is required to register a .ma domain name. You will now need to provide :

  • Your national identity number (C.I.N.) or passport number if you are registering the domain as an individual.
  • Your common company identifier (C.C.I.) or trade register number if you are registering the domain as a company.

(API Command reference » ModifyDomain)

Standard command
command = ModifyDomain
domain = yourdomain.ma
Exception
command = TradeDomain
domain = yourdomain.ma
ownercontact0 = (CONTACT)

(API Command reference » RenewDomain)

Command
command = RenewDomain
domain = yourdomain.ma
period = (INT)
expiration = (INT)

(API Command reference » DeleteDomain)

Command
COMMAND = DeleteDomain
DOMAIN = yourdomain.ma

(API Command reference » TransferDomain)

Exception
command = TransferDomain
domain = yourdomain.ma
action = REQUEST
auth = (TEXT)
ownercontact0 = (CONTACT)
Command
RestoreDomain

is not available for .ma TLDs.

  • Unethical, sexual or any domain name that is considered against the Kingdom of Morocco or the religion of Islam is not allowed.

FTLD .ma is a Fulfillment TLD. Fullfilment TLDs (FTLDs) are registered through a manual registration process. The manual registration process might involve documents, depending on respective registry regulations, and are therefore not automated for real-time registrations and real-time updates. Updates might cause additional costs!