.ma
API Commands
Section titled “API Commands”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.
Domain Registration
Section titled “Domain Registration”(API Command reference » AddDomain)
command = AddDomaindomain = yourdomain.maperiod = (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.
Domain Modification
Section titled “Domain Modification”(API Command reference » ModifyDomain)
command = ModifyDomaindomain = yourdomain.maChange of Registrant
Section titled “Change of Registrant”command = TradeDomaindomain = yourdomain.maownercontact0 = (CONTACT)Domain Renewal
Section titled “Domain Renewal”(API Command reference » RenewDomain)
command = RenewDomaindomain = yourdomain.maperiod = (INT)expiration = (INT)Domain Deletion
Section titled “Domain Deletion”(API Command reference » DeleteDomain)
COMMAND = DeleteDomainDOMAIN = yourdomain.maDomain Transfer
Section titled “Domain Transfer”(API Command reference » TransferDomain)
TransferDomain Command
Section titled “TransferDomain Command”command = TransferDomaindomain = yourdomain.maaction = REQUESTauth = (TEXT)ownercontact0 = (CONTACT)Domain Restore
Section titled “Domain Restore”RestoreDomainis not available for .ma TLDs.
Domain Restrictions
Section titled “Domain Restrictions”- Unethical, sexual or any domain name that is considered against the Kingdom of Morocco or the religion of Islam is not allowed.
Fulfillment Info
Section titled “Fulfillment Info”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!
