1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "shipments": [
12 {
13 "importerName": "Rhein Fasteners GmbH",
14 "shipmentRef": "RF-0112",
15 "supplierName": "Ningbo Steel Parts Co.",
16 "cnCode": "73181520",
17 "netMassTonnes": 18.5,
18 "originCountryIso": "CN",
19 "importDate": "2026-02-14"
20 },
21 {
22 "importerName": "Rhein Fasteners GmbH",
23 "shipmentRef": "RF-0147",
24 "supplierName": "Pune Forgings Pvt Ltd",
25 "cnCode": "73181595",
26 "netMassTonnes": 12,
27 "originCountryIso": "IN",
28 "importDate": "2026-04-09",
29 "actualSpecificEmissionsTCO2PerTonne": 2.05
30 },
31 {
32 "importerName": "Rhein Fasteners GmbH",
33 "shipmentRef": "RF-0190",
34 "supplierName": "Ningbo Steel Parts Co.",
35 "cnCode": "72081000",
36 "netMassTonnes": 15,
37 "originCountryIso": "CN",
38 "importDate": "2026-06-21"
39 },
40 {
41 "importerName": "Rhein Fasteners GmbH",
42 "shipmentRef": "RF-0233",
43 "supplierName": "Bursa Celik A.S.",
44 "cnCode": "72071114",
45 "netMassTonnes": 9,
46 "originCountryIso": "TR",
47 "importDate": "2026-08-30"
48 },
49 {
50 "importerName": "Baltic Garden Supplies OU",
51 "shipmentRef": "BG-21",
52 "supplierName": "Delta Agro Chemicals",
53 "cnCode": "31021090",
54 "netMassTonnes": 28,
55 "originCountryIso": "EG",
56 "importDate": "2026-03-03"
57 },
58 {
59 "importerName": "Baltic Garden Supplies OU",
60 "shipmentRef": "BG-34",
61 "supplierName": "Anatolia Cement",
62 "cnCode": "25232900",
63 "netMassTonnes": 13.5,
64 "originCountryIso": "TR",
65 "importDate": "2026-07-18"
66 }
67 ],
68 "companies": [
69 {
70 "companyName": "Demo Metal Parts Sp. z o.o.",
71 "employeeCount": 42,
72 "annualTurnover": 6200000,
73 "currency": "EUR",
74 "countryIso": "PL",
75 "electricityKwh": 380000,
76 "renewableElectricityPct": 25,
77 "fuels": [
78 {
79 "fuelType": "natural_gas",
80 "quantity": 52000,
81 "unit": "kWh"
82 },
83 {
84 "fuelType": "diesel",
85 "quantity": 8400,
86 "unit": "litres"
87 }
88 ],
89 "workplaceAccidentsCount": 2,
90 "hoursWorked": 72000,
91 "trainingHoursTotal": 630,
92 "requestingCompanyName": "Big Auto Group AG",
93 "clientQuestionnaireItems": [
94 "Total energy consumption in MWh",
95 "Scope 1 and Scope 2 GHG emissions",
96 "Scope 3 emissions by category",
97 "Do you have a human rights policy?",
98 "Number of work-related accidents",
99 "Climate-related physical and transition risks",
100 "Provide a third-party audit of your sustainability data",
101 "Gender diversity on the board"
102 ]
103 }
104 ],
105 "maxReports": 0,
106 "brandColor": "#1d4ed8"
107};
108
109
110const run = await client.actor("translucent_wire/eu-cbam-vsme-compliance-shield").call(input);
111
112
113console.log('Results from dataset');
114console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
115const { items } = await client.dataset(run.defaultDatasetId).listItems();
116items.forEach((item) => {
117 console.dir(item);
118});
119
120