1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "maxDiscoveryChargeUsd": 0.5,
12 "maxImporters": 30,
13 "sourceMode": "list",
14 "itemsList": [
15 {
16 "name": "Harbor & Pine Apparel Co",
17 "url": "https://www.importyeti.com/company/sample-harbor-pine-apparel",
18 "address": "2140 E 7th St, Los Angeles, CA 90021, US",
19 "website": "harborpine-apparel.example",
20 "shipmentsTotal": 412,
21 "shipments12m": 64,
22 "shipmentsPrior12m": 48,
23 "firstArrival": "2017-03-14",
24 "lastArrival": "2026-10-06",
25 "weightKg12m": 182400,
26 "teu12m": 71.5,
27 "hsCodes": [
28 "6109.10",
29 "6110.20"
30 ],
31 "topSuppliers": [
32 {
33 "name": "Tiruppur Knit Exports",
34 "country": "India",
35 "countryCode": "IN",
36 "shipments12m": 38,
37 "hsCodes": [
38 "6109.10"
39 ]
40 },
41 {
42 "name": "Dhaka Cotton Wear",
43 "country": "Bangladesh",
44 "countryCode": "BD",
45 "shipments12m": 20,
46 "hsCodes": [
47 "6109.10"
48 ]
49 },
50 {
51 "name": "Jiangsu Garment Co",
52 "country": "China",
53 "countryCode": "CN",
54 "shipments12m": 6,
55 "hsCodes": [
56 "6110.20"
57 ]
58 }
59 ],
60 "entryPorts": [
61 "Los Angeles, Calif",
62 "Long Beach, Calif"
63 ],
64 "goodsDescriptions": [
65 "100% COTTON KNITTED MENS T-SHIRTS",
66 "LADIES COTTON CREW NECK TEE",
67 "COTTON PULLOVER SWEATSHIRTS"
68 ],
69 "topCarriers": [
70 {
71 "name": "Maersk Line",
72 "code": "MAEU",
73 "shipments12m": 40,
74 "shipmentsTotal": 260
75 }
76 ]
77 },
78 {
79 "name": "Northgate Outlet Stores Inc",
80 "url": "https://www.importyeti.com/company/sample-northgate-outlet-stores",
81 "address": "800 Commerce Pkwy, Columbus, OH 43219, US",
82 "website": "northgate-outlet.example",
83 "shipmentsTotal": 1960,
84 "shipments12m": 210,
85 "shipmentsPrior12m": 190,
86 "firstArrival": "2014-06-02",
87 "lastArrival": "2026-10-15",
88 "weightKg12m": 905000,
89 "teu12m": 388,
90 "hsCodes": [
91 "6109.10",
92 "6203.42"
93 ],
94 "topSuppliers": [
95 {
96 "name": "Chittagong Apparel Ltd",
97 "country": "Bangladesh",
98 "countryCode": "BD",
99 "shipments12m": 120,
100 "hsCodes": [
101 "6109.10"
102 ]
103 },
104 {
105 "name": "Saigon Textile JSC",
106 "country": "Vietnam",
107 "countryCode": "VN",
108 "shipments12m": 60,
109 "hsCodes": [
110 "6203.42"
111 ]
112 },
113 {
114 "name": "Phnom Penh Knitwear",
115 "country": "Cambodia",
116 "countryCode": "KH",
117 "shipments12m": 30,
118 "hsCodes": [
119 "6109.10"
120 ]
121 }
122 ],
123 "entryPorts": [
124 "Savannah, Ga",
125 "New York/Newark Area"
126 ],
127 "goodsDescriptions": [
128 "MENS 100 PCT COTTON T-SHIRTS",
129 "MENS DENIM TROUSERS",
130 "BOYS COTTON TEES"
131 ],
132 "topCarriers": [
133 {
134 "name": "MSC Mediterranean Shipping",
135 "code": "MSCU",
136 "shipments12m": 140,
137 "shipmentsTotal": 1300
138 }
139 ]
140 },
141 {
142 "name": "Cedar Lane Distributors LLC",
143 "url": "https://www.importyeti.com/company/sample-cedar-lane-distributors",
144 "address": "55 Industrial Rd, Edison, NJ 08817, US",
145 "phone": "+1 732 555 0190",
146 "shipmentsTotal": 160,
147 "shipments12m": 22,
148 "shipmentsPrior12m": 30,
149 "firstArrival": "2019-01-09",
150 "lastArrival": "2026-08-28",
151 "weightKg12m": 61000,
152 "teu12m": 24,
153 "hsCodes": [
154 "6109.90",
155 "6302.60"
156 ],
157 "topSuppliers": [
158 {
159 "name": "Faisalabad Knits Pvt",
160 "country": "Pakistan",
161 "countryCode": "PK",
162 "shipments12m": 12,
163 "hsCodes": [
164 "6109.90"
165 ]
166 },
167 {
168 "name": "Karur Home Textiles",
169 "country": "India",
170 "countryCode": "IN",
171 "shipments12m": 4,
172 "hsCodes": [
173 "6302.60"
174 ]
175 }
176 ],
177 "entryPorts": [
178 "New York/Newark Area"
179 ],
180 "goodsDescriptions": [
181 "COTTON BLEND T SHIRTS",
182 "TERRY BATH TOWELS"
183 ]
184 },
185 {
186 "name": "Bluefin Promotional Products",
187 "url": "https://www.importyeti.com/company/sample-bluefin-promotional",
188 "address": "410 Harbor Blvd, Tampa, FL 33602, US",
189 "website": "bluefin-promo.example",
190 "shipmentsTotal": 21,
191 "shipments12m": 9,
192 "shipmentsPrior12m": 4,
193 "firstArrival": "2023-05-11",
194 "lastArrival": "2026-09-19",
195 "weightKg12m": 14800,
196 "teu12m": 9,
197 "hsCodes": [
198 "6109.10"
199 ],
200 "topSuppliers": [
201 {
202 "name": "Ningbo Blank Apparel",
203 "country": "China",
204 "countryCode": "CN",
205 "shipments12m": 9,
206 "hsCodes": [
207 "6109.10"
208 ]
209 }
210 ],
211 "entryPorts": [
212 "Tampa, Fla"
213 ],
214 "goodsDescriptions": [
215 "BLANK COTTON TEES FOR SCREEN PRINTING"
216 ]
217 },
218 {
219 "name": "Swift Ocean Logistics Inc",
220 "url": "https://www.importyeti.com/company/sample-swift-ocean-logistics",
221 "address": "1 World Trade Ctr, Long Beach, CA 90831, US",
222 "shipmentsTotal": 5300,
223 "shipments12m": 640,
224 "shipmentsPrior12m": 600,
225 "firstArrival": "2012-02-01",
226 "lastArrival": "2026-10-18",
227 "hsCodes": [
228 "6109.10",
229 "8471.30",
230 "9403.60"
231 ],
232 "topSuppliers": [
233 {
234 "name": "Various Shippers Hong Kong",
235 "country": "Hong Kong",
236 "countryCode": "HK",
237 "shipments12m": 400
238 }
239 ],
240 "entryPorts": [
241 "Long Beach, Calif"
242 ],
243 "goodsDescriptions": [
244 "CONSOLIDATED CARGO SAID TO CONTAIN GARMENTS",
245 "FURNITURE PARTS"
246 ]
247 },
248 {
249 "name": "Maple Ridge Home Goods",
250 "url": "https://www.importyeti.com/company/sample-maple-ridge-home",
251 "address": "92 Mill St, Burlington, VT 05401, US",
252 "shipmentsTotal": 48,
253 "shipments12m": 15,
254 "shipmentsPrior12m": 15,
255 "firstArrival": "2020-04-20",
256 "lastArrival": "2026-07-01",
257 "hsCodes": [
258 "6912.00"
259 ],
260 "topSuppliers": [
261 {
262 "name": "Chaozhou Ceramics Factory",
263 "country": "China",
264 "countryCode": "CN",
265 "shipments12m": 15,
266 "hsCodes": [
267 "6912.00"
268 ]
269 }
270 ],
271 "entryPorts": [
272 "Boston, Mass"
273 ],
274 "goodsDescriptions": [
275 "STONEWARE COFFEE MUGS",
276 "PORCELAIN DINNERWARE SETS"
277 ],
278 "uflpaExposed": true
279 },
280 {
281 "name": "Lakeshore Living Furniture Inc",
282 "url": "https://www.importyeti.com/company/sample-lakeshore-living-furniture",
283 "address": "1800 Furniture Row, High Point, NC 27260, US",
284 "website": "lakeshore-living.example",
285 "shipmentsTotal": 530,
286 "shipments12m": 118,
287 "shipmentsPrior12m": 96,
288 "firstArrival": "2016-02-09",
289 "lastArrival": "2026-10-12",
290 "weightKg12m": 1460000,
291 "teu12m": 260,
292 "hsCodes": [
293 "9403.60",
294 "9401.61"
295 ],
296 "topSuppliers": [
297 {
298 "name": "Binh Duong Woodcraft JSC",
299 "country": "Vietnam",
300 "countryCode": "VN",
301 "shipments12m": 70,
302 "hsCodes": [
303 "9403.60"
304 ]
305 },
306 {
307 "name": "Foshan Home Furnishing Co",
308 "country": "China",
309 "countryCode": "CN",
310 "shipments12m": 48,
311 "hsCodes": [
312 "9401.61"
313 ]
314 }
315 ],
316 "entryPorts": [
317 "Savannah, Ga",
318 "Norfolk, Va"
319 ],
320 "goodsDescriptions": [
321 "WOODEN FURNITURE: DINING TABLES AND CHAIRS",
322 "SOLID ACACIA WOOD BEDROOM FURNITURE"
323 ],
324 "topCarriers": [
325 {
326 "name": "Evergreen Marine",
327 "code": "EGLV",
328 "shipments12m": 70,
329 "shipmentsTotal": 320
330 },
331 {
332 "name": "CMA CGM",
333 "code": "CMDU",
334 "shipments12m": 48,
335 "shipmentsTotal": 210
336 }
337 ]
338 },
339 {
340 "name": "Driftwood Bath & Linen Co",
341 "url": "https://www.importyeti.com/company/sample-driftwood-bath-linen",
342 "address": "4400 Harbor Pkwy, Charleston, SC 29405, US",
343 "website": "driftwood-linen.example",
344 "shipmentsTotal": 240,
345 "shipments12m": 54,
346 "shipmentsPrior12m": 50,
347 "firstArrival": "2018-09-03",
348 "lastArrival": "2026-10-02",
349 "weightKg12m": 268000,
350 "teu12m": 62,
351 "hsCodes": [
352 "6302.60",
353 "6302.21"
354 ],
355 "topSuppliers": [
356 {
357 "name": "Denizli Havlu Tekstil AS",
358 "country": "Turkey",
359 "countryCode": "TR",
360 "shipments12m": 30,
361 "hsCodes": [
362 "6302.60"
363 ]
364 },
365 {
366 "name": "Karur Home Textiles",
367 "country": "India",
368 "countryCode": "IN",
369 "shipments12m": 24,
370 "hsCodes": [
371 "6302.21"
372 ]
373 }
374 ],
375 "entryPorts": [
376 "Charleston, S.C."
377 ],
378 "goodsDescriptions": [
379 "100% COTTON TERRY BATH TOWELS",
380 "COTTON BED LINEN SETS"
381 ]
382 },
383 {
384 "name": "Sunrise Specialty Foods Corp",
385 "url": "https://www.importyeti.com/company/sample-sunrise-specialty-foods",
386 "address": "9 Produce Market Rd, Edison, NJ 08837, US",
387 "phone": "+1 732 555 0144",
388 "shipmentsTotal": 310,
389 "shipments12m": 76,
390 "shipmentsPrior12m": 61,
391 "firstArrival": "2015-11-20",
392 "lastArrival": "2026-10-09",
393 "weightKg12m": 1820000,
394 "teu12m": 92,
395 "hsCodes": [
396 "1006.30",
397 "0713.31"
398 ],
399 "topSuppliers": [
400 {
401 "name": "Amritsar Basmati Exports Pvt",
402 "country": "India",
403 "countryCode": "IN",
404 "shipments12m": 52,
405 "hsCodes": [
406 "1006.30"
407 ]
408 },
409 {
410 "name": "Lahore Grain Traders",
411 "country": "Pakistan",
412 "countryCode": "PK",
413 "shipments12m": 24,
414 "hsCodes": [
415 "1006.30"
416 ]
417 }
418 ],
419 "entryPorts": [
420 "New York/Newark Area"
421 ],
422 "goodsDescriptions": [
423 "BASMATI RICE 1121 STEAM 20 KG BAGS",
424 "PULSES AND LENTILS"
425 ]
426 },
427 {
428 "name": "Granite Peak Tile & Stone LLC",
429 "url": "https://www.importyeti.com/company/sample-granite-peak-tile",
430 "address": "7701 Industrial Blvd, Dallas, TX 75247, US",
431 "website": "granitepeak-tile.example",
432 "shipmentsTotal": 190,
433 "shipments12m": 41,
434 "shipmentsPrior12m": 33,
435 "firstArrival": "2019-06-17",
436 "lastArrival": "2026-09-27",
437 "weightKg12m": 1110000,
438 "teu12m": 55,
439 "hsCodes": [
440 "6907.21",
441 "6907.22"
442 ],
443 "topSuppliers": [
444 {
445 "name": "Morbi Ceramic Works",
446 "country": "India",
447 "countryCode": "IN",
448 "shipments12m": 29,
449 "hsCodes": [
450 "6907.21"
451 ]
452 },
453 {
454 "name": "Foshan Porcelain Tiles Co",
455 "country": "China",
456 "countryCode": "CN",
457 "shipments12m": 12,
458 "hsCodes": [
459 "6907.22"
460 ]
461 }
462 ],
463 "entryPorts": [
464 "Houston, Tex"
465 ],
466 "goodsDescriptions": [
467 "GLAZED PORCELAIN FLOOR TILES 600X600",
468 "CERAMIC WALL TILES"
469 ]
470 }
471 ]
472};
473
474
475const run = await client.actor("rich_minds/us-importer-finder-ai").call(input);
476
477
478console.log('Results from dataset');
479console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
480const { items } = await client.dataset(run.defaultDatasetId).listItems();
481items.forEach((item) => {
482 console.dir(item);
483});
484
485