1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "hsCodes": [
12 "090411"
13 ],
14 "sourceMode": "list",
15 "itemsList": [
16 {
17 "hsCode": "090411",
18 "hs6": "090411",
19 "itcHsCode": "09041110",
20 "productDescription": "Pepper",
21 "nationalLine": "090411000000",
22 "nationalDescription": "Pepper of the genus Piper; dried or crushed or ground fruits of the genus Capsicum or of the genus Pimenta.: Pepper: Neither crushed nor ground",
23 "country": "AE",
24 "countryName": "United Arab Emirates",
25 "mfnTariffPct": 5,
26 "mfnRateText": "5",
27 "preferentialTariffs": [
28 {
29 "agreement": "Comprehensive Economic Partnership Agreement",
30 "agreementShort": "CEPA",
31 "ratePct": 0,
32 "rateText": "0",
33 "rulesOfOrigin": "CTSH + VA 40%",
34 "rulesOfOriginText": "CTSH (change in tariff sub heading) + VA 40% (value added)",
35 "rulesOfOriginPdf": "https://www.indiantradeportal.in/uploads/SPSTBT/docs/roo/IN_UAE_CEPA_RoO_2022.pdf"
36 }
37 ],
38 "bestRatePct": 0,
39 "bestAgreement": "CEPA",
40 "marginOfPreferencePct": 5,
41 "rulesOfOriginText": "CTSH (change in tariff sub heading) + VA 40% (value added)",
42 "additionalDuties": [],
43 "spsMeasures": [
44 {
45 "title": "Note on Fresh Plant Products",
46 "type": "Specific",
47 "url": "https://indiantradeportal.in/uploads/SPSTBT/UAE/2019/Fresh_Plant_Products.pdf"
48 },
49 {
50 "title": "GCC Guide For Control On Imported Foods 2016 (Updated On April 1 2017)",
51 "type": "Specific",
52 "url": "https://indiantradeportal.in/uploads/SPSTBT/GCC/SPS/Specific/GCC_Guide_For_Control_On_Imported_Foods_2016_%28Updated_On_April_1_2017%29.pdf"
53 },
54 {
55 "title": "Note On Food Product Registration",
56 "type": "Specific",
57 "url": "https://indiantradeportal.in/uploads/SPSTBT/UAE/2019/Note_On_Food_Product_Registration.pdf"
58 }
59 ],
60 "tbtMeasures": [
61 {
62 "title": "Confirmity Assessment Forms GCC",
63 "type": "General",
64 "url": "https://indiantradeportal.in/uploads/SPSTBT/GCC/SPS/General/Confirmity_Assessment_Forms_GCC.pdf"
65 },
66 {
67 "title": "Confirmity Marking Of GCC",
68 "type": "General",
69 "url": "https://indiantradeportal.in/uploads/SPSTBT/GCC/SPS/General/Confirmity_Marking_Of_GCC.pdf"
70 },
71 {
72 "title": "Food Items Registration And Label Assessment-FIRS",
73 "type": "General",
74 "url": "https://indiantradeportal.in/uploads/SPSTBT/UAE/SPS/General/Food_Items_Registration_And_Label_Assessment-FIRS.pdf"
75 }
76 ],
77 "otherNtm": [
78 {
79 "title": "Amendment Of Some Provisions Of The Federal Law Number ( 5 ) Of The Year 1979 Regarding The Agricultural Quarantine",
80 "type": "General",
81 "url": "https://indiantradeportal.in/uploads/SPSTBT/UAE/SPS/General/Amendment_Of_Some_Provisions_Of_The_Federal_Law_Number_%28_5_%29_Of_The_Year_1979_Regarding_The_Agricultural_Quarantine_.pdf"
82 },
83 {
84 "title": "Anti-Dumping And Countervailing Measures GCC",
85 "type": "General",
86 "url": "https://indiantradeportal.in/uploads/SPSTBT/GCC/SPS/General/Anti-Dumping_And_Countervailing_Measures_GCC.pdf"
87 },
88 {
89 "title": "Common Customs Law GCC",
90 "type": "General",
91 "url": "https://indiantradeportal.in/uploads/SPSTBT/GCC/SPS/General/Common_Customs_Law_GCC.pdf"
92 }
93 ],
94 "importLicensing": {
95 "required": true,
96 "documents": [
97 "Food Items Registration And Label Assessment-FIRS",
98 "How To Apply For Food Import Request FIRS",
99 "Information Notice To Companies Issuing Food Vehicles Permits"
100 ],
101 "derived": true
102 },
103 "borderDocuments": [
104 {
105 "title": "Customs Procedure Manual",
106 "type": "General",
107 "url": "https://indiantradeportal.in/uploads/SPSTBT/UAE/SPS/General/Customs_Procedure_Manual.pdf",
108 "derived": true
109 },
110 {
111 "title": "Customs Procedure Policies",
112 "type": "General",
113 "url": "https://indiantradeportal.in/uploads/SPSTBT/UAE/SPS/General/Customs_Procedure_Policies.pdf",
114 "derived": true
115 },
116 {
117 "title": "Food Items Registration And Label Assessment-FIRS",
118 "type": "General",
119 "url": "https://indiantradeportal.in/uploads/SPSTBT/UAE/SPS/General/Food_Items_Registration_And_Label_Assessment-FIRS.pdf",
120 "derived": true
121 }
122 ],
123 "ntmDocumentCount": 63,
124 "pageUrl": "https://indiantradeportal.in/vs.jsp?pid=14&productID=4279",
125 "spsTbtUrl": null,
126 "dataAsOf": "2026-10-31",
127 "readOn": "2026-11-24T09:30:00+00:00",
128 "fromCache": false,
129 "sectionHashes": {
130 "tariff": "fd4f73f600d481f0",
131 "sps": "6e57f928642640d2",
132 "tbt": "f344174385c82f0c",
133 "documents": "7f8e6734590511cc"
134 },
135 "changedSections": [
136 "new"
137 ],
138 "changes": "",
139 "name": "090411 Pepper → United Arab Emirates (090411000000): MFN 5 %, best 0 % (CEPA)",
140 "marketKey": "090411-AE-090411000000",
141 "sample": true
142 },
143 {
144 "hsCode": "090411",
145 "hs6": "090411",
146 "itcHsCode": "09041110",
147 "productDescription": "Pepper",
148 "nationalLine": "0904110020",
149 "nationalDescription": "Pepper of the genus Piper; dried or crushed or ground fruits of the genus Capsicum (peppers) or of the genus Pimenta (e.g., allspice): : Pepper of the genus Piper: Neither crushed nor ground: Black",
150 "country": "US",
151 "countryName": "United States of America",
152 "mfnTariffPct": 0,
153 "mfnRateText": "0",
154 "preferentialTariffs": [],
155 "bestRatePct": 0,
156 "bestAgreement": "MFN",
157 "marginOfPreferencePct": 0,
158 "rulesOfOriginText": null,
159 "additionalDuties": [
160 {
161 "name": "Additional Duty under Section 232 (effective from June 8, 2026)",
162 "effectiveFrom": "2026-06-08",
163 "ratePct": null,
164 "rateText": "Not Applicable"
165 },
166 {
167 "name": "Additional Duty under Section 301 (effective from July 24, 2026)",
168 "effectiveFrom": "2026-07-24",
169 "ratePct": null,
170 "rateText": "Not Applicable"
171 }
172 ],
173 "spsMeasures": [
174 {
175 "title": "Accreditation Of Third Party Certification Bodies To Conduct Food Safety Audits And To Issue Certifications Rule",
176 "type": "Specific",
177 "url": "https://indiantradeportal.in/uploads/SPSTBT/USA/Updates%288-4-16%29/SPS/Specific/Accreditation_Of_Third_Party_Certification_Bodies_To_Conduct_Food_Safety_Audits_And_To_Issue_Certifications_Rule.pdf"
178 },
179 {
180 "title": "Current Gmp Hazard Analysis And Risk Based Preventive Controls For Human Food Rule",
181 "type": "Specific",
182 "url": "https://indiantradeportal.in/uploads/SPSTBT/USA/Updates%288-4-16%29/SPS/Specific/Current_Gmp_Hazard_Analysis_And_Risk_Based_Preventive_Controls_For_Human_Food_Rule.pdf"
183 },
184 {
185 "title": "Foreign Supplier Verification Programs For Importers Of Food For Humans And Animals Rule",
186 "type": "Specific",
187 "url": "https://indiantradeportal.in/uploads/SPSTBT/USA/Updates%288-4-16%29/SPS/Specific/Foreign_Supplier_Verification_Programs_For_Importers_Of_Food_For_Humans_And_Animals_Rule.pdf"
188 }
189 ],
190 "tbtMeasures": [
191 {
192 "title": "Note Food Standards General",
193 "type": "General",
194 "url": "https://indiantradeportal.in/uploads/SPSTBT/USA/Updates%2814-09-16%29/SPS/General/Note_Food_Standards_General.pdf"
195 },
196 {
197 "title": "Exemptions From Food Labeling Requirements",
198 "type": "Labeling And Packaging",
199 "url": "https://indiantradeportal.in/uploads/SPSTBT/USA/Updates%288-4-16%29/SPS/Label/Exemptions_From_Food_Labeling_Requirements.pdf"
200 },
201 {
202 "title": "Food Labeling",
203 "type": "Labeling And Packaging",
204 "url": "https://indiantradeportal.in/uploads/SPSTBT/USA/Updates%2814-09-16%29/SPS/Label/Food_Labeling.pdf"
205 }
206 ],
207 "otherNtm": [
208 {
209 "title": "Administrative Detention Of Drugs Intended For Human Or Animal Use",
210 "type": "General",
211 "url": "https://indiantradeportal.in/uploads/SPSTBT/USA/Updates/SPS/General/Administrative_Detention_Of_Drugs_Intended_For_Human_Or_Animal_Use.pdf"
212 },
213 {
214 "title": "Amendments To Registration Of Food Facilities",
215 "type": "General",
216 "url": "https://indiantradeportal.in/uploads/SPSTBT/USA/Updates%2814-09-16%29/SPS/General/Amendments_To_Registration_Of_Food_Facilities.pdf"
217 },
218 {
219 "title": "Foreign Trade Regulations",
220 "type": "General",
221 "url": "https://indiantradeportal.in/uploads/SPSTBT/USA/Updates/SPS/General/Foreign_Trade_Regulations.pdf"
222 }
223 ],
224 "importLicensing": {
225 "required": true,
226 "documents": [
227 "Amendments To Registration Of Food Facilities"
228 ],
229 "derived": true
230 },
231 "borderDocuments": [
232 {
233 "title": "Amendments To Registration Of Food Facilities",
234 "type": "General",
235 "url": "https://indiantradeportal.in/uploads/SPSTBT/USA/Updates%2814-09-16%29/SPS/General/Amendments_To_Registration_Of_Food_Facilities.pdf",
236 "derived": true
237 }
238 ],
239 "ntmDocumentCount": 62,
240 "pageUrl": "https://indiantradeportal.in/vs.jsp?pid=17&agreements=225-7%2C225-21%2C225-27&indHscode=841&hscodes=0904110020-225%2C",
241 "spsTbtUrl": "https://indiantradeportal.in/apps/ajaxSPSTBT.jsp?country=225&hscode=0904110020",
242 "dataAsOf": "2026-07-31",
243 "readOn": "2026-11-24T09:30:00+00:00",
244 "fromCache": false,
245 "sectionHashes": {
246 "tariff": "4e6125bd51b6ab21",
247 "sps": "428a0adc1123dedc",
248 "tbt": "f2e4c66f4a115c29",
249 "documents": "d2412ee241cffd35"
250 },
251 "changedSections": [
252 "new"
253 ],
254 "changes": "",
255 "name": "090411 Pepper → United States of America (0904110020): MFN 0 %",
256 "marketKey": "090411-US-0904110020",
257 "sample": true
258 },
259 {
260 "hsCode": "090411",
261 "hs6": "090411",
262 "itcHsCode": "09041110",
263 "productDescription": "Pepper",
264 "nationalLine": "0904110040",
265 "nationalDescription": "Pepper of the genus Piper; dried or crushed or ground fruits of the genus Capsicum (peppers) or of the genus Pimenta (e.g., allspice): : Pepper of the genus Piper: Neither crushed nor ground: White",
266 "country": "US",
267 "countryName": "United States of America",
268 "mfnTariffPct": 0,
269 "mfnRateText": "0",
270 "preferentialTariffs": [],
271 "bestRatePct": 0,
272 "bestAgreement": "MFN",
273 "marginOfPreferencePct": 0,
274 "rulesOfOriginText": null,
275 "additionalDuties": [
276 {
277 "name": "Additional Duty under Section 232 (effective from June 8, 2026)",
278 "effectiveFrom": "2026-06-08",
279 "ratePct": null,
280 "rateText": "Not Applicable"
281 },
282 {
283 "name": "Additional Duty under Section 301 (effective from July 24, 2026)",
284 "effectiveFrom": "2026-07-24",
285 "ratePct": null,
286 "rateText": "Not Applicable"
287 }
288 ],
289 "spsMeasures": [
290 {
291 "title": "Accreditation Of Third Party Certification Bodies To Conduct Food Safety Audits And To Issue Certifications Rule",
292 "type": "Specific",
293 "url": "https://indiantradeportal.in/uploads/SPSTBT/USA/Updates%288-4-16%29/SPS/Specific/Accreditation_Of_Third_Party_Certification_Bodies_To_Conduct_Food_Safety_Audits_And_To_Issue_Certifications_Rule.pdf"
294 },
295 {
296 "title": "Current Gmp Hazard Analysis And Risk Based Preventive Controls For Human Food Rule",
297 "type": "Specific",
298 "url": "https://indiantradeportal.in/uploads/SPSTBT/USA/Updates%288-4-16%29/SPS/Specific/Current_Gmp_Hazard_Analysis_And_Risk_Based_Preventive_Controls_For_Human_Food_Rule.pdf"
299 },
300 {
301 "title": "Foreign Supplier Verification Programs For Importers Of Food For Humans And Animals Rule",
302 "type": "Specific",
303 "url": "https://indiantradeportal.in/uploads/SPSTBT/USA/Updates%288-4-16%29/SPS/Specific/Foreign_Supplier_Verification_Programs_For_Importers_Of_Food_For_Humans_And_Animals_Rule.pdf"
304 }
305 ],
306 "tbtMeasures": [
307 {
308 "title": "Note Food Standards General",
309 "type": "General",
310 "url": "https://indiantradeportal.in/uploads/SPSTBT/USA/Updates%2814-09-16%29/SPS/General/Note_Food_Standards_General.pdf"
311 },
312 {
313 "title": "Exemptions From Food Labeling Requirements",
314 "type": "Labeling And Packaging",
315 "url": "https://indiantradeportal.in/uploads/SPSTBT/USA/Updates%288-4-16%29/SPS/Label/Exemptions_From_Food_Labeling_Requirements.pdf"
316 },
317 {
318 "title": "Food Labeling",
319 "type": "Labeling And Packaging",
320 "url": "https://indiantradeportal.in/uploads/SPSTBT/USA/Updates%2814-09-16%29/SPS/Label/Food_Labeling.pdf"
321 }
322 ],
323 "otherNtm": [
324 {
325 "title": "Administrative Detention Of Drugs Intended For Human Or Animal Use",
326 "type": "General",
327 "url": "https://indiantradeportal.in/uploads/SPSTBT/USA/Updates/SPS/General/Administrative_Detention_Of_Drugs_Intended_For_Human_Or_Animal_Use.pdf"
328 },
329 {
330 "title": "Amendments To Registration Of Food Facilities",
331 "type": "General",
332 "url": "https://indiantradeportal.in/uploads/SPSTBT/USA/Updates%2814-09-16%29/SPS/General/Amendments_To_Registration_Of_Food_Facilities.pdf"
333 },
334 {
335 "title": "Foreign Trade Regulations",
336 "type": "General",
337 "url": "https://indiantradeportal.in/uploads/SPSTBT/USA/Updates/SPS/General/Foreign_Trade_Regulations.pdf"
338 }
339 ],
340 "importLicensing": {
341 "required": true,
342 "documents": [
343 "Amendments To Registration Of Food Facilities"
344 ],
345 "derived": true
346 },
347 "borderDocuments": [
348 {
349 "title": "Amendments To Registration Of Food Facilities",
350 "type": "General",
351 "url": "https://indiantradeportal.in/uploads/SPSTBT/USA/Updates%2814-09-16%29/SPS/General/Amendments_To_Registration_Of_Food_Facilities.pdf",
352 "derived": true
353 }
354 ],
355 "ntmDocumentCount": 62,
356 "pageUrl": "https://indiantradeportal.in/vs.jsp?pid=17&agreements=225-7%2C225-21%2C225-27&indHscode=841&hscodes=0904110040-225%2C",
357 "spsTbtUrl": "https://indiantradeportal.in/apps/ajaxSPSTBT.jsp?country=225&hscode=0904110040",
358 "dataAsOf": "2026-07-31",
359 "readOn": "2026-11-24T09:30:00+00:00",
360 "fromCache": false,
361 "sectionHashes": {
362 "tariff": "4e6125bd51b6ab21",
363 "sps": "428a0adc1123dedc",
364 "tbt": "f2e4c66f4a115c29",
365 "documents": "d2412ee241cffd35"
366 },
367 "changedSections": [
368 "tariff"
369 ],
370 "changes": "Section 301 row added",
371 "name": "090411 Pepper → United States of America (0904110040): MFN 0 %",
372 "marketKey": "090411-US-0904110040",
373 "sample": true
374 }
375 ]
376};
377
378
379const run = await client.actor("rich_minds/india-trade-portal-ai").call(input);
380
381
382console.log('Results from dataset');
383console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
384const { items } = await client.dataset(run.defaultDatasetId).listItems();
385items.forEach((item) => {
386 console.dir(item);
387});
388
389