{
  "openapi": "3.0.1",
  "info": {
    "title": "IKEA Scraper",
    "description": "Scrape IKEA products worldwide with prices, stock status, measurements, ratings, images, variants. Search by keyword, lookup by product ID, fetch from URL, or browse a category. Multi-country, multi-language.",
    "version": "1.1",
    "x-build-id": "PpTeVpLkCtz4HgMvj"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~ikea-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-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/crawlerbros~ikea-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-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/crawlerbros~ikea-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "byProductIds",
              "byUrls",
              "byCategory"
            ],
            "type": "string",
            "description": "How to find products.",
            "default": "search"
          },
          "searchQuery": {
            "title": "Search query (mode=search)",
            "type": "string",
            "description": "Free-text search query, e.g. `bookcase`, `BILLY`, `sofa`. Searches the IKEA storefront for the selected country/language.",
            "default": "bookcase"
          },
          "productIds": {
            "title": "Product IDs (mode=byProductIds)",
            "type": "array",
            "description": "IKEA 8-digit article numbers (e.g. `20522046`, `00263850`). Dots/spaces allowed; we normalize. One ID per line.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "productUrls": {
            "title": "Product URLs (mode=byUrls)",
            "type": "array",
            "description": "Full IKEA product page URLs, e.g. `https://www.ikea.com/us/en/p/billy-bookcase-white-20522046/`. One URL per line.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "category": {
            "title": "Category (mode=byCategory or as filter)",
            "enum": [
              "",
              "products-products",
              "storage-organization-st001",
              "bookcases-shelving-units-st002",
              "dressers-storage-drawers-st004",
              "beds-mattresses-bm001",
              "sofas-armchairs-fu002",
              "tables-desks-de001",
              "chairs-fu004",
              "bedroom-bm002",
              "bathroom-ba001",
              "kitchen-ki001",
              "living-room-lr001",
              "outdoor-od001",
              "home-textiles-tl001",
              "lighting-li001",
              "rugs-mats-flooring-rm001",
              "decoration-de001",
              "appliances-ka002",
              "baby-kids-bc001",
              "office-of001"
            ],
            "type": "string",
            "description": "Top-level IKEA category slug. Required for mode=byCategory; optional filter for mode=search.",
            "default": ""
          },
          "country": {
            "title": "Country / Storefront",
            "enum": [
              "us",
              "gb",
              "ie",
              "ca",
              "au",
              "nz",
              "in",
              "sg",
              "my",
              "ph",
              "th",
              "hk",
              "tw",
              "jp",
              "kr",
              "cn",
              "ae",
              "sa",
              "qa",
              "kw",
              "bh",
              "jo",
              "eg",
              "ma",
              "de",
              "fr",
              "it",
              "es",
              "pt",
              "nl",
              "be",
              "at",
              "ch",
              "se",
              "no",
              "dk",
              "fi",
              "is",
              "pl",
              "cz",
              "sk",
              "hu",
              "ro",
              "hr",
              "rs",
              "bg",
              "gr",
              "ru",
              "ua",
              "tr"
            ],
            "type": "string",
            "description": "IKEA market storefront (ISO 3166-1 alpha-2 code).",
            "default": "us"
          },
          "language": {
            "title": "Language",
            "enum": [
              "en",
              "de",
              "fr",
              "it",
              "es",
              "pt",
              "nl",
              "sv",
              "no",
              "da",
              "fi",
              "is",
              "pl",
              "cs",
              "sk",
              "hu",
              "ro",
              "hr",
              "sr",
              "bg",
              "el",
              "ru",
              "uk",
              "tr",
              "ja",
              "ko",
              "zh",
              "th",
              "ms",
              "ar"
            ],
            "type": "string",
            "description": "Language code for the storefront. Must be valid for the selected country (auto-falls-back to the country's primary language if invalid).",
            "default": "en"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "RELEVANCE",
              "PRICE_LOW_TO_HIGH",
              "PRICE_HIGH_TO_LOW",
              "NEWEST",
              "RATING",
              "MOST_POPULAR",
              "NAME_ASCENDING",
              "WIDTH",
              "HEIGHT",
              "DEPTH"
            ],
            "type": "string",
            "description": "Sort order applied at the IKEA API level.",
            "default": "RELEVANCE"
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Exclude products with price below this value (storefront currency)."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Exclude products with price above this value (storefront currency)."
          },
          "minRating": {
            "title": "Minimum customer rating",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Exclude products rated below this value (0–5). Products with no rating are kept."
          },
          "inStockOnly": {
            "title": "In-stock only",
            "type": "boolean",
            "description": "If true, exclude products that are out of stock or unavailable online.",
            "default": false
          },
          "containsKeyword": {
            "title": "Contains keyword",
            "type": "string",
            "description": "Post-filter: only emit products whose name, description, color, or category contains this substring (case-insensitive)."
          },
          "enrichFromPDP": {
            "title": "Enrich from product page",
            "type": "boolean",
            "description": "When true, fetches each product's PDP for richer fields (description, measurements, breadcrumb categories). Slower but more complete.",
            "default": false
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}