# Fancode Shop Scraper 🛍️ (`easyapi/fancode-shop-scraper`) Actor

Scrape product data from Fancode Shop. Extract detailed product information including prices, descriptions, ratings, stock status and images. Perfect for price monitoring, market analysis and product research.

- **URL**: https://apify.com/easyapi/fancode-shop-scraper.md
- **Developed by:** [EasyApi](https://apify.com/easyapi) (community)
- **Categories:** E-commerce, Integrations, Other
- **Stats:** 3 total users, 0 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Fancode Shop Scraper 🛍️

Automatically scrape product data from [Fancode Shop](https://www.fancode.com/shop). This actor helps you extract comprehensive product information for market research, price monitoring, and inventory tracking.

### 🎯 Use Cases

- Monitor product prices and discounts
- Track product availability and stock status
- Analyze product ratings and reviews
- Build product catalogs
- Market research and competitive analysis
- Price comparison services

### ✨ Features

- **Flexible Search**: Search for any product keywords
- **Detailed Data**: Extract comprehensive product information including:
  - Product name, SKU and category
  - Current and regular prices
  - Discount information
  - Stock status
  - Product ratings
  - High-quality product images
  - Detailed product descriptions
- **Customizable**: Set maximum number of items to scrape
- **Proxy Support**: Built-in support for proxy configuration
- **Rate Limiting**: Smart delays and scrolling to avoid blocking

### 💎 Output

The actor outputs detailed product data in JSON format, including:

- Product basic information (name, SKU, category)
- Pricing details (current price, regular price, discounts)
- Product images (main image and gallery)
- Stock status
- Product ratings
- Short descriptions
- Scraping metadata (keyword, timestamp)

### 🔧 Input Parameters

The actor accepts the following input parameters:

- `keywords` (Array): List of product keywords to search for
- `maxItems` (Integer): Maximum number of products to scrape per keyword
- `proxyConfiguration` (Object): Optional proxy settings

#### Input Example

A full explanation of an input example in JSON.

```json
{
    "keywords": [
        "caps"
    ],
    "maxItems": 30
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```json
[
    {
        "keyword": "caps",
        "scrapedAt": "2025-02-05T02:21:48.592Z",
        "product": {
            "productRating": 0,
            "name": "India",
            "sku": "ICCBLCP0001",
            "is_new_product": false,
            "image": {
                "url": "https://images.fancode.com/media/catalog/product/i/n/india_blue_and_red_embroidered_cotton_baseball_cap_with_velcro_patch(1).jpg",
                "label": null
            },
            "product_group": "Caps",
            "media_gallery": [
                {
                    "url": "https://images.fancode.com/media/catalog/product/i/n/india_blue_and_red_embroidered_cotton_baseball_cap_with_velcro_patch(1).jpg",
                    "label": null
                },
                {
                    "url": "https://images.fancode.com/media/catalog/product/i/n/india_blue_and_red_embroidered_cotton_baseball_cap_with_velcro_patch(2).jpg",
                    "label": null
                },
                {
                    "url": "https://images.fancode.com/media/catalog/product/i/n/india_blue_and_red_embroidered_cotton_baseball_cap_with_velcro_patch(3).jpg",
                    "label": null
                },
                {
                    "url": "https://images.fancode.com/media/catalog/product/i/n/india_blue_and_red_embroidered_cotton_baseball_cap_with_velcro_patch(4).jpg",
                    "label": null
                },
                {
                    "url": "https://images.fancode.com/media/catalog/product/i/n/india_blue_and_red_embroidered_cotton_baseball_cap_with_velcro_patch(5).jpg",
                    "label": null
                },
                {
                    "url": "https://images.fancode.com/media/catalog/product/i/n/india_blue_and_red_embroidered_cotton_baseball_cap_with_velcro_patch(6).jpg",
                    "label": null
                }
            ],
            "price_range": {
                "minimum_price": {
                    "final_price": {
                        "value": 149
                    },
                    "regular_price": {
                        "value": 999
                    },
                    "discount": {
                        "amount_off": 0,
                        "percent_off": 85
                    }
                }
            },
            "short_description": {
                "html": "Blue and Red Embroidered Cotton Baseball Cap with Velcro Patch"
            },
            "stock_status": "IN_STOCK"
        }
    },
    ...
]
```

### Related Actors

- 🛍️ [Meesho Product Search Scraper](https://apify.com/easyapi/meesho-product-search-scraper) - Extract product listings with detailed information from Meesho search results
- 🛍️ [Meesho Product Detail Scraper](https://apify.com/easyapi/meesho-product-detail-scraper) - Scrape detailed product information from Meesho.com
- 🛍️ [Meesho Reviews Scraper](https://apify.com/easyapi/meesho-reviews-scraper) - Extract detailed product reviews and ratings from Meesho.com
- 🛍️ [Flipkart Product Scraper](https://apify.com/easyapi/flipkart-product-scraper) - Scrape product data from Flipkart search results
- 🛍️ [AJIO Product Scraper](https://apify.com/easyapi/ajio-product-scraper) - Extract detailed product information from AJIO's fashion marketplace
- 🛍️ [Myntra Product Scraper](https://apify.com/easyapi/myntra-product-scraper) - Extract detailed product information from Myntra's fashion marketplace
- 🛍️ [Zara Product Scraper](https://apify.com/easyapi/zara-product-scraper) - Extract detailed product information from Zara's online store
- 🛍️ [Tokopedia Product Scraper](https://apify.com/easyapi/tokopedia-product-scraper) - Scrape product data from Tokopedia search results
- 🛒 [Woolworths Product Scraper](https://apify.com/easyapi/woolworths-product-scraper) - Extract detailed product data from Woolworths Australia's online store
- 🛍️ [Weekday Product Scraper](https://apify.com/easyapi/weekday-product-scraper) - Extract product data from Weekday's online store
- 🛍️ [Hobby Lobby Products Scraper](https://apify.com/easyapi/hobby-lobby-products-scraper) - Scrape product data from Hobby Lobby's website
- 🛍️ [Lidl Product Scraper](https://apify.com/easyapi/lidl-product-scraper) - Scrape product data from Lidl's online store
- 🛍️ [Jumia Product Scraper](https://apify.com/easyapi/jumia-product-scraper) - Extract product listings from Jumia e-commerce platform
- 🛍️ [Nike Product Scraper](https://apify.com/easyapi/nike-product-scraper) - Extract product data from Nike.com search results
- 🛒 [Costco Product Search Scraper](https://apify.com/easyapi/costco-product-search-scraper) - Scrape product data from Costco.com search results

# Actor input Schema

## `keywords` (type: `array`):

List of keywords to search for products

## `maxItems` (type: `integer`):

Maximum number of products to scrape per keyword

## `proxyConfiguration` (type: `object`):

Proxy settings for the crawler

## Actor input object example

```json
{
  "keywords": [
    "caps"
  ],
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("easyapi/fancode-shop-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("easyapi/fancode-shop-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call easyapi/fancode-shop-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,easyapi/fancode-shop-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/dEhmCAKBKNMcCuhh0/builds/lavTohCGhLzb2ePoS/openapi.json
