Foxentry phone number validator offers you two types of validation based on your needs. Here's a comparison.

Basic validation default

This type of validation is primarily used to check if the phone number has correct format and syntax. There is no TELCO data check so you would not be able to know if the phone number is connected to the network. Only basic errors and typos are corrected.

πŸ“˜

Only basic errors and typos are corrected as indicated below (incorrect character present):

{
"response": {
    "result": {
      "isValid": false,
      "proposal": "invalidWithCorrection",
      "data": {
        "country": {
          "code": "CZ",
          "prefix": "+420"
        },
        "number": null,
        "numberWithPrefix": "+420775111222@",
        "carrier": {},
        "format": {
          "national": null,
          "nationalFormatted": null,
          "international": null,
          "internationalFormatted": null
        }
      },
      "errors": [
        {
          "group": "SYNTAX",
          "type": "CHARACTERS",
          "subtype": "NOT_ALLOWED",
          "severity": "critical",
          "relatedTo": [
            "numberWithPrefix"
          ],
          "description": "Disallowed characters were used in the value."
        },
        {
          "group": "SYNTAX",
          "type": "INVALID",
          "subtype": null,
          "severity": "warning",
          "relatedTo": [
            "numberWithPrefix"
          ],
          "description": "Value has invalid syntax."
        }
      ]
    },
    "resultCorrected": {
      "isValid": true,
      "data": {
        "country": {
          "code": "CZ",
          "prefix": "+420"
        },
        "number": "775111222",
        "numberWithPrefix": "+420775111222",
        "carrier": {},
        "format": {
          "national": "775111222",
          "nationalFormatted": "775 111 222",
          "international": "+420775111222",
          "internationalFormatted": "+420 775 111 222"
        }
      },
      "errors": [],
      "fixes": [
        {
          "group": "SYNTAX",
          "type": "VALUE_PART_CHANGED",
          "subtype": "CHARACTERS",
          "data": {
            "typeFrom": "numberWithPrefix",
            "type": "numberWithPrefix",
            "valueFrom": "+420775111222@",
            "value": "+420775111222"
          }
        }
      ]
    },
    "suggestions": []

Extended validation

This is the more advanced option and consists of the TELCO data realtime check. Based on the information we receive we can with certainty tell if the phone number is connected to the network or not. Our validator also informs you about the type of phone number, you're validating and its carrier.

{
"response": {
    "result": {
      "isValid": true,
      "proposal": "valid",
      "data": {
        "country": {
          "code": "CZ",
          "prefix": "+420"
        },
        "number": "277278678",
        "numberWithPrefix": "+420277278678",
        "carrier": {
          "name": "FAYN Telecommunications s.r.o.",
          "type": "landline"
        },
        "format": {
          "national": "277278678",
          "nationalFormatted": "277 278 678",
          "international": "+420277278678",
          "internationalFormatted": "+420 277 278 678"
        }
      },
      "errors": []
    },
    "resultCorrected": null,
    "suggestions": []

πŸ‘

Foxentry extended validator is able to automatically correct many cases of typos and errors. It can also suggest more suitable alternatives.