> ## 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.

# List all domains

> Get a paginated list of all domains owned by the authenticated user. Supports search, filtering by extension, and pagination.



## OpenAPI

````yaml GET /registrar/v1/domains
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:
    get:
      tags:
        - Registrar
      summary: List all domains
      description: >-
        Get a paginated list of all domains owned by the authenticated user.
        Supports search, filtering by extension, and pagination.
      operationId: listRegistrarDomains
      parameters:
        - name: page
          in: query
          description: 'Page number for pagination (default: 1)'
          required: false
          schema:
            type: integer
            minimum: 1
            default: 1
        - name: size
          in: query
          description: 'Number of results per page (default: 20, max: 100)'
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 20
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DomainListResponse'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
        - BearerAuth: []
components:
  schemas:
    DomainListResponse:
      type: object
      properties:
        success:
          type: boolean
          example: true
        data:
          type: array
          items:
            $ref: '#/components/schemas/DomainSummary'
        pagination:
          $ref: '#/components/schemas/Pagination'
    DomainSummary:
      type: object
      properties:
        domain_name:
          type: string
          example: example.com
        status:
          type: string
          example: active
        extension:
          type: string
          example: com
        created_date:
          type: string
          format: date-time
          example: '2024-01-15 10:30:00'
        updated_date:
          type: string
          format: date-time
          example: '2024-02-10 14:20:00'
        expiry_date:
          type: string
          format: date-time
          example: '2025-01-15 10:30:00'
        auto_renew:
          type: boolean
          example: true
        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
    Pagination:
      type: object
      properties:
        current_page:
          type: integer
          example: 1
        total_pages:
          type: integer
          example: 5
        per_page:
          type: integer
          example: 20
        total_records:
          type: integer
          example: 87
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
          example: Bad Request
        message:
          type: string
          example: Invalid input provided
  responses:
    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.
    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.

````