# Fnac Search & Category Product Price Scraper (`nimbryxo-studio/fnac-search-and-category-product-price-scraper`) Actor

Search Fnac.com by keyword, browse its product categories, or refresh specific product pages to get prices, discounts, ratings and review counts.

- **URL**: https://apify.com/nimbryxo-studio/fnac-search-and-category-product-price-scraper.md
- **Developed by:** [Nimbryxo-studio](https://apify.com/nimbryxo-studio) (community)
- **Categories:** E-commerce, Automation, Lead generation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/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

## Fnac Search & Category Product Price Scraper

Fnac.com is France's long-running retailer for electronics, books, music, movies and gaming. This actor pulls live product data straight from Fnac's own pages — run a keyword search, walk through a product category, or feed it a list of product page links to refresh pricing on items you already track.

### What this actor does

- Searches fnac.com for any keyword and returns the matching product listings.
- Browses a fixed set of Fnac categories (video games, phones, computers, books, music, movies, photo, audio, TV, consoles), optionally narrowed by a keyword.
- Fetches full details for specific product URLs you supply, useful for price-change monitoring.
- Sorts results by relevance, price, rating or newest, depending on what the mode supports.
- Omits any field it could not find on the page, so every record only contains data that was actually present.

### Output per product

| Field | Description |
|---|---|
| `recordType` | Always `product`. |
| `productId` | Fnac's internal ID, or the EAN/GTIN/ISBN when that's what the page exposes. |
| `title` | Product name. |
| `brand` | Manufacturer or publisher. |
| `price` | Current selling price in EUR. |
| `originalPrice` | Pre-discount list price, when the page shows a strike-through price. |
| `discountPercent` | Percentage saved versus `originalPrice`, computed when both prices are present. |
| `rating` | Average customer rating, normalized to a 0–5 scale. |
| `reviewCount` | Number of customer reviews behind the rating. |
| `imageUrl` | Main product image. |
| `productUrl` | Direct link to the product page. |
| `category` | Category label, from the page or the category you browsed. |
| `searchKeyword` | The keyword you searched with (search and categoryBrowse modes). |
| `scrapedAt` | ISO 8601 timestamp of when the record was collected. |

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | String (select) | `search` | `search`, `productDetails`, or `categoryBrowse`. |
| `keyword` | String | `Nintendo Switch` | Search term for `search` mode; optional refinement for `categoryBrowse`. |
| `productUrls` | Array of strings | `[]` | Fnac product page URLs, used in `productDetails` mode. |
| `category` | String (select) | `jeux-video` | Category slug for `categoryBrowse` mode (see list below). |
| `sortBy` | String (select) | `relevance` | `relevance`, `price_asc`, `price_desc`, `rating`, or `new`. |
| `maxItems` | Integer | `20` | Maximum number of products to return (1–500). |

Category slugs: `jeux-video` (Video Games), `telephonie` (Mobile Phones), `informatique` (Computers), `livres` (Books), `musique` (Music), `cinema` (Movies & TV), `photo-camescope` (Photo & Video), `son` (Audio / Hi-Fi), `tv-home-cinema` (TV & Home Cinema), `console-jeux-video` (Gaming Consoles).

#### Example: search by keyword

```json
{
  "mode": "search",
  "keyword": "Nintendo Switch",
  "sortBy": "price_asc",
  "maxItems": 40
}
```

#### Example: refresh specific product pages

```json
{
  "mode": "productDetails",
  "productUrls": ["https://www.fnac.com/Nintendo-Switch-OLED/a15720870/w-4"],
  "maxItems": 5
}
```

#### Example: browse a category

```json
{
  "mode": "categoryBrowse",
  "category": "jeux-video",
  "keyword": "action",
  "sortBy": "rating",
  "maxItems": 50
}
```

### Use cases

- **Price monitoring** — re-run `productDetails` on a watch list of product URLs to catch price drops.
- **Catalogue research** — browse a category to see which titles Fnac currently ranks highest or lowest priced.
- **Market comparison** — pull Fnac pricing for a product line to compare against other French retailers.
- **Release tracking** — sort a category by `new` to spot recently listed games, gadgets or books.
- **Review analysis** — collect `rating` and `reviewCount` across a search to gauge customer reception.

### FAQ

**Do I need a Fnac account or API key?**
No. The actor reads the same public pages any shopper sees, no login required.

**What currency are prices in?**
Euros, since the actor targets the French site (fnac.com).

**Does this cover Fnac's stores in Belgium, Spain, Portugal or Switzerland?**
No, only fnac.com (France). Prices and stock on other Fnac country sites may differ.

**Why is a field like `originalPrice` or `rating` missing from some records?**
Fnac only shows a strike-through price when an item is discounted, and only shows a rating once it has reviews. The actor leaves those fields out rather than sending empty values.

**What does `categoryBrowse` return if I don't set a keyword?**
It falls back to a broad browse of that category instead of filtering.

**How many products can one run return?**
Up to `maxItems`, capped at 500 per run.

**Is this affiliated with Fnac?**
No. This is an independent tool and is not affiliated with, endorsed by, or sponsored by Fnac.

# Actor input Schema

## `mode` (type: `string`):

What to scrape.

## `keyword` (type: `string`):

Keyword to search for (mode=search or categoryBrowse).

## `productUrls` (type: `array`):

List of Fnac product page URLs.

## `category` (type: `string`):

Fnac category slug (e.g. jeux-video, telephonie, informatique, livres, musique, cinema).

## `sortBy` (type: `string`):

Sort order for results.

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

Maximum number of products to return.

## Actor input object example

```json
{
  "mode": "search",
  "keyword": "Nintendo Switch",
  "productUrls": [],
  "category": "jeux-video",
  "sortBy": "relevance",
  "maxItems": 20
}
```

# Actor output Schema

## `products` (type: `string`):

Dataset containing all scraped Fnac products.

# 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 = {
    "mode": "search",
    "keyword": "Nintendo Switch",
    "productUrls": [],
    "category": "jeux-video",
    "sortBy": "relevance",
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("nimbryxo-studio/fnac-search-and-category-product-price-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 = {
    "mode": "search",
    "keyword": "Nintendo Switch",
    "productUrls": [],
    "category": "jeux-video",
    "sortBy": "relevance",
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("nimbryxo-studio/fnac-search-and-category-product-price-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 '{
  "mode": "search",
  "keyword": "Nintendo Switch",
  "productUrls": [],
  "category": "jeux-video",
  "sortBy": "relevance",
  "maxItems": 20
}' |
apify call nimbryxo-studio/fnac-search-and-category-product-price-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nimbryxo-studio/fnac-search-and-category-product-price-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/SSBrX3QUDLrXMc5B1/builds/lPRwuXwn4Ab8rF3ug/openapi.json
