veriphone

veriphone

3.5

Veriphone is a phone number verification service that enables you to parse, format, and validate phone numbers globally.

Veriphone MCP Server provides accurate, fast, and reliable validation for phone numbers across all countries and regions. It is built on a REST-based architecture, using JSON for data interchange, and offers a set of stateless endpoints that can be called via standard HTTP requests. The server responds with HTTP responses containing JSON payloads, detailing the validation results or example phone numbers. Veriphone requires authentication to ensure secure access to its services and uses standard HTTP status codes to indicate request outcomes. It is an essential tool for developers and learners who need efficient and reliable phone number validation services.

Features

  • Global Phone Number Validation: Instantly determine if a phone number is valid, with support for all countries.
  • Number Formatting: Convert valid phone numbers to standard international or local formats.
  • Automatic Country Detection: Automatically sets a default country based on the requester's IP address.
  • Carrier and Region Identification: Detect a phone number's type (e.g., mobile, landline) and carrier, wherever available.

MCP Tools

  • Verify: This tool performs global phone number verification.
  • Example: This tool returns an example phone number for any specified country and phone type.

Usage with Different Platforms

python

python
import requests

url = 'https://api.veriphone.io/v2/verify'
params = {
    'phone': '+1234567890',
    'default_country': 'US'
}
headers = {
    'Authorization': 'Bearer YOUR_API_KEY'
}

response = requests.get(url, headers=headers, params=params)
print(response.json())

javascript

javascript
const axios = require('axios');

const options = {
  method: 'GET',
  url: 'https://api.veriphone.io/v2/verify',
  params: { phone: '+1234567890', default_country: 'US' },
  headers: { Authorization: 'Bearer YOUR_API_KEY' }
};

axios.request(options).then(function (response) {
  console.log(response.data);
}).catch(function (error) {
  console.error(error);
});