1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "rows": [
9 {
10 "name": " maria LOPEZ ",
11 "email": "Maria.Lopez@Example.com ",
12 "phone": "(503) 555-0142",
13 "company": "harbor lane boutique",
14 "city": "portland",
15 "signup date": "2026-01-15",
16 },
17 {
18 "name": "Lopez, Maria",
19 "email": "maria.lopez@example.com",
20 "phone": "503.555.0142",
21 "company": "Harbor Lane Boutique",
22 "city": "Portland",
23 "signup date": "01/15/2026",
24 },
25 {
26 "name": "Bob Chen",
27 "email": "",
28 "phone": "312-555-0199",
29 "company": "Blue Heron Logistics",
30 "city": "Chicago",
31 "signup date": "Feb 21 2026",
32 },
33 {
34 "name": "Robert Chen",
35 "email": "mailto:RChen@Example.com",
36 "phone": "(312) 555-0199 ext 204",
37 "company": "BLUE HERON LOGISTICS",
38 "city": "Chicago",
39 "signup date": "2026-02-20",
40 },
41 {
42 "name": "Dr. Priya Raman",
43 "email": "priya.raman@@example.org",
44 "phone": "+44 20 7946 0958",
45 "company": "Copperline Studio",
46 "city": "London",
47 "signup date": "14/03/2026",
48 },
49 {
50 "name": "Samantha Reed",
51 "email": "samantha.reed@example",
52 "phone": "555-0134",
53 "company": "Lakeshore Print Co.",
54 "city": "Cleveland",
55 "signup date": "2026-13-01",
56 },
57 ] }
58
59
60run = client.actor("vantoannguyen/contact-list-cleaner").call(run_input=run_input)
61
62
63print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
64for item in client.dataset(run.default_dataset_id).iterate_items():
65 print(item)
66
67