![Shopify Scraper avatar](https://images.apifyusercontent.com/BxCUX7R_dYuKx2oy5EDMFz68We9vhEe1Qg9636cxGZ8/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9rU0QwZjhkTzlVZVprZTJpWS9RWG9rQzZlN253ajRHdEZFdS1lQ29tbWVyY2UtSWNvbi5wbmc.webp)
Shopify Scraper
Try for free
No credit card required
View all Actors![Shopify Scraper](https://images.apifyusercontent.com/BxCUX7R_dYuKx2oy5EDMFz68We9vhEe1Qg9636cxGZ8/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9rU0QwZjhkTzlVZVprZTJpWS9RWG9rQzZlN253ajRHdEZFdS1lQ29tbWVyY2UtSWNvbi5wbmc.webp)
![Shopify Scraper](https://images.apifyusercontent.com/BxCUX7R_dYuKx2oy5EDMFz68We9vhEe1Qg9636cxGZ8/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9rU0QwZjhkTzlVZVprZTJpWS9RWG9rQzZlN253ajRHdEZFdS1lQ29tbWVyY2UtSWNvbi5wbmc.webp)
Shopify Scraper
pocesar/shopify-scraper
Try for free
No credit card required
Automate monitoring prices on the most popular solution for building online stores and selling products online. Crawl arbitrary Shopify-powered online stores and extract a list of all products in a structured form, including product title, price, description, etc.
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
1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7 "startUrls": [
8 {
9 "url": "https://www.decathlon.com"
10 }
11 ],
12 "maxRequestsPerCrawl": 10,
13 "proxyConfig": {
14 "useApifyProxy": true
15 },
16 "extendOutputFunction": "async ({ data, item, product, images, fns, name, request, variants, context, customData, input, Apify }) => {\n return item;\n}",
17 "extendScraperFunction": "async ({ fns, customData, Apify, label }) => {\n \n}",
18 "customData": {},
19 "maxConcurrency": 10,
20 "maxRequestRetries": 3
21}
22EOF
23
24# Run the Actor using an HTTP API
25# See the full API reference at https://docs.apify.com/api/v2
26curl "https://api.apify.com/v2/acts/pocesar~shopify-scraper/runs?token=$API_TOKEN" \
27 -X POST \
28 -d @input.json \
29 -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
- 85 monthly users
- 6 stars
- 98.2% runs succeeded
- 22 days response time
- Created in Jul 2021
- Modified about 1 year ago
Categories