1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "countries": [
12 "EU",
13 "AE",
14 "SA",
15 "US",
16 "JP"
17 ],
18 "hsCodes": [
19 "0904",
20 "0910"
21 ],
22 "sourceMode": "list",
23 "itemsList": [
24 {
25 "sample": true,
26 "documentSymbol": "G/SPS/N/SAU/634",
27 "relatedSymbols": [
28 "G/SPS/N/ARE/331",
29 "G/SPS/N/BHR/283",
30 "G/SPS/N/KWT/213",
31 "G/SPS/N/OMN/179",
32 "G/SPS/N/QAT/182",
33 "G/SPS/N/YEM/123"
34 ],
35 "agreement": "SPS",
36 "countryName": "Saudi Arabia, Kingdom of",
37 "country": "SA",
38 "publishedOn": "2026-10-12",
39 "title": "Saffron",
40 "description": "This GSO Standard applies to specifications for dried saffron obtained from the pistils of Crocus sativus L. flowers. It applies to saffron in both of the following forms: filaments and cut filaments; powder.",
41 "products": [
42 "Saffron (HS code(s): 091020)",
43 "Spices and condiments (ICS code(s): 67.220.10)"
44 ],
45 "hsCodes": [
46 "091020"
47 ],
48 "hsLabels": [
49 "Saffron"
50 ],
51 "icsCodes": [
52 "67.220.10 Spices and condiments"
53 ],
54 "objectives": [
55 "Food safety (SPS)"
56 ],
57 "keywords": [
58 "Food safety",
59 "Human health"
60 ],
61 "regionsAffected": "All trading partners",
62 "commentDeadline": "2026-12-11",
63 "notificationType": "regular",
64 "notificationTypeLabel": "Regular notification",
65 "documentLinks": [
66 "https://members.wto.org/crnattachments/2026/SPS/SAU/26_05345_00_x.pdf"
67 ],
68 "link": "https://docs.wto.org/imrd/directdoc.asp?DDFDocuments/T/G/SPS/NARE331.docx",
69 "tbtArticles": [],
70 "internationalStandards": [
71 "Codex"
72 ],
73 "conformsToStandard": true,
74 "standardDeviation": null,
75 "relatedTradeConcerns": null,
76 "parentSymbol": null,
77 "url": "https://epingalert.org/en/Search?viewData=G/SPS/N/SAU/634",
78 "adoptionDateText": "To be determined.",
79 "inForceFromText": "6 months from adoption"
80 },
81 {
82 "sample": true,
83 "documentSymbol": "G/SPS/N/ARE/331",
84 "relatedSymbols": [
85 "G/SPS/N/BHR/283",
86 "G/SPS/N/KWT/213",
87 "G/SPS/N/OMN/179",
88 "G/SPS/N/QAT/182",
89 "G/SPS/N/SAU/634",
90 "G/SPS/N/YEM/123"
91 ],
92 "agreement": "SPS",
93 "countryName": "United Arab Emirates",
94 "country": "AE",
95 "publishedOn": "2026-10-12",
96 "title": "Saffron",
97 "description": "This GSO Standard applies to specifications for dried saffron obtained from the pistils of Crocus sativus L. flowers. It applies to saffron in both of the following forms: filaments and cut filaments; powder.",
98 "products": [
99 "Saffron (HS code(s): 091020)",
100 "Spices and condiments (ICS code(s): 67.220.10)"
101 ],
102 "hsCodes": [
103 "091020"
104 ],
105 "hsLabels": [
106 "Saffron"
107 ],
108 "icsCodes": [
109 "67.220.10 Spices and condiments"
110 ],
111 "objectives": [
112 "Food safety (SPS)"
113 ],
114 "keywords": [
115 "Food safety",
116 "Human health"
117 ],
118 "regionsAffected": "All trading partners",
119 "commentDeadline": "2026-12-11",
120 "notificationType": "regular",
121 "notificationTypeLabel": "Regular notification",
122 "documentLinks": [
123 "https://members.wto.org/crnattachments/2026/SPS/SAU/26_05345_00_x.pdf"
124 ],
125 "link": "https://docs.wto.org/imrd/directdoc.asp?DDFDocuments/T/G/SPS/NARE331.docx",
126 "tbtArticles": [],
127 "internationalStandards": [
128 "Codex"
129 ],
130 "conformsToStandard": true,
131 "standardDeviation": null,
132 "relatedTradeConcerns": null,
133 "parentSymbol": null,
134 "adoptionDateText": "To be determined.",
135 "inForceFromText": "6 months from adoption"
136 },
137 {
138 "sample": true,
139 "documentSymbol": "G/SPS/N/JPN/1435",
140 "relatedSymbols": [],
141 "agreement": "SPS",
142 "countryName": "Japan",
143 "country": "JP",
144 "publishedOn": "2026-10-30",
145 "title": "Revision of the Specifications and Standards for Foods, Food Additives, Etc. under the Food Sanitation Act (revision of agricultural chemical residue standards)",
146 "description": "Proposal of maximum residue limits (MRLs) for the following agricultural chemicalPesticide: Fenazaquin",
147 "products": [
148 "Meat and edible meat offal (HS: 02.01, 02.02, 02.03, 02.04, 02.05, 02.06, 02.08 and 02.09)Aquatic animals and crustaceans, molluscs and other aquatic invertebrates (HS: 03.02, 03.03, 03.04, 03.06, 03.07 and 03.08)Dairy produce and natural honey (HS: 04.01 and 04.09)Animal originated products (HS: 05.04)Edible vegetables and certain roots and tubers (HS: 07.02, 07.07, 07.08, 07.09 and 07.10)Edible fruit and nuts, peel of citrus fruit (HS: 08.01, 08.02, 08.04, 08.05, 08.06, 08.07, 08.08, 08.09, 08.10, 08.11 and 08.14)Tea, mate and spices (HS: 09.02, 09.03, 09.04, 09.05, 09.06, 09.07, 09.08, 09.09 and 09.10)Oil seeds and oleaginous fruits, miscellaneous grains, seeds and fruit (HS: 12.07 and 12.10)Animal fats and oils (HS: 15.01, 15.02 and 15.06)"
149 ],
150 "hsCodes": [
151 "0201",
152 "0202",
153 "0203",
154 "0204",
155 "0205",
156 "0206",
157 "0208",
158 "0209",
159 "0302",
160 "0303",
161 "0304",
162 "0306",
163 "0307",
164 "0308",
165 "0401",
166 "0409",
167 "0504",
168 "0702",
169 "0707",
170 "0708",
171 "0709",
172 "0710",
173 "0801",
174 "0802",
175 "0804",
176 "0805",
177 "0806",
178 "0807",
179 "0808",
180 "0809",
181 "0810",
182 "0811",
183 "0814",
184 "0902",
185 "0903",
186 "0904",
187 "0905",
188 "0906",
189 "0907",
190 "0908",
191 "0909",
192 "0910",
193 "1207",
194 "1210",
195 "1501",
196 "1502",
197 "1506"
198 ],
199 "hsLabels": [
200 "Meat of bovine animals, fresh or chilled",
201 "Meat of bovine animals, frozen",
202 "Meat of swine, fresh, chilled or frozen",
203 "Meat of sheep or goats, fresh, chilled or frozen",
204 "Meat of horses, asses, mules or hinnies, fresh, chilled or frozen.",
205 "Edible offal of bovine animals, swine, sheep, goats, horses, asses, mules or hin",
206 "Meat and edible offal of rabbits, hares, pigeons and other animals, fresh, chill",
207 "Pig fat, free of lean meat, and poultry fat, not rendered or otherwise extracted"
208 ],
209 "icsCodes": [],
210 "objectives": [
211 "Food safety (SPS)"
212 ],
213 "keywords": [
214 "Food safety",
215 "Human health",
216 "Maximum residue limits (MRLs)"
217 ],
218 "regionsAffected": "All trading partners",
219 "commentDeadline": "2026-12-29",
220 "notificationType": "regular",
221 "notificationTypeLabel": "Regular notification",
222 "documentLinks": [
223 "https://members.wto.org/crnattachments/2026/SPS/JPN/26_05650_00_e.pdf"
224 ],
225 "link": "https://docs.wto.org/imrd/directdoc.asp?DDFDocuments/T/G/SPS/NJPN1435.docx",
226 "tbtArticles": [],
227 "internationalStandards": [
228 "Codex"
229 ],
230 "conformsToStandard": true,
231 "standardDeviation": null,
232 "relatedTradeConcerns": null,
233 "parentSymbol": null,
234 "adoptionDateText": "As soon as possible after the final date of the comment period.",
235 "inForceFromText": "These proposed standards will take effect after a certain period of grace."
236 },
237 {
238 "sample": true,
239 "documentSymbol": "G/SPS/N/USA/3587",
240 "relatedSymbols": [],
241 "agreement": "SPS",
242 "countryName": "United States of America",
243 "country": "US",
244 "publishedOn": "2026-08-06",
245 "title": "Permethrin; Pesticide Tolerances. Final Rule",
246 "description": "This regulation establishes a tolerance for residues of permethrin (CASRN 52645-53-1) in or on the food and feed commodity of black pepper at 0.1 parts per million (ppm). Under the Federal Food, Drug, and Cosmetic Act (FFDCA), the American Spice Trade Association, Inc., submitted a petition to EPA requesting that EPA establish a maximum permissible level for residues of this pesticide in or on the identified commodity.",
247 "products": [
248 "Black pepper"
249 ],
250 "hsCodes": [
251 "0904"
252 ],
253 "hsLabels": [
254 "Pepper of the genus Piper; dried or crushed or ground fruits of the genus Capsic"
255 ],
256 "icsCodes": [],
257 "objectives": [
258 "Food safety (SPS)"
259 ],
260 "keywords": [
261 "Food safety",
262 "Human health",
263 "Maximum residue limits (MRLs)"
264 ],
265 "regionsAffected": "All trading partners",
266 "commentDeadline": "2026-10-02",
267 "adoptionDate": "2026-08-03",
268 "inForceFrom": "2026-08-03",
269 "notificationType": "regular",
270 "notificationTypeLabel": "Regular notification",
271 "documentLinks": [
272 "https://www.govinfo.gov/content/pkg/FR-2026-08-03/html/2026-15634.htm"
273 ],
274 "link": "https://docs.wto.org/imrd/directdoc.asp?DDFDocuments/T/G/SPS/NUSA3587.docx",
275 "tbtArticles": [],
276 "internationalStandards": [],
277 "conformsToStandard": null,
278 "standardDeviation": "In making its tolerance decisions, EPA seeks to harmonize U.S. tolerances with international standards and agricultural practices. EPA considers the international maximum residue limits (MRL) established by the Codex Alimentarius Commission (Codex), as required by FFDCA section 408(b)(4). Codex (0.05 ppm on pepper-spices), Canada (0.1 ppm on pepper-spices) and the European Union (0.1 ppm on peppercorn) have established MRLs for residues of permethrin in/on pepper, black. The EPA's proposed tolerance would harmonize the U.S. tolerance with the European Union tolerance at 0.1 ppm, which will pr…",
279 "relatedTradeConcerns": null,
280 "parentSymbol": null
281 },
282 {
283 "sample": true,
284 "documentSymbol": "G/SPS/N/ARE/325",
285 "relatedSymbols": [
286 "G/SPS/N/BHR/277",
287 "G/SPS/N/KWT/207",
288 "G/SPS/N/OMN/173",
289 "G/SPS/N/QAT/176",
290 "G/SPS/N/SAU/626",
291 "G/SPS/N/YEM/117"
292 ],
293 "agreement": "SPS",
294 "countryName": "United Arab Emirates",
295 "country": "AE",
296 "publishedOn": "2026-09-16",
297 "title": "Dried turmeric",
298 "description": "This Gulf Technical Regulation specify the requirements that shall be met by dried turmeric in the forms listed in Item (4) intended for direct consumption, as a food processing ingredient, or for repackaging where necessary. It does not cover products intended for industrial processing.",
299 "products": [
300 "ICS code: 67.220.10"
301 ],
302 "hsCodes": [
303 "091030"
304 ],
305 "hsLabels": [
306 "Turmeric \"curcuma\""
307 ],
308 "icsCodes": [
309 "67.220.10 Spices and condiments"
310 ],
311 "objectives": [
312 "Food safety (SPS)"
313 ],
314 "keywords": [
315 "Food safety",
316 "Human health"
317 ],
318 "regionsAffected": "All trading partners",
319 "commentDeadline": "2026-11-15",
320 "notificationType": "regular",
321 "notificationTypeLabel": "Regular notification",
322 "documentLinks": [
323 "https://members.wto.org/crnattachments/2026/SPS/SAU/26_04802_00_e.pdf,https://members.wto.org/crnattachments/2026/SPS/SAU/26_04802_00_x.pdf"
324 ],
325 "link": "https://docs.wto.org/imrd/directdoc.asp?DDFDocuments/T/G/SPS/NARE325.docx",
326 "tbtArticles": [],
327 "internationalStandards": [
328 "Codex"
329 ],
330 "conformsToStandard": true,
331 "standardDeviation": null,
332 "relatedTradeConcerns": null,
333 "parentSymbol": null,
334 "adoptionDateText": "To be determined.",
335 "inForceFromText": "6 months from adoption"
336 },
337 {
338 "sample": true,
339 "documentSymbol": "G/TBT/N/ARE/715",
340 "relatedSymbols": [
341 "G/TBT/N/BHR/786",
342 "G/TBT/N/KWT/771",
343 "G/TBT/N/OMN/609",
344 "G/TBT/N/QAT/760",
345 "G/TBT/N/SAU/1445",
346 "G/TBT/N/YEM/357"
347 ],
348 "agreement": "TBT",
349 "countryName": "United Arab Emirates",
350 "country": "AE",
351 "publishedOn": "2026-09-15",
352 "title": "Dried turmeric",
353 "description": "This Gulf Technical Regulation specify the requirements that shall be met by dried turmeric in the forms listed in Item (4) intended for direct consumption, as a food processing ingredient, or for repackaging where necessary. It does not cover products intended for industrial processing.",
354 "products": [
355 "Spices and condiments (ICS code(s): 67.220.10)"
356 ],
357 "hsCodes": [
358 "091030"
359 ],
360 "hsLabels": [
361 "Turmeric \"curcuma\""
362 ],
363 "icsCodes": [
364 "67.220.10 Spices and condiments"
365 ],
366 "objectives": [
367 "Consumer information, labelling (TBT)",
368 "Protection of human health or safety (TBT)"
369 ],
370 "keywords": [
371 "Food standards"
372 ],
373 "regionsAffected": null,
374 "commentDeadline": "2026-11-14",
375 "notificationType": "regular",
376 "notificationTypeLabel": "Regular notification",
377 "documentLinks": [
378 "https://members.wto.org/crnattachments/2026/TBT/SAU/26_04803_00_e.pdf,https://members.wto.org/crnattachments/2026/TBT/SAU/26_04803_00_x.pdf"
379 ],
380 "link": "https://docs.wto.org/imrd/directdoc.asp?DDFDocuments/T/G/TBTN26/ARE715.docx",
381 "tbtArticles": [
382 "2.9.2"
383 ],
384 "internationalStandards": [],
385 "conformsToStandard": null,
386 "standardDeviation": null,
387 "relatedTradeConcerns": null,
388 "parentSymbol": null,
389 "adoptionDateText": "To be determined",
390 "inForceFromText": "To be determined"
391 },
392 {
393 "sample": true,
394 "documentSymbol": "G/SPS/N/JPN/1372/Add.1",
395 "relatedSymbols": [],
396 "agreement": "SPS",
397 "countryName": "Japan",
398 "country": "JP",
399 "publishedOn": "2026-06-17",
400 "title": "Specifications and Standards for Foods, Food Additives, Etc. under the Food Sanitation Act (Revision of agricultural chemical residue standards, final rule)",
401 "description": "The proposed maximum residue limits (MRLs) for Trifloxystrobin notified in G/SPS/N/JPN/1372 (dated 22 September 2025) were adopted and published on 16 December 2025.",
402 "products": [
403 "Meat and edible meat offal (HS codes: 02.01, 02.02, 02.03, 02.04, 02.05, 02.06, 02.07, 02.08 and 02.09)Aquatic animals and crustaceans, molluscs and other aquatic invertebrates (HS codes: 03.02, 03.03, 03.04, 03.06, 03.07 and 03.08)Dairy produce, birds' eggs and natural honey (HS codes: 04.01, 04.07, 04.08 and 04.09)Animal originated products (HS code: 05.04)Edible vegetables and certain roots and tubers (HS codes: 07.01, 07.02, 07.03, 07.04, 07.05, 07.06, 07.07, 07.08, 07.09, 07.10, 07.13 and 07.14)Edible fruit and nuts, peel of citrus fruit (HS codes: 08.01, 08.02, 08.03, 08.04, 08.05, 08.06, 08.07, 08.08, 08.09, 08.10, 08.11 and 08.14)Coffee, tea, mate and spices (HS codes: 09.01, 09.02, 09.03, 09.04, 09.05, 09.06, 09.07, 09.08, 09.09 and 09.10)Cereals (HS codes: 10.01, 10.02, 10.03, 10.04, 10.05, 10.06, 10.07 and 10.08)Oil seeds and oleaginous fruits, miscellaneous grains, seeds and fruit (HS codes: 12.01, 12.02, 12.04, 12.07, 12.10 and 12.12)Animal fats and oils (HS codes: 15.01, 15.02 and 15.06)"
404 ],
405 "hsCodes": [
406 "0201",
407 "0202",
408 "0203",
409 "0204",
410 "0205",
411 "0206",
412 "0207",
413 "0208",
414 "0209",
415 "0302",
416 "0303",
417 "0304",
418 "0306",
419 "0307",
420 "0308",
421 "0401",
422 "0407",
423 "0408",
424 "0409",
425 "0504",
426 "0701",
427 "0702",
428 "0703",
429 "0704",
430 "0705",
431 "0706",
432 "0707",
433 "0708",
434 "0709",
435 "0710",
436 "0713",
437 "0714",
438 "0801",
439 "0802",
440 "0803",
441 "0804",
442 "0805",
443 "0806",
444 "0807",
445 "0808",
446 "0809",
447 "0810",
448 "0811",
449 "0814",
450 "0901",
451 "0902",
452 "0903",
453 "0904",
454 "0905",
455 "0906",
456 "0907",
457 "0908",
458 "0909",
459 "0910",
460 "1001",
461 "1002",
462 "1003",
463 "1004",
464 "1005",
465 "1006",
466 "1007",
467 "1008",
468 "1201",
469 "1202",
470 "1204",
471 "1207",
472 "1210",
473 "1212",
474 "1501",
475 "1502",
476 "1506"
477 ],
478 "hsLabels": [
479 "Meat of bovine animals, fresh or chilled",
480 "Meat of bovine animals, frozen",
481 "Meat of swine, fresh, chilled or frozen",
482 "Meat of sheep or goats, fresh, chilled or frozen",
483 "Meat of horses, asses, mules or hinnies, fresh, chilled or frozen.",
484 "Edible offal of bovine animals, swine, sheep, goats, horses, asses, mules or hin",
485 "Meat and edible offal of fowls of the species Gallus domesticus, ducks, geese, t",
486 "Meat and edible offal of rabbits, hares, pigeons and other animals, fresh, chill"
487 ],
488 "icsCodes": [],
489 "objectives": [
490 "Food safety (SPS)"
491 ],
492 "keywords": [
493 "Adoption/publication/entry into force of reg.",
494 "Food safety",
495 "Human health",
496 "Maximum residue limits (MRLs)"
497 ],
498 "regionsAffected": null,
499 "commentDeadline": null,
500 "adoptionDate": null,
501 "inForceFrom": null,
502 "notificationType": "addendum",
503 "notificationTypeLabel": "Addendum to Regular Notification",
504 "documentLinks": [
505 "https://members.wto.org/crnattachments/2026/SPS/JPN/26_03141_00_e.pdf"
506 ],
507 "link": "https://docs.wto.org/imrd/directdoc.asp?DDFDocuments/T/G/SPS/NJPN1372A1.docx",
508 "tbtArticles": [],
509 "internationalStandards": [],
510 "conformsToStandard": null,
511 "standardDeviation": null,
512 "relatedTradeConcerns": null,
513 "parentSymbol": "G/SPS/N/JPN/1372"
514 }
515 ],
516 "maxDiscoveryChargeUsd": 0.5,
517 "discoveryInput": {}
518};
519
520
521const run = await client.actor("rich_minds/destination-rule-watch-ai").call(input);
522
523
524console.log('Results from dataset');
525console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
526const { items } = await client.dataset(run.defaultDatasetId).listItems();
527items.forEach((item) => {
528 console.dir(item);
529});
530
531