Numverify validates international phone numbers and returns their country, location, carrier, and line type. Keys from numverify.com use https://apilayer.net/api; keys from the APILayer marketplace use https://api.apilayer.com/number_verification with an apikey header.
Sign up at numverify.com for an access key, passed as access_key in the query string. In the examples it's written {{NUMVERIFY_ACCESS_KEY}}. The free plan has a monthly call limit.
Full reference: https://numverify.com/documentation
Include the country code.
curl "https://apilayer.net/api/validate?access_key={{NUMVERIFY_ACCESS_KEY}}&number=14158586273"
curl "https://api.apilayer.com/number_verification/validate?number=14158586273" \
-H "apikey: {{APILAYER_KEY}}"