Actions4
Parse
AI-generatedSummary
Parse a phone number string to extract detailed information including its validity, formatting in various styles, country, and phone type.
Inputs
- Phone Number (required) — The phone number string to parse; include the international prefix (e.g. +40) or provide a default country if missing.
- Default Country — ISO 3166-1 alpha-2 country code used as default when the phone number lacks an international prefix. Leave empty if numbers always include the +XX prefix.
- Options — Optional settings including 'Continue On Invalid' to avoid errors and return a result with isValid=false instead when parsing fails.
Output shape
A list of JSON items each containing parse results for the input phone numbers.
Each output item includes 'input', 'isValid', 'e164', 'international', 'national', 'nationalNumber', 'country', 'countryCallingCode', 'type', and 'possible' fields when parsing succeeds. If parsing fails and 'Continue On Invalid' is enabled, it returns 'isValid': false and an 'error' message instead. Errors will otherwise throw and stop execution.