# StructMint E.164 Phone Formatter & Timezone Validator (`structmint/phone-e164-region-validator`) Actor

100% offline ITU-T numbering-plan validator extracting E.164, RFC3966, extensions, country ISO2, line type & IANA timezones ($0 external lookup).

- **URL**: https://apify.com/structmint/phone-e164-region-validator.md
- **Developed by:** [StructMint](https://apify.com/structmint) (community)
- **Categories:** Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.40 / 1,000 phone numbers normalized & enriched

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## StructMint E.164 Phone Formatter & Timezone Validator

> **Zero external paid AI/LLM fees · Instant structured JSON in <2s · `$0.0005` Actor start + `$0.00050/phone number normalized & enriched`**

100% offline ITU-T numbering-plan validator extracting E.164, RFC3966, extensions, country ISO2, line type & IANA timezones ($0 external lookup).

### Instant Input -> Output Preview (Try It Now)

Send clean JSON in, get strict audit-ready JSON out — **no prompt engineering, no HTML CSS breakage, no monthly subscription**.

**Input:**

```json
{
  "defaultCountry": "US",
  "phones": [
    {
      "phone": "(415) 555-0142 ext 204"
    },
    {
      "phone": "+44 20 7946 0921"
    },
    {
      "phone": "07700 900123",
      "defaultCountry": "GB"
    }
  ]
}
```

**Verified Output Snapshot:**

```json
{
  "validCount": 3,
  "invalidCount": 0,
  "results": [
    {
      "e164": "+14155550142",
      "extension": "204",
      "rfc3966": "tel:+1-415-555-0142;ext=204",
      "countryIso2": "US",
      "lineType": "FIXED_LINE_OR_MOBILE",
      "primaryTimezone": "America/New_York"
    }
  ]
}
```

### Why Engineering & RevOps Teams Switch to StructMint

| Feature | **StructMint (`phone-e164-region-validator`)** | Typical `$99+/mo` SaaS APIs | Brittle Custom / HTML Scrapers |
|---|---|---|---|
| **Pricing Model** | Pay-Per-Event (`$0.0005` start + `$0.00050/unit`) | `$49–$299/mo` fixed seat lock-in | Hidden server + maintenance hours |
| **Maintenance Risk** | **0 HTML DOM selectors (deterministic logic)** | Vendor API deprecations | Breaks every site layout change |
| **Security & Privacy** | \`LIMITED_PERMISSIONS\` · Deterministic schema | Shared multi-tenant logs | Full-account token exposure |
| **AI Agent & n8n Ready** | Native **Apify MCP** + Open-Source [n8n Kit](https://github.com/stqnbapxao-source/structmint-b2b-automation-kit) | Manual OAuth + glue code | Unstructured text cleanup |

### Core Capabilities

- **Zero external lookup cost: 32 major B2B ITU-T country dial plans built in**
- **Extracts extensions (ext, x, #), RFC3966 URIs, line type, and IANA timezones**
- **Instant CRM & dialing-window hygiene before customer support or SMS routing**

### 1-Click Integration: cURL, Claude / Cursor MCP & n8n Workflows

#### Option A — Synchronous REST API Call (Returns JSON Dataset Directly)

```bash
curl -X POST "https://api.apify.com/v2/acts/structmint~phone-e164-region-validator/run-sync-get-dataset-items" \
  -H "Authorization: Bearer YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"defaultCountry":"US","phones":[{"phone":"(415) 555-0142 ext 204"},{"phone":"+44 20 7946 0921"},{"phone":"07700 900123","defaultCountry":"GB"}]}'
```

#### Option B — Claude Desktop / Cursor / AI Agent MCP Config

```json
{
  "mcpServers": {
    "structmint-phone-e164-region-validator": {
      "url": "https://mcp.apify.com?actors=structmint/phone-e164-region-validator",
      "headers": { "Authorization": "Bearer YOUR_APIFY_TOKEN" }
    }
  }
}
```

#### Option C — Ready-to-Import n8n Workflows & Typed TypeScript SDK

Clone our free MIT-licensed [StructMint B2B Automation Kit on GitHub](https://github.com/stqnbapxao-source/structmint-b2b-automation-kit) for **ready-to-import `n8n` workflow JSON templates**, pre-built MCP configs, and a typed TypeScript SDK calling [apify.com/structmint](https://apify.com/structmint).

### Transparent Pay-Per-Event Pricing (`phone-validated`)

- **Actor Start Event**: `$0.0005 USD` per container run (volume discounts automatically applied for Bronze–Diamond tiers)
- **Unit Event (`phone-validated`)**: `$0.00050 USD` per phone number normalized & enriched
- **Free Tier External API Cost**: `$0.00` (strictly self-contained deterministic processing)
- **Permissions Mode**: `LIMITED_PERMISSIONS` (isolated per-run storage; zero access to unrelated account datasets)

### Pre-Configured Automation Presets (10 Search-Ready Tasks)

1. **E.164 Phone Number Normalizer API** (`e164-phone-normalizer-api`): Offline ITU-T E.164 normalization & timezone router for e164-phone-normalizer-api ($0.50/1k).
2. **CRM Phone & IANA Timezone Enricher** (`crm-phone-timezone-enricher`): Offline ITU-T E.164 normalization & timezone router for crm-phone-timezone-enricher ($0.50/1k).
3. **US, UK & EU Phone Line-Type Checker** (`us-uk-eu-phone-line-type-checker`): Offline ITU-T E.164 normalization & timezone router for us-uk-eu-phone-line-type-checker ($0.50/1k).
4. **Toll-Free & VoIP Number Filter** (`toll-free-voip-phone-filter`): Offline ITU-T E.164 normalization & timezone router for toll-free-voip-phone-filter ($0.50/1k).
5. **Bulk Phone Extension Extractor** (`bulk-phone-extension-extractor`): Offline ITU-T E.164 normalization & timezone router for bulk-phone-extension-extractor ($0.50/1k).
6. **Vietnam & Singapore E.164 Converter** (`vietnam-singapore-e164-converter`): Offline ITU-T E.164 normalization & timezone router for vietnam-singapore-e164-converter ($0.50/1k).
7. **RFC 3966 Tel URI Formatter** (`rfc3966-tel-uri-generator`): Offline ITU-T E.164 normalization & timezone router for rfc3966-tel-uri-generator ($0.50/1k).
8. **HubSpot & Salesforce Phone Hygiene** (`hubspot-salesforce-phone-hygiene`): Offline ITU-T E.164 normalization & timezone router for hubspot-salesforce-phone-hygiene ($0.50/1k).
9. **MCP Phone & Timezone Validator** (`mcp-phone-validation-tool`): Offline ITU-T E.164 normalization & timezone router for mcp-phone-validation-tool ($0.50/1k).
10. **n8n Business Calling Timezone Router** (`n8n-cold-calling-timezone-router`): Offline ITU-T E.164 normalization & timezone router for n8n-cold-calling-timezone-router ($0.50/1k).

### Complete StructMint 15-Tool B2B Extractors & Data Hygiene Suite

Chain these B2B extractors and data hygiene utilities together in n8n, Make, or Apify MCP without paying monthly SaaS subscriptions:

| StructMint Utility | Transparent PPE Rate | Sandbox Mode |
|---|---|---|
| [Lever Jobs & B2B Hiring Velocity API Extractor](https://apify.com/structmint/lever-jobs-hiring-velocity-extractor) | `$0.0040 / lever job posting signal` | `LIMITED_PERMISSIONS` |
| [Ashby Jobs & Compensation Tiers API Extractor](https://apify.com/structmint/ashby-jobs-compensation-tiers-extractor) | `$0.0040 / ashby job & compensation signal` | `LIMITED_PERMISSIONS` |
| [Greenhouse Jobs & Department Hiring Signals API](https://apify.com/structmint/greenhouse-jobs-department-signals-api) | `$0.0040 / greenhouse department job signal` | `LIMITED_PERMISSIONS` |
| [Shopify App Store Delta & Developer Tracker](https://apify.com/structmint/shopify-app-store-delta-tracker) | `$0.0050 / shopify app catalog delta record` | `LIMITED_PERMISSIONS` |
| [SEC EDGAR Corporate Filings & Form D Extractor](https://apify.com/structmint/sec-edgar-corporate-form-d-extractor) | `$0.0050 / sec edgar corporate filing notice` | `LIMITED_PERMISSIONS` |
| [StructMint B2B Email, MX, SPF & DMARC Deliverability Verifier](https://apify.com/structmint/b2b-email-dns-deliverability-verifier) | `$0.0008 / email address verified` | `LIMITED_PERMISSIONS` |
| [StructMint B2B Lead Dataset Deduplicator & Normalizer](https://apify.com/structmint/dataset-lead-dedupe-normalizer) | `$0.0006 / lead record normalized & deduped` | `LIMITED_PERMISSIONS` |
| [StructMint Invoice XML, Table & PDF-Text to JSON](https://apify.com/structmint/structured-document-invoice-extractor) | `$0.0040 / document parsed & reconciled` | `LIMITED_PERMISSIONS` |
| **(This Tool)** [StructMint E.164 Phone Formatter & Timezone Validator](https://apify.com/structmint/phone-e164-region-validator) | `$0.0005 / phone number normalized & enriched` | `LIMITED_PERMISSIONS` |
| [StructMint RSS, Podcast & App Store Feed Normalizer](https://apify.com/structmint/rss-podcast-appstore-feed-json) | `$0.0008 / feed item parsed & deduplicated` | `LIMITED_PERMISSIONS` |
| [StructMint Bulk Domain RDAP, DNS & SSL Expiry Auditor](https://apify.com/structmint/domain-rdap-dns-ssl-auditor) | `$0.0008 / domain rdap, dns & tls certificate audited` | `LIMITED_PERMISSIONS` |
| [StructMint Website Tech Stack & Security Header Grader](https://apify.com/structmint/tech-stack-security-header-detector) | `$0.0010 / website tech stack & security headers graded` | `LIMITED_PERMISSIONS` |
| [StructMint Bulk URL Redirect, 404 & UTM Hygiene Auditor](https://apify.com/structmint/url-redirect-broken-link-utm-auditor) | `$0.0005 / url canonicalized & redirect chain audited` | `LIMITED_PERMISSIONS` |
| [StructMint JSON-LD Schema, OpenGraph & AI SEO Auditor](https://apify.com/structmint/jsonld-opengraph-seo-schema-auditor) | `$0.0010 / page json-ld schema & seo metadata audited` | `LIMITED_PERMISSIONS` |
| [StructMint Global IBAN, SWIFT/BIC, EU VAT & Tax Validator](https://apify.com/structmint/iban-vat-bic-tax-id-validator) | `$0.0005 / iban, bic, eu vat or tax id mathematically verified` | `LIMITED_PERMISSIONS` |

### Reliability & Privacy Policy

- Every release passes deterministic golden and adversarial schema checks before deployment.
- Continuous automated health probes verify schema integrity and uptime.
- Stateless hygiene processing: input arrays containing business contacts or URLs are processed solely inside your isolated run container and never persisted or resold outside your ephemeral Apify dataset.

# Actor input Schema

## `defaultCountry` (type: `string`):

Configuration value for defaultCountry.

## `phones` (type: `array`):

List parameter for phones.

## Actor input object example

```json
{
  "defaultCountry": "US",
  "phones": [
    {
      "phone": "(415) 555-0142 ext 204"
    },
    {
      "phone": "+44 20 7946 0921"
    },
    {
      "phone": "07700 900123",
      "defaultCountry": "GB"
    }
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

Normalized and validated structured JSON items.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "phones": [
        {
            "phone": "(415) 555-0142 ext 204"
        },
        {
            "phone": "+44 20 7946 0921"
        },
        {
            "phone": "07700 900123",
            "defaultCountry": "GB"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("structmint/phone-e164-region-validator").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "phones": [
        { "phone": "(415) 555-0142 ext 204" },
        { "phone": "+44 20 7946 0921" },
        {
            "phone": "07700 900123",
            "defaultCountry": "GB",
        },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("structmint/phone-e164-region-validator").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "phones": [
    {
      "phone": "(415) 555-0142 ext 204"
    },
    {
      "phone": "+44 20 7946 0921"
    },
    {
      "phone": "07700 900123",
      "defaultCountry": "GB"
    }
  ]
}' |
apify call structmint/phone-e164-region-validator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,structmint/phone-e164-region-validator"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/f9MS07awzb2ULheuw/builds/teKZXE0QlfDlTvBq0/openapi.json
