# Get available domains

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v2/aged-domains/available-domains:
    get:
      summary: Get available domains
      deprecated: false
      description: >-
        Retrieve a list of available high-reputation domains from the
        marketplace. These are premium pre-existing domains with established
        history, age, and quality metrics.
      tags:
        - High Reputation Domains
      parameters:
        - name: page
          in: query
          description: ''
          required: false
          example: '1'
          schema:
            type: string
        - name: limit
          in: query
          description: ''
          required: false
          example: '10'
          schema:
            type: string
        - name: x-auth-zapmail
          in: header
          description: ''
          required: true
          example: ''
          schema:
            type: string
        - name: x-service-provider
          in: header
          description: ''
          required: false
          example: ''
          schema:
            type: string
        - name: x-workspace-key
          in: header
          description: ''
          required: false
          example: ''
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      domains:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            domainName:
                              type: string
                            price:
                              type: integer
                            qualityScore:
                              type: integer
                            domainAgeYears:
                              type: integer
                            registrationDate:
                              type: string
                            expirationDate:
                              type: string
                            tld:
                              type: string
                            category:
                              type: string
                            status:
                              type: string
                            metrics:
                              type: object
                              properties:
                                backlinks:
                                  type: integer
                                referringDomains:
                                  type: integer
                                domainAuthority:
                                  type: integer
                                spamScore:
                                  type: integer
                                trustFlow:
                                  type: integer
                                citationFlow:
                                  type: integer
                              required:
                                - backlinks
                                - referringDomains
                                - domainAuthority
                                - spamScore
                                - trustFlow
                                - citationFlow
                              x-apidog-orders:
                                - backlinks
                                - referringDomains
                                - domainAuthority
                                - spamScore
                                - trustFlow
                                - citationFlow
                            features:
                              type: array
                              items:
                                type: string
                            batchNo:
                              type: integer
                            createdAt:
                              type: string
                          required:
                            - id
                            - domainName
                            - price
                            - qualityScore
                            - domainAgeYears
                            - registrationDate
                            - expirationDate
                            - tld
                            - category
                            - status
                            - metrics
                            - features
                            - batchNo
                            - createdAt
                          x-apidog-orders:
                            - id
                            - domainName
                            - price
                            - qualityScore
                            - domainAgeYears
                            - registrationDate
                            - expirationDate
                            - tld
                            - category
                            - status
                            - metrics
                            - features
                            - batchNo
                            - createdAt
                      pagination:
                        type: object
                        properties:
                          currentPage:
                            type: integer
                          totalPages:
                            type: integer
                          totalCount:
                            type: integer
                          limit:
                            type: integer
                          hasNextPage:
                            type: boolean
                          hasPreviousPage:
                            type: boolean
                        required:
                          - currentPage
                          - totalPages
                          - totalCount
                          - limit
                          - hasNextPage
                          - hasPreviousPage
                        x-apidog-orders:
                          - currentPage
                          - totalPages
                          - totalCount
                          - limit
                          - hasNextPage
                          - hasPreviousPage
                    required:
                      - domains
                      - pagination
                    x-apidog-orders:
                      - domains
                      - pagination
                required:
                  - status
                  - message
                  - data
                x-apidog-orders:
                  - status
                  - message
                  - data
              example:
                status: 200
                message: Available aged domains retrieved successfully
                data:
                  domains:
                    - id: aged_domain_123
                      domainName: techstartup.com
                      price: 299
                      qualityScore: 85
                      domainAgeYears: 12
                      registrationDate: '2012-03-15T00:00:00.000Z'
                      expirationDate: '2025-03-15T00:00:00.000Z'
                      tld: com
                      category: technology
                      status: available
                      metrics:
                        backlinks: 1250
                        referringDomains: 85
                        domainAuthority: 42
                        spamScore: 2
                        trustFlow: 38
                        citationFlow: 41
                      features:
                        - Clean history
                        - No spam records
                        - Good backlink profile
                        - Established brand name
                      batchNo: 45
                      createdAt: '2024-01-15T10:30:00.000Z'
                    - id: aged_domain_124
                      domainName: healthblog.net
                      price: 450
                      qualityScore: 92
                      domainAgeYears: 15
                      registrationDate: '2009-07-22T00:00:00.000Z'
                      expirationDate: '2025-07-22T00:00:00.000Z'
                      tld: net
                      category: health
                      status: available
                      metrics:
                        backlinks: 3400
                        referringDomains: 210
                        domainAuthority: 58
                        spamScore: 1
                        trustFlow: 52
                        citationFlow: 55
                      features:
                        - Premium quality
                        - High authority
                        - Excellent backlink profile
                        - Long history
                      batchNo: 45
                      createdAt: '2024-01-15T10:30:00.000Z'
                  pagination:
                    currentPage: 1
                    totalPages: 8
                    totalCount: 78
                    limit: 10
                    hasNextPage: true
                    hasPreviousPage: false
          headers: {}
          x-apidog-name: Success
        '400':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  message:
                    type: string
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        msg:
                          type: string
                        param:
                          type: string
                        location:
                          type: string
                      x-apidog-orders:
                        - msg
                        - param
                        - location
                required:
                  - status
                  - message
                  - errors
                x-apidog-orders:
                  - status
                  - message
                  - errors
              example:
                status: 400
                message: Validation failed
                errors:
                  - msg: Page must be a positive integer
                    param: page
                    location: query
          headers: {}
          x-apidog-name: Bad Request
        '401':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  message:
                    type: string
                  errorId:
                    type: string
                required:
                  - status
                  - message
                  - errorId
                x-apidog-orders:
                  - status
                  - message
                  - errorId
              example:
                status: 401
                message: API key is required
                errorId: uuid-v4-error-id
          headers: {}
          x-apidog-name: Unauthorized
        '500':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  message:
                    type: string
                  data:
                    type: 'null'
                required:
                  - status
                  - message
                  - data
                x-apidog-orders:
                  - status
                  - message
                  - data
              example:
                status: 500
                message: Failed to fetch aged domains
                data: null
          headers: {}
          x-apidog-name: Internal Server Error
      security: []
      x-apidog-folder: High Reputation Domains
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/797058/apis/api-25772286-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.zapmail.ai/api
    description: Prod Env
security: []

```
