
Content & Listings Monitor
Pricing
Pay per usage

Content & Listings Monitor
Monitor anything, anywhere. Receive mobile alerts or execute actions on updates of interest. Useful for listings, news, articles, products and more.
0.0 (0)
Pricing
Pay per usage
2
Total users
37
Monthly users
3
Runs succeeded
97%
Last modified
4 months ago
You can access the Content & Listings Monitor programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1import { ApifyClient } from 'apify-client';2
3// Initialize the ApifyClient with your Apify API token4// Replace the '<YOUR_API_TOKEN>' with your token5const client = new ApifyClient({6 token: '<YOUR_API_TOKEN>',7});8
9// Prepare Actor input10const input = {11 "selectors": [12 "table table tr[class='athing'] td:nth-child(3) > span > a"13 ],14 "scrapers": `// (input) => ({15 // title: {16 // selectors: ["table table tr[class='athing'] td:nth-child(3) > span > a"],17 // extractor: node => node.innerText,18 // },19 // links: {20 // contents: {21 // selectors: ["table table tr[class='athing'] td:nth-child(3) > span > a"],22 // extractor: node => node.href,23 // },24 // comments: {25 // selectors: ["table table tr td[class='subtext'] span a[href^=item]:first-child"],26 // extractor: node => node.href,27 // },28 // },29 // })`,30 "limits.alerts": 10,31 "limits.results": 100,32 "filters": `// [33 // ({title}) => title.length > 1, // absolute34 // ({links}) => links.contents.includes('http'), // absolute35 // ({price}, {price: oldPrice}) => price < oldPrice, // relative36 // ]`,37 "matcher": `// ({exclude, include}) => ({include}) // ignore fields in comparison with records38 // ({price, ...match}) => match // e.g. ignore dynamic field "price" from matching`,39 "pages.retries": 3,40 "hooks.load": `// async page => {41 // await page.click('button[name="cookie-consent"]').catch(error => null);42 // }`,43 "proxy": {44 "useApifyProxy": false45 }46};47
48// Run the Actor and wait for it to finish49const run = await client.actor("cyberfly/listingmonitor").call(input);50
51// Fetch and print Actor results from the run's dataset (if any)52console.log('Results from dataset');53console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);54const { items } = await client.dataset(run.defaultDatasetId).listItems();55items.forEach((item) => {56 console.dir(item);57});58
59// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Content & Listings Monitor API in JavaScript
The Apify API client for JavaScript is the official library that allows you to use Content & Listings Monitor API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.
Install the apify-client
$npm install apify-client
Other API clients include: