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

# List Phone Number Pricing

> List DialNexa phone number rental pricing by telephony provider and country before provisioning a number.

Read only

List phone number pricing to read DialNexa's reference catalog of number rental prices by telephony provider and country. Pricing is reference data and does not reserve inventory or charge the workspace. A purchase is charged the rental rate in your workspace billing plan, not this `credit_cost`; see [Buy Phone Number](https://dialnexa.com/docs/api-reference/v1/phone-numbers/buy.md).

## When to list phone number pricing

* Get an indicative rental cost before searching provider inventory.
* Compare country availability across supported telephony providers.
* Display reference pricing in an internal provisioning workflow.

## Verify the result

Match `telephony_provider_id` and `country_iso` to the provider and country you plan to use. Read `credit_cost` as a decimal amount, which the API returns as a string such as `"500.0000"`. The amount actually charged comes from your billing plan, so confirm it with your plan before an automated purchase.

> [!WARNING]
>
> This read-only operation does not prove that a number is currently available. Search inventory before purchasing, and record the cost from your billing plan rather than from this catalog.

## Errors and recovery

* `401 Unauthorized` means the API key is missing or invalid.
* An empty array means no pricing records are available. Purchases are still priced by your billing plan.

## Related endpoints

* [Search Available Numbers](https://dialnexa.com/docs/api-reference/v1/phone-numbers/search-plivo.md): find numbers currently available from the provider.
* [Buy a Phone Number](https://dialnexa.com/docs/api-reference/v1/phone-numbers/buy.md): provision a selected number.
* [List Phone Numbers](https://dialnexa.com/docs/api-reference/v1/phone-numbers/list.md): verify numbers already owned by the workspace.


## OpenAPI

````yaml GET /v1/phone-number-pricing
openapi: 3.0.0
info:
  title: DialNexa API
  description: Public `/v1` REST API for the DialNexa voice AI platform.
  version: 1.0.0
servers:
  - url: https://api.dialnexa.com
    description: DialNexa production API
security:
  - bearer: []
tags:
  - name: Agents
  - name: Batch Calls
  - name: Calls
  - name: Knowledge Base
  - name: Languages
  - name: LLMs
  - name: Phone Numbers
  - name: Organization Folders
  - name: Transcribers
  - name: Webhooks
  - name: Voices
  - name: Workflows
  - name: Workflow Leads
  - name: Authentication
  - name: Agent Builder
  - name: Agent Evaluations
paths:
  /v1/phone-number-pricing:
    get:
      tags:
        - Phone Numbers
      summary: List Phone Number Pricing
      description: >-
        Returns the phone number rental pricing reference catalog by telephony
        provider and country. A purchase is charged the rental rate in the
        workspace billing plan, not this credit_cost.
      operationId: listPhoneNumberPricing
      responses:
        '200':
          description: Phone number pricing returned successfully.
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                  - error
                  - statusCode
                  - message
                  - data
                  - timestamp
                properties:
                  success:
                    type: boolean
                    enum:
                      - true
                  error:
                    type: boolean
                    enum:
                      - false
                  statusCode:
                    type: integer
                    example: 200
                  message:
                    type: string
                    example: Success
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/PhoneNumberPricing'
                  timestamp:
                    type: string
                    format: date-time
        '401':
          description: Unauthorized - missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearer: []
components:
  schemas:
    PhoneNumberPricing:
      type: object
      properties:
        telephony_provider_id:
          type: string
          example: mh00mke5j83neo
        country_iso:
          type: string
          minLength: 2
          maxLength: 3
          example: IN
        country_name:
          type: string
          example: India
        credit_cost:
          type: string
          example: '500.0000'
          description: Reference rental price as a decimal string with four decimal places.
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        telephonyProvider:
          type: object
          additionalProperties: true
          description: Associated telephony provider metadata.
      required:
        - telephony_provider_id
        - country_iso
        - country_name
        - credit_cost
    ErrorResponse:
      type: object
      description: Error body on endpoints without response filtering.
      properties:
        statusCode:
          type: integer
          example: 404
        error:
          type: boolean
          enum:
            - true
        success:
          type: boolean
          enum:
            - false
        data:
          oneOf:
            - type: object
              properties:
                code:
                  type: string
                  description: Machine-readable refusal code.
            - type: array
              items: {}
          description: >-
            For a coded refusal, an object with code and the details listed for
            that code. Otherwise an empty array.
        message:
          type: string
        errors:
          type: array
          items:
            type: string
          description: Validation messages for a 400. Empty for other errors.
        validation_errors:
          type: array
          description: >-
            Present when uploaded rows fail number validation (batch and
            workflow lead uploads): one group per distinct error.
          items:
            type: object
            properties:
              error:
                type: string
              rows:
                type: array
                items:
                  type: integer
                description: Row numbers with this error.
              phone_numbers:
                type: array
                items:
                  type: string
        invalid_row_count:
          type: integer
          description: 'Present with validation_errors: how many rows failed.'
      required:
        - statusCode
        - error
        - success
        - data
        - message
        - errors
  securitySchemes:
    bearer:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.