Etsy Scraper avatar

Etsy Scraper

Try for free

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

Go to Store
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.

You can access the Etsy Scraper programmatically from your own JavaScript 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 token
4// Replace the '<YOUR_API_TOKEN>' with your token
5const client = new ApifyClient({
6    token: '<YOUR_API_TOKEN>',
7});
8
9// Prepare Actor input
10const input = {
11    "startUrls": [
12        "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",
13        "https://www.etsy.com/c/clothing-and-shoes?ref=catnav-10923",
14        "https://www.etsy.com/search?q=apple%20watch",
15        "https://www.etsy.com/shop/PetiteFraise?ref=simple-shop-header-name&listing_id=490831663&page=2#items"
16    ],
17    "maxItems": 10,
18    "endPage": 1,
19    "extendOutputFunction": ($) => {
20        const result = {};
21        // Uncomment to add a title to the output
22        // result.title = $('title').text().trim();
23    
24        return result;
25    },
26    "customMapFunction": (object) => { return {...object} },
27    "proxy": {
28        "useApifyProxy": true,
29        "apifyProxyGroups": [
30            "RESIDENTIAL"
31        ]
32    }
33};
34
35// Run the Actor and wait for it to finish
36const run = await client.actor("epctex/etsy-scraper").call(input);
37
38// Fetch and print Actor results from the run's dataset (if any)
39console.log('Results from dataset');
40console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
41const { items } = await client.dataset(run.defaultDatasetId).listItems();
42items.forEach((item) => {
43    console.dir(item);
44});
45
46// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

Etsy Data Extractor API in JavaScript

The Apify API client for JavaScript is the official library that allows you to use Etsy Scraper 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:

Developer
Maintained by Community

Actor Metrics

  • 107 monthly users

  • 20 stars

  • >99% runs succeeded

  • 23 hours response time

  • Created in Mar 2021

  • Modified 10 hours ago

Categories