free
$0
100 req/day · 10/min
No card required.
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.
# 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"}'
{
"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
}
| Field | Description |
|---|---|
valid | True if the number is valid for the indicated region (ITU standard). |
possible | True if the number length is plausible even if not fully validated. |
e164 | Canonical E.164 form (+{country_code}{national_number}). Null if not valid. |
country_code | ITU-T country calling code (44, 1, 49, …). |
national_number | National significant number (without country code). |
country | Human-readable country name derived from the number prefix. |
region | ISO 3166-1 alpha-2 region code (GB, US, DE, …). |
line_type | MOBILE, FIXED_LINE, FIXED_LINE_OR_MOBILE, VOIP, TOLL_FREE, PREMIUM_RATE, SHARED_COST, UNKNOWN. |
formatted_national | National format per local convention (07911 123456). |
formatted_international | International format (+44 7911 123456). |
error | Parse error string if the input could not be parsed; null otherwise. |
| Use case | What to check |
|---|---|
| Signup form validation | valid=true before allowing submission |
| CRM normalisation | Store e164 as canonical key |
| SMS routing | line_type=MOBILE to avoid sending SMS to landlines |
| Fraud prevention | line_type=VOIP or PREMIUM_RATE as risk signal |
| International display | formatted_international for UI display |
Comparable: Twilio Lookup $0.005/lookup ($5/1k), numverify $10/mo for 500/mo. We offer flat-rate pricing — predictable cost for high volumes.
400 — missing or over-long phone param401 — missing or invalid API key429 — quota exhausted (per-min, per-day, or demo IP limit)Built by kiprio.com · Task #451 · Powered by google/libphonenumber via the phonenumbers Python library