1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "sourceMode": "list",
12 "itemsList": [
13 {
14 "companyName": "A S MARINE INDUSTRIES PRIVATE LIMITED",
15 "registry": "mpeda",
16 "registrationNumber": "KL1/MT/202/08",
17 "registrationType": "MT",
18 "exporterType": "Manufacturer Exporter",
19 "issuedOn": "2008-06-26",
20 "validUntil": "2029-01-14",
21 "productCategory": "Frozen",
22 "products": [
23 "Fish Wild",
24 "Shrimp Wild",
25 "Shrimp Aquaculture",
26 "Cuttlefish",
27 "Squid",
28 "Octopus",
29 "Crab"
30 ],
31 "productForms": [
32 "Frozen"
33 ],
34 "address": "AP 2/268 Aroor Alappuzha 688534 Keralam",
35 "state": "Kerala",
36 "pin": "688534",
37 "contactPerson": null,
38 "email": "lab@asmarine.in",
39 "phone": null,
40 "mobile": null,
41 "website": "www.asmarine.in",
42 "office": "RD Kochi",
43 "sourceUrl": "https://e-mpeda.nic.in/registration/Rpt_Region_Wise_Exporters_Detailed_New.aspx?OffId=01&Office=RD%20Kochi&Categ=ExporterMT",
44 "rowId": "1ae9e9678c0baebb-sample",
45 "registryFlags": []
46 },
47 {
48 "companyName": "ABAD EXIM PVT. LTD",
49 "registry": "mpeda",
50 "registrationNumber": "KL1/MT/036/04",
51 "registrationType": "MT",
52 "exporterType": "Manufacturer Exporter",
53 "issuedOn": "2004-12-21",
54 "validUntil": "2028-12-20",
55 "productCategory": "Frozen",
56 "products": [
57 "Fish Wild",
58 "Fish Aquaculture",
59 "Shrimp Wild",
60 "Shrimp Aquaculture",
61 "Cuttlefish",
62 "Squid",
63 "Octopus",
64 "Lobster",
65 "Crab"
66 ],
67 "productForms": [
68 "Frozen"
69 ],
70 "address": "Door No.40/1818, S.No.33, C-17,Bay Pride Mall, Marine Drive, Ernakulam 682031 Keralam",
71 "state": "Kerala",
72 "pin": "682031",
73 "contactPerson": null,
74 "email": "gm.exim@abadgroup.in",
75 "phone": null,
76 "mobile": null,
77 "website": "www.abad.co.in",
78 "office": "RD Kochi",
79 "sourceUrl": "https://e-mpeda.nic.in/registration/Rpt_Region_Wise_Exporters_Detailed_New.aspx?OffId=01&Office=RD%20Kochi&Categ=ExporterMT",
80 "rowId": "fec0273450d7f044-sample",
81 "registryFlags": [
82 "contact_matches_register"
83 ],
84 "lookupKind": "contact",
85 "lookupQuery": "gm.exim@abadgroup.in",
86 "contactCheck": "matches_register"
87 },
88 {
89 "companyName": "A & P INTERNATIONAL COMPANY",
90 "registry": "apeda",
91 "registrationType": "RCMC",
92 "address": "50/ 3RD FLOOR INDIRA VIHARMUKHERJEE NAGAR DELHI",
93 "state": "Delhi",
94 "pin": "110009",
95 "products": [
96 "Miscellaneous Preparations",
97 "Dairy Products",
98 "De-oiled Rice Bran",
99 "Fresh Onions",
100 "Pickle & Chutney",
101 "Other Processed Fruits & Vegetables",
102 "Basmati Rice"
103 ],
104 "sourceUrl": "https://agriexchange.apeda.gov.in/AgriDirectory/Exporter/Exporters?page=1",
105 "rowId": "28f9c177f7645b1a-sample",
106 "registryFlags": []
107 },
108 {
109 "companyName": "A & U ENTERPRISES",
110 "registry": "apeda",
111 "registrationType": "RCMC",
112 "address": "No.10/22, Ground Floor, Mylai Periya Thambi Street, Broadway Chennai",
113 "state": "Tamil Nadu",
114 "pin": "600001",
115 "products": [
116 "Floriculture",
117 "Fruits and Vegetable Seeds",
118 "Herbal & Medicinal",
119 "Fresh Onions",
120 "Other Fresh Vegetables",
121 "Dried Nuts (Walnuts)",
122 "Fresh Mangoes",
123 "Fresh Grapes",
124 "Other Fresh Fruits",
125 "Dried & Preserved Vegetables",
126 "Mango Pulp",
127 "Pickle & Chutney",
128 "Other Processed Fruits Vegetables",
129 "Dairy Products",
130 "Natural Honey",
131 "HPS Groundnuts",
132 "Gaurgum",
133 "Jaggery & Confectionery",
134 "Cocoa Products",
135 "Cereal Preparations",
136 "Miscellaneous Preparations",
137 "Non Basmati Rice",
138 "Basmati Rice",
139 "Wheat",
140 "Other Coarse Grains",
141 "De-Oiled Rice Bran"
142 ],
143 "sourceUrl": "https://agriexchange.apeda.gov.in/AgriDirectory/Exporter/Exporters?page=1",
144 "rowId": "ad32316b8d8cf5ef-sample",
145 "registryFlags": []
146 },
147 {
148 "companyName": "A & F ENTERPRISES",
149 "registry": "apeda",
150 "registrationType": "RCMC",
151 "address": "1 st Floor, Gala No 111, TAP BLDGASMEETA TEXTILE, ADDL KALYAN BHIWANDI ROAD, BHIWANDI, Thane BHIWANDI THANE",
152 "state": "Maharashtra",
153 "pin": "421311",
154 "products": [
155 "FRESH FRUITS AND VEGETABLES",
156 "FLORICULTURE & SEEDS",
157 "PROCESSED FRUITS & VEGETABLES",
158 "OTHER PROCESSED FOODS",
159 "CEREALS"
160 ],
161 "sourceUrl": "https://agriexchange.apeda.gov.in/AgriDirectory/Exporter/Exporters?page=1",
162 "rowId": "865d6af1e20b7632-sample",
163 "registryFlags": []
164 }
165 ],
166 "discoveryInput": {}
167};
168
169
170const run = await client.actor("rich_minds/india-exporter-registries-ai").call(input);
171
172
173console.log('Results from dataset');
174console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
175const { items } = await client.dataset(run.defaultDatasetId).listItems();
176items.forEach((item) => {
177 console.dir(item);
178});
179
180