# Dafiti Listings Scraper (`piotrv1001/dafiti-listings-scraper`) Actor

The Dafiti Listings Scraper extracts products from Dafiti (dafiti.com.br) — capturing names, brands, prices, original prices, discounts, installments, colors, SKUs, sellers, images, categories, and availability — ideal for price monitoring, competitor analysis, and ecommerce market research.

- **URL**: https://apify.com/piotrv1001/dafiti-listings-scraper.md
- **Developed by:** [FalconScrape](https://apify.com/piotrv1001) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 product listings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

### 🛍️ Dafiti Listings Scraper

Easily extract product listings from **[Dafiti](https://www.dafiti.com.br/)**, Brazil's leading online fashion and lifestyle marketplace. The **Dafiti Listings Scraper** turns any category or search page into clean, structured product data — names, brands, prices, discounts, and images — ready for price monitoring, market research, and competitive analysis.

Run it on the **Apify platform** to get scheduling, a full **API**, ready-made **integrations** (Google Sheets, Make, Zapier, webhooks), automatic proxy rotation, and run monitoring out of the box.

### ✨ Features

- 🏷️ **Comprehensive product data** — product name, brand, current price, original price, discount, installments, image, color, seller, SKU, and product URL.
- 🔍 **Category & search extraction** — paste any Dafiti category or search result URL and the scraper paginates through it automatically.
- 🔎 **Optional full product details** — flip on **Scrape full product details** to also collect every product image, the full description, the complete category path, and stock availability.
- ⚡ **Fast & reliable** — built for Brazil's market with automatic retries, so your runs finish cleanly.
- 📦 **Structured output** — download results as **JSON, CSV, Excel, or HTML**, or pull them straight from the API.

### 🛠️ How to use the Dafiti Listings Scraper

1. **Add category or search URLs** — paste one or more Dafiti listing URLs (for example `https://www.dafiti.com.br/roupas-femininas/`).
2. **Set a limit** — choose how many products to collect with **Max items** (default 50).
3. **(Optional) Enable full details** — turn on **Scrape full product details** for richer per-product data.
4. **Run the Actor** — click **Start** and watch results stream into the dataset in real time.
5. **Export** — download the data in your preferred format or connect it to your tools via the API.

### 📥 Input

| Field                | Type    | Description                                                            |
| -------------------- | ------- | ---------------------------------------------------------------------- |
| `startUrls`          | array   | Dafiti category or search page URLs to scrape.                         |
| `maxItems`           | integer | Maximum number of products to collect (default `50`, `0` = no limit).  |
| `scrapeDetails`      | boolean | Visit each product page for full details (off by default).             |
| `proxyConfiguration` | object  | Proxy settings (Brazilian residential proxies are used automatically). |

Example input:

```json
{
    "startUrls": [{ "url": "https://www.dafiti.com.br/roupas-femininas/" }],
    "maxItems": 50,
    "scrapeDetails": false
}
````

### 📊 Sample output data

Each product is saved as a structured JSON record. Example (listing mode):

```json
[
    {
        "url": "https://www.dafiti.com.br/Calca-Sarja-Sawary-Bootcut-Lisa-Preta-11226411.html",
        "productId": "11226411",
        "sku": "SA927APF88TDB",
        "name": "Calça Sarja Sawary Bootcut Lisa Preta",
        "brand": "Sawary",
        "price": 124.99,
        "originalPrice": 169.99,
        "currency": "BRL",
        "discount": "-26%",
        "installment": "R$ 132,97 em até 2x no cartão",
        "image": "https://static.dafiti.com.br/p/sawary-calca-sarja-sawary-bootcut-lisa-preta-5248-11462211-still-product.jpg",
        "color": "Preto",
        "seller": "Dafiti"
    }
]
```

With **Scrape full product details** enabled, each record additionally includes `availability`, a full `images` array, `breadcrumbs`, the joined `category` path, and `description`.

### 🧾 Output data fields

| Field           | Description                             |
| --------------- | --------------------------------------- |
| `name`          | Product title                           |
| `brand`         | Brand name                              |
| `price`         | Current selling price                   |
| `originalPrice` | Price before discount                   |
| `currency`      | Currency code (BRL)                     |
| `discount`      | Discount badge (e.g. `-26%`)            |
| `installment`   | Installment plan text                   |
| `color`         | Product color                           |
| `seller`        | Seller / store name                     |
| `sku`           | Product SKU                             |
| `productId`     | Numeric product ID                      |
| `image`         | Main product image URL                  |
| `url`           | Product page URL                        |
| `availability`  | Stock status — *details mode*           |
| `images`        | All product image URLs — *details mode* |
| `category`      | Full category path — *details mode*     |
| `description`   | Product description — *details mode*    |

### 💰 How much does it cost to scrape Dafiti?

This Actor uses a **pay-per-result** model, so you only pay for the data you collect — there is **no fixed run fee**.

| Event                               | Price                  |
| ----------------------------------- | ---------------------- |
| Product from a listing page         | **$0.004** per product |
| Full product details (when enabled) | **$0.008** per product |

For example, scraping **1,000 products** from listing pages costs about **$4**, while collecting **1,000 full product detail pages** costs about **$8**. New Apify accounts include monthly free usage credits, so you can try it at no cost. Use **Max items** to cap spend on any run.

### 💡 Tips

- Leave **Scrape full product details** off for fast, low-cost catalog sweeps; turn it on only when you need every image, the description, and availability.
- Add several category URLs in one run to compare brands, prices, or discounts across departments.
- **Schedule** the Actor to track price changes and new arrivals over time.
- Set a sensible **Max items** to control both runtime and cost.

### ❓ FAQ

**Is scraping Dafiti legal?**
This Actor collects only publicly available product information. You are responsible for using the data in compliance with Dafiti's Terms of Service, applicable laws, and regulations such as the LGPD/GDPR. It does not collect personal data.

**Which Dafiti pages are supported?**
Category pages and search result pages. You can also paste an individual product page URL to scrape a single product.

**Can I get all images and descriptions?**
Yes — enable **Scrape full product details**.

**The run returned fewer items than expected.**
A category may simply contain fewer products than your **Max items** limit, or the limit was reached. Increase **Max items** or add more start URLs.

### 🆘 Support

Found a bug or need a new field? Open an issue on the Actor's **Issues** tab. Custom scraping solutions are available on request.

Start tracking Brazil's fashion market with the **Dafiti Listings Scraper** today! 🚀

# Actor input Schema

## `startUrls` (type: `array`):

Dafiti category or search result page URLs to scrape products from. The scraper paginates through each one automatically.

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

Maximum number of products to scrape across all start URLs. Set to 0 for no limit.

## `scrapeDetails` (type: `boolean`):

Visit each product page to collect richer data (all images, description, full category path, availability). Slower and more expensive — leave off to scrape products straight from listing pages.

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

Proxy settings used to reach the target site. Brazilian residential proxies are used automatically and are required for the Actor to work.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.dafiti.com.br/roupas-femininas/"
    }
  ],
  "maxItems": 50,
  "scrapeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "BR"
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "startUrls": [
        {
            "url": "https://www.dafiti.com.br/roupas-femininas/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/dafiti-listings-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 = { "startUrls": [{ "url": "https://www.dafiti.com.br/roupas-femininas/" }] }

# Run the Actor and wait for it to finish
run = client.actor("piotrv1001/dafiti-listings-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://www.dafiti.com.br/roupas-femininas/"
    }
  ]
}' |
apify call piotrv1001/dafiti-listings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=piotrv1001/dafiti-listings-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Dafiti Listings Scraper",
        "description": "The Dafiti Listings Scraper extracts products from Dafiti (dafiti.com.br) — capturing names, brands, prices, original prices, discounts, installments, colors, SKUs, sellers, images, categories, and availability — ideal for price monitoring, competitor analysis, and ecommerce market research.",
        "version": "0.0",
        "x-build-id": "x6vqo7sDKgQ2GefMb"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/piotrv1001~dafiti-listings-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-piotrv1001-dafiti-listings-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/piotrv1001~dafiti-listings-scraper/runs": {
            "post": {
                "operationId": "runs-sync-piotrv1001-dafiti-listings-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/piotrv1001~dafiti-listings-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-piotrv1001-dafiti-listings-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "startUrls"
                ],
                "properties": {
                    "startUrls": {
                        "title": "Category or search URLs",
                        "type": "array",
                        "description": "Dafiti category or search result page URLs to scrape products from. The scraper paginates through each one automatically.",
                        "default": [
                            {
                                "url": "https://www.dafiti.com.br/roupas-femininas/"
                            }
                        ],
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "maxItems": {
                        "title": "Max items",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum number of products to scrape across all start URLs. Set to 0 for no limit.",
                        "default": 50
                    },
                    "scrapeDetails": {
                        "title": "Scrape full product details",
                        "type": "boolean",
                        "description": "Visit each product page to collect richer data (all images, description, full category path, availability). Slower and more expensive — leave off to scrape products straight from listing pages.",
                        "default": false
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Proxy settings used to reach the target site. Brazilian residential proxies are used automatically and are required for the Actor to work.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ],
                            "apifyProxyCountry": "BR"
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
