{
  "openapi": "3.0.1",
  "info": {
    "title": "IKEA Scraper - Products, Prices and Ratings by Country",
    "description": "Search IKEA in the country and language you choose and get one row per product: name, type, size, price, sale price, rating, review count, colours, categories and the product link. No start fee, you pay per product returned.",
    "version": "0.1",
    "x-build-id": "n1olELjILbczrmP2T"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neverempty~ikea-products-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neverempty-ikea-products-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/neverempty~ikea-products-scraper/runs": {
      "post": {
        "operationId": "runs-sync-neverempty-ikea-products-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/neverempty~ikea-products-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-neverempty-ikea-products-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": {
          "market": {
            "title": "Country and language",
            "enum": [
              "us/en",
              "gb/en",
              "ca/en",
              "ca/fr",
              "au/en",
              "nz/en",
              "ie/en",
              "de/de",
              "at/de",
              "ch/de",
              "ch/fr",
              "ch/it",
              "fr/fr",
              "be/fr",
              "be/nl",
              "nl/nl",
              "it/it",
              "es/es",
              "pt/pt",
              "pl/pl",
              "cz/cs",
              "sk/sk",
              "hu/hu",
              "ro/ro",
              "hr/hr",
              "rs/sr",
              "si/sl",
              "dk/da",
              "se/sv",
              "no/no",
              "fi/fi",
              "lt/lt",
              "lv/lv",
              "ee/et",
              "jp/ja",
              "kr/ko",
              "cn/zh",
              "in/en",
              "sg/en",
              "my/en",
              "th/th",
              "ph/en",
              "ae/en",
              "sa/en",
              "sa/ar",
              "kw/en",
              "eg/en",
              "il/he",
              "mx/es",
              "cl/es"
            ],
            "type": "string",
            "description": "Which IKEA store to read: prices, names and links come in that country and language.",
            "default": "us/en"
          },
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "One search per line, as you would type it into the IKEA search box, for example desk or kallax shelf. Every product found is returned as a row, up to Products per search. Leave empty to read one example search.",
            "items": {
              "type": "string"
            }
          },
          "newArrivalsOnly": {
            "title": "New arrivals only",
            "type": "boolean",
            "description": "On: only products marked as new.",
            "default": false
          },
          "minPrice": {
            "title": "Lowest price",
            "minimum": 0,
            "maximum": 100000000,
            "type": "number",
            "description": "Optional. Only products at or above this price, in the currency of the chosen country."
          },
          "maxPrice": {
            "title": "Highest price",
            "minimum": 0,
            "maximum": 100000000,
            "type": "number",
            "description": "Optional. Only products at or below this price, in the currency of the chosen country."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "priceLow",
              "priceHigh",
              "newest",
              "topRated",
              "mostPopular",
              "name"
            ],
            "type": "string",
            "description": "Order of the products found by each search.",
            "default": "relevance"
          },
          "maxItemsPerSearch": {
            "title": "Products per search",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "How many products to return for each search query (1 to 1000).",
            "default": 60
          },
          "maxItems": {
            "title": "Max products in total",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Stops the run after this many products (1 to 20000).",
            "default": 1000
          },
          "onlyNew": {
            "title": "Only products not returned before",
            "type": "boolean",
            "description": "On: products that an earlier run with the same State name already returned are skipped and not charged. Use it for a daily or weekly run.",
            "default": false
          },
          "stateName": {
            "title": "State name",
            "type": "string",
            "description": "Optional. Name that keeps the memory of Only products not returned before. Runs with the same name share it. Empty: the same searches and filters share it."
          },
          "skipProductIds": {
            "title": "Product IDs to skip",
            "type": "array",
            "description": "Optional. Products you already have, as IKEA article numbers such as 00263850. They are skipped and not charged.",
            "items": {
              "type": "string"
            }
          },
          "proxyConfiguration": {
            "title": "Proxy (optional)",
            "type": "object",
            "description": "Optional. By default the Actor picks a suitable connection by itself. Choose a proxy only if you want requests to leave from a specific address."
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}