
Trustradius Insights Scraper
epctex/trustradius-scraper
Dive into the Trustradius database with our specialized tool. Extract detailed product, vendor, and review data. Access authentic client feedback, in-depth vendor profiles, and portfolio insights. Navigate with custom search terms, ensuring precise and invaluable insights for your analytical needs.
The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode
import { ApifyClient } from 'apify-client';
// Initialize the ApifyClient with API token
const client = new ApifyClient({
token: '<YOUR_API_TOKEN>',
});
// Prepare Actor input
const input = {
"search": "food",
"startUrls": [
"https://www.trustradius.com/vendors/trustradius",
"https://www.trustradius.com/products/canva",
"https://www.trustradius.com/users/61ff850b1928ba0031703629",
"https://www.trustradius.com/users/5c24577c4452bb002b85451a",
"https://www.trustradius.com/search?t=product&q=food",
"https://www.trustradius.com/search?t=vendor&t=product&q=food",
"https://www.trustradius.com/products?q=food",
"https://www.trustradius.com/vendors?q=food"
],
"maxItems": 20,
"endPage": 2,
"extendOutputFunction": ($) => { return {} },
"customMapFunction": (object) => { return {...object} },
"proxy": {
"useApifyProxy": true
}
};
(async () => {
// Run the Actor and wait for it to finish
const run = await client.actor("epctex/trustradius-scraper").call(input);
// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
console.dir(item);
});
})();
Developer
Maintained by Community
Actor stats
- 40 users
- 3k runs
- Modified about 1 hour ago
Categories