# Get Renewal Price

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v2/domains/get-renewal-price:
    post:
      summary: Get Renewal Price
      deprecated: false
      description: >-
        Use this endpoint to fetch renewal pricing for domains that are eligible
        for renewal within the next 2 months. Only domains purchased through
        Zapmail are included.


        Note: High-reputation domains and pre-warmed domains are not eligible
        for renewal through this endpoint.
      tags:
        - domains
      parameters:
        - name: x-auth-zapmail
          in: header
          description: ''
          required: true
          example: YOUR_API_KEY
          schema:
            type: string
        - name: x-workspace-key
          in: header
          description: ''
          required: false
          example: workspace_id
          schema:
            type: string
        - name: x-service-provider
          in: header
          description: ''
          required: false
          example: GOOGLE
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                domainIds:
                  type: array
                  items:
                    type: string
                  description: List of domain IDs to get renewal price for.
                contains:
                  type: string
                  description: Filter domains by name substring
                tagIds:
                  type: array
                  items:
                    type: string
                  description: Filter by tag IDs
              x-apidog-orders:
                - domainIds
                - contains
                - tagIds
              required:
                - domainIds
            examples: {}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  message:
                    type: string
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        domainId:
                          type: string
                        domainName:
                          type: string
                        status:
                          type: string
                        domainPrice:
                          type: string
                        renewPrice:
                          type: string
                        isPremiumDomain:
                          type: boolean
                      x-apidog-orders:
                        - domainId
                        - domainName
                        - status
                        - domainPrice
                        - renewPrice
                        - isPremiumDomain
                required:
                  - status
                  - message
                  - data
                x-apidog-orders:
                  - status
                  - message
                  - data
              example:
                status: 200
                message: Domains renewal price list
                data:
                  - domainId: uuid
                    domainName: example.com
                    status: ACTIVE
                    domainPrice: '12.99'
                    renewPrice: '44.99'
                    isPremiumDomain: false
          headers: {}
          x-apidog-name: Success
      security: []
      x-apidog-folder: domains
      x-apidog-status: developing
      x-run-in-apidog: https://app.apidog.com/web/project/797058/apis/api-33617013-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.zapmail.ai/api
    description: Prod Env
security: []

```
