Phone Validation API

Phone Validation API

Parse and validate phone numbers

Overview

Phone Validation API is a powerful tool to parse and validate phone numbers

Features

Example

Phone Validation API only supports one GET endpoint. Send this request to validate the phone numbers (phone number must be url encoded):

curl -X 'GET' 'https://anyapi.io/api/v1/phone/validate?phone=%2B12133734253&apiKey=<YOUR_API_KEY>'

which returns this payload:

{
  "valid": true,
  "countryCode": "US",
  "type": "FIXED_LINE_OR_MOBILE",
  "format": {
    "international": "+1 213 373 4253",
    "national": "(213) 373-4253"
  },
  "uri": "tel:+12133734253"
}

Endpoints

This API provides the following endpoints:

Check out the Phone Validation API Docs for more details.