Get Local Domain Details

Retrieving Account-Specific Domain Details: Returns comprehensive metadata about the domain as stored within our system. This is an efficient way to fetch domain status, registration dates, and ownership IDs without querying the external registrar API.

Endpoint: GET /{id}

Parameters:

  • id (required, URL parameter): The local ID of the domain

Example Request:

curl -X GET "https://umva.net/api/domain/123" 
  -H "X-API-Key: your_api_key_here"

Success Response Example (HTTP 200):

{
  "success": true,
  "data": {
    "id": 123,
    "domain": "example.com",
    "status": 1,
    "reg_date": "2023-10-12",
    "expiry_date": "2024-10-12",
    "next_due_date": "2024-10-12",
    "auto_renew": false,
    "nameservers": {
      "ns1": "ns1.hosting.com",
      "ns2": "ns2.hosting.com",
      "ns3": null,
      "ns4": null
    },
    "registrar_lock": true,
    "id_protection": false,
    "is_transfer": false,
    "transfer_status": 0
  }
}

Error Response Example (Not Found - HTTP 404):

{
  "message": "No query results for model [App\Models\Domain] 123"
}