# IKEA Store Locator & Shelf Stock Tracker (`xyrelith-data/ikea-store-stock-scraper`) Actor

Find IKEA stores across 50+ markets with weekly and holiday hours, then check shelf stock by article number for every store in a country: quantity, stock level, click-and-collect, restock dates and aisle/bin locations. No login or proxy needed.

- **URL**: https://apify.com/xyrelith-data/ikea-store-stock-scraper.md
- **Developed by:** [Xyrelith Data](https://apify.com/xyrelith-data) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **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

## IKEA Store Locator & Shelf Stock Tracker

Find every published IKEA store in a market, see when it opens and which departments are running,
and check the shelf stock of any article in every one of its stores — quantity, stock level,
restock window and the aisle and bin where the flat pack sits. No login, cookies or proxy setup.

The actor reads IKEA's own public store metadata and shelf-availability services, so the numbers are
the same ones the IKEA website shows when you choose a store on a product page.

### What it does

- **Store directory** — every published store in one or more of 51 IKEA markets, with address,
  coordinates, timezone, opening date, weekly hours, holiday exceptions, closed days, department
  hours (click & collect, restaurant, bistro, café, Swedish Food Market, Småland), cash-and-carry
  flag, external pickup point and EV chargers.
- **Shelf stock** — check one or dozens of article numbers or product page URLs across every store
  of a country, or only the stores you choose. Each row carries the exact units on hand, the
  stock-level message, click-and-collect and cash-and-carry availability, pickup type, the last
  update time, every restock window, and the self-serve aisle/bin or warehouse instruction.
- **Combined mode** — the same stock rows with the full store record joined in, so one dataset has
  the stock and the opening hours together.
- **Keyword search + stock** — search a storefront for `kallax`, `billy bookcase` or a local-language
  term, then check the matching products for shelf stock.
- **Product enrichment** — name, type, design, measurement, price, previous price, discount,
  currency, rating, review count, badge, colours, images, category path and variant count from the
  same country storefront.
- **One row per product** — a summary with total units, how many stores carry or stock the item,
  the next restock and the stores holding the most units.

### Modes

| Mode | What it returns |
|---|---|
| `stores` | One row per published store, with all hours and location metadata |
| `stock` | One row per article × store, with quantity, restock and shelf location |
| `storeStock` | `stock` rows plus a nested `store` object with the full store record |
| `search` | Keyword search, then one stock row per matched article × store |

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | select | `stores` | `stores`, `stock`, `storeStock` or `search` |
| `countries` | multi-select | `["us"]` | Markets for `stores` (51 IKEA markets) |
| `country` | select | `us` | Market for `stock`, `storeStock` and `search` |
| `language` | select | `auto` | Storefront language; `auto` uses the market default |
| `itemNos` | string list | `[]` | Article numbers: `20631663`, `206.316.63` or `s19384116` |
| `productUrls` | string list | `[]` | Product page URLs; each URL's own market/language is used |
| `searchQuery` | text | `kallax` | Keyword for `search` |
| `storeIds` | string list | `[]` | Only these store codes, e.g. `026`, `921` |
| `storeQuery` | text | – | Store name, city, state/province or postal code match |
| `storeTypes` | multi-select | `[]` | `STORE`, `SMALL`, `PAOP`, `SHOP`, `FFP` (store directory) |
| `cashAndCarryOnly` | boolean | `false` | Store directory only |
| `inStockOnly` | boolean | `false` | Keep rows with at least one unit |
| `minQuantity` | integer | – | Keep rows with at least this many units |
| `includeRestocks` | boolean | `true` | Add restock windows and the next forecast |
| `includeLocations` | boolean | `true` | Add aisle/bin/division locations |
| `includeChildItems` | boolean | `true` | Add combination parts and complete sets |
| `enrichProduct` | boolean | `true` | Add product name, price, rating, images and category |
| `summarizeByProduct` | boolean | `false` | One summary row per product instead of per store |
| `maxProducts` | integer | `10` | Products to check in `search` (1-255) |
| `maxItems` | integer | `200` | Hard cap on dataset rows (1-10,000) |

### Output

#### Store fields

`recordType`, `sourceUrl`, `scrapedAt`, `countryCode`, `storeId`, `storeName`, `displayName`,
`displayNameAlternate`, `storeType`, `storeTypeCode`, `address` (`street`, `city`, `zipCode`,
`stateProvinceCode`, `timezone`, `displayAddress`, `countryCode`), `latitude`, `longitude`,
`storePageUrl`, `placeId`, `weekStartDay`, `openingDate`, `regularHours`, `holidayHours`,
`closedDays`, `departmentHours` (`clickAndCollect`, `restaurant`, `bistro`, `cafe`,
`swedishFoodMarket`, `smaland`), `cashAndCarry`, `homeShoppingUnit`, `treatAsStore`, `pickupPoint`,
`evChargers`, `notices`, `sortOrder`.

#### Stock fields

`recordType`, `sourceUrl`, `scrapedAt`, `countryCode`, `storeId`, `storeName`, `storeCity`,
`storeState`, `storeZipCode`, `storeCountry`, `storeType`, `storePageUrl`,
`articleNumber`, `itemType`, `inRange`, `inStock`, `quantity`, `stockLevel`, `stockLevelText`,
`unitOfMeasure`, `stockUpdatedAt`, `clickAndCollect`, `cashAndCarryAvailable`, `homeDelivery`,
`pickupTypes`, `eligibleForStockNotification`, `enableQtyPicker`, `restocks`,
`restockEarliestDate`, `restockLatestDate`, `restockQuantity`, `restockReliability`,
`restockType`, `restockUpdatedAt`, `locations`, `aisle`, `bin`, `division`, `locationType`,
`locationName`, `locationText`, `childItems`, `childItemCount`, `completeSets`.

Product enrichment adds `productName`, `productType`, `productDesign`, `productMeasure`,
`productUrl`, `mainImageUrl`, `mainImageAlt`, `contextualImageUrl`, `contextualImageAlt`,
`globalItemNo`, `onlineSellable`, `lastChance`, `rating`, `ratingCount`, `badgeText`, `badgeType`,
`colors`, `color`, `categoryPath`, `category`, `businessArea`, `productArea`, `productRange`,
`variantCount`, `imageCount`, `price`, `currency`, `priceFormatted`, `previousPrice`,
`discountPercentage`, `priceValidFrom`, `priceValidTo`, `priceUnit`, `priceTags`,
`minOrderQuantity`.

`storeStock` adds a nested `store` object with the full store record. `productStock` summary rows
add `storesChecked`, `storesCarrying`, `storesInStock`, `totalQuantity`, `minStoreQuantity`,
`maxStoreQuantity`, `nextRestockDate`, `nextRestockQuantity`, `nextRestockStoreId`,
`nextRestockStoreName` and `topStores`.

Empty fields are omitted at every depth. The actor never emits `null`, `""`, `[]` or `{}`.

### Examples

Store directory for two markets:

```json
{
  "mode": "stores",
  "countries": ["us", "de"],
  "maxItems": 200
}
```

Stock for one article in every US store, only rows with at least five units:

```json
{
  "mode": "stock",
  "country": "us",
  "itemNos": ["20631663"],
  "minQuantity": 5,
  "maxItems": 200
}
```

One product URL from Germany, joined with the full store record:

```json
{
  "mode": "storeStock",
  "productUrls": ["https://www.ikea.com/de/de/p/kallax-regal-weiss-80275887/"],
  "maxItems": 100
}
```

Keyword search, one summary row per product:

```json
{
  "mode": "search",
  "country": "us",
  "searchQuery": "kallax",
  "maxProducts": 5,
  "summarizeByProduct": true,
  "maxItems": 5
}
```

Find stores near a postal code before checking stock:

```json
{
  "mode": "stores",
  "countries": ["us"],
  "storeQuery": "91007",
  "maxItems": 10
}
```

### Data source and reliability

- Store metadata: `ikea.com/{market}/{language}/meta-data/informera/stores-detailed.json`.
- Shelf stock: `api.ingka.ikea.com/cia/availabilities/ru/{market}` with the public `X-Client-ID`
  read from the live storefront on each run.
- Product search: `sik.search.blue.cdtapps.com/{market}/{language}/search-result-page`.
- Article numbers are market-specific: use numbers from the same country storefront. Product URLs
  carry their own market, so one run can mix markets.
- Requests are paced and retried on 429/5xx. A 401/403 rotates to another public web key. No proxy
  is required.

### Limits

- 51 IKEA markets are covered. Franchise storefronts that do not use the Ingka store and stock
  services (mainland China, Brazil, Turkey, Greece, Taiwan, Hong Kong, Indonesia, Iceland and
  similar) are not available.
- IKEA publishes restock forecasts and shelf locations only for some stores and articles. Rows
  without them are still returned; the fields are omitted rather than filled with placeholders.
- About 40 US availability codes are pickup or planning units that are missing from the store
  directory. Their rows carry the real stock and store code, but no invented name or address.
- One search phrase exposes at most 255 products; refine the keyword to go deeper.
- Home delivery is reported as a yes/no range. A postal-code delivery price or delivery date is not
  part of the shelf-stock response.
- The actor is stateless. It does not keep a monitor or send alerts; compare two scheduled runs by
  `articleNumber` + `storeId` to detect changes.

### FAQ

**Do I need an IKEA account or cookies?** No. Every request is cookieless.

**Why is `quantity` missing for some rows?** A store that does not carry the article has no count.
The row still has `inRange: false` and `inStock: false`. A carried item that is temporarily sold out
has `quantity: 0` and `inStock: false`.

**Why do some rows have no store name?** Those are pickup or planning units that IKEA's stock
service returns without a matching directory entry. The store code and stock are real.

**What is `completeSets`?** For a combination product, it is the largest number of complete sets a
store can build from its child articles.

**How fresh is the stock number?** Each row has `stockUpdatedAt` from IKEA. Stock can change between
that update and your visit, especially for the last few units.

**Does it work for Japan or Korea?** Yes. Article numbers differ by market; use a number from the
same country storefront or a product URL.

**How do I check several products?** Add them to `itemNos`, or paste product URLs. The actor batches
up to 20 article numbers per IKEA request and de-duplicates repeated input.

# Actor input Schema

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

What to fetch: a store directory, shelf stock for article numbers or product URLs, shelf stock joined with full store details, or a keyword product search followed by shelf stock.

## `countries` (type: `array`):

One or more IKEA markets for mode=stores. Each market returns every published store with hours, holiday exceptions, departments and pickup details.

## `country` (type: `string`):

IKEA market for mode=stock, mode=storeStock or mode=search. Article numbers are market-specific: use numbers from the same ikea.com country storefront.

## `language` (type: `string`):

Language path used for store metadata and product search. Auto uses each market's primary language; a language the market does not publish falls back automatically.

## `itemNos` (type: `array`):

IKEA article numbers for mode=stock or mode=storeStock. Accepts 20631663, 206.316.63, s19384116 and mixed lists. Checked against every store of the chosen country unless store filters narrow it.

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

IKEA product page URLs for mode=stock or mode=storeStock. The URL's own market and language are used, so one run can check products from several countries.

## `searchQuery` (type: `string`):

Keyword for mode=search, e.g. `kallax`, `billy bookcase` or a local-language term. The best matching products are then checked for shelf stock.

## `storeIds` (type: `array`):

Only these IKEA store codes, e.g. 026 or 921. Applies to the store directory and to stock checks, where it also narrows the IKEA request to those stores.

## `storeQuery` (type: `string`):

Free-text store match against name, display name, city, state/province code, postal code and street address, e.g. `Brooklyn`, `CA` or `91007`.

## `storeTypes` (type: `array`):

Only these IKEA location types in the store directory. Empty includes every published type.

## `cashAndCarryOnly` (type: `boolean`):

Keep only stores flagged for cash and carry.

## `inStockOnly` (type: `boolean`):

Keep only stock rows where the store carries the item and has at least one unit.

## `minQuantity` (type: `integer`):

Keep only rows with at least this many units on hand. Rows from stores that do not carry the item are excluded.

## `includeRestocks` (type: `boolean`):

Add every planned restock window plus the next earliest date, quantity and reliability for each store.

## `includeLocations` (type: `boolean`):

Add the in-store shelf locations: self-serve aisle and bin, warehouse division, or contact-staff instruction.

## `includeChildItems` (type: `boolean`):

For sofas, wardrobes and other combination products, add each child article's stock plus the number of complete sets a store can build.

## `enrichProduct` (type: `boolean`):

Add product name, type, design, price, currency, rating, images, category path and variant count from the same country storefront.

## `summarizeByProduct` (type: `boolean`):

Emit a product summary instead of one row per store: totals, store counts, the next restock and the stores holding the most units.

## `maxProducts` (type: `integer`):

How many products from the keyword result to check for shelf stock. IKEA returns at most 255 products for one search phrase.

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

Hard cap on dataset rows. The run stops as soon as it is reached.

## Actor input object example

```json
{
  "mode": "stores",
  "countries": [
    "us"
  ],
  "country": "us",
  "language": "auto",
  "itemNos": [],
  "productUrls": [],
  "searchQuery": "",
  "storeIds": [],
  "storeQuery": "",
  "storeTypes": [],
  "cashAndCarryOnly": false,
  "inStockOnly": false,
  "includeRestocks": true,
  "includeLocations": true,
  "includeChildItems": true,
  "enrichProduct": true,
  "summarizeByProduct": false,
  "maxProducts": 1,
  "maxItems": 1
}
```

# Actor output Schema

## `stores` (type: `string`):

Dataset containing IKEA stores and per-store shelf stock.

# 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": "stores",
    "countries": [
        "us"
    ],
    "country": "us",
    "language": "auto",
    "itemNos": [],
    "productUrls": [],
    "searchQuery": "",
    "storeIds": [],
    "storeQuery": "",
    "storeTypes": [],
    "cashAndCarryOnly": false,
    "inStockOnly": false,
    "includeRestocks": true,
    "includeLocations": true,
    "includeChildItems": true,
    "enrichProduct": true,
    "summarizeByProduct": false,
    "maxProducts": 1,
    "maxItems": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("xyrelith-data/ikea-store-stock-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": "stores",
    "countries": ["us"],
    "country": "us",
    "language": "auto",
    "itemNos": [],
    "productUrls": [],
    "searchQuery": "",
    "storeIds": [],
    "storeQuery": "",
    "storeTypes": [],
    "cashAndCarryOnly": False,
    "inStockOnly": False,
    "includeRestocks": True,
    "includeLocations": True,
    "includeChildItems": True,
    "enrichProduct": True,
    "summarizeByProduct": False,
    "maxProducts": 1,
    "maxItems": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("xyrelith-data/ikea-store-stock-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": "stores",
  "countries": [
    "us"
  ],
  "country": "us",
  "language": "auto",
  "itemNos": [],
  "productUrls": [],
  "searchQuery": "",
  "storeIds": [],
  "storeQuery": "",
  "storeTypes": [],
  "cashAndCarryOnly": false,
  "inStockOnly": false,
  "includeRestocks": true,
  "includeLocations": true,
  "includeChildItems": true,
  "enrichProduct": true,
  "summarizeByProduct": false,
  "maxProducts": 1,
  "maxItems": 1
}' |
apify call xyrelith-data/ikea-store-stock-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,xyrelith-data/ikea-store-stock-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/FWWOgIFx6WlWgV37S/builds/Em6VdL49wCXrpfn27/openapi.json
