> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.atom.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get domain details

> Get detailed information about a specific domain including status, expiry date, nameservers, DNSSEC status, and contact information.



## OpenAPI

````yaml GET /registrar/v1/domains/{domain_name}
openapi: 3.0.0
info:
  title: Atom Registrar API
  version: 1.0.0
  description: >-
    REST API for domain registration, DNS management, and domain operations.
    Authentication via Bearer token in Authorization header.
servers:
  - url: https://www.atom.com/api
    description: Production server
  - url: https://dev.atom.com/api
    description: Development server
security:
  - BearerAuth: []
paths:
  /registrar/v1/domains/{domain_name}:
    get:
      summary: Get domain details
      description: >-
        Get detailed information about a specific domain including status,
        expiry date, nameservers, DNSSEC status, and contact information.
      parameters:
        - name: domain_name
          in: path
          description: Domain name (e.g., 'example.com')
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DomainDetailsResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    DomainDetailsResponse:
      type: object
      properties:
        success:
          type: boolean
          example: true
        data:
          type: object
          properties:
            domain_name:
              type: string
              example: example.com
            status:
              type: string
              example: active
            whois_status:
              type: array
              items:
                type: string
              example:
                - clientTransferProhibited
                - ok
            extension:
              type: string
              example: com
            created_date:
              type: string
              format: date-time
            updated_date:
              type: string
              format: date-time
            expiry_date:
              type: string
              format: date-time
            auto_renew:
              type: boolean
              example: true
            auto_renew_period:
              type: integer
              example: 12
            privacy_protect:
              type: boolean
              example: false
            transfer_locked:
              type: boolean
              example: true
            dnssec_enabled:
              type: boolean
              example: false
            nameservers:
              type: array
              items:
                type: string
              example:
                - ns1.atom.com
                - ns2.atom.com
            registrant_handle:
              type: string
              example: REG_12345
            admin_handle:
              type: string
              nullable: true
            tech_handle:
              type: string
              nullable: true
            billing_handle:
              type: string
              nullable: true
            registrant_contact:
              type: object
              nullable: true
              properties:
                name:
                  type: string
                email:
                  type: string
                organization:
                  type: string
                  nullable: true
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
          example: Bad Request
        message:
          type: string
          example: Invalid input provided
  responses:
    BadRequest:
      description: Bad request - invalid parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    UnauthorizedError:
      description: Authentication failed - invalid or revoked API token
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: boolean
                example: false
              error:
                type: string
                example: Unauthorized
              message:
                type: string
                example: >-
                  Invalid registrar API token or access has been revoked. Please
                  request registrar API access from your dashboard.
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Registrar API Bearer token. Obtain from dashboard at
        /dashboard/seller/api-access after requesting Registrar API access.

````