Trabis .TR Domains Service Guide
Before searching any other services, your IP number must first be defined on the DNA control panel.
For API access, the app is supposed to query your server IP number. There is no interval for IP numbers. (/32) . You can get access only through 4 different IP numbers that you have specified. IP access may take some time, the access by the user may take 24 hours. You need to contact the support team for more IP access.
You must have a token key for API access. To have Tokey key, you need to apply to the support team. It will be delivered to you by the support team. The token key generated for the test environment is below.
bmVjYXRpfDo6OnxWNGt3SmVWLnJOa2xSX1JkUiouSl5NQU94eGFdVTp6ZmQ2LFZIeUh0S2wmYXpacjYxL0hz
JTJ8NypCJD5AejR8Ojo6fG5lY2F0aS4u
.TR domain service is the rest api service. Communication through API is provided with JSON bodies. You should post the JSON bodies you have prepared to the specified URL addresses.
For a secure connection, you need to forward the key defined "Token" to the request header parameters on all requests. The JSON body you will forward must have the parameter "IsTestActive". This parameter shall be employed to provide a connection with the test or production environment.
The URL for API access: https://trabis.domainnameapi.com
You will receive 400 Bad Request response if you do not ask for a token key or make sufficient requests.
Below is a list for domains requiring or not requiring documentation.
Domains Requiring Documentation
.com.tr - org.tr - .net.tr - .gov.tr - bel.tr - .av.tr - .dr.tr - .k12.tr - edu.tr
Domains Not Requiring Documentation
biz.tr - info.tr - gen.tr - web.tr - tv.tr - name.tr
Please visit this page for more information about downloading document templates.
Please visit this page information.
Post Url : api/hello
{ "IsTestActive":true }
{ "ServerDate": "2020-05-25T17:05:16.136Z", "Code": 1000, "Message": "Command completed succesfully." }
Post Url : api/checkavailability
{ "DomainList": [ "test1.com.tr", "test2.gov.tr", "test3.web.tr" ], "IsTestActive": true }
{ "DomainCheckResults": [ { "Domain": "test1.com.tr", "Status": "available" }, { "Domain": "test2.gov.tr", "Status": "available" }, { "Domain": "test3.web.tr", "Status": "available" } ], "Code": 1000, "Message": "Command completed succesfully." }
Post Url : api/register
{ "DomainName": "test1.web.tr", "Organization": "John Doe Limited", "CountryId": 888, "CityId": 999, "Period": 1, "Email": "test@johndoe.com", "Phone": { "CountryCode": 1, "AreaCode": 262, "Number": 3259223 }, "Fax": { "CountryCode": 1, "AreaCode": 262, "Number": 3259222 }, "PostalCode": "410000", "TaxOffice": "Alemdar", "TaxNumber": "0012356", "WebAdress": "johndoelimited.com", "NameServers": [ { "Name": "ns1.test1.web.tr", "IpAdress": "91.93.119.93" }, { "Name": "ns2.test1.web.tr", "IpAdress": "91.93.119.94" }, { "Name": "ns1.atakdomain.com", "IpAdress": null }, { "Name": "ns2.atakdomain.com", "IpAdress": null } ], "DocumentInfo": { "HashBytes": null }, "IsTestActive": true }
{ "Status": "active", "Code": 1000, "Message": "Command completed succesfully." }
Post Url : api/transfer
{ "DomainName": "testtransferdomain.com.tr", "DocumentInfo": null, "IsTestActive": true }
{ "Status": "waitingfordocument", "Code": 1000, "Message": "Command completed succesfully." }
Post Url : api/getdomain
{ "DomainName": "testtransferdomain.com.tr", "IsTestActive": true }
{ "DomainName": "testtransferdomain.com.tr", "StartDate": "1.01.0001 00:00:00", "ExpirationDate": "31.12.9999 23:59:59", "NameServers": null, "Code": 1000, "Message": "Command completed succesfully." }
Post Url : api/updatecontact
{ "DomainName": "test2.web.tr", "Organization": "John Doe Limited", "CountryId": 888, "CityId": 999, "Email": "test@johndoe.com", "Phone": { "CountryCode": 1, "AreaCode": 262, "Number": 3259223 }, "Fax": { "CountryCode": 1, "AreaCode": 262, "Number": 3259222 }, "PostalCode": "410000", "TaxOffice": "Alemdar", "TaxNumber": "0012356", "WebAdress": "johndoelimited.com", "DocumentInfo": { "HashBytes": null }, "IsTestActive": true }
{ "Code": 1000, "Message": "Command completed succesfully." }
Post Url : api/renew
{ "DomainName": "testrenewdomain.com.tr", "Period": 1, "IsTestActive": true }
{ "ExpirationDate": "25.05.2021 20:34:38", "Code": 1000, "Message": "Command completed succesfully." }
Post Url : api/updatenameserver
{ "DomainName": "testupdatedomain.com.tr", "NameServers": [ { "Name": "ns1.test1.web.tr", "IpAdress": "91.93.119.93" }, { "Name": "ns2.test1.web.tr", "IpAdress": "91.93.119.94" }, { "Name": "ns1.atakdomain.com", "IpAdress": null }, { "Name": "ns2.atakdomain.com", "IpAdress": null } ], "IsTestActive": true }
{ "Code": 1000, "Message": "Command completed succesfully." }
Post Url : api/delete
{ "DomainName": "testdeletedomain.com.tr", "IsTestActive": true }
{ "Code": 1000, "Message": "Command completed succesfully." }
Post Url : api/restore
{ "DomainName": "testrestoredomain.com.tr", "IsTestActive": true }
{ "Code": 1000, "Message": "Command completed succesfully." }
Post Url : api/senddocument
{ "DomainName": "testsenddocument.com.tr", "Category": 1, "DocumentInfo": { "HashBytes": "8c5274f6-5b86-40fb-a8d9-deb3a7d6c9aa" }, "IsTestActive": true }
{ "Code": 1000, "Message": "Command completed succesfully." }
Trabis .TR Domains Service Guide 2024