1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "startUrls": [
12 {
13 "url": "https://sam.gov/search/"
14 },
15 {
16 "url": "https://www.contractsfinder.service.gov.uk/Search"
17 }
18 ],
19 "sourceTexts": [
20 "City of Lakes Procurement Office RFP 24-118 seeks a cloud document management vendor. Submission deadline August 30, 2026. Estimated contract value $250,000. Questions due August 12. Open competitive solicitation for municipal IT services in Minnesota. Contact procurement@cityoflakes.gov.",
21 "Ministry of Health tender notice invites bids for telehealth platform implementation across regional clinics. Closing date 2026-09-15. Budget up to GBP 420,000. Eligible suppliers must show ISO 27001 certification and healthcare deployment references."
22 ]
23};
24
25
26const run = await client.actor("seeb/tender-signal-harvester").call(input);
27
28
29console.log('Results from dataset');
30console.log(`πΎ Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
31const { items } = await client.dataset(run.defaultDatasetId).listItems();
32items.forEach((item) => {
33 console.dir(item);
34});
35
36