---
title: Validate and Format Phone Number API
slug: validate-phone-number
url: https://apyhub.com/creightonnick0/service/validate-phone-number
provider: nick creighton
categories: [Data Validation]
tags: [phone-validation, e164, phone-normalization, contact-data, data-validation]
auth: api_key
---

# Validate and Format Phone Number API

Validate phone numbers in E.164 or national format and get normalized country-aware output. Useful for signup forms, contact cleanup, and SMS workflows.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `` | What it does Parses and validates a phone number, returning normalized formatting and country-relat… | 10 |

## About

## What it does
Phone Number Validator parses and validates phone numbers, returning E.164 and country-aware formats you can store or compare reliably. Send a `phone` value in E.164 form or national format; for national-format numbers, include the optional `country` hint as an ISO alpha-2 code.

The response tells you whether the number is `valid` and includes the normalized `e164` value when available. It can also return the original `input`, `country`, `calling_code`, `country_code`, `national_format`, `national_number`, and `international_format`, so you can standardize user-entered contact data without guessing formatting rules.

Use Phone Number Validator when you need to clean signup forms, deduplicate contacts, or accept local phone entry from multiple countries while keeping one canonical representation in your database. It is especially useful before sending SMS, building user profiles, or enforcing per-country phone rules at the edge of your app.

If you only need a validity check, use the `valid` flag. If you need normalization, use the formatted fields to display or persist the number in a consistent way.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/creightonnick0/service/validate-phone-number
