Phone Number Validation & Formatting API
Parse, validate, and format phone numbers worldwide using Google's libphonenumber metadata, with full line-type detection.
Send a raw string like (415) 555-2671 or +44 20 7183 8750 and get back a fully parsed result: validity flags, the canonical E.164 form, national and international display formats, the RFC3966 tel: URI, the detected country (ISO2), the country calling code, and the line type (MOBILE, FIXED_LINE, and more).
Subscribe on RapidAPI
Features:
- Global Coverage: Validate and format numbers from 240+ countries and territories
- Rich Formatting: E.164, national, international, and RFC3966
tel:URI forms in a single response - Line-Type Detection: Distinguish mobile from fixed-line numbers for SMS vs voice routing
- Flexible Input: Accept international
+E.164numbers directly, or local formats with acountryhint - Independent Flags: Separate
validandpossibleflags let you tune strictness per use case - GET & POST: Validate via query parameters or a JSON request body