# Validate international phone numbers from many countries

**Use case:** 

Numbers with a + prefix are validated against their own country plan; country, calling code and formats come back for each.

## Input

```json
{
  "phones": [
    "+33 1 42 92 81 00",
    "+81 3 3580 3311",
    "+61 2 6271 5111",
    "+55 61 3411 1221",
    "+34 91 321 40 00"
  ],
  "defaultCountry": "GB",
  "smtpCheck": true,
  "maxItems": 1000
}
```

## Output

```json
{
  "type": {
    "label": "Type",
    "format": "text"
  },
  "input": {
    "label": "Input",
    "format": "text"
  },
  "verdict": {
    "label": "Verdict",
    "format": "text"
  },
  "score": {
    "label": "Score",
    "format": "number"
  },
  "reasons": {
    "label": "Reasons",
    "format": "array"
  },
  "smtp.status": {
    "label": "Mailbox",
    "format": "text"
  },
  "isDisposable": {
    "label": "Disposable",
    "format": "boolean"
  },
  "isRole": {
    "label": "Role",
    "format": "boolean"
  },
  "isFreeMail": {
    "label": "Free mail",
    "format": "boolean"
  },
  "didYouMean": {
    "label": "Did you mean",
    "format": "text"
  },
  "valid": {
    "label": "Valid phone",
    "format": "boolean"
  },
  "e164": {
    "label": "E.164",
    "format": "text"
  },
  "country": {
    "label": "Country",
    "format": "text"
  },
  "lineType": {
    "label": "Line type",
    "format": "text"
  },
  "hasMx": {
    "label": "MX",
    "format": "boolean"
  },
  "acceptsMail": {
    "label": "Accepts mail",
    "format": "boolean"
  }
}
```

## About this Actor

This example demonstrates how to use [Phone Number Validator API - Valid, Type, Country, E.164](https://apify.com/vonsensey/phone-number-validator-api.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/vonsensey/phone-number-validator-api.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/vonsensey/phone-number-validator-api.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
