# Biffi Scraper — Luxury Fashion Products & Style Codes (`studio-amba/biffi-scraper`) Actor

Scrape luxury fashion products, prices, sizes, stock, and manufacturer style codes from Biffi.com, the Italian multi-brand designer boutique. Supports full-catalog scraping via Shopify's JSON API.

- **URL**: https://apify.com/studio-amba/biffi-scraper.md
- **Developed by:** [Studio Amba](https://apify.com/studio-amba) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 result scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## Biffi Scraper

Scrape the full product catalog of [Biffi.com](https://www.biffi.com) — the Italian multi-brand luxury boutique carrying Veja, Timberland, Polo Ralph Lauren, Birkenstock, and dozens of other designer and premium labels. No cookies or login required.

### Why use this actor?

Biffi's storefront doesn't publish a machine-readable feed, but the underlying Shopify platform exposes a public `products.json` endpoint with every product, variant, price, and stock level. This actor pulls that feed and does the work a raw JSON dump never does: it extracts the manufacturer's own style code from the variant SKU, normalizes it, and structures the catalog into a clean, joinable dataset.

Luxury fashion has no EAN/barcode standard across retailers — the manufacturer style code (the same code on the garment's hangtag) is the only reliable way to match the same physical product across different shops. This actor surfaces that code directly.

### Features

- **Full-catalog scraping** — pages through `products.json` until the feed is exhausted
- **Manufacturer style-code extraction by regex boundary** — Biffi's variant SKU is `<code><colour>-<size>` (e.g. `CP0501215BLACK-41`). The actor strips everything after the LAST hyphen (the trailing size token) rather than assuming a fixed code length — real stripped lengths vary from roughly 10 to 22+ characters depending on the brand and colour-name length, and every record carries `styleCodeLength` + `styleCodeIsFull` so downstream joins never assume a fixed shape
- **Per-size stock ladder** — every size with its own SKU, price, and stock status
- **Nullable 3-state availability** — `inStock` / `outOfStock` / `null` when the signal is genuinely unknown, never silently coerced to false
- **Fast, API-based** — no HTML parsing, no browser, no anti-bot fight
- **Residential proxy by default** — Shopify rate-limits Apify's shared datacenter IPs; this actor defaults to residential proxy to run reliably

### Input

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `maxResults` | Integer | No | Maximum number of products to return (default: 500) |
| `proxyConfiguration` | Object | No | Proxy settings. Defaults to Apify Residential (Italy) — required for reliable runs, see Limitations |

Leave the input empty (`{}`) to pull a 500-product slice using the defaults above.

### Output

Each result contains:

| Field | Type | Example |
|-------|------|---------|
| `brand` | String | `"Veja"` |
| `productName` | String | `"CAMPO SNEAKERS"` |
| `styleCode` | String | null | `"CP0501215BLACK"` |
| `styleCodeRaw` | String | null | `"CP0501215BLACK"` |
| `styleCodeLength` | Integer | null | `14` |
| `styleCodeIsFull` | Boolean | `true` |
| `price` | Number | null | `140` |
| `currency` | String | `"EUR"` |
| `availability` | String | null | `"inStock"` |
| `sizes` | Array | Per-size stock ladder: `{size, sku, price, inStock}` |
| `composition` | String | null | Material composition, where the product description states it |
| `countryOfOrigin` | String | null | Manufacturing country, where the product description states it |
| `imageUrl` | String | null | Primary product image URL |
| `productUrl` | String | Full product page URL |
| `isPreOwned` | Boolean | Always `false` — Biffi sells new goods only |
| `source` | String | `"biffi.com"` |
| `scrapedAt` | String | ISO 8601 timestamp |

### Example output

```json
{
    "brand": "Veja",
    "productName": "CAMPO SNEAKERS",
    "styleCode": "CP0501215BLACK",
    "styleCodeRaw": "CP0501215BLACK",
    "styleCodeLength": 14,
    "styleCodeIsFull": true,
    "price": 140,
    "currency": "EUR",
    "availability": "inStock",
    "sizes": [
        {"size": "41", "sku": "CP0501215BLACK-41", "price": 140, "inStock": true},
        {"size": "42", "sku": "CP0501215BLACK-42", "price": 140, "inStock": true},
        {"size": "43", "sku": "CP0501215BLACK-43", "price": 140, "inStock": true},
        {"size": "44", "sku": "CP0501215BLACK-44", "price": 140, "inStock": true},
        {"size": "45", "sku": "CP0501215BLACK-45", "price": 140, "inStock": true}
    ],
    "composition": null,
    "countryOfOrigin": null,
    "imageUrl": "https://cdn.shopify.com/s/files/1/0950/3745/6723/files/FW26---Veja---CP0501215BLACK_1-P0.jpg",
    "productUrl": "https://www.biffi.com/products/campo-sneakers-cp0501215-black",
    "isPreOwned": false,
    "source": "biffi.com",
    "scrapedAt": "2026-07-31T09:58:19.670Z"
}
```

### Cost estimate

This actor scrapes roughly 250 products per request against Shopify's native JSON API — no HTML parsing, no browser. A full catalog scrape (~4,500-5,000 products) uses well under 0.1 compute units and completes in under a minute.

### How to scrape Biffi data

1. Go to this actor's page on the [Apify Store](https://apify.com/store).
2. Click **Try for free** to open it in Apify Console.
3. Set `maxResults` (leave the default for a quick sample, or raise it to pull the full catalog), and leave the proxy settings on their default.
4. Click **Start** and wait for the run to finish — a full catalog run typically finishes in under a minute.
5. Download your data in JSON, CSV, Excel, or connect it to your workflow via API.

You can also schedule regular runs to track price and stock changes over time, set up webhooks for real-time notifications, or integrate the results directly into your application using the [Apify API](https://docs.apify.com/api).

### How it works

Biffi, like many designer boutiques, runs on Shopify. The actor pages through `products.json?limit=250&page=N` until an empty page signals the end of the catalog. For the style code, it takes the first variant's SKU (e.g. `CP0501215BLACK-41`) and strips everything from the last hyphen onward — that hyphen always separates the manufacturer's own code+colourway from the trailing size token. This is a boundary strip, not a fixed-length slice: `styleCodeLength` is computed per record so nothing downstream has to assume a length that doesn't hold across brands.

### Limitations

- Shopify's products.json endpoint hard-caps at 250 items per page regardless of a higher `limit=` parameter — the actor accounts for this and paginates accordingly.
- Shopify rate-limits repeated requests from the same IP (observed live: 429s on Apify's shared datacenter proxy pool, even though Biffi itself has no anti-bot protection). The actor retries with exponential backoff and defaults to residential proxy to avoid this.
- `composition` and `countryOfOrigin` are best-effort, extracted from free-text product descriptions. Biffi's feed has no structured field for either, so coverage is genuinely low (roughly 1-5% for composition, ~25-30% for country in observed runs) — this reflects what Biffi actually publishes, not an extraction gap. Use `styleCode` to enrich these fields from another source if needed.
- Data is scraped from the public feed and may change without notice; prices and stock reflect the moment of the run.

### Related scrapers

Studio AMBA runs a wider fleet of European fashion and marketplace scrapers, including [Antonioli Scraper](https://apify.com/studio-amba/antonioli-scraper) and [Nugnes1920 Scraper](https://apify.com/studio-amba/nugnes-scraper) — two more Italian multi-brand luxury boutiques with the same normalized style-code output, so results join cleanly across all three.

# Actor input Schema

## `maxResults` (type: `integer`):

Maximum number of products to return. Leave at the default to pull a representative slice; raise it (up to ~4,500) for a full-catalog run.

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

Biffi has no WAF/anti-bot, but Shopify rate-limits Apify's shared datacenter proxy pool by IP (verified live: consistent 429s on both no-proxy and default datacenter proxy). Residential proxy is required for reliable runs.

## Actor input object example

```json
{
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "IT"
  }
}
```

# 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 = {
    "maxResults": 20,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "IT"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("studio-amba/biffi-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 = {
    "maxResults": 20,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "IT",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("studio-amba/biffi-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 '{
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "IT"
  }
}' |
apify call studio-amba/biffi-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

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