Phone Validation API Documentation

Complete reference for the Phone Validation API

Authentication

Authorization: Bearer sk_live_your_key_here

GET POST /v1/phone/validate

Parameters

Field Type Description
phonestringPhone number (required)
countrystringISO 3166-1 alpha-2 country code hint (optional)

Response Fields

Field Description
is_validWhether the number is valid
e164E.164 formatted number
internationalInternational format
nationalNational format
countryCountry code, name, and dial code
typemobile, landline, mobile_or_fixed, unknown
is_mobileWhether it's a mobile number
is_landlineWhether it's a landline number

Example

curl "https://snapapis.com/api/v1/phone/validate?api_key=KEY&phone=%2B966501234567&country=SA"