Overview
Cloudmersive Validate API provides international phone number validation with detailed parsing, including country code detection, formatting, and line type identification. It supports REST requests with a simple JSON body and returns structured validation results. You need a free Cloudmersive API key to get started.
Beginner Tip
Send the phone number as a plain string in the JSON body — Cloudmersive handles the parsing, so you do not need to pre-format the number yourself.
Available Data
The kind of data this API exposes, based on its documentation. We could not call the endpoint to confirm the exact field names.
Example Response
Illustrative shape only — we were not able to call this endpoint (it requires credentials or exposes no public sample URL), so the fields below show the kind of data this API returns rather than a recorded response.
{
"name": "Japan",
"capital": "Tokyo",
"population": 125800000,
"region": "Asia",
"languages": [
"Japanese"
],
"flag": "https://flagcdn.com/jp.svg",
"currencies": [
{
"code": "JPY",
"name": "Japanese yen"
}
]
} Field Reference
IsValid Whether the phone number is considered valid. E164Format The phone number reformatted in international E.164 standard (e.g., +14158586273). CountryCode ISO 2-letter country code the number belongs to. PhoneNumberType The type of phone number: mobile, fixed-line, or other. FormattedPhoneNumber Human-readable formatted version of the phone number with country format applied. Implementation Example
Calls a real endpoint of this API. Replace any placeholder credentials with your own key.
const url = "https://api.cloudmersive.com/validate/phonenumber/basic";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"X-API-Key": "YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.
Metadata Score Breakdown
Estimated from metadata — endpoint not independently tested
Metadata estimate · endpoint not independently tested
Technical Specifications
Related Tags
Explore More
Similar APIs
View All →Numverify
⭐ Beginner's PickNumverify is a phone number validation API that checks whether a phone number is valid and returns carrier, location, and line type information for numbers from over 200 countries.
Phone Validation
⭐ Beginner's PickPhone Validation by Abstract API lets you verify phone numbers from countries around the world with a single API call.
Veriphone
⭐ Beginner's PickVeriphone is a phone number validation API that also returns carrier and line-type details for numbers worldwide.
Phone Specification
⭐ Beginner's PickPhone Specification API is a free REST API that returns detailed hardware and software specifications for thousands of smartphone models.