# API: Get domain details

# getDomainDetails

Return domain details

# Required parameters

Parameter Description
id Domain ID

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=getDomainDetails&id=ID

# PHP Samples

# Response

{
    "success": true,
    "details": {
        "id": "27",
        "client_id": "3",
        "order_id": "170",
        "tld_id": "64",
        "name": "myhostbillapitest.com",
        "reg_module": "17",
        "payment_module": "45",
        "date_created": "2011-10-04",
        "firstpayment": "4.00",
        "recurring_amount": "4.00",
        "period": "1",
        "expires": "2012-10-04",
        "type": "Register",
        "status": "Active",
        "next_due": "2012-10-04",
        "next_invoice": "2012-09-27",
        "idprotection": "0",
        "nameservers": [
            "",
            "",
            "",
            ""
        ],
        "autorenew": "1",
        "reglock": "0",
        "manual": "0",
        "epp_code": "",
        "notes": "",
        "extended": "",
        "synch_date": "0000-00-00 00:00:00",
        "nsips": false,
        "lastname": "Doe",
        "firstname": "John",
        "custom": false
    },
    "call": "getDomainDetails",
    "server_time": 1317712335
}
Last Updated: 5/12/2023, 3:22:14 PM