Validate Phone Number JSON Formatting

GET https://apilayer.net/api/validate?number=14158586273&callback=CALLBACK_FUNCTION&format=1

Request Params

KeyDatatypeRequiredDescription
numbernumber[Required] Phone number with prefix country code – 1 in this case.
callbackstring[Optional] Append any preferred JSONP callback function name.
formatnumber[Optional] Setting up 1 enhances readability of the numverify API response.

RESPONSES

status: OK

{"valid":true,"number":"14158586273","local_format":"4158586273","international_format":"+14158586273","country_prefix":"+1","country_code":"US","country_name":"United States of America","location":"Novato","carrier":"AT\u0026T Mobility LLC","line_type":"mobile"}