To use this endpoint, send the validation type and the value to verify. It will answer if the data is valid or not.
Validation Type Description Example Value
---------------------------------------------------------------------
email Validates an email address. [email protected]
phone Validates an international phone +1234567890
number (E.164 format).
url Validates a URL (HTTP/HTTPS/FTP). https://www.example.com
ip Validates an IPv4 address. 192.168.0.1
zip Validates a US ZIP Code. 12345 or 12345-6789
uuid Validates a UUID (version 4). 550e8400-e29b-41d4-a716-446655440000
hex_color Validates a hexadecimal color code. #FF5733 or #FFF
mac_address Validates a MAC address. 00:1A:2B:3C:4D:5E
twitter_handle Validates a Twitter handle. @example_handle
isbn_10 Validates a 10-digit ISBN. 0-306-40615-2
Data Validation Handler - Endpoint Features
| Object | Description |
|---|---|
Request Body |
[Required] Json |
{"isValid":true,"message":"Valid email"}
curl --location --request POST 'https://zylalabs.com/api/5258/data+inspector+api/6773/data+validation+handler' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"type": "email",
"value": "[email protected]"
}'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
Send the data type and value to validate, and the API returns if it’s valid or not.
Data Inspector it a versatile API for validating various data types like emails, IPs, URLs, and more.
Receives a data type and value as input, provides validation result as output.
Validating user data in forms (emails, phone numbers). Ensuring data integrity for online registrations. Checking input accuracy in financial or e-commerce platforms.
Beside the number of API calls per month allowed, there are no other limitations.
There are different plans suits everyone including a free trial for small amount of requests, but it’s rate is limit to prevent abuse of the service.
The API uses API keys for authentication. To access the API, include your API key in the request header. The API key is provided upon registration and should be kept secure.
The API returns detailed information about the age and history of a domain, including years, months and days since its creation, as well as expiration and update dates.
Each endpoint returns a JSON object indicating whether the provided data is valid. The response includes an "isValid" boolean field and a "message" field detailing the validation result.
The key fields in the response data are "isValid," which indicates the validity of the input, and "message," which provides additional context or feedback regarding the validation outcome.
The endpoint accepts two parameters: "validationType," which specifies the type of data to validate (e.g., email, phone), and "value," which is the actual data to be validated.
The response data is organized in a simple JSON format with two main fields: "isValid" (true/false) and "message" (a string explaining the validation result), making it easy to parse and utilize.
Each endpoint validates various data types, including emails, phone numbers, URLs, IP addresses, zip codes, UUIDs, MAC addresses, and more, ensuring comprehensive coverage of common data formats.
Data accuracy is maintained through rigorous validation algorithms and regular updates to the validation rules, ensuring that the API can effectively handle evolving data standards.
Typical use cases include validating user input in registration forms, ensuring accurate contact information in CRM systems, and verifying data integrity in e-commerce transactions.
If the input data is invalid or empty, the API will return "isValid": false and a relevant message. Users should implement error handling to manage these cases and prompt users for correct input.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Service Level:
100%
Response Time:
1,704ms
Service Level:
100%
Response Time:
342ms
Service Level:
100%
Response Time:
534ms
Service Level:
100%
Response Time:
1,075ms
Service Level:
99%
Response Time:
461ms
Service Level:
100%
Response Time:
68ms
Service Level:
100%
Response Time:
187ms
Service Level:
100%
Response Time:
105ms
Service Level:
100%
Response Time:
24ms
Service Level:
100%
Response Time:
3,472ms
Service Level:
100%
Response Time:
1,171ms
Service Level:
100%
Response Time:
951ms
Service Level:
100%
Response Time:
548ms
Service Level:
100%
Response Time:
883ms
Service Level:
100%
Response Time:
618ms
Service Level:
100%
Response Time:
7,006ms
Service Level:
100%
Response Time:
1,636ms
Service Level:
100%
Response Time:
751ms
Service Level:
100%
Response Time:
305ms