Register, transfer and manage domains, DNS zones and handles automatically from your own systems – with the REST API of the Domain Robot.
Access
Access to the API is enabled on request. Write to [email protected] and tell us the e-mail address of your customer account. Once access is enabled, you receive the credentials for signing in to the API.
Address
The API is available at this address:
https://robot.reg.at/api
All paths in this documentation are appended to it: GET /domains is therefore GET https://robot.reg.at/api/domains.
Authentication
First sign in with POST /login to receive a token:
If two-factor authentication is active for your account, the login also needs the one-time password in the field otp. With scope a token can be limited to certain requests, for example to zones.
If the API answers with 401, the token is missing or no longer valid – sign in again.
Requests and responses
Requests: The fields of a call are usually sent as form data (multipart/form-data), not as JSON; the reference names the format for every call. Parameters are part of the path or of the query string.
Responses: The API answers with JSON. Many calls return a field status and a message in msg.
Language: Messages, notifications, the history of a domain and the descriptions of transactions use the language set in the profile of your account (German or English). The examples in this documentation are in English.
Date and time: Times such as expire_at have the format YYYY-MM-DD HH:MM:SS in the time zone Europe/Berlin.
Lists
Calls that return lists – domains, zones, handles, transactions and notifications – split the result into pages. pp sets the number of items per page (default: 10). The response holds the items in data, in links the addresses of the first, last, previous and next page, and in meta among other things the current page and the number of pages. For domains and zones, full=true returns all items at once.
Errors
Whether a call succeeded shows first in the HTTP status:
401 – not authenticated: the token is missing or invalid; for POST /login the credentials are wrong.
403 – forbidden: the action is not enabled for your account, or the request comes from an IP address that is not authorised for your account.
404 – not found.
422 – data is missing or invalid; the response names the reason in msg, message or errors.
500 – the order could not be carried out, for example when the check of new name servers fails.
Some calls also report a failure with status 200 and status: false or status: "error". Therefore always check the field status as well.
Costs
Orders placed through the API are carried out and billed as in the client area: registration, transfer, renewal and restore are charged to your credit and require sufficient credit on your customer account. Our Terms and Conditions apply. GET /pricing returns the prices of your account, GET /transactions the transactions.
OpenAPI description
This page describes the calls for customer accounts. The complete description of the interface in OpenAPI format is available at robot.reg.at/docs.
Reference
All calls except POST /login expect the token in the Authorization header. The responses 401, 403 and 500 are possible for every call and explained under Errors; they are not repeated here.
Login and account
POST/loginLogin to receive an API token
Returns a bearer token
This call needs no token.
Request fields multipart/form-data
Name
Type
Description
emailrequired
string
The user's e-mail address
passwordrequired
string
The user's password
otp
string
If two-factor authentication is activated, a one-time password is required for the login
scope
string
If specified, token is limited to certain requests (e.g. zones)
Returns the price list of the current user. All amounts are gross prices including the VAT rate stored for the account, in the currency given per row. The amounts actually charged are listed in GET /transactions.
Orders the registration of a free domain, or the transfer of a registered domain if an authcode is given. A successful response means the order was accepted, sent to the registry and billed. Whether it is completed is shown by the status of the domain (GET /domains/{domainId}): ok = completed, reg_pending/kk_pending = in progress. A finally failed order is removed and refunded. Repeating the call for a domain that was already ordered returns an error and is not billed again. Returns the status of the operation and the id of the new domain.
Request fields multipart/form-data
Name
Type
Description
domainrequired
string
The domain name, IDN domains in Unicode (not in Punycode). Please pass one domain per call
ownerrequired
integer
The id of the owner handle
nsrequired
string
The nameserver profile type, could be 'pro', 'own' or 'parking'Values: pro, own, parking
admin
integer
The optional id of the admin handle
tech
integer
The optional id of the tech handle
zone
integer
The optional id of the zone handle
ipv4
string
The optional IPv4 address, can be set when ns type 'pro' is used
ipv6
string
The optional IPv6 address, can be set when ns type 'pro' is used
ns1
string
The optional ns1 name, must be set when ns type 'own' is used
ns2
string
The optional ns2 name, must be set when ns type 'own' is used
ns3
string
The optional ns3 name
ns4
string
The optional ns4 name
ns5
string
The optional ns5 name
authcode
string
The optional authcode
parking_min_bid
integer (1–100)
A min bid value, could be specified when 'parking' is selected
parking_bids_auto_accept
integer (1–100)
An auto-accept bid value, could be specified when 'parking' is selected
parking_asking_price
integer (1–100)
An asking price bid value, could be specified when 'parking' is selected
parking_bids_auto_decline
integer (1–100)
An auto-decline bid value, could be specified when 'parking' is selected
ns1_glue_ipv4
string
IPv4 glue record for ns1. Only applied when ns1 is within the zone of the domain being registered. Could be specified when 'own' is selected
ns1_glue_ipv6
string
IPv6 glue record for ns1. Only applied when ns1 is within the zone of the domain being registered. Could be specified when 'own' is selected
ns2_glue_ipv4
string
IPv4 glue record for ns2. Only applied when ns2 is within the zone of the domain being registered. Could be specified when 'own' is selected
ns2_glue_ipv6
string
IPv6 glue record for ns2. Only applied when ns2 is within the zone of the domain being registered. Could be specified when 'own' is selected
ns3_glue_ipv4
string
IPv4 glue record for ns3. Only applied when ns3 is within the zone of the domain being registered. Could be specified when 'own' is selected
ns3_glue_ipv6
string
IPv6 glue record for ns3. Only applied when ns3 is within the zone of the domain being registered. Could be specified when 'own' is selected
ns4_glue_ipv4
string
IPv4 glue record for ns4. Only applied when ns4 is within the zone of the domain being registered. Could be specified when 'own' is selected
ns4_glue_ipv6
string
IPv6 glue record for ns4. Only applied when ns4 is within the zone of the domain being registered. Could be specified when 'own' is selected
ns5_glue_ipv4
string
IPv4 glue record for ns5. Only applied when ns5 is within the zone of the domain being registered. Could be specified when 'own' is selected
ns5_glue_ipv6
string
IPv6 glue record for ns5. Only applied when ns5 is within the zone of the domain being registered. Could be specified when 'own' is selected
accept_premium
boolean
Must be true when registering a premium domain (i.e. when the domain check returns is_premium=true). Omitting or passing false for a premium domain will return an error.
period
string
Optional '1 year' to bill a .de domain yearly if .de is billed monthly for the account and GET /pricing contains a second .de row with period '1 year'. The chosen period also applies to the renewals of the domain. Otherwise the period from the price list applies and this parameter is ignored.
Responses
200 OK
Name
Type
Description
status
string
id
integer
The id of the domain, stays the same until the order is completed
path
string
The domain name in Punycode
manually
boolean
Whether orders for this TLD are processed manually by the provider, then completing the order can take several working days
warnings
string[]
Only present when part of the order could not be carried out, e.g. the registry refused the name servers of an internal transfer and the domain kept its previous name servers
{
"status": false,
"msg": "Parameter is missing"
}
PUT/domains/{domainId}/nameserverUpdate the nameserver of a domain
Returns the status of the operation and the ns names. For .de, .fr and .it the new name servers are checked with DENIC's NAST first: a failed check returns 500 with the NAST result in dns_check, and the name servers are not changed while NAST can't be reached.
Parameters
Name
Type
Description
domainIdrequiredin the path
string
The id or name of the domain
Request fields multipart/form-data
Name
Type
Description
ns1
string
The optional ns1 name
ns2
string
The optional ns2 name
ns3
string
The optional ns3 name
ns4
string
The optional ns4 name
ns5
string
The optional ns5 name
safeToken
string
Optional safe token that must be provided if the domain is in the safe
ns1_glue_ipv4
string
IPv4 glue record for ns1. Only applied when ns1 is within the zone of the domain being updated
ns1_glue_ipv6
string
IPv6 glue record for ns1. Only applied when ns1 is within the zone of the domain being updated
ns2_glue_ipv4
string
IPv4 glue record for ns2. Only applied when ns2 is within the zone of the domain being updated
ns2_glue_ipv6
string
IPv6 glue record for ns2. Only applied when ns2 is within the zone of the domain being updated
ns3_glue_ipv4
string
IPv4 glue record for ns3. Only applied when ns3 is within the zone of the domain being updated
ns3_glue_ipv6
string
IPv6 glue record for ns3. Only applied when ns3 is within the zone of the domain being updated
ns4_glue_ipv4
string
IPv4 glue record for ns4. Only applied when ns4 is within the zone of the domain being updated
ns4_glue_ipv6
string
IPv6 glue record for ns4. Only applied when ns4 is within the zone of the domain being updated
ns5_glue_ipv4
string
IPv4 glue record for ns5. Only applied when ns5 is within the zone of the domain being updated
ns5_glue_ipv6
string
IPv6 glue record for ns5. Only applied when ns5 is within the zone of the domain being updated
dnssec_key_tag
integer (1–99999)
DNSSEC key tag. Only applied when dnssec_key is provided and the nameservers differ from the user's default nameservers
dnssec_algorithm
integer
DNSSEC algorithm: 8 (RSA/SHA-256), 10 (RSA/SHA-512), 13 (ECDSA-P256-SHA256), 14 (ECDSA-P384-SHA384). Only applied when dnssec_key is provided and the nameservers differ from the user's default nameserversValues: 8, 10, 13, 14
dnssec_key
string
DNSSEC public key. Only applied when the nameservers differ from the user's default nameservers
Renews the domain at the registry by one period and bills the renewal right away, expire_at is moved forward immediately. Not idempotent: every successful call renews by another period, so check expire_at before repeating a call after a timeout. Only available for TLDs whose registry supports early renewals; all domains are renewed automatically otherwise (see auto_renew). Returns the status of the operation and the new expiry date.
Parameters
Name
Type
Description
domainIdrequiredin the path
string
The id or name of the domain
Request fields multipart/form-data
Name
Type
Description
safeToken
string
An optional safe token must be provided if the domain is in the safe
Responses
200 OK
Name
Type
Description
status
boolean
expire_at
string
The new expiry date (YYYY-MM-DD HH:MM:SS, time zone Europe/Berlin)
auto_renew=0 cancels the domain to the end of the term: it stays active until expire_at and is deleted at expiry, a renewal fee already charged is refunded. auto_renew=1 withdraws the cancellation free of charge; within 7 days before expiry the renewal fee is charged right away. If the balance is not sufficient for it, the cancellation stays and status false is returned with HTTP 200. Only possible while the status of the domain is ok. Setting the same value again charges or refunds nothing. Returns the status of the operation and a message.
Parameters
Name
Type
Description
domainIdrequiredin the path
string
The id or name of the domain
Request fields multipart/form-data
Name
Type
Description
auto_renewrequired
integer
1 => renew automatically (withdraws a cancellation), 0 => cancel to the end of the term
Responses
200 OK
Name
Type
Description
status
boolean
msg
string
Example: auto_renew=0
{
"status": true,
"msg": "The domain has been cancelled."
}
Example: auto_renew=1
{
"status": true,
"msg": "The cancellation was withdrawn."
}
Example: auto_renew=1 within 7 days before expiry without sufficient balance
{
"status": false,
"msg": "Auto-renew could not be enabled. The renewal fee could not be charged to your account balance, auto-renew has been turned off again. Please ensure sufficient funds are available before the domain expires to avoid interruption of service."
}
GET/domains/{domainId}/authcodeGet the authcode of a specific domain
Returns the authcode of a specific domain
Parameters
Name
Type
Description
domainIdrequiredin the path
string
The id or name of the domain
Responses
200 OK
Name
Type
Description
status
boolean
Is set to true if the request was successful and false otherwise
msg
string
The authcode of the domain or an error message if status is false
DELETE/domains/{domainId}/transitRelease a domain into transit
Returns the status of the operation and a message
Parameters
Name
Type
Description
domainIdrequiredin the path
string
The id or name of the domain
Request fields multipart/form-data
Name
Type
Description
transitrequired
object
The transit statusValues: connected, deconnected
safeToken
string
Optional safe token that must be provided if the domain is in the safe
Responses
200 OK
Name
Type
Description
status
boolean
msg
string
Example
{
"status": true,
"msg": "The operation was successful"
}
422 Error: Unprocessable Content
Name
Type
Description
status
boolean
msg
string
Example
{
"status": false,
"msg": "Parameter is missing"
}
POST/domains/{domainId}/restoreRestore a domain
Restores a deleted domain (status deleted) during the redemption period of the registry. Only available for TLDs whose restore price in GET /pricing is not negative. The restore price is billed once the registry has restored the domain and includes the renewal by one period; afterwards the status is ok and auto_renew is 1. Returns the status of the operation and a message.
Parameters
Name
Type
Description
domainIdrequiredin the path
string
The id or name of the domain
Request fields multipart/form-data
Name
Type
Description
safeToken
string
Optional safe token that must be provided if the domain is in the safe
Responses
200 OK
Name
Type
Description
status
boolean
msg
string
Example
{
"status": true,
"msg": "The operation was successful"
}
422 Error: Unprocessable Content
Name
Type
Description
status
boolean
msg
string
Example
{
"status": false,
"msg": "Parameter is missing"
}
DELETE/domains/{domainId}/deleteRemove a domain
Deletes the domain at the registry immediately, regardless of the remaining term (to cancel to the end of the term, set auto_renew to 0). The remaining term is not refunded, only a renewal fee already charged. Afterwards the status is deleted. Returns the status of the operation and a message.
Parameters
Name
Type
Description
domainIdrequiredin the path
string
The id or name of the domain
Request fields multipart/form-data
Name
Type
Description
safeToken
string
Optional safe token that must be provided if the domain is in the safe
Responses
200 OK
Name
Type
Description
status
boolean
msg
string
Example
{
"status": true,
"msg": "The operation was successful"
}
422 Error: Unprocessable Content
Name
Type
Description
status
boolean
msg
string
Example
{
"status": false,
"msg": "Parameter is missing"
}
PUT/domains/{domainId}/tradeChange of ownership of a domain
Returns the status of the operation and the updated handles
{
"status": false,
"msg": "Parameter is missing"
}
422 Error: Unprocessable Content
Name
Type
Description
status
boolean
msg
string
Example
{
"status": false,
"msg": "Parameter is missing"
}
GET/domains/out_transfersGet the open outgoing transfers of all domains
Returns the transfer requests of other registrars for the domains of the account that have not been answered yet. A request is confirmed with POST /domains/{domainId}/ack/{transferId} or rejected with POST /domains/{domainId}/nack/{transferId}
GET/domains/{domainId}/out_transfersGet the open outgoing transfers of a specific domain
Returns the transfer requests of other registrars for the domain that have not been answered yet. A request is confirmed with POST /domains/{domainId}/ack/{transferId} or rejected with POST /domains/{domainId}/nack/{transferId}
DELETE/notifications/{notificationId}Mark a notification as read
Returns the status of the operation and a message
Parameters
Name
Type
Description
notificationIdrequiredin the path
integer
The id of the notification
Responses
200 OK
Name
Type
Description
status
boolean
msg
string
Example
{
"status": true,
"msg": "The operation was successful"
}
404 Error: Not Found
Example: A result with status
{
"status": false,
"msg": "IP address not authorized."
}
Data objects
The responses of the calls refer to these objects.
DomainLogResource
Name
Type
Description
created_at
string
created at date of the log entry
action
string
The performed action
user
string
The name of the user
origin
string
The origin of the log entry
ip
string
The ip address of the log entry
port
string
The port of the log entry
useragent
string
The user agent of the log entry
DomainOutTransferResource
Name
Type
Description
id
integer
Id of the transfer request, used to confirm (ack) or reject (nack) it
domain_id
integer
Id of the domain
domain
string
Name of the domain
new_registrar
string
The registrar that requested the transfer, empty if the registry does not name it
created_at
string
Date of the transfer request (YYYY-MM-DD HH:MM:SS, time zone Europe/Berlin)
DomainResource
Name
Type
Description
id
integer
Id of the domain
zone_id
integer
id of the domain zone
domain
string
name of the domain
owner
integer
owner id of the domain
admin
integer
admin id of the domain
tech
integer
tech id of the domain
zone
integer
zone id of the domain
expire_at
string
Date until which the domain is paid (YYYY-MM-DD HH:MM:SS, time zone Europe/Berlin). It is the date relevant for billing and can differ from the expiry date at the registry, e.g. with monthly billing
ns1
string
ns1
ns2
string
ns2
ns3
string
ns3
ns4
string
ns4
ns5
string
ns5
auto_renew
integer
1 = the domain is renewed automatically, 0 = the domain is cancelled to the end of the term and deleted at expiry
transfer_lock
integer
1 = the transfer lock is active
status
string
Status of the domain: ok = registered and active, reg_pending = registration in progress, kk_pending = incoming transfer in progress, deleted = deleted at the registry and restorable during its redemption period, transit = returned to the registry (transit), empty = special case after manual processing by the support. Domains that were finally deleted, transferred away or whose registration/transfer finally failed are removed and no longer returnedValues: ok, reg_pending, kk_pending, deleted, transit,
verified
boolean
false while the verification of the owner contact is still pending
sync
boolean
true while a change ordered at the provider (e.g. renewal, name servers, contacts) has not been confirmed by the sync with the registry yet, usually for a few minutes
safe
boolean
Domain safe
can_lock
boolean
Transfer lock supported?
dnssec
integer
DNSSEC status (-1 = not set, 0 = pending provisioning at registry, 1 = active)
dnskey
string
DNSKEY record: key tag, algorithm and public key separated by spaces
Whether orders and changes for this TLD are processed manually by the provider, then registrations and transfers can stay pending for several working days
DomainTagResource
Name
Type
Description
status
boolean
Status code of the operation
currentDomainId
integer
The id of the current domain
currentDomainTags
string[]
The tags of the current domain
allUserTags
string[]
All tags which are available for the current domain tag user
HandleResource
Name
Type
Description
id
integer
The id of the handle
firstname
string
The first name which is specified for the handle
lastname
string
The last name which is specified for the handle
company
string
The company which is specified for the handle
address
string
The street which is specified for the handle
number
string
The street number which is specified for the handle
postcode
string
The postcode which is specified for the handle
city
string
The city which is specified for the handle
country
string
The country which is specified for the handle
tel
string
The telephone number which is specified for the handle
fax
string
The fax number which is specified for the handle
email
string
The email address which is specified for the handle
Indicates if the notification is read already (0 => false, 1 => true)
updated_at
string
updated at date of the notification
created_at
string
created at date of the notification
PaginationResource
Name
Type
Description
first
string
url of the first page
last
string
url of the last page
prev
string
url of the previous page
next
string
url of the next page
RecordResource
Name
Type
Description
id
integer
The id of the record
subdomain
string
The subdomain of the record
type
string
The type of the record
content
string
The content of the record
ttl
integer
The ttl of the record
prio
integer
The prio of the record
hidden
integer
The hidden value of the record (0 => false, 1 => true)
dyndns
integer
The dyndns value of the record (0 => false, 1 => true)
TldResource
Name
Type
Description
tld
string
The tld of the pricelist, without a leading dot
currency
string
Currency of the amounts (configured base currency)
reg
number
Gross price of a registration, including the first period
kk
number
Gross price of an incoming transfer, including the first period
renew
number
Gross price of a renewal by one period
restore
number
Gross price of restoring a deleted domain, including the renewal by one period. -1 = restore is not offered for this TLD
period
string
The period the prices refer to, e.g. '1 year', '2 years' or '1 month'. It applies to orders and renewals. Exception: if .de is billed monthly, a second .de row with '1 year' can offer yearly billing, which is chosen per order with period in POST /domains
TransactionResource
Name
Type
Description
amount
number
The amount of the transaction
description
string
The description of the transaction
name
string
The name of the user of the transaction
created_at
string
The created_at date of the transaction
invoice
integer
Indicates if invoice was selected or not, 0 => false , 1 => true
currency
string
Currency of the amounts (configured base currency)
UserResource
Name
Type
Description
id
integer
The id of the user
name
string
The name of the user
email
string
The email of the user
credit
number
The credit of the user
postpaid
number
The postpaid of the user
currency
string
Currency of the amounts (configured base currency)
ZoneExportResource
Name
Type
Description
status
string
The status of the operation
domain
string
The domain of the export
exportresult
string
The result of the export
ZoneHistoryResource
Name
Type
Description
count
integer
The count represents the number of entries that have been found