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 more

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
5
6# Prepare the Actor input
7run_input = {
8    "websites": [
9        "apple.com",
10        "microsoft.com",
11        "google.com",
12        "twitter.com",
13        "samsung.com",
14        "hp.com",
15        "dell.com",
16        "mi.com",
17        "lg.com",
18        "sony.com",
19    ],
20    "proxy": {
21        "useApifyProxy": True,
22        "apifyProxyCountry": "US",
23    },
24}
25
26# Run the Actor and wait for it to finish
27run = client.actor("mscraper/similarweb-quick-scraper").call(run_input=run_input)
28
29# Fetch and print Actor results from the run's dataset (if there are any)
30print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
31for item in client.dataset(run["defaultDatasetId"]).iterate_items():
32    print(item)
33
34# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
Developer
Maintained by Community
Actor metrics
  • 34 monthly users
  • 4 stars
  • 100.0% runs succeeded
  • 1.8 days response time
  • Created in Jun 2023
  • Modified 7 months ago