format, analysis, or validation.
The table below shows phone number details returned depending on the request type.
Phone number details returned by request type
| Parameter | Format | Analysis | Validation |
|---|---|---|---|
| Phone number validity | Yes | Yes | Yes |
| Phone number country | Yes | Yes | Yes |
| Local format | Yes | Yes | Yes |
| E.164 format | Yes | Yes | Yes |
| MCC, MNC for mobile numbers | — | Yes | Yes |
| Type (mobile/toll-free/etc.) | — | Yes | Yes |
| Current carrier | — | Yes | Yes |
| Ported status | — | Yes | Yes |
| Unallocated range | — | Yes | Yes |
| Risky destination | — | Yes | Yes |
| Timezone | — | — | Yes |
| Reachability* | — | — | Yes |
| Roaming status* | — | — | Yes |
Prerequisites
Before you can access the Wavix Number Validator API, you need to sign up for Wavix.Create a Wavix account
- Sign up for a Wavix account using your business email address.
- Confirm your email address and phone number during the sign-up process.
- Wait for your account to be approved by the Wavix team.
- After approval, choose either the Wavix Flex or Flex Pro account level.
Find your API key
Get your API keyHow to validate a single phone number
To get detailed information about a single phone number, use the following method:number- the phone number to be validated.validation_type- the Wavix Number validator request type:format,analysis, orvalidation.
HTTP 200 OK status code. The response body will contain information about the phone number.
How to validate multiple phone numbers
The Wavix Number Validator API allows you to get detailed information about several phone numbers with a single request. Under most circumstances, it takes about 30 seconds to validate a batch of 500 phone numbers. We recommend you useasync:true if you’re planning to validate more than 500.
async— whether the request executes asynchronously.type— validation type:format,analysis, orvalidation.phone_numbers— array of E.164-formatted numbers to validate.
Response
For synchronous requests, if successful, the method returns theHTTP 200 OK status code. The response contains detailed information about each phone number.
HTTP 201 Created status code, which means the validation process has started. The response contains a token that needs to be used to poll the results.