1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "items": [
12 {
13 "title": "Managed Detection and Response for Texas School District",
14 "description": "District needs cybersecurity MDR, cloud security assessment, and incident response support.",
15 "buyer": "Austin ISD",
16 "deadline": "2026-08-10",
17 "value": "$120,000",
18 "category": "Cybersecurity",
19 "location": "Texas",
20 "url": "https://procurement.example/rfp/mdr-texas-schools",
21 "requirements": [
22 "Vendor must show SOC 2 evidence",
23 "Remote delivery accepted"
24 ],
25 "proposalEffortHours": 48,
26 "publishedAt": "2026-07-01"
27 },
28 {
29 "solicitationTitle": "Cloud Security Assessment Services",
30 "scope": "Assessment for public sector cloud controls and incident response readiness.",
31 "organization": "Regional Transit Authority",
32 "responseDeadline": "2026-08-05T17:00:00-05:00",
33 "contractValue": "USD 75,500",
34 "naics": "541519",
35 "state": "Texas",
36 "solicitationUrl": "procurement.example/rfp/cloud-assessment"
37 },
38 {
39 "name": "Statewide Security Operations Center Support",
40 "summary": "Mandatory FedRAMP authorization and onsite delivery required.",
41 "agency": "State Technology Office",
42 "dueDate": "2026-07-01",
43 "estimatedValue": 180000,
44 "sector": "Cybersecurity",
45 "region": "Texas",
46 "tenderUrl": "https://procurement.example/rfp/fedramp-soc",
47 "mandatoryRequirements": "Bidder must have FedRAMP authorization and SOC 2."
48 }
49 ],
50 "companyProfile": {
51 "companyName": "Northstar Cyber Services",
52 "capabilities": [
53 "managed detection and response",
54 "incident response",
55 "cloud security assessment"
56 ],
57 "industries": [
58 "education",
59 "public sector"
60 ],
61 "certifications": [
62 "SOC 2",
63 "CMMC Level 2"
64 ],
65 "regions": [
66 "Texas",
67 "Remote",
68 "United States"
69 ],
70 "targetKeywords": [
71 "cybersecurity",
72 "MDR",
73 "incident response"
74 ],
75 "avoidKeywords": [
76 "janitorial",
77 "construction"
78 ],
79 "minContractValue": 25000,
80 "maxContractValue": 500000,
81 "maxProposalEffortHours": 80,
82 "currentCapacity": "medium",
83 "relationshipKeywords": [
84 "incumbent partner",
85 "existing vendor"
86 ]
87 },
88 "scrapedAt": "2026-07-08T00:00:00.000Z"
89};
90
91
92const run = await client.actor("rotvuvo/rfp-bid-fit-risk-scorer").call(input);
93
94
95console.log('Results from dataset');
96console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
97const { items } = await client.dataset(run.defaultDatasetId).listItems();
98items.forEach((item) => {
99 console.dir(item);
100});
101
102