1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "companyName": "Shakti Forge & Stampings",
12 "companyDescription": "MSME forging and stamping manufacturer in Karnataka. Closed-die forgings, sheet-metal stampings and machined components for defence, aerospace and heavy engineering. ₹3 Cr turnover, 8 years, OEM, Make in India.",
13 "keywords": [
14 "forging",
15 "stamping"
16 ],
17 "certifications": [
18 "ISO 9001:2015"
19 ],
20 "annualTurnoverInr": 30000000,
21 "yearsInBusiness": 8,
22 "isMSE": true,
23 "isStartup": false,
24 "isOEM": true,
25 "isMakeInIndia": true,
26 "states": [
27 "Maharashtra",
28 "Karnataka"
29 ],
30 "maxBidsToAnalyse": 8,
31 "targetQualifyingBids": 3,
32 "modelName": "google/gemini-3.8-flash"
33};
34
35
36const run = await client.actor("gold_function/gem-bid-checker").call(input);
37
38
39console.log('Results from dataset');
40console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
41const { items } = await client.dataset(run.defaultDatasetId).listItems();
42items.forEach((item) => {
43 console.dir(item);
44});
45
46