API Introduction

API Introduction
The Domain Reseller API allows you to interact with our system programmatically from your own system.
Using the API you are able to perform actions such as:
• Register Domain
• Transfer Domain
• Renew Domain
• Get details of a domain (status, expiry date, etc.) 
• Get and modify contact details
• Get EPP Code
• Get/Modify Nameservers
• Registrar Lock Status On/Off
• ID Protection On/Off

Domains Reseller Request/Response Data Format:
In requests, we accepts POST parameters.
API response is sent in JSON data format.

API key (secret key), email address and password is required for authentication and the request should be made from the registered IP address and hostname. The host and IP registration is automatic at the first successful API request.
These details are available after login  at the reseller page


The following examples use the cURL command-line tool to exectute API requests.

Exemplary API Request:

curl -i -X POST \
-H "Content-Type:multipart/form-data" \
-F "sld=tesztdomain" \
-F "tld=hu" \
-F "Username=viszonteladoi@fiok.hu" \
-F "Password=XXXXXX" \
-F "SecretKey=ezit-55de77e925b3a708224982c9e5080cef" \
-F "valid_domain=www.viszonteladoidomain.hu" \
-F "valid_ip=" \
-F "api_action=registerdomain" \
-F "firstname=Keresztnév" \
-F "lastname=Vezetéknév" \
-F "address1=Victor Hugo u. 18-22." \
-F "city=Budapest" \
-F "state=Budapest" \
-F "postcode=1132" \
-F "country=HU" \
-F "email=ugyfel@cime.hu" \
-F "phonenumber=+36.11234567" \
-F "additionalfields[iszthuident]=AB12345678" \
-F "ns1=ns1.nevszerver.hu" \
-F "ns2=ns2.nevszerver.hu" \
-F "regperiod=2" \

Example API response:

Hasznosnak találta ezt a választ? 77 A felhasználók hasznosnak találták ezt (82 Szavazat)