{
  "openapi": "3.0.1",
  "info": {
    "title": "Carrefour UAE Scraper - Groceries, Prices, Deals & Stock",
    "description": "Scrape Carrefour UAE (carrefouruae.com) products in English and Arabic: prices, discounts, promotions, stock, barcodes, ingredients, nutrition, origin, images and categories. Search by keyword or category, or paste search, category, product and sitemap links.",
    "version": "0.1",
    "x-build-id": "TjS87doT60RkQ81sz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/abotapi~carrefouruae-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-abotapi-carrefouruae-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~carrefouruae-scraper/runs": {
      "post": {
        "operationId": "runs-sync-abotapi-carrefouruae-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~carrefouruae-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-abotapi-carrefouruae-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",
              "url"
            ],
            "type": "string",
            "description": "Choose 'search' to run keyword and category searches or 'url' to paste links.",
            "default": "search"
          },
          "searchTerms": {
            "title": "Search keywords",
            "type": "array",
            "description": "One or more keywords to search on Carrefour UAE, for example 'milk', 'basmati rice' or a brand and product. Each keyword is searched separately.",
            "default": [
              "milk"
            ],
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Category pages to list, written as the id or name in the site's category address (for example F1600000 for Fresh Food, traditional-sweets, or 00001 for a brand page). Each one is walked separately and narrowed by the filters below. Leave empty to use keywords only.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "language": {
            "title": "Language",
            "enum": [
              "en",
              "ar"
            ],
            "type": "string",
            "description": "Language of the titles, categories and descriptions in every row. A pasted link keeps the language in its own address.",
            "default": "en"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "price_asc",
              "price_desc"
            ],
            "type": "string",
            "description": "Order of the results, applied by the site itself.",
            "default": "relevance"
          },
          "brands": {
            "title": "Brands",
            "type": "array",
            "description": "Only return products of these brands, written the way Carrefour UAE shows them (for example 'Almarai', 'Al Ain'). Leave empty for all brands.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "originCountries": {
            "title": "Countries of origin",
            "type": "array",
            "description": "Only return products from these countries, written the way Carrefour UAE shows them (for example 'United Arab Emirates', 'France'). Leave empty for all.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "dealsOnly": {
            "title": "Today's deals only",
            "type": "boolean",
            "description": "Only products in the site's Today's Deals selection.",
            "default": false
          },
          "fulfilledByCarrefour": {
            "title": "Fulfilled by Carrefour only",
            "type": "boolean",
            "description": "Only products Carrefour stores and ships itself.",
            "default": false
          },
          "delivery": {
            "title": "Delivery speed",
            "enum": [
              "any",
              "now",
              "tomorrow"
            ],
            "type": "string",
            "description": "Only products that can arrive within the chosen window.",
            "default": "any"
          },
          "sellerType": {
            "title": "Seller type",
            "enum": [
              "all",
              "local",
              "global"
            ],
            "type": "string",
            "description": "Choose local products, Global Store products, or both.",
            "default": "all"
          },
          "minPrice": {
            "title": "Minimum price (AED)",
            "minimum": 0,
            "type": "number",
            "description": "Lowest selling price in AED. Leave empty for no lower bound."
          },
          "maxPrice": {
            "title": "Maximum price (AED)",
            "minimum": 0,
            "type": "number",
            "description": "Highest selling price in AED. Leave empty for no upper bound."
          },
          "minDiscount": {
            "title": "Minimum discount (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Only products discounted by at least this percentage. Leave empty for all."
          },
          "inStockOnly": {
            "title": "In stock only",
            "type": "boolean",
            "description": "Only products that can currently be ordered.",
            "default": false
          },
          "onSaleOnly": {
            "title": "On sale only",
            "type": "boolean",
            "description": "Only products priced below their marked price.",
            "default": false
          },
          "excludeSponsored": {
            "title": "Skip sponsored placements",
            "type": "boolean",
            "description": "Leave out products shown in a paid slot of the result page.",
            "default": false
          },
          "urls": {
            "title": "Links to read",
            "type": "array",
            "description": "Paste Carrefour UAE links: a search page (with its page, sort and ticked filters), a category, brand or promotion page, a product page (English or Arabic), the home page, or a sitemap file. A link with currentPage=N starts at that page (0 is the first). Tracking parameters are ignored.",
            "default": [
              "https://www.carrefouruae.com/mafuae/en/search?keyword=milk",
              "https://www.carrefouruae.com/mafuae/en/search?keyword=milk&currentPage=1",
              "https://www.carrefouruae.com/mafuae/en/search?keyword=milk&sortBy=price_asc",
              "https://www.carrefouruae.com/mafuae/ar/search?keyword=milk",
              "https://www.carrefouruae.com/mafuae/en/c/F1600000",
              "https://www.carrefouruae.com/mafuae/en/c/traditional-sweets",
              "https://www.carrefouruae.com/mafuae/en/c/00001",
              "https://www.carrefouruae.com/mafuae/en/full-fat-milk/crf-fresh-milk-ff-2l/p/1902801",
              "https://www.carrefouruae.com/mafuae/ar/full-fat-milk/crf-fresh-milk-ff-2l/p/1902801",
              "https://www.carrefouruae.com/mafuae/en/full-fat-milk/crf-fresh-milk-ff-2l/p/1902801?utm_source=x&gclid=1",
              "https://www.carrefouruae.com/mafuae/en/",
              "https://m.carrefouruae.com/",
              "https://www.carrefouruae.com/sitemap.xml",
              "https://www.carrefouruae.com/sitemaps/products0_en.xml"
            ],
            "items": {
              "type": "string"
            }
          },
          "fetchDetails": {
            "title": "Fetch full product details",
            "type": "boolean",
            "description": "Open every product's own page to add barcode, description, ingredients, nutrition facts, origin, category path and the full image gallery. Billed per product with the detail event. Turn off for listing fields only (faster and cheaper); links to product pages always read their page.",
            "default": true
          },
          "maxPages": {
            "title": "Max pages (does not cap on its own)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Limits how many result pages (60 products each) every keyword, category or link walks. Empty or 0 means no page limit; it does NOT cap the run by itself, Max items below does."
          },
          "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 or search).",
            "default": 20
          },
          "maxItemsPerSearch": {
            "title": "Max items per keyword 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 still caps the run.",
            "default": 0
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Leave this on the default (Residential), which is recommended for the most reliable results and is billed to your own Apify plan. Automatic (datacenter) is cheaper and works for many pages, but some connections are refused.",
            "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, the keyword or link it was found through, the sort and paging details of the result page, the live stock counter, the delivery window text, the sponsored-slot flag, and the in-stock and selected flags of other sizes (see Ignore fields below); with 'Price and stock only' just selling price, marked price, on-sale flag, in-stock flag and stock status are compared. State is kept separately for each keyword, link, language, sort and filter 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 selling price, marked price, the on-sale flag, the in-stock flag and the stock status; a description, image, badge or category 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), 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.",
            "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 or Max pages capped it, when a pasted link started past page 1, or when Resume was used. This returns, and bills, extra 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 (for example 'badges' or 'description'). The list is empty by default: the live stock counter, delivery window and result position never count anyway. A product whose only differences are in the listed 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": [],
            "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
          },
          "notifyOnlyChanges": {
            "title": "Alert on changes only",
            "type": "boolean",
            "description": "Only send the alert when Incremental changes is on and at least one product is NEW, UPDATED, REAPPEARED or EXPIRED. Without Incremental changes every finished run sends its summary.",
            "default": false
          },
          "notificationLimit": {
            "title": "Rows listed per alert",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many product rows the alert message lists (the run's totals are always in the first line).",
            "default": 5
          },
          "slackWebhookUrl": {
            "title": "Slack incoming webhook",
            "type": "string",
            "description": "Optional Slack incoming-webhook URL to post the summary to."
          },
          "discordWebhookUrl": {
            "title": "Discord channel webhook",
            "type": "string",
            "description": "Optional Discord channel webhook URL to post the summary to."
          },
          "chatBotToken": {
            "title": "Chat bot token",
            "type": "string",
            "description": "Optional Chat bot token. Needs the chat ID below."
          },
          "chatBotChatId": {
            "title": "Chat bot chat ID",
            "type": "string",
            "description": "Optional Chat bot chat ID the bot posts the summary to."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}