1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "values": [
9 "user@example.com",
10 "test@gmail.com",
11 "admin@outlook.com",
12 "sales@yahoo.com",
13 "info@company-domain-that-does-not-exist-zz9q.com",
14 "contact@company-domain-that-does-not-exist-zz9q.com",
15 "support@mailinator.com",
16 "billing@mailinator.com",
17 "noreply@gmail.com",
18 "webmaster@gmail.com",
19 "j.smith@company-domain-that-does-not-exist-zz9q.com",
20 "orders@company-domain-that-does-not-exist-zz9q.com",
21 "hello@company-domain-that-does-not-exist-zz9q.com",
22 "team@company-domain-that-does-not-exist-zz9q.com",
23 "user0@example.com",
24 "user1@example.com",
25 "user2@example.com",
26 "user3@example.com",
27 "user4@example.com",
28 "user5@example.com",
29 "user6@example.com",
30 "user7@example.com",
31 "user8@example.com",
32 "user9@example.com",
33 "user10@example.com",
34 "user11@example.com",
35 "user12@example.com",
36 "user13@example.com",
37 "user14@example.com",
38 "user15@example.com",
39 "user16@example.com",
40 "user17@example.com",
41 "user18@example.com",
42 "user19@example.com",
43 "user20@example.com",
44 "user21@example.com",
45 "user22@example.com",
46 "user23@example.com",
47 "user24@example.com",
48 "user25@example.com",
49 "user26@example.com",
50 "user27@example.com",
51 "user28@example.com",
52 "user29@example.com",
53 "user30@example.com",
54 "user31@example.com",
55 "user32@example.com",
56 "user33@example.com",
57 "user34@example.com",
58 "user35@example.com",
59 "+1 415 555 0132",
60 "+44 20 7946 0958",
61 "+49 30 901820",
62 "+33 1 42 68 53 00",
63 "+420 123 456 789",
64 "+48 22 123 45 67",
65 "+31 20 123 4567",
66 "+34 91 123 4567",
67 "+39 06 1234 5678",
68 "+351 21 123 4567",
69 "+45 33 12 34 56",
70 "+46 8 123 456",
71 "0049 30 901820",
72 "+1 (212) 555-0143",
73 "+44 7911 123456",
74 "+33 6 12 34 56 78",
75 "+420 777 100000",
76 "+420 777 100001",
77 "+420 777 100002",
78 "+420 777 100003",
79 "+420 777 100004",
80 "+420 777 100005",
81 "+420 777 100006",
82 "+420 777 100007",
83 "+420 777 100008",
84 "+420 777 100009",
85 "+420 777 100010",
86 "+420 777 100011",
87 "+420 777 100012",
88 "+420 777 100013",
89 "+420 777 100014",
90 "+420 777 100015",
91 "+420 777 100016",
92 "+420 777 100017",
93 "+420 777 100018",
94 "+420 777 100019",
95 "+420 777 100020",
96 "+420 777 100021",
97 "+420 777 100022",
98 "+420 777 100023",
99 "+420 777 100024",
100 "+420 777 100025",
101 "+420 777 100026",
102 "+420 777 100027",
103 "+420 777 100028",
104 "+420 777 100029",
105 "+420 777 100030",
106 "+420 777 100031",
107 "+420 777 100032",
108 "+420 777 100033",
109 "example.com",
110 "iana.org",
111 "wikipedia.org",
112 "github.com",
113 "stackoverflow.com",
114 "microsoft.com",
115 "apple.com",
116 "amazon.com",
117 "cloudflare.com",
118 "apify.com",
119 "example.org",
120 "example.net",
121 "this-domain-does-not-exist-zz9q123.com",
122 "nodns-records-zz9q123.example",
123 "site0.example.com",
124 "site1.example.com",
125 "site2.example.com",
126 "site3.example.com",
127 "site4.example.com",
128 "site5.example.com",
129 "site6.example.com",
130 "site7.example.com",
131 "site8.example.com",
132 "site9.example.com",
133 "site10.example.com",
134 "site11.example.com",
135 "site12.example.com",
136 "site13.example.com",
137 "site14.example.com",
138 "site15.example.com",
139 "site16.example.com",
140 "site17.example.com",
141 "site18.example.com",
142 "site19.example.com",
143 "site20.example.com",
144 "site21.example.com",
145 "site22.example.com",
146 "site23.example.com",
147 "site24.example.com",
148 "site25.example.com",
149 "DE123456789",
150 "DE123456788",
151 "FR12345678901",
152 "FRXX123456789",
153 "ES12345678Z",
154 "ESB12345674",
155 "IT12345678901",
156 "NL123456789B01",
157 "NL123456789B02",
158 "BE0123456789",
159 "PL1234567890",
160 "CZ12345678",
161 "ATU12345678",
162 "PT123456789",
163 "DK12345678",
164 "GB123456789",
165 "GB123456789000",
166 "DE12345678",
167 "invalid-vat-value",
168 "12345",
169 "DE 123 456 789",
170 "FR 12 345 678 901",
171 "DE100000000",
172 "DE100000001",
173 "DE100000002",
174 "DE100000003",
175 "DE100000004",
176 "DE100000005",
177 "DE100000006",
178 "DE100000007",
179 "DE89 3704 0044 0532 0130 00",
180 "DE89370400440532013000",
181 "GB29 NWBK 6016 1331 9268 19",
182 "FR14 2004 1010 0505 0001 3M02 606",
183 "ES91 2100 0418 4502 0005 1332",
184 "IT60 X054 2811 1010 0000 0123 456",
185 "NL91 ABNA 0417 1643 00",
186 "BE68 5390 0754 7034",
187 "PL61 1090 1014 0000 0712 1981 2874",
188 "AT611904300234573201",
189 "PT5000 0001 1689 6948 1",
190 "DE89370400440532013001",
191 "invalid-iban",
192 "12345678901234567890",
193 "DE89 3704",
194 "GB29 NWBK 6016 1331 9268 1A",
195 "FR14 2004 1010 0505 0001 3M02 60",
196 "DE89 3704 0044 0532 0130 01",
197 "DE89 3704 0044 0532 0130 02",
198 "DE89 3704 0044 0532 0130 03",
199 "DE89 3704 0044 0532 0130 04",
200 "DE89 3704 0044 0532 0130 05",
201 "DE89 3704 0044 0532 0130 06",
202 "DE89 3704 0044 0532 0130 07",
203 "DE89 3704 0044 0532 0130 08",
204 "DE89 3704 0044 0532 0130 09",
205 "DE89 3704 0044 0532 0130 10",
206 "DE89 3704 0044 0532 0130 11",
207 "DE89 3704 0044 0532 0130 12",
208 "DE89 3704 0044 0532 0130 13",
209 "DE89 3704 0044 0532 0130 14",
210 "DE89 3704 0044 0532 0130 15",
211 "DE89 3704 0044 0532 0130 16",
212 "DE89 3704 0044 0532 0130 17",
213 "DE89 3704 0044 0532 0130 18",
214 "DE89 3704 0044 0532 0130 19",
215 "DE89 3704 0044 0532 0130 20",
216 "DE89 3704 0044 0532 0130 21",
217 "DE89 3704 0044 0532 0130 22",
218 "DE89 3704 0044 0532 0130 23",
219 "DE89 3704 0044 0532 0130 24",
220 "DE89 3704 0044 0532 0130 25",
221 "DE89 3704 0044 0532 0130 26",
222 "DE89 3704 0044 0532 0130 27",
223 "DE89 3704 0044 0532 0130 28",
224 "DE89 3704 0044 0532 0130 29",
225 "DE89 3704 0044 0532 0130 30",
226 ] }
227
228
229run = client.actor("kopachelli/validateid").call(run_input=run_input)
230
231
232print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
233for item in client.dataset(run.default_dataset_id).iterate_items():
234 print(item)
235
236