← API Specs

Phone Validation API

Summary

This API validates, normalises, and enriches phone numbers in real time to ensure high data quality across online forms, CRMs, and internal workflows. It converts raw inputs into the standard E.164 format while extracting critical metadata, including country of origin, location, line type (e.g., mobile or landline), and carrier network where available. By assessing multiple real-time signals, the API delivers a definitive usability status to help systems automatically filter out invalid entries and maintain a clean contact database.

Download Full API Specification (PDF)

Download OAS OpenAPI Specification (YAML)

Endpoint

MethodURL
POSThttps://api.data-checks.com/v1/phone

Request body (JSON)

FieldMeaning
phoneNumber to validate. Spaces, +, brackets, and dashes are accepted.
iso_countryDefault country code (2-letter). Used only if the number lacks a + prefix. Defaults to GB if omitted.

Request example

POST https://api.data-checks.com/v1/phone
Authorization: Bearer <YOUR_API_KEY>
Content-Type: application/json

{
  "phone": "07123 456789",
  "iso_country": "GB"
}

Successful response - HTTP status 200

FieldMeaning
inputOriginal submitted value.
normalizedCanonical form. E.164 standard.
is_validWhether the input is considered valid.
reasonThe specific reason code explaining why the phone number is considered valid or invalid.
typeThe type of phone number (e.g. Landline, Mobile, etc.).
providerNetwork or service provider, when available.
locationLocation associated with the number.
iso_countryISO 3166-1 alpha-2 of the country.
remaining_creditsPhone credits remaining after this validation.

Successful response example

HTTP/1.1 200 OK

{
  "input": "07123 456789",
  "normalized": "+447123456789",
  "is_valid": true,
  "reason": "active",
  "type": "Mobile",
  "provider": "Vodafone",
  "location": "United Kingdom",
  "iso_country": "GB",
  "remaining_credits": 99
}