# Indigo Scraper - Books, Gifts, Toys, Prices & Stock (CA) (`abotapi/indigo-ca-scraper`) Actor

Scrape Indigo (indigo.ca) products: prices, compare-at prices, availability, stock, formats and editions, authors, ISBNs, series, publisher, page counts, categories, ratings, review counts and image galleries. Search by keyword or collection, or paste product, collection, search and sitemap links.

- **URL**: https://apify.com/abotapi/indigo-ca-scraper.md
- **Developed by:** [Abot API](https://apify.com/abotapi) (community)
- **Categories:** Automation, Developer tools, E-commerce
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 result rows

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/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

## Indigo Scraper: Books, Gifts, Toys, Prices & Stock (Canada)

Indigo Scraper turns indigo.ca, the Canadian bookstore and lifestyle retailer, into structured product data. Search by keyword or collection, or paste a product, collection or search link, and get current and compare-at prices, availability and stock counts, every format and edition, authors, ISBNs, series, publisher, page counts, categories, ratings, review counts and full image galleries. Export to JSON, CSV or Excel, or pull results straight into your app through the API.

### Why This Scraper?

- **Every way into the catalogue.** Keyword searches with format, language, price, rating, stock and sale filters, any other filter the site offers, whole collections, single product pages in any link form and legacy product addresses, each read to its natural end or to the cap you set.
- **Book data that is actually structured.** ISBN-13 and ISBN-10, UPC, authors and illustrators with contributor IDs, publisher and imprint, language, page count, release date, series name, ID and position, and the format of each edition.
- **Prices and stock together.** The current price, the compare-at price when a product is reduced, the availability state, the number of units available, the stock policy and the codes of the stores that have it on the shelf.
- **Other formats in one row.** Hardcover, paperback, eBook and audiobook editions of the same title come as one product with each other format's ID, ISBN, price and availability listed beside it.
- **Categories and collections.** The product type, category and section names, browse category IDs and every collection the product belongs to.
- **Ratings and reviews.** Average rating and review count for every rated product, plus the full image gallery, tags and publish date.
- **Built for monitoring.** Incremental mode returns only new, changed, reappeared and expired products on repeat runs, with a price and availability only view for price trackers.

### Use Cases

- **Price monitoring:** follow compare-at and sale prices of books, gifts and toys on a schedule and get only the products that changed.
- **Stock tracking:** watch which titles go out of stock or come back, and in how many stores they are on the shelf.
- **Catalogue enrichment:** add ISBNs, authors, series, publishers, page counts and categories to your own book list.
- **Market research:** compare formats, prices and ratings across a series, an author or a whole collection.
- **Library and reseller sourcing:** find titles by language, format or price band and export them with their ISBNs.

### Data You Get

> Sample shape: values are illustrative placeholders, not from a live record.

| Field | Example |
| --- | --- |
| `kind` / `productId` / `variantId` / `handle` | `"product"` / `"0000000000000"` / `"00000000000000"` / `"sample-book-title"` |
| `title` / `url` | `"Sample Book Title"` / the product page address |
| `format` / `otherFormats` / `formatsCount` | `"Hardcover"` / the other editions with their own ID, SKU, ISBN, price and availability / `2` |
| `authors` / `illustrators` / `contributorIds` | `["Jane Doe"]` / `["Jane Doe"]` / `["000000000"]` |
| `isbn13` / `isbn10` / `upc` / `sku` | `"0000000000000"` / `"0000000000"` / `"0000000000000"` / `"0000000000000"` |
| `price` / `compareAtPrice` / `currency` | `24.99` / `29.99` / `"CAD"` |
| `availability` / `availableForSale` / `inventoryATS` / `inventoryPolicy` | `"InStock"` / `true` / `120` / `"DENY"` |
| `availableInStores` / `storesInStockCount` | the store codes with stock / `85` |
| `variantPromotion` | promotion texts attached to the product, for example `["Sample promotion"]` |
| `publisher` / `imprint` / `language` | `"Sample Publisher"` / `"Sample Imprint"` / `"English"` |
| `pageCount` / `releaseDate` / `creationDate` | `320` / `"2026-01-01"` / `"2026-01-01T00:00:00Z"` |
| `seriesId` / `seriesName` / `seriesPosition` | `"SERIES_0"` / `"Sample Series"` / `1` |
| `productType` / `brand` | `"Book"` / the brand where the site lists one |
| `merchCategoryId` / `merchCategoryDesc` / `layoutModuleDesc` | `"P00000"` / `"FICTION"` / `"Fiction"` |
| `browseCategoryIds` / `collections` | `["0000000"]` / `[{"id": "books", "name": "Books"}]` |
| `featured` / `subtype` / `genre` | `["Canadian"]` / the product subtype for gifts and toys / the music genre where listed |
| `translators` / `editors` | `["Jane Doe"]` / `["Jane Doe"]` where the title lists them |
| `colour` / `colourFamily` / `size` | the colour, colour family and size where the product has them |
| `adultOnly` / `largePrint` / `returnable` | `false` / `false` / `true` |
| `imageUrl` / `images` | the cover image / the full gallery |
| `description` / `tags` / `publishedAt` | plain text / `["BOOK"]` / `"2026-01-01T00:00:00-05:00"` |
| `rating` / `reviewCount` | `4.5` / `120` |
| `query` / `rank` / `source` / `scrapedAt` | the keyword, collection or link that found the row / its position / `"search"`, `"collection"` or `"product"` / when it was read |
| `changeType` / `changedFields` / `firstSeenAt` / `lastSeenAt` | incremental mode only: `"NEW"`, `"UPDATED"`, `"UNCHANGED"`, `"REAPPEARED"` or `"EXPIRED"`, the fields that changed, and when the product was first and last seen |

The gallery, tags, publish date and review count come from each product's own record and page: on keyword and collection runs they need **Fetch product details**; rows from pasted product links carry them whenever the product's record and page can be read (a pasted product whose page cannot be read ships without them and, in incremental mode, is held back for the next run). Products without a rating have a review count of `0` and need no page read. The site does not publish a compare-at price on every product, so `compareAtPrice` is empty unless the product is reduced. Gift and toy products carry no ISBN, author or page count; those fields are empty for them.

**Output views.** The dataset has four views in the Console: **Results** (the headline fields), **Product details** (every field), **Other formats** (one row per other format of each product) and **Changes (incremental)**. Each view has its own link on the run's Output tab.

### How to Use

1. Keep the default **search** mode and add keywords or collections, or switch to **url** mode and paste product, collection or search links.
2. Narrow with formats, languages, a price range, a minimum rating, in-stock or sale only, or any site filter, and choose a sort order.
3. Keep **Fetch product details** on for the richest rows, or turn it off for a cheaper listing-level pull.
4. Set **Max items** to control run size and cost, then click **Start**.

**Quick keyword search:**

```json
{
  "mode": "search",
  "searchTerms": ["harry potter"],
  "maxItems": 20
}
```

**Hardcover editions under a price, cheapest first:**

```json
{
  "mode": "search",
  "searchTerms": ["cookbook"],
  "formats": ["Hardcover"],
  "maxPrice": 30,
  "sortBy": "price_low",
  "onlyInStock": true,
  "maxItems": 50
}
```

**A whole collection plus a few pasted products:**

```json
{
  "mode": "url",
  "urls": [
    "https://www.indigo.ca/collections/books",
    "https://www.indigo.ca/products/sample-book-title"
  ],
  "maxItemsPerSearch": 100,
  "maxItems": 150
}
```

#### Pasted links

- **Product pages**: the page address, a link with a variant or tracking parameters, the `/en-ca/` and `/fr/` prefixes, and old chapters.indigo.ca product addresses (found by their ISBN). Each returns one complete product row.
- **Collection pages** such as `/collections/books`, with their `sort_by` and `page` parameters. A link at `page=N` starts at that page. The home page of the mobile and legacy hosts reads the whole catalogue.
- **Search pages** such as `/search?q=harry+potter`, and the older `?keywords=` form.
- **Filters in a link** written as `filters[name]=value` are applied to that link's walk.
- Sitemaps, robots.txt and other files (including a product's `.js` or `.json` form), the store locator and store pages, cart, account, policy and content pages, service addresses and other sites are skipped with a neutral note in the log, before any request, and a run given only such links fails at once.

#### Caps and pagination

**Max items** stops the whole run once that many rows have been returned (`0` = no cap). **Max items per keyword or link** caps each one on its own, so one large collection cannot use up the whole run. **Max pages** limits how many result pages each keyword or link walks (100 products per page); it has no default and does not cap the run on its own, Max items does. The site lists at most 10,000 products for one query, so a very large collection needs filters to be read in parts.

#### Resume and recurring updates

- **Resume** (`resumeFromRunId`) skips products already collected by an earlier run: paste its run or dataset ID and those products are neither returned nor charged again.
- **Incremental mode** (`incrementalMode`) is for scheduled runs over the same search or link. Each product is classified `NEW`, `UPDATED` (with `changedFields`), `UNCHANGED` (left out and not billed unless `emitUnchanged` is on), `REAPPEARED`, or `EXPIRED` (only after a complete scan, and only when the product's own page confirms it is gone, with `emitExpired` on). The rating, review count, stock count and store availability never count as a change by default (see `ignoreFieldsForChanges`). `changeScope: "priceAndStock"` compares only price, compare-at price, availability, the sellable flag, promotions and each other format's price and availability, and `compactUpdates` returns slim UPDATED rows with only what moved.

#### Alerts

Fill in a Slack incoming webhook, a Discord channel webhook or a Telegram bot token with a chat ID, and the actor posts one short summary when the run finishes: the number of rows (and, in incremental mode, how many are new, updated, reappeared or expired) followed by the first few rows. Turn on `notifyOnlyChanges` with Incremental mode to be told only when something changed. Leave every field empty to skip; an alert that cannot be delivered never affects the run.

### Send results into your apps (MCP connectors)

Optionally pipe the scraped results into the apps you already use, via Model Context Protocol (MCP) connectors. This is an extra delivery step **after** the scrape: the Apify dataset is never changed.

**What gets written to the connector:** a condensed, human-readable **summary** of each record, not the full JSON. Each item becomes one entry with a **title** and its key fields flattened to plain text. The **complete record always stays in the Apify dataset**.

1. Authorize a connector once under **Apify, Settings, Integrations** (Notion, Linear, Airtable, or Apify).
2. Select it in the **"Pipe results into your apps"** input field (`mcpConnectors`). (If the picker is empty, you haven't authorized a connector yet.)
3. For **Notion**, also set `notionParentPageUrl` to the page where items should be created.
4. Optionally set `maxNotifyListings` to cap how many items are written to each connector per run (default 50).

The connection is mediated by Apify's MCP proxy, so this actor never sees your third-party credentials. Leave the field empty to skip.

### Input Parameters

| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `mode` | string | `search` | `search` (keywords and collections) or `url` (pasted links). |
| `searchTerms` | array | `harry potter` | Search mode: keywords, titles, authors or ISBNs to search, each read separately. |
| `collections` | array | (none) | Search mode: collection names such as `books` or `toys`, each walked separately. |
| `sortBy` | string | `relevance` | `relevance`, `price_low`, `price_high`, `top_rated`, `newest` or `release_date`. |
| `formats` | array | (none) | Keep only these formats, for example `Hardcover` or `Paperback`. |
| `languages` | array | (none) | Keep only these languages, for example `English` or `French`. |
| `minPrice` | integer | (none) | Lowest price kept, in Canadian dollars. |
| `maxPrice` | integer | (none) | Highest price kept, in Canadian dollars. |
| `minRating` | number | (none) | Only products rated at least this many stars; unrated products are left out. |
| `onlyInStock` | boolean | `false` | Only products that can currently be bought online. |
| `onlyOnSale` | boolean | `false` | Only products that show a reduced price. |
| `facetFilters` | array | (none) | Extra site filters as `filter=value`, for example `Age=6-8 Years` (search mode only). |
| `urls` | array | one link per supported link form | URL mode: product, collection and search links on indigo.ca, see Pasted links above. Other pages and files are skipped. |
| `fetchDetails` | boolean | `true` | Keyword and collection rows: add the image gallery, tags, publish date, sellable flag and review count (charged per enriched row). |
| `maxPages` | integer | (none) | Optional page limit per keyword or link; does not cap the run, Max items does. |
| `maxItems` | integer | `20` | Cap on the whole run; `0` = no cap. |
| `maxItemsPerSearch` | integer | `0` | Cap per keyword, collection or pasted link; `0` = no per-keyword cap. |
| `proxy` | object | Apify Proxy, Residential, Canada | Apify Proxy settings, or your own proxy URLs. |
| `resumeFromRunId` | string | (none) | Run or dataset ID whose products are skipped. |
| `incrementalMode` | boolean | `false` | Return only new, changed and reappeared products on repeat runs. |
| `stateKey` | string | (auto) | Name or share the incremental state. |
| `changeScope` | string | `all` | `all` or `priceAndStock`. |
| `compactUpdates` | boolean | `false` | Slim UPDATED rows with only what moved. |
| `expireAfterMissedScans` | integer | `1` | Complete scans a product must be missing before EXPIRED. |
| `emitUnchanged` | boolean | `false` | Also return UNCHANGED rows (billed as rows). |
| `emitExpired` | boolean | `false` | Also return EXPIRED rows after a complete scan (billed as rows). |
| `ignoreFieldsForChanges` | array | rating, review count, stock count, store availability | Fields that never count as a change; remove names to be told about them. |
| `mcpConnectors` | array | (none) | Optional MCP connectors to send results into, see above. |
| `notionParentPageUrl` | string | (none) | Notion page that receives the items (Notion connector only). |
| `maxNotifyListings` | integer | `50` | Cap on items written to each connector per run. |
| `notifyOnlyChanges` | boolean | `false` | Send the alert only when something changed (needs Incremental changes). |
| `notificationLimit` | integer | `5` | Product rows listed in an alert. |
| `slackWebhookUrl` | string | (none) | Optional Slack incoming webhook for the run summary. |
| `discordWebhookUrl` | string | (none) | Optional Discord channel webhook for the run summary. |
| `telegramBotToken` | string | (none) | Optional Telegram bot token for the run summary. |
| `telegramChatId` | string | (none) | Telegram chat ID that receives the summary. |

### Output Example

> Sample shape: values are illustrative placeholders, not from a live record.

```json
{
  "kind": "product",
  "productId": "0000000000000",
  "variantId": "00000000000000",
  "handle": "sample-book-title",
  "url": "https://example.com/products/sample-book-title",
  "title": "Sample Book Title",
  "format": "Hardcover",
  "authors": ["Jane Doe"],
  "illustrators": [],
  "contributorIds": ["000000000"],
  "isbn13": "0000000000000",
  "isbn10": "0000000000",
  "upc": "0000000000000",
  "sku": "0000000000000",
  "price": 24.99,
  "compareAtPrice": 29.99,
  "currency": "CAD",
  "availability": "InStock",
  "availableForSale": true,
  "inventoryATS": 120,
  "inventoryPolicy": "DENY",
  "availableInStores": ["0000", "0001"],
  "storesInStockCount": 2,
  "variantPromotion": [],
  "publisher": "Sample Publisher",
  "imprint": "Sample Imprint",
  "language": "English",
  "pageCount": 320,
  "releaseDate": "2026-01-01",
  "creationDate": "2026-01-01T00:00:00Z",
  "seriesId": "SERIES_0",
  "seriesName": "Sample Series",
  "seriesPosition": 1,
  "productType": "Book",
  "brand": null,
  "merchCategoryId": "P00000",
  "merchCategoryDesc": "FICTION",
  "layoutModuleDesc": "Fiction",
  "browseCategoryIds": ["0000000"],
  "collections": [{"id": "books", "name": "Books"}],
  "featured": ["Canadian"],
  "translators": [],
  "editors": [],
  "subtype": null,
  "genre": [],
  "colour": [],
  "colourFamily": [],
  "size": [],
  "adultOnly": false,
  "largePrint": false,
  "returnable": true,
  "imageUrl": "https://example.com/images/sample.jpg",
  "description": "A short sample description.",
  "rating": 4.5,
  "reviewCount": 120,
  "otherFormats": [{"variantId": "00000000000001", "sku": "0000000000001", "format": "Paperback", "isbn13": "0000000000001", "price": 14.99, "compareAtPrice": null, "availability": "InStock", "inventoryATS": 40}],
  "formatsCount": 2,
  "images": ["https://example.com/images/sample-1.jpg"],
  "tags": ["BOOK"],
  "publishedAt": "2026-01-01T00:00:00-05:00",
  "query": "sample",
  "rank": 1,
  "source": "search",
  "scrapedAt": "2026-01-20T08:00:00+00:00"
}
```

### Plan Requirement

Pay per event: one unit per returned product row, plus an actor start event, plus a detail-enrichment unit for each keyword or collection row actually enriched with its full product record and, for a rated product, its review count. Each unit is charged per row, as the row is delivered, and a row that is never delivered is never charged. A row whose product details could not be read still ships with its listing fields, without the detail-enrichment unit. Rows read from a pasted product link, including a legacy chapters.indigo.ca product address, carry the full record and are never charged a detail-enrichment unit. Use **Max items** to bound a run, and set a maximum cost per run in the run options if you want a hard ceiling.

Search and collection results are read from the shop's public product listing directly, without a proxy, and use your connection only if that read fails (with your own proxy URLs, every read uses them). Product records, product pages and pasted product links go through the connection you choose; the default is Apify Proxy **Residential** (Canada), the tier that served every product page in testing, while the datacenter tier was refused on a share of requests. Proxy traffic is billed to your own Apify plan, and you can supply your own proxy URLs instead. Apify free plans do not include residential proxies: on a free plan the product reads continue on a backup connection with a notice in the log, some product details may be unavailable, and the run never uses a residential connection it was not granted. If the default connection is refused part-way through a run, the actor steps to another connection on its own, within fixed request and traffic limits.

### FAQ

#### How much does it cost?

You pay per row returned, plus one detail-enrichment unit per keyword or collection row enriched with its full product record (on by default; turn `fetchDetails` off for listing-only rows). The **Pricing** tab shows the current rates. Use **Max items** to set the size of a run.

#### Is it legal to scrape indigo.ca?

This actor collects only publicly available product data that Indigo shows on its own pages. You are responsible for how you use it: follow Indigo's terms and the laws that apply to you, and get legal advice if you plan commercial redistribution of the data.

#### Can I get only new or changed products on a schedule?

Yes. Schedule the actor from the **Schedules** tab and turn on **Incremental mode**. Each run then returns only new, updated and reappeared products; unchanged ones are not billed unless you turn `emitUnchanged` on. Use `changeScope: "priceAndStock"` to be told only about price and availability moves.

#### Why does a search return fewer products than the site shows?

The site lists at most 10,000 products for one query, and one product groups its formats into a single entry, so a search lists titles, not individual editions; the `otherFormats` field holds the other formats. Filters you set (formats, languages, price, rating, in stock, sale only) narrow the same results.

#### Why is `reviewCount` or `images` empty?

Those fields come from each product's own record, so on keyword and collection runs they need **Fetch product details**. A product with no rating has a review count of `0`.

#### Why did a run fail or return nothing?

A run fails, rather than returning an empty result, when none of its searches or links could be read. That is a connection problem, not an empty search: try again later or check the connection setting. A run with no matches finishes with a status message saying so.

#### Can I use it with AI agents?

Yes. The dataset is plain JSON, so you can call the actor from any agent framework through the Apify API or the Apify MCP server, or send results into Notion, Linear or Airtable with the MCP connectors above.

### 🔗 Want more e-commerce data?

Pair this actor with these related scrapers from the same team:

<table>
<tr><td>🛒 <a href="https://apify.com/abotapi/thalia-de-scraper"><b>Thalia.de Scraper</b></a><br>Scrape Thalia.de books, eBooks, audiobooks, toys and stationery. Search by keyword or...</td><td>🛒 <a href="https://apify.com/abotapi/canadian-tire-scraper"><b>Canadian Tire Scraper</b></a><br>Scrape Canadian Tire (canadiantire.ca) products by keyword, category or URL. Extract...</td></tr>
<tr><td>🔌 <a href="https://apify.com/abotapi/jarir-scraper"><b>Jarir Bookstore Scraper</b></a><br>Scrape Jarir Bookstore (jarir.com) across Saudi Arabia, UAE, Kuwait, Qatar and Bahrain in...</td><td>🏠 <a href="https://apify.com/abotapi/distressed-ca-scraper"><b>Canada Distressed Property Scraper</b></a><br>Canadian tax-sale properties from taxsales.ca: tender and auction listings across 9...</td></tr>
<tr><td>🏷️ <a href="https://apify.com/abotapi/kijiji-scraper"><b>Kijiji.ca Scraper</b></a><br>Scrape Kijiji.ca listings across property, vehicles, jobs, electronics, furniture...</td><td>🔌 <a href="https://apify.com/abotapi/mvideo-scraper"><b>M.Video Scraper</b></a><br>Scrape M.Video (mvideo.ru), the Russian electronics and home appliance retailer: prices...</td></tr>
</table>

👉 [Browse all abotapi scrapers](https://apify.com/abotapi)

### 💬 Support

- 🐞 **Found a bug or a missing field?** Open a ticket on the [Issues tab](https://apify.com/abotapi/indigo-ca-scraper/issues/open). We usually reply within hours.
- 🛠️ **Need another site, extra fields or a private build?** Email <contact@abotapi.com>.
- ⭐ **Enjoying it?** A quick review on the actor page helps other users find it.

# Actor input Schema

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

Choose 'search' to run keyword and collection searches or 'url' to paste product, collection or search links.

## `searchTerms` (type: `array`):

One or more keywords to search on Indigo, for example 'harry potter', 'lego' or an author, title or ISBN. Each keyword is searched separately.

## `collections` (type: `array`):

Optional collection names as they appear in indigo.ca collection links (for example 'books', 'kids-books' or 'toys'). Each collection is walked separately, in addition to any keywords.

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

Order of the results. A pasted link that carries its own sort keeps it.

## `formats` (type: `array`):

Only return these formats, written the way Indigo shows them (for example 'Hardcover', 'Paperback', 'Kobo eBook', 'Kobo Audiobook'). Leave empty for every format.

## `languages` (type: `array`):

Only return these languages, written the way Indigo shows them (for example 'English', 'French'). Leave empty for all.

## `minPrice` (type: `integer`):

Lowest price in Canadian dollars (CAD). Leave empty for no lower bound.

## `maxPrice` (type: `integer`):

Highest price in Canadian dollars (CAD). Leave empty for no upper bound.

## `minRating` (type: `number`):

Only products rated at least this many stars (1 to 5). Unrated products are left out. Leave empty for all.

## `onlyInStock` (type: `boolean`):

Only return products that can currently be bought online.

## `onlyOnSale` (type: `boolean`):

Only return products that show a reduced price (a regular price above the current price).

## `facetFilters` (type: `array`):

Optional extra filters in the form filter=value, using the filter names of the shop's own filter panel: Age (for example Age=6-8 Years), Type, merchcategorydesc (the subject), Genre, ColourFamily, brand, featured. Keyword and collection searches only; the same filter name may be repeated to allow several values.

## `urls` (type: `array`):

Paste indigo.ca links: a product page (any locale or tracking variant), a collection page, a search page or a legacy product address. A link with page=N starts at that page. Sitemaps, robots.txt and other files, the store locator and store pages, cart, account, policy and content pages, other sites and service addresses are skipped before any request.

## `fetchDetails` (type: `boolean`):

Read each keyword or collection row's own product record to add the full image gallery, tags, publish date, the sellable flag and the review count. Charged once per row enriched. Rows from pasted product links already carry all of this and are never charged for it. Turn off for a cheaper listing-level pull.

## `maxPages` (type: `integer`):

Optional. Limits how many result pages each keyword or link walks. Empty or 0 means no page limit; it does NOT cap the run by itself and defers to Max items below, which is the single default cap (20).

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

THE cap on this run: the maximum number of product rows returned across the whole run. Defaults to 20 so a first run is quick and cheap. Use 0 for no item cap (a whole category or search); the run is then bounded by the results and your maximum cost per run.

## `maxItemsPerSearch` (type: `integer`):

Optional. Caps how many products each keyword or pasted link may return, so one large category cannot use up the whole run. 0 (default) = no per-keyword cap; Max items still caps the run.

## `proxy` (type: `object`):

Leave this on the default (Residential, Canada) for the most reliable results. It is billed to your own Apify plan. Apify free plans do not include residential proxies: a free-plan run continues on a backup connection, or you can paste your own proxy URL.

## `resumeFromRunId` (type: `string`):

Paste a previous run ID or dataset ID to continue a large crawl without returning or charging for products already collected there. For recurring monitoring of the same search, use Incremental mode below instead.

## `incrementalMode` (type: `boolean`):

Turn this on for daily or recurring monitoring. The first run returns every matching product as NEW. Later runs normally return only NEW, UPDATED and REAPPEARED products. A product counts as UPDATED when any of its fields changed, except the result position, the scrape time, the keyword, collection or link it was found through, and by default its rating, review count, stock count and store availability (see Ignore fields below); with 'Price and stock only' just the price, compare-at price, availability, sellable flag, promotions and each other format's price and availability are compared. State is kept separately for each keyword, collection, link, sort, filter and detail setup; use State key to name or deliberately share a monitoring campaign.

## `stateKey` (type: `string`):

Optional. Use one state key per setup: leave it empty and the actor derives a key from this run's keywords, collections or links, sort, filters and product details setting. If you name a key and later run a different setup under it, products are still compared, but nothing is marked EXPIRED that run and products only the earlier setup listed are never marked EXPIRED by the new one. At 256 MB of memory one state key tracks up to 1,000 products or 8.5 MB of saved state, whichever comes first; the default 512 MB tracks twice that.

## `changeScope` (type: `string`):

'Price and stock only' compares just the price, compare-at price, availability, sellable flag, promotions and each other format's price and availability; a description, image or category change is treated as UNCHANGED and is never returned or billed as UPDATED. 'All fields' compares the whole record (minus the fields listed under Ignore fields).

## `compactUpdates` (type: `boolean`):

When on, an UPDATED row carries only identifiers plus the price and availability fields that actually moved (priceChanges, variantChanges per format), instead of the full record. Off by default.

## `expireAfterMissedScans` (type: `integer`):

A tracked product absent from this many consecutive complete scans in a row is marked EXPIRED; fewer misses are held over without being reported. 1 (default) expires on the first miss, matching this actor's previous behaviour.

## `emitUnchanged` (type: `boolean`):

Off by default. Turn on to also return products that have not changed since the last run, marked UNCHANGED. This returns, and bills, extra rows you already have.

## `emitExpired` (type: `boolean`):

Off by default. Turn on to also return products that were present in a previous run but are no longer found, marked EXPIRED. Only produced after a complete scan: every walk started at page 1 and read as many distinct products as the results report, with product details on and every wanted product read. Never when Max items, Max pages or the maximum cost per run stopped it, when a link started past page 1, for a legacy product address, when any page or product could not be read, when the run stopped before its timeout, when the saved state came from a different setup, or when Resume was used. This returns, and bills, extra synthetic rows.

## `ignoreFieldsForChanges` (type: `array`):

Field names that must NOT count as a change in incremental mode. The default list leaves out the rating, review count, stock count and store availability, which drift constantly; remove names from the list to be told about them. A product whose only differences are in these fields is treated as UNCHANGED, so it is not returned or billed as UPDATED. Names match at any nesting depth. The fields still appear in the output of rows that are returned.

## `mcpConnectors` (type: `array`):

Optionally send results into the apps you already use, via Model Context Protocol (MCP) connectors. Authorize one under Apify, Settings, API & Integrations, then select it here. Notion gets a rich page-per-item export; other connectors get a best-effort write or digest. Leave empty to skip; this never changes the dataset output. Supported: Notion (https://mcp.notion.com/mcp), Linear (https://mcp.linear.app/sse), Airtable (https://mcp.airtable.com/mcp), Apify (https://mcp.apify.com).

## `notionParentPageUrl` (type: `string`):

URL or id of the Notion page under which item pages are created. Required to enable the Notion export; ignored by other connectors.

## `maxNotifyListings` (type: `integer`):

Cap on items written to each connector per run. Does not affect the dataset.

## `notifyOnlyChanges` (type: `boolean`):

Only send the alert when Incremental changes is on and at least one product is NEW, UPDATED, REAPPEARED or EXPIRED. Without Incremental changes every finished run sends its summary.

## `notificationLimit` (type: `integer`):

How many product rows the alert message lists (the run's totals are always in the first line).

## `slackWebhookUrl` (type: `string`):

Optional Slack incoming-webhook URL to post the summary to.

## `discordWebhookUrl` (type: `string`):

Optional Discord channel webhook URL to post the summary to.

## `telegramBotToken` (type: `string`):

Optional Telegram bot token to post the summary with (needs the chat ID below).

## `telegramChatId` (type: `string`):

Optional Telegram chat ID that receives the summary (needs the bot token above).

## Actor input object example

```json
{
  "mode": "search",
  "searchTerms": [
    "harry potter"
  ],
  "sortBy": "relevance",
  "onlyInStock": false,
  "onlyOnSale": false,
  "urls": [
    "https://www.indigo.ca/products/harry-potter-and-the-philosopher-s-stone-25th-anniversary-edition",
    "https://www.indigo.ca/products/harry-potter-and-the-philosopher-s-stone-25th-anniversary-edition?variant=46458034192594&utm_source=x",
    "https://www.indigo.ca/en-ca/products/harry-potter-and-the-philosopher-s-stone-25th-anniversary-edition",
    "https://www.indigo.ca/fr/products/harry-potter-and-the-philosopher-s-stone-25th-anniversary-edition",
    "https://www.indigo.ca/collections/books",
    "https://www.indigo.ca/search?q=harry+potter",
    "https://m.indigo.ca/",
    "https://www.chapters.indigo.ca/en-ca/books/product/9780547928227-item.html",
    "https://www.indigo.ca/en-ca/search/?keywords=harry+potter"
  ],
  "fetchDetails": true,
  "maxItems": 20,
  "maxItemsPerSearch": 0,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "CA"
  },
  "incrementalMode": false,
  "changeScope": "all",
  "compactUpdates": false,
  "expireAfterMissedScans": 1,
  "emitUnchanged": false,
  "emitExpired": false,
  "ignoreFieldsForChanges": [
    "rating",
    "reviewCount",
    "inventoryATS",
    "availableInStores",
    "storesInStockCount"
  ],
  "maxNotifyListings": 50,
  "notifyOnlyChanges": false,
  "notificationLimit": 5
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `detail` (type: `string`):

No description

## `formats` (type: `string`):

No description

## `changes` (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 = {
    "mode": "search",
    "searchTerms": [
        "harry potter"
    ],
    "sortBy": "relevance",
    "onlyInStock": false,
    "onlyOnSale": false,
    "urls": [
        "https://www.indigo.ca/products/harry-potter-and-the-philosopher-s-stone-25th-anniversary-edition",
        "https://www.indigo.ca/products/harry-potter-and-the-philosopher-s-stone-25th-anniversary-edition?variant=46458034192594&utm_source=x",
        "https://www.indigo.ca/en-ca/products/harry-potter-and-the-philosopher-s-stone-25th-anniversary-edition",
        "https://www.indigo.ca/fr/products/harry-potter-and-the-philosopher-s-stone-25th-anniversary-edition",
        "https://www.indigo.ca/collections/books",
        "https://www.indigo.ca/search?q=harry+potter",
        "https://m.indigo.ca/",
        "https://www.chapters.indigo.ca/en-ca/books/product/9780547928227-item.html",
        "https://www.indigo.ca/en-ca/search/?keywords=harry+potter"
    ],
    "fetchDetails": true,
    "maxItems": 20,
    "proxy": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "CA"
    },
    "incrementalMode": false,
    "compactUpdates": false,
    "emitUnchanged": false,
    "emitExpired": false,
    "ignoreFieldsForChanges": [
        "rating",
        "reviewCount",
        "inventoryATS",
        "availableInStores",
        "storesInStockCount"
    ],
    "notifyOnlyChanges": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("abotapi/indigo-ca-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",
    "searchTerms": ["harry potter"],
    "sortBy": "relevance",
    "onlyInStock": False,
    "onlyOnSale": False,
    "urls": [
        "https://www.indigo.ca/products/harry-potter-and-the-philosopher-s-stone-25th-anniversary-edition",
        "https://www.indigo.ca/products/harry-potter-and-the-philosopher-s-stone-25th-anniversary-edition?variant=46458034192594&utm_source=x",
        "https://www.indigo.ca/en-ca/products/harry-potter-and-the-philosopher-s-stone-25th-anniversary-edition",
        "https://www.indigo.ca/fr/products/harry-potter-and-the-philosopher-s-stone-25th-anniversary-edition",
        "https://www.indigo.ca/collections/books",
        "https://www.indigo.ca/search?q=harry+potter",
        "https://m.indigo.ca/",
        "https://www.chapters.indigo.ca/en-ca/books/product/9780547928227-item.html",
        "https://www.indigo.ca/en-ca/search/?keywords=harry+potter",
    ],
    "fetchDetails": True,
    "maxItems": 20,
    "proxy": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "CA",
    },
    "incrementalMode": False,
    "compactUpdates": False,
    "emitUnchanged": False,
    "emitExpired": False,
    "ignoreFieldsForChanges": [
        "rating",
        "reviewCount",
        "inventoryATS",
        "availableInStores",
        "storesInStockCount",
    ],
    "notifyOnlyChanges": False,
}

# Run the Actor and wait for it to finish
run = client.actor("abotapi/indigo-ca-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",
  "searchTerms": [
    "harry potter"
  ],
  "sortBy": "relevance",
  "onlyInStock": false,
  "onlyOnSale": false,
  "urls": [
    "https://www.indigo.ca/products/harry-potter-and-the-philosopher-s-stone-25th-anniversary-edition",
    "https://www.indigo.ca/products/harry-potter-and-the-philosopher-s-stone-25th-anniversary-edition?variant=46458034192594&utm_source=x",
    "https://www.indigo.ca/en-ca/products/harry-potter-and-the-philosopher-s-stone-25th-anniversary-edition",
    "https://www.indigo.ca/fr/products/harry-potter-and-the-philosopher-s-stone-25th-anniversary-edition",
    "https://www.indigo.ca/collections/books",
    "https://www.indigo.ca/search?q=harry+potter",
    "https://m.indigo.ca/",
    "https://www.chapters.indigo.ca/en-ca/books/product/9780547928227-item.html",
    "https://www.indigo.ca/en-ca/search/?keywords=harry+potter"
  ],
  "fetchDetails": true,
  "maxItems": 20,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "CA"
  },
  "incrementalMode": false,
  "compactUpdates": false,
  "emitUnchanged": false,
  "emitExpired": false,
  "ignoreFieldsForChanges": [
    "rating",
    "reviewCount",
    "inventoryATS",
    "availableInStores",
    "storesInStockCount"
  ],
  "notifyOnlyChanges": false
}' |
apify call abotapi/indigo-ca-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,abotapi/indigo-ca-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/yt3aha1Z86HpBPHWD/builds/H9P8ZXEdLuzxilBTm/openapi.json
