Validate and format a phone number
validate_phoneParse a phone number for any country, say whether it is valid (matches a national numbering-plan pattern) or merely possible, and return E.164, international and national formats, number type (mobile/fixed_line/toll_free…), region, location, original carrier hint and time zones. Example: number '050 123 4567', default_region 'AE'. Response: result plus data_confidence (high = check-digit algorithm from a public specification; medium = community-documented checksum or pattern-only; low = structure only), estimated_items[], sources[], data_version and a disclaimer (structural validation only — never proof that an identifier is issued or belongs to someone).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | Phone number as written; international form '+971 50 123 4567' needs no region. | |
| language | No | Language for location/carrier names, e.g. 'en', 'ar'. | en |
| default_region | No | ISO 3166-1 alpha-2 region used to interpret numbers written without '+', e.g. 'AE'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||