1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "companyProfile": {
12 "name": "Northstar Cloud",
13 "capabilities": [
14 "cloud infrastructure",
15 "managed services",
16 "migration"
17 ],
18 "sectors": [
19 "technology",
20 "public sector"
21 ],
22 "regions": [
23 "Europe"
24 ],
25 "certifications": [
26 "ISO 27001"
27 ],
28 "keywords": [
29 "Kubernetes",
30 "AWS"
31 ]
32 },
33 "opportunities": [
34 {
35 "id": "RFP-2026-104",
36 "title": "Cloud infrastructure migration and managed services",
37 "buyer": "Example Public Agency",
38 "description": "Migrate workloads and operate Kubernetes infrastructure across Europe.",
39 "deadline": "2026-09-15",
40 "location": "Europe",
41 "estimatedValue": 250000,
42 "currency": "EUR",
43 "requiredCertifications": [
44 "ISO 27001"
45 ]
46 }
47 ]
48};
49
50
51const run = await client.actor("egeusta/tender-rfp-opportunity-matcher").call(input);
52
53
54console.log('Results from dataset');
55console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
56const { items } = await client.dataset(run.defaultDatasetId).listItems();
57items.forEach((item) => {
58 console.dir(item);
59});
60
61