Similarweb Quick Scraper avatar
Similarweb Quick Scraper
Try for free

Pay $10.00 for 1,000 results

View all Actors
Similarweb Quick Scraper

Similarweb Quick Scraper

mscraper/similarweb-quick-scraper
Try for free

Pay $10.00 for 1,000 results

A quick scraper for Similarweb. Get needed data instantly for domains of your choice. Export accumulated data into formats such as HTML, JSON, or Excel.

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

Node.js

Python

curl

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with API token
4const client = new ApifyClient({
5    token: '<YOUR_API_TOKEN>',
6});
7
8// Prepare Actor input
9const input = {
10    "websites": [
11        "apple.com",
12        "microsoft.com",
13        "google.com",
14        "twitter.com",
15        "samsung.com",
16        "hp.com",
17        "dell.com",
18        "mi.com",
19        "lg.com",
20        "sony.com"
21    ],
22    "proxy": {
23        "useApifyProxy": true,
24        "apifyProxyCountry": "US"
25    }
26};
27
28(async () => {
29    // Run the Actor and wait for it to finish
30    const run = await client.actor("mscraper/similarweb-quick-scraper").call(input);
31
32    // Fetch and print Actor results from the run's dataset (if any)
33    console.log('Results from dataset');
34    const { items } = await client.dataset(run.defaultDatasetId).listItems();
35    items.forEach((item) => {
36        console.dir(item);
37    });
38})();
Developer
Community logoMaintained by Community
Actor metrics
  • 33 monthly users
  • 94.1% runs succeeded
  • Modified about 2 months ago

You might also like these Actors