# US phone number cleanup validator

**Use case:** 

Clean and validate US local phone numbers with a default country fallback, returning standardized formats and invalid-number errors.

## Input

```json
{
  "phoneNumbers": [
    "(202) 555-0147",
    "415-555-0198",
    "212.555.0184",
    "555"
  ],
  "defaultCountry": "US"
}
```

## Output

```json
{
  "input": {
    "label": "Input"
  },
  "isValid": {
    "label": "Valid",
    "format": "boolean"
  },
  "type": {
    "label": "Type"
  },
  "country": {
    "label": "Country"
  },
  "countryCode": {
    "label": "Country Code"
  },
  "internationalFormat": {
    "label": "E.164 Format"
  },
  "nationalFormat": {
    "label": "National Format"
  },
  "carrier": {
    "label": "Carrier"
  },
  "error": {
    "label": "Error"
  }
}
```

## About this Actor

This example demonstrates how to use [Phone Number Validator](https://apify.com/automation-lab/phone-number-validator) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/phone-number-validator) to learn more, explore other use cases, and run it yourself.