{
  "openapi": "3.0.1",
  "info": {
    "title": "Ounass Scraper - Luxury Fashion, Prices, Stock & Designers",
    "description": "Scrape Ounass (ounass.ae) luxury fashion across UAE, Saudi Arabia, Kuwait, Qatar, Bahrain and Oman in English or Arabic. Extract designers, prices, discounts, size-level stock, colours, categories, images, descriptions and size guides. Search by keyword, category or URL.",
    "version": "0.1",
    "x-build-id": "oEMzd8gLrCHulstO6"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/abotapi~ounass-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-abotapi-ounass-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/abotapi~ounass-scraper/runs": {
      "post": {
        "operationId": "runs-sync-abotapi-ounass-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/abotapi~ounass-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-abotapi-ounass-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",
              "category",
              "url"
            ],
            "type": "string",
            "description": "Choose 'search' to run keyword searches, 'category' to read whole category listings by path, or 'url' to paste listing, search or product links.",
            "default": "search"
          },
          "searchTerms": {
            "title": "Search keywords",
            "type": "array",
            "description": "One or more keywords to search on Ounass, for example 'prada bag', 'loafers', 'perfume' or a designer name. Each keyword is searched separately in the department, market and language picked below. A keyword that is a designer or category name opens that listing, exactly as the store's own search does.",
            "default": [
              "prada bag"
            ],
            "items": {
              "type": "string"
            }
          },
          "department": {
            "title": "Department",
            "enum": [
              "women",
              "men",
              "kids"
            ],
            "type": "string",
            "description": "The store department keyword searches run in (the store searches one department at a time).",
            "default": "women"
          },
          "categories": {
            "title": "Category paths",
            "type": "array",
            "description": "One or more category paths as they appear in the store's links, for example 'women/bags', 'women/clothing/dresses', 'men/shoes', 'kids', or a designer page such as 'women/designers/gucci'. A full link to a category page works too. Each is read to its end (or until Max items), in the market and language picked below.",
            "default": [
              "women/bags"
            ],
            "items": {
              "type": "string"
            }
          },
          "urls": {
            "title": "Links to read",
            "type": "array",
            "description": "Paste Ounass links: a category or designer page (/women/bags, /women/designers/gucci), a filtered listing (any filters ticked on the site, for example ?designerCategoryName[]=Gucci or ?priceTypeBySaleId[]=sale), a search page (/men?fh_location=/$s=gucci sneakers), a later page of a listing (?fh_start_index=24, read from there on), a product page (/shop-...-220085751_181.html) or a short product link (/220085857.html). Every store and language host works: www.ounass.ae, ar.ounass.ae, en-saudi.ounass.com, saudi.ounass.com, kuwait.ounass.com, www.ounass.qa, bahrain.ounass.com, oman.ounass.com and their Arabic versions.",
            "default": [
              "https://www.ounass.ae/women/bags",
              "https://www.ounass.ae/women/designers/gucci",
              "https://www.ounass.ae/women/bags?designerCategoryName%5B%5D=Gucci&designerCategoryName%5B%5D=Prada",
              "https://kuwait.ounass.com/women/clothing?priceTypeBySaleId%5B%5D=sale",
              "https://kuwait.ounass.com/women/bags?rangeAttribute=priceBySaleId&min=100&max=200",
              "https://kuwait.ounass.com/men?fh_location=%2F%24s%3Dgucci%20sneakers",
              "https://www.ounass.ae/women/clothing?fh_start_index=24",
              "https://ar.ounass.ae/women/bags",
              "https://www.ounass.ae/shop-solace-london-dandridge-maxi-dress-for-women-220085751_181.html",
              "https://www.ounass.ae/220085857.html"
            ],
            "items": {
              "type": "string"
            }
          },
          "market": {
            "title": "Market",
            "enum": [
              "AE",
              "SA",
              "KW",
              "QA",
              "BH",
              "OM"
            ],
            "type": "string",
            "description": "The Ounass store to read for keyword and category runs: its catalog and its currency in price fields.",
            "default": "AE"
          },
          "language": {
            "title": "Language",
            "enum": [
              "en",
              "ar"
            ],
            "type": "string",
            "description": "Language of product names, designer names, categories and descriptions for keyword and category runs. English names stay available in nameEnglish and brandEnglish.",
            "default": "en"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "popularity",
              "newest",
              "most_wishlisted",
              "price_low",
              "price_high"
            ],
            "type": "string",
            "description": "The store's own sort order for keyword searches, categories and pasted listing links (a link that already carries a sort keeps it).",
            "default": "popularity"
          },
          "designers": {
            "title": "Designers",
            "type": "array",
            "description": "Optional. Keep only products from these designers, spelled as the store spells them (for example 'Gucci', 'Prada', 'Saint Laurent'). Several designers are combined as 'any of these'. Applied by the store itself.",
            "items": {
              "type": "string"
            }
          },
          "onSaleOnly": {
            "title": "Sale items only",
            "type": "boolean",
            "description": "Optional. Keep only products that are currently on sale (the store's own Sale filter).",
            "default": false
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Only keep products whose CURRENT price (the sale price when on sale) is at or above this amount, in the market's currency (AED for the UAE, KWD for Kuwait ...). Applied by the store and checked again on every row."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Only keep products whose CURRENT price (the sale price when on sale) is at or below this amount, in the market's currency."
          },
          "fetchDetails": {
            "title": "Fetch product details",
            "type": "boolean",
            "description": "Read each keyword, category or listing row's full product record to add the description, size and fit notes, design details (composition, care, product code), the full image gallery, breadcrumb categories, country of origin, returnability, the size guide and delivery options. Charged once per row enriched. Rows from pasted product links already carry all of this from the same read and are never charged for it. Turn off for a faster, cheaper listing-level pull.",
            "default": true
          },
          "maxItemsPerSearch": {
            "title": "Max items per keyword, category or link",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Caps how many products each keyword, category or pasted link may return, so one large category cannot use up the whole run. 0 (default) = no per-keyword cap; Max items below still caps the run.",
            "default": 0
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "THE cap on this run: the maximum number of product rows returned across the whole run. Defaults to 20 so a first run is fast and cheap. Use 0 for unlimited (a whole category; listings larger than 10,000 products are read in price ranges).",
            "default": 20
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Leave this on the default (Residential) for reliable results; it is billed to your own Apify plan. Datacenter (Automatic) connections are mostly refused by the store and are kept only as a fallback. You can also supply your own proxy URLs.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          },
          "resumeFromRunId": {
            "title": "Resume from a previous run",
            "type": "string",
            "description": "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": {
            "title": "Incremental changes for scheduled runs",
            "type": "boolean",
            "description": "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 and the keyword, category or link it was found through, and by default its wishlist count (wishlistCount), its per-size and total units left (stockQuantity, totalStock) and its merchandising badges (badges), see Ignore fields below; in-stock flags still report every availability change. With 'Price and stock only' just price, sale and stock fields are compared. State is kept separately for each keyword, category, link, market, language, filter and detail setup; use State key to name or deliberately share a monitoring campaign.",
            "default": false
          },
          "stateKey": {
            "title": "State key (optional, incremental mode only)",
            "type": "string",
            "description": "Optional. Name this monitoring campaign to keep its state stable, or to deliberately share state across differently configured runs. Leave empty to derive a key automatically from this run's search and filter setup."
          },
          "changeScope": {
            "title": "What counts as a change (incremental mode only)",
            "enum": [
              "all",
              "priceAndStock"
            ],
            "type": "string",
            "description": "'Price and stock only' compares just price, original price, sale status, in-stock status and per-size prices and in-stock status; a description, image, badge or colour change is treated as UNCHANGED and is never returned or billed as UPDATED. 'All fields' compares the whole record (minus the fields listed under Incremental changes).",
            "default": "all"
          },
          "compactUpdates": {
            "title": "Compact UPDATED rows (incremental mode only)",
            "type": "boolean",
            "description": "When on, an UPDATED row carries only identifiers plus the price/stock fields that actually moved (priceChanges, variantChanges), instead of the full record. Off by default.",
            "default": false
          },
          "expireAfterMissedScans": {
            "title": "Missed scans before EXPIRED (incremental mode only)",
            "minimum": 1,
            "type": "integer",
            "description": "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.",
            "default": 1
          },
          "emitUnchanged": {
            "title": "Emit unchanged products (incremental mode only)",
            "type": "boolean",
            "description": "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.",
            "default": false
          },
          "emitExpired": {
            "title": "Emit expired products (incremental mode only)",
            "type": "boolean",
            "description": "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 once a run has fully scanned the tracked search, never when Max items capped it or when Resume was used. This returns, and bills, extra synthetic rows.",
            "default": false
          },
          "ignoreFieldsForChanges": {
            "title": "Ignore fields when detecting changes (incremental mode only)",
            "type": "array",
            "description": "Field names that must NOT count as a change in incremental mode. The default list leaves out the wishlist count (wishlistCount), the units left per size and in total (stockQuantity, totalStock) and the merchandising badges (badges, for example 'NEW SEASON'), which move between runs without the product changing; in-stock flags (inStock, variantInStock, availableSizes) still report every availability change. 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.",
            "default": [
              "wishlistCount",
              "stockQuantity",
              "totalStock",
              "badges"
            ],
            "items": {
              "type": "string"
            }
          },
          "mcpConnectors": {
            "title": "Pipe results into your apps (optional)",
            "type": "array",
            "description": "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": {
            "title": "Notion parent page (Notion connector only)",
            "type": "string",
            "description": "URL or id of the Notion page under which item pages are created. Required to enable the Notion export; ignored by other connectors."
          },
          "maxNotifyListings": {
            "title": "Max items to export per connector",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Cap on items written to each connector per run. Does not affect the dataset.",
            "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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}