Validate phone numbers
check_phonesChecks up to 100 phone numbers for validity, type, and formatting, returning E.164, international, and national forms. Set a default country for numbers without international prefix.
Instructions
Validates up to 100 phone numbers with Google's libphonenumber data: valid for their country or why not, type (mobile, fixed line, toll free, VoIP...), and E.164, international and national forms. country (ISO code) for numbers written without +.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | default country, e.g. GB | |
| numbers | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | ||
| results | Yes |