Wavix Number validator API

The Number validator API from Wavix, for number validator.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 3

GET /v1/validation Validate a number #
POST /v1/validation Validate multiple numbers #
GET /v1/validation/{request_id} Retrieve validation results #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/wavix-com:wavix-com-number-validator-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

wavix-com-number-validator-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Wavix Number validator API
  description: Wavix provides robust APIs that let you integrate voice and text messaging features directly into your app. Send text, place calls, and access detailed reports programmatically.
  termsOfService: https://wavix.com/terms-and-conditions
  license:
    name: MIT
    identifier: MIT
  contact:
    name: Wavix
    url: https://wavix.com
    email: support@wavix.com
  version: 3.2.0
servers:
- url: https://api.wavix.com
  description: https://api.wavix.com
  variables: {}
security:
- bearerAuth: []
tags:
- name: Number validator
paths:
  /v1/validation:
    get:
      tags:
      - Number validator
      summary: Validate a number
      description: Validates a single phone number and returns line type, carrier, portability, and reachability details. The response's `error_code` is a per-number result code (`000` success; `013` internal error; `021` invalid format; `041` remote timeout; `042` remote query failed; `091` insufficient funds) — distinct from the HTTP status codes below. Each validation is charged to the account balance; `charge` in the response shows the amount.
      operationId: number_validator_get
      security:
      - bearerAuth:
        - validator:read
      x-fern-sdk-group-name:
      - numberValidator
      x-fern-sdk-method-name: get
      x-mcp:
        readOnly: false
        destructive: true
        openWorld: true
        expose: true
        billable: true
        toolset: verification
      parameters:
      - name: phone_number
        in: query
        description: The phone number to validate, in E.164 format with or without the leading `+`.
        required: true
        style: form
        explode: true
        schema:
          type: string
          example: '971569483322'
      - name: type
        in: query
        description: Depth of validation to perform. Accepts a `PhoneNumberValidationType` value.
        required: true
        style: form
        explode: true
        schema:
          $ref: '#/components/schemas/PhoneNumberValidationType'
          type: string
      responses:
        '200':
          description: Returns the phone number validation details.
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhoneValidationResponse'
              examples:
                success:
                  summary: Successful response
                  value:
                    phone_number: '971569483322'
                    valid: true
                    country_code: AE
                    e164_format: '+971569483322'
                    national_format: 056 948 3322
                    ported: false
                    mcc: '424'
                    mnc: '02'
                    number_type: mobile
                    carrier_name: Etisalat
                    risky_destination: false
                    unallocated_range: false
                    reachable: true
                    roaming: false
                    timezone: UTC+04:00
                    charge: '0.015'
                    error_code: '000'
        '400':
          $ref: '#/components/responses/BadRequestErrorResponse'
        '401':
          $ref: '#/components/responses/UnauthorizedErrorResponse'
        '403':
          $ref: '#/components/responses/ForbiddenErrorResponse'
        '404':
          $ref: '#/components/responses/NotFoundErrorResponse'
      deprecated: false
    post:
      tags:
      - Number validator
      summary: Validate multiple numbers
      description: Validates a batch of phone numbers. When `async` is `true`, returns a `request_uuid` to poll for results instead of the validation details. Each number in the batch is charged to the account balance.
      operationId: number_validator_create_bulk
      security:
      - bearerAuth:
        - validator:write
      x-fern-sdk-group-name:
      - numberValidator
      x-fern-sdk-method-name: createBulk
      x-mcp:
        readOnly: false
        destructive: true
        openWorld: true
        expose: true
        billable: true
        toolset: verification
      parameters: []
      requestBody:
        description: Phone numbers to validate and validation options.
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PhoneValidationRequest'
              type: object
        required: true
      responses:
        '200':
          description: Returns the validation results, or a `request_uuid` when validation is asynchronous.
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NumberValidatorCreateBulkResponse'
              examples:
                success:
                  summary: Successful response
                  value:
                    status: success
                    pending: 0
                    count: 1000
                    items:
                    - phone_number: '971569483322'
                      valid: true
                      country_code: AE
                      e164_format: '+971569483322'
                      national_format: 056 948 3322
                      ported: false
                      mcc: '424'
                      mnc: '004'
                      number_type: mobile
                      carrier_name: Etisalat
                      risky_destination: false
                      unallocated_range: false
                      reachable: true
                      roaming: false
                      timezone: UTC+04:00
                      charge: '0.015'
                      error_code: '000'
                async:
                  summary: Asynchronous validation started
                  value:
                    request_uuid: 15323ba4-80c1-41be-b8e7-07bb435c7445
        '400':
          $ref: '#/components/responses/BadRequestErrorResponse'
        '401':
          $ref: '#/components/responses/UnauthorizedErrorResponse'
        '403':
          $ref: '#/components/responses/ForbiddenErrorResponse'
        '404':
          $ref: '#/components/responses/NotFoundErrorResponse'
        '422':
          $ref: '#/components/responses/ValidationErrorResponse'
      deprecated: false
  /v1/validation/{request_id}:
    get:
      tags:
      - Number validator
      summary: Retrieve validation results
      description: Returns the results of an asynchronous batch validation identified by `request_id`.
      operationId: number_validator_results_get
      security:
      - bearerAuth:
        - validator:read
      x-fern-sdk-group-name:
      - numberValidator
      - results
      x-fern-sdk-method-name: get
      x-mcp:
        readOnly: true
        destructive: false
        openWorld: false
        expose: true
        toolset: verification
      parameters:
      - name: request_id
        in: path
        description: The `request_uuid` returned by the asynchronous bulk validation request.
        required: true
        style: simple
        schema:
          type: string
          example: 12542c5c-1a17-4d12-a163-5b68543e75f6
      responses:
        '200':
          description: Returns the batch validation results.
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhoneValidationBatchResultResponse'
              examples:
                success:
                  summary: Successful response
                  value:
                    status: success
                    pending: 10
                    count: 1000
                    items:
                    - phone_number: '971501390098'
                      valid: true
                      country_code: AE
                      e164_format: '+971501390098'
                      national_format: 050 139 0098
                      ported: false
                      mcc: '424'
                      mnc: '02'
                      number_type: mobile
                      carrier_name: Etisalat
                      risky_destination: false
                      unallocated_range: false
                      reachable: true
                      roaming: false
                      timezone: UTC+04:00
                      charge: '0.015'
                      error_code: '000'
                    - phone_number: '971504359195'
                      valid: true
                      country_code: AE
                      e164_format: '+971504359195'
                      national_format: 050 435 9195
                      ported: false
                      mcc: '424'
                      mnc: '02'
                      number_type: mobile
                      carrier_name: Etisalat
                      risky_destination: false
                      unallocated_range: false
                      reachable: true
                      roaming: false
                      timezone: UTC+04:00
                      charge: '0.015'
                      error_code: '000'
        '400':
          $ref: '#/components/responses/BadRequestErrorResponse'
        '401':
          $ref: '#/components/responses/UnauthorizedErrorResponse'
        '403':
          $ref: '#/components/responses/ForbiddenErrorResponse'
        '404':
          $ref: '#/components/responses/NotFoundErrorResponse'
      deprecated: false
components:
  responses:
    UnauthorizedErrorResponse:
      description: Unauthorized
      headers: {}
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/UnauthorizedErrorResponse'
    ForbiddenErrorResponse:
      description: Request failed. The feature is disabled for your account.
      headers: {}
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ForbiddenErrorResponse'
    BadRequestErrorResponse:
      description: Request failed. Missing or invalid parameter <param_name>
      headers: {}
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationErrorResponse'
    NotFoundErrorResponse:
      description: Request failed. An object with the specified ID is not found.
      headers: {}
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NotFoundErrorResponse'
    ValidationErrorResponse:
      description: Validation error
      headers: {}
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationErrorResponse'
  schemas:
    NumberValidatorCreateBulkResponse:
      anyOf:
      - $ref: '#/components/schemas/PhoneValidationBatchResponse'
      - type: object
        title: Async Request
        description: Returned when validation runs asynchronously; poll results using `request_uuid`.
        required:
        - request_uuid
        properties:
          request_uuid:
            type: string
            description: ID of the validation request. Pass it as `request_id` to retrieve the results when `async` is `true`.
            example: 15323ba4-80c1-41be-b8e7-07bb435c7445
    PhoneValidationRequest:
      title: PhoneValidationRequest
      required:
      - phone_numbers
      - type
      type: object
      additionalProperties: false
      properties:
        phone_numbers:
          type: array
          items:
            type: string
          maxItems: 100000
          description: List of phone numbers to get detailed information about. Maximum 500 numbers per request, or 100000 when `async` is `true`.
          example:
          - '971501390098'
          - '971504359195'
        type:
          $ref: '#/components/schemas/PhoneNumberValidationType'
        async:
          type: boolean
          default: false
          description: Indicates whether the request should be executed asynchronously. If `true`, the response will include a `request_uuid` that can be used to poll for results. If `false` (default), the response will include validation results directly.
          example: true
        force:
          type: boolean
          default: false
          description: Indicates whether to force a fresh validation instead of returning a previously cached result. Defaults to `false`.
          example: true
    ValidationErrorResponse:
      title: ValidationErrorResponse
      type: object
      properties:
        success:
          type: boolean
          description: Indicates whether the request was successful. Always `false` for this error.
          example: false
        message:
          type: string
          description: Human-readable description naming the missing or invalid request parameter.
          example: Missing or invalid parameter <param_name>
    UnauthorizedErrorResponse:
      title: UnauthorizedErrorResponse
      type: object
      properties:
        success:
          type: boolean
          description: Indicates whether the request was successful. Always `false` for this error.
          example: false
        error:
          type: boolean
          description: Indicates that the response represents an error. Always `true` for this error.
          example: true
        message:
          type: string
          description: Human-readable description stating that authentication is missing or invalid.
          example: Unauthorized
    PhoneValidationBatchResponse:
      title: PhoneValidationBatchResponse
      required:
      - count
      - items
      - status
      - pending
      type: object
      additionalProperties: false
      properties:
        status:
          type: string
          description: Validation request status.
          example: success
        pending:
          type: integer
          description: Number of validations still in progress.
          example: 0
        count:
          type: integer
          format: int32
          description: Total number of phone numbers in the request.
          example: 1000
        items:
          type: array
          items:
            $ref: '#/components/schemas/PhoneValidationResultResponse'
          description: List of validation results for each phone number.
    PhoneValidationResultResponse:
      title: PhoneValidationResultResponse
      required:
      - phone_number
      - valid
      - country_code
      - e164_format
      - national_format
      - charge
      - error_code
      type: object
      additionalProperties: false
      properties:
        phone_number:
          type: string
          description: Phone number.
          example: '971569483322'
        valid:
          type: boolean
          description: Indicates whether the phone number is valid.
          example: true
        country_code:
          type:
          - string
          - 'null'
          description: Phone number country code in ISO 3166-1 alpha-2 format. `null` if the number is invalid.
          example: AE
        e164_format:
          type: string
          description: Phone number in international E.164 format.
          example: '+971569483322'
        national_format:
          type: string
          description: Phone number in the national format of the identified country.
          example: 056 948 3322
        ported:
          type:
          - boolean
          - 'null'
          description: Indicates whether the phone number is ported. `null` if the phone number is invalid.
          example: false
        mcc:
          type:
          - string
          - 'null'
          description: Mobile Country Code (MCC). Applies to mobile numbers only. `null` if the phone number is invalid.
          example: '424'
        mnc:
          type:
          - string
          - 'null'
          description: Mobile Network Code (MNC). Applies to mobile numbers only. `null` if the phone number is invalid.
          example: '004'
        number_type:
          type:
          - string
          - 'null'
          description: 'Phone number type. Allowed values: `mobile`, `landline`, `toll-free`. `null` if the phone number is invalid.'
          example: mobile
        carrier_name:
          type:
          - string
          - 'null'
          description: Carrier name. `null` if the phone number is invalid.
          example: Etisalat
        risky_destination:
          type:
          - boolean
          - 'null'
          description: Indicates whether the phone number belongs to a range associated with traffic pumping. `null` if the phone number is invalid.
          example: false
        unallocated_range:
          type:
          - boolean
          - 'null'
          description: "Indicates whether the phone number belongs to an unallocated range.\n `null` if the phone number is invalid."
          example: false
        reachable:
          type:
          - boolean
          - 'null'
          description: Indicates whether the number is registered in a mobile network. Applies to mobile numbers only.  `null` if the phone number is invalid.
          example: true
        roaming:
          type:
          - boolean
          - 'null'
          description: "Indicates whether the number is roaming. Applies to mobile numbers only.\n `null` if the phone number is invalid."
          example: false
        timezone:
          type:
          - string
          - 'null'
          description: Time zone identified based on the country and area code.  `null` if the phone number is invalid.
          example: UTC+04:00
        charge:
          type: string
          description: Charge for the validation.
          example: '0.015'
        error_code:
          type: string
          description: 'Result code for the validation. `000` indicates success. Possible values:

            - `013` — internal service error, uncategorized.

            - `021` — invalid phone number length or format.

            - `041` — remote timeout.

            - `042` — remote query failed.

            - `091` — insufficient funds.'
          example: '000'
      description: Number validator response details.
    ForbiddenErrorResponse:
      title: ForbiddenErrorResponse
      type: object
      properties:
        success:
          type: boolean
          description: Indicates whether the request was successful. Always `false` for this error.
          example: false
        message:
          type: string
          description: Human-readable description of why access is forbidden.
          example: The service is not provisioned for your account.
    PhoneNumberValidationType:
      title: PhoneNumberValidationType
      enum:
      - format
      - analysis
      - validation
      type: string
      description: Depth of validation to perform on the phone number. One of `format` (checks number syntax only), `analysis` (returns number metadata such as type and country), or `validation` (performs a live network lookup of the number's current status).
    NotFoundErrorResponse:
      title: NotFoundErrorResponse
      type: object
      properties:
        success:
          type: boolean
          description: Indicates whether the request was successful. Always `false` for this error.
          example: false
        message:
          type: string
          description: Human-readable description stating that no resource matches the given ID.
          example: Record not found
    PhoneValidationBatchResultResponse:
      title: PhoneValidationBatchResultResponse
      required:
      - status
      - pending
      - count
      - items
      type: object
      additionalProperties: false
      properties:
        status:
          type: string
          description: 'Request status. Possible values are `success` and `in progress`.


            - `success`: All numbers were processed. - `in progress`: Several numbers are pending validation.'
          example: success
        pending:
          type: integer
          description: The quantity of phone numbers that are pending to be processed.
          format: int32
          example: 10
        count:
          type: integer
          description: The quantity of phone numbers passed in the request.
          format: int32
          example: 1000
        items:
          type: array
          items:
            $ref: '#/components/schemas/PhoneValidationResultResponse'
          description: "Array of objects containing details for each phone number.\n The returned fields depend on the `type` parameter."
          example:
          - phone_number: '971501390098'
            valid: true
            country_code: AE
            e164_format: '+971501390098'
            national_format: 050 139 0098
            ported: false
            mcc: '424'
            mnc: '02'
            number_type: mobile
            carrier_name: Etisalat
            risky_destination: false
            unallocated_range: false
            reachable: true
            roaming: false
            timezone: UTC+04:00
            charge: '0.015'
            error_code: '000'
          - phone_number: '971504359195'
            valid: true
            country_code: AE
            e164_format: '+971504359195'
            national_format: 050 435 9195
            ported: false
            mcc: '424'
            mnc: '02'
            number_type: mobile
            carrier_name: Etisalat
            risky_destination: false
            unallocated_range: false
            reachable: true
            roaming: false
            timezone: UTC+04:00
            charge: '0.015'
            error_code: '000'
    PhoneValidationResponse:
      title: PhoneValidationResponse
      required:
      - phone_number
      - valid
      - country_code
      - e164_format
      - national_format
      - charge
      - error_code
      type: object
      additionalProperties: false
      properties:
        phone_number:
          type: string
          description: Phone number.
          example: '971569483322'
        valid:
          type: boolean
          description: Indicates whether the phone number is valid.
          example: true
        country_code:
          type:
          - string
          - 'null'
          description: "ISO 3166-1 alpha-2 country code of the phone number.\n `null` if the number is invalid."
          example: AE
        e164_format:
          type: string
          description: Phone number in international E.164 format.
          example: '+971569483322'
        national_format:
          type: string
          description: Phone number in the national format of the identified country.
          example: 056 948 3322
        ported:
          type:
          - boolean
          - 'null'
          description: Indicates whether the phone number was ported or not. `null` if the phone number is invalid.
          example: false
        mcc:
          type:
          - string
          - 'null'
          description: Mobile Country Code of the phone number carrier. For mobile phone numbers only. `null` if the phone number is invalid.
          example: '424'
        mnc:
          type:
          - string
          - 'null'
          description: Mobile Network Code of the phone number carrier. For mobile phone numbers only. `null` if the phone number is invalid
          example: '004'
        number_type:
          type:
          - string
          - 'null'
          description: Number type. Possible values are `mobile`, `landline`, or `toll-free`. `null` if the phone number is invalid.
          example: mobile
        carrier_name:
          type:
          - string
          - 'null'
          description: Name of the phone number carrier. `null` if the phone number is invalid.
          example: Etisalat
        risky_destination:
          type:
          - boolean
          - 'null'
          description: Indicates whether the phone number belongs to a number range associated with traffic pumping. `null` if the number is invalid.
          example: false
        unallocated_range:
          type:
          - boolean
          - 'null'
          description: Indicates whether the phone number belongs to an unallocated number range. `null` if the number is invalid
          example: false
        reachable:
          type:
          - boolean
          - 'null'
          description: Indicates whether the number is registered in a mobile network. For mobile phone numbers only. `null` if the number is invalid
          example: true
        roaming:
          type:
          - boolean
          - 'null'
          description: Indicates whether the number is roaming. For mobile phone numbers only. `null` if the number is invalid
          example: false
        timezone:
          type:
          - string
          - 'null'
          description: "Time zone based on the phone number's country and area code.\n `null` if the number is invalid."
          example: UTC+04:00
        charge:
          type: string
          description: Charge for the validation.
          example: '0.015'
        error_code:
          type: string
          description: 'Error code for the request. `000` indicates success.

            Possible values:

            - `013`: — Internal service error

            - `021`: — Invalid phone number length or format

            - `041`: — Request timeout

            - `042`: — Request failed

            - `091`: — Insufficient funds'
          example: '000'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Wavix API key. Pass as `Authorization: Bearer <api_key>`. Keys support per-resource scopes (none / read / write). See [Restricted keys and scopes](https://docs.wavix.com/api-reference/authentication#restricted-keys-and-scopes).

        '