Etsy Scraper avatar
Etsy Scraper
Try for free

3 days trial then $30.00/month - No credit card required now

View all Actors
Etsy Scraper

Etsy Scraper

epctex/etsy-scraper
Try for free

3 days trial then $30.00/month - No credit card required now

Scrape valuable data from over 4 million Etsy sellers. Extract product details, descriptions, listed date, images, seller info, and more. Customize your searches and filters to gather the desired information effortlessly.

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    "startUrls": [
9        "https://www.etsy.com/listing/743657804/sheepskin-slippers-wool-slippers-fur?ga_order=most_relevant&ga_search_type=all&ga_view_type=gallery&ga_search_query=&ref=sc_gallery-5-1&plkey=89e47f49c28602795b44fc71559e2839056339d8%3A743657804&frs=1",
10        "https://www.etsy.com/c/clothing-and-shoes?ref=catnav-10923",
11        "https://www.etsy.com/search?q=apple%20watch",
12        "https://www.etsy.com/shop/PetiteFraise?ref=simple-shop-header-name&listing_id=490831663&page=2#items",
13    ],
14    "maxItems": 10,
15    "endPage": 1,
16    "extendOutputFunction": """($) => {
17    const result = {};
18    // Uncomment to add a title to the output
19    // result.title = $('title').text().trim();
20
21    return result;
22}""",
23    "customMapFunction": "(object) => { return {...object} }",
24    "proxy": {
25        "useApifyProxy": True,
26        "apifyProxyGroups": ["RESIDENTIAL"],
27    },
28}
29
30# Run the Actor and wait for it to finish
31run = client.actor("epctex/etsy-scraper").call(run_input=run_input)
32
33# Fetch and print Actor results from the run's dataset (if there are any)
34print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
35for item in client.dataset(run["defaultDatasetId"]).iterate_items():
36    print(item)
37
38# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
Developer
Maintained by Community
Actor metrics
  • 88 monthly users
  • 11 stars
  • 94.7% runs succeeded
  • 0.55 hours response time
  • Created in Mar 2021
  • Modified 18 minutes ago
Categories