Dataset Quality Checker
Pricing
from $40.00 / 1,000 results
Dataset Quality Checker
Validate any Apify dataset for data quality issues. Check emails, URLs, phones, duplicates, and missing fields.
Dataset Quality Checker
Pricing
from $40.00 / 1,000 results
Validate any Apify dataset for data quality issues. Check emails, URLs, phones, duplicates, and missing fields.
You can access the Dataset Quality Checker programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in API & Integrations in Apify Console.
1from apify_client import ApifyClient2
3# Initialize the ApifyClient with your Apify API token4# Replace '<YOUR_API_TOKEN>' with your token.5client = ApifyClient("<YOUR_API_TOKEN>")6
7# Prepare the Actor input8run_input = {9 "records": [10 {11 "name": "Alice Corp",12 "email": "alice@example.com",13 "phone": "+1-555-123-4567",14 "website": "https://alice.com",15 },16 {17 "name": "Bob Inc",18 "email": "bob@example.com",19 "phone": "5559876543",20 "website": "bob.com",21 },22 {23 "name": "",24 "email": "invalid-email",25 "phone": "123",26 "website": "not-a-url",27 },28 ],29 "datasetId": "",30 "apifyToken": "",31 "emailFields": [32 "email",33 "emails",34 "contact.email",35 "emailAddress",36 ],37 "urlFields": [38 "url",39 "website",40 "websiteUrl",41 "contact.website",42 "link",43 ],44 "phoneFields": [45 "phone",46 "phoneNumber",47 "contact.phone",48 "telephone",49 ],50 "nameFields": [51 "name",52 "companyName",53 "businessName",54 "title",55 "business_name",56 ],57 "duplicateCheckFields": [58 "email",59 "url",60 "phone",61 "name",62 ],63 "maxRecords": 50000,64}65
66# Run the Actor and wait for it to finish67run = client.actor("riad_h/dataset-quality-checker").call(run_input=run_input)68
69# Fetch and print Actor results from the run's dataset (if there are any)70print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")71for item in client.dataset(run.default_dataset_id).iterate_items():72 print(item)73
74# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-startThe Apify API client for Python is the official library that allows you to use Dataset Quality Checker API in Python, providing convenience functions and automatic retries on errors.
Install the apify-client
$pip install apify-clientOther API clients include: