14 Domains API: How to transfer a domain
This is a series of articles dedicated to demonstrating how to get acquainted with Openprovider Domains API methods.
This is athe first article in a series in which we are going to cover incoming domain transfer. To get more information about our API in general, please use our documentation portal as your reference.
Domain transfer is a procedure of changing the current registrar of a domain name.
Once a transfer has been made, Openprovider will maintain all relevant information regarding the domain and its owner.
Before starting a transfer, please make sure you have the approval of the owner of the domain name and that the current registrar is aware of your desire to transfer thatthe object.domain. The following requirements should be met before initiating the transfer:
Use the endpoint path below. Base URL is determined by both the target environment and API version.
POST {base_url}/domains/transfer
REQUEST VALUES
| Name | Type | Description |
| domain.name | string | Required. Domain name without extension. |
REQUEST EXAMPLE
curl -X POST \
https://api.openprovider.eu/v1/domains/transfer \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{
"admin_handle": "XX123456-XX",
"auth_code": "gX38tslFG2#%F%%1",
"autorenew": "default",
"domain": {
"extension": "com",
"name": "domain"
},
"ns_group": "dns-openprovider",
"owner_handle": "RB919364-BE",
"period": 1,
"promo_code": "",
"tech_handle": "XX123456-XX"
}'
RESPONSE EXAMPLE
{
"code": 0,
"data": {
"auth_code": "Z79******sTaH",
"expiration_date": "2027-03-31 23:59:59",
"renewal_date": "2027-03-29 23:59:59",
"status": "ACT"
},
"desc": ""
}
RESPONSE VALUES
| Name | Type | Description |
| expiration_date | timestamp | Available only in case of a successful realtime domain transfer |
| renewal_date | timestamp | Date when a domain expires at Openprovider. |
The 0 code that we received indicates that the domain object has been successfully created in Openprovider's database.
For gTLDs, the transfer is initiated at the registry level and the domain is placed in “pendingTransfer” status. For most generic top-level domains, such as .com, .net, .org and .info, the current registrar then has up to five calendar days to approve or reject the transfer under ICANN policy. This applies once all prerequisites are met: the domain is unlocked, the contact email is valid, and the authorization code has been provided. If the registrar does not respond within this period, the transfer is approved automatically.
For ccTLDs, transfer times vary by registry and can range from almost instant to over a month. Check the TLD documentation for the domain in question to see the procedure and how long the transfer usually takes.
When the transfer is complete, you will receive a notification at the email address associated with your Openprovider account. Depending on the TLD, the domain may be renewed for one year. In most cases, its status is also set to clientTransferProhibited automatically, which means “Lock domain” is enabled.