Phone Number Validation API

E.164 canonical line-type detection 175+ countries MOBILE / FIXED / VOIP fraud signals

One HTTP call returns the canonical E.164 form, line type, country, and national/international formatting for any phone number in any format — local, international, or national notation.

Try it

Output appears here.

Quick start

# GET — query string
curl "https://kiprio.com/v1/phonenumber?phone=%2B447911123456" \
  -H "X-API-Key: wsk_your_key"

# POST — JSON body
curl -X POST https://kiprio.com/v1/phonenumber \
  -H "Content-Type: application/json" \
  -H "X-API-Key: wsk_your_key" \
  -d '{"phone":"0207 946 0991","region":"GB"}'

Response shape

{
  "input":                  "+447911123456",
  "valid":                  true,
  "possible":               true,
  "e164":                   "+447911123456",
  "country_code":           44,
  "national_number":        "7911123456",
  "country":                "United Kingdom",
  "region":                 "GB",
  "line_type":              "MOBILE",
  "formatted_national":     "07911 123456",
  "formatted_international":"+44 7911 123456",
  "error":                  null
}

Fields

FieldDescription
validTrue if the number is valid for the indicated region (ITU standard).
possibleTrue if the number length is plausible even if not fully validated.
e164Canonical E.164 form (+{country_code}{national_number}). Null if not valid.
country_codeITU-T country calling code (44, 1, 49, …).
national_numberNational significant number (without country code).
countryHuman-readable country name derived from the number prefix.
regionISO 3166-1 alpha-2 region code (GB, US, DE, …).
line_typeMOBILE, FIXED_LINE, FIXED_LINE_OR_MOBILE, VOIP, TOLL_FREE, PREMIUM_RATE, SHARED_COST, UNKNOWN.
formatted_nationalNational format per local convention (07911 123456).
formatted_internationalInternational format (+44 7911 123456).
errorParse error string if the input could not be parsed; null otherwise.

Use cases

Use caseWhat to check
Signup form validationvalid=true before allowing submission
CRM normalisationStore e164 as canonical key
SMS routingline_type=MOBILE to avoid sending SMS to landlines
Fraud preventionline_type=VOIP or PREMIUM_RATE as risk signal
International displayformatted_international for UI display

Pricing

free
$0
100 req/day · 10/min
No card required.
pro
$9/mo
10,000 req/day · 120/min
All features + higher throughput.
business
$49/mo
100,000 req/day · 600/min
CRM & fraud-stack volumes.

Comparable: Twilio Lookup $0.005/lookup ($5/1k), numverify $10/mo for 500/mo. We offer flat-rate pricing — predictable cost for high volumes.

Errors

Built by kiprio.com · Task #451 · Powered by google/libphonenumber via the phonenumbers Python library