{
  "openapi": "3.0.1",
  "info": {
    "title": "IKEA Scraper - Products, Prices, Stock & Specs",
    "description": "Scrape IKEA products by keyword, category or URL across any market: live prices, discounts, exact measurements, materials, designer, full specs, ratings, all images and real-time stock. Monitor price drops & restocks. No login. Export to JSON/CSV/Excel.",
    "version": "0.1",
    "x-build-id": "nue3yjZxBXP987Ek6"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapesage~ikea-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapesage-ikea-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/scrapesage~ikea-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapesage-ikea-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/scrapesage~ikea-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapesage-ikea-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",
        "properties": {
          "searchQueries": {
            "title": "Search keywords",
            "type": "array",
            "description": "Keywords to search the IKEA catalog, e.g. `desk`, `malm`, `sofa bed`. One product feed per keyword (the IKEA search API returns up to ~119 products per query — narrow the keyword or use a category for deeper catalogs).",
            "items": {
              "type": "string"
            }
          },
          "categoryIds": {
            "title": "Category IDs or category URLs",
            "type": "array",
            "description": "Browse a whole IKEA category. Paste a category page URL (e.g. `https://www.ikea.com/us/en/cat/desks-20649/`) or just its numeric ID (`20649`).",
            "items": {
              "type": "string"
            }
          },
          "productUrls": {
            "title": "Product page URLs",
            "type": "array",
            "description": "Direct IKEA product (PIP) page URLs, e.g. `https://www.ikea.com/us/en/p/mittplan-desk-white-10549428/`. Each is fetched with full detail.",
            "items": {
              "type": "string"
            }
          },
          "itemNos": {
            "title": "Article numbers",
            "type": "array",
            "description": "IKEA article numbers (8 digits), with or without dots — e.g. `10549428` or `105.494.28`. Resolved to full product detail for the chosen market.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Start URLs (auto-routed)",
            "type": "array",
            "description": "Any mix of IKEA search, category and product URLs — each is auto-detected and routed. The country/language in the URL path overrides the market settings below.",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "IKEA market country code (the first path segment on ikea.com). Sets prices, currency and stock for that market. Examples: `us`, `gb`, `ca`, `de`, `fr`, `es`, `it`, `nl`, `se`, `au`, `pl`, `jp`.",
            "default": "us"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Language code for the chosen market (the second path segment). Examples: `en` (us/gb/ca/au), `de`, `fr`, `es`, `it`, `nl`, `sv` (Sweden), `ja` (Japan).",
            "default": "en"
          },
          "sortBy": {
            "title": "Sort search results",
            "enum": [
              "relevance",
              "priceLowToHigh",
              "priceHighToLow",
              "newest",
              "topRated"
            ],
            "type": "string",
            "description": "Order for keyword/category feeds.",
            "default": "relevance"
          },
          "priceMin": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "integer",
            "description": "Only keep products at or above this price (in the market's currency). Leave empty for no minimum."
          },
          "priceMax": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "integer",
            "description": "Only keep products at or below this price (in the market's currency). Leave empty for no maximum."
          },
          "includeProductDetails": {
            "title": "Scrape full product details",
            "type": "boolean",
            "description": "Open each product's page to add full specifications: exact measurements, materials & care, designer, product information sections, all images, description and live availability. Adds one request per product. Turn off for fast, price-only listing scans.",
            "default": true
          },
          "includeStock": {
            "title": "Add real-time stock",
            "type": "boolean",
            "description": "Fetch live availability for each product in the chosen country: online buying options plus in-store quantities and restock signals across IKEA stores. Adds one request per product.",
            "default": false
          },
          "includeReviews": {
            "title": "Include customer reviews",
            "type": "boolean",
            "description": "Also output featured customer reviews published on each product page (rating, title, text, author, date) as separate `review` rows. Requires product details.",
            "default": false
          },
          "maxReviewsPerProduct": {
            "title": "Max reviews per product",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Cap featured reviews collected per product.",
            "default": 10
          },
          "maxResults": {
            "title": "Max products",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of products to scrape across all inputs.",
            "default": 100
          },
          "deduplicateProducts": {
            "title": "Deduplicate products",
            "type": "boolean",
            "description": "Emit each article number at most once per run (across all keywords, categories and URLs).",
            "default": true
          },
          "monitorMode": {
            "title": "Monitor mode (only new & changed)",
            "type": "boolean",
            "description": "Remember products between runs and only output ones that are new or whose price or stock changed since last run. Each emitted row is tagged with a `changeType` (`new`, `price_drop`, `price_rise`, `back_in_stock`, `out_of_stock`). Pair with Apify Schedules to track prices and restocks automatically.",
            "default": false
          },
          "monitorKey": {
            "title": "Monitor key",
            "type": "string",
            "description": "Names the saved state for monitor mode. Use a distinct key per watch list so separate schedules don't share state.",
            "default": "default"
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Maximum number of requests in parallel.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy settings. IKEA's data APIs are not aggressively anti-bot, so the Apify datacenter proxy (the default) works well and is cheapest.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}