{
  "openapi": "3.0.1",
  "info": {
    "title": "Maisons du Monde Product Scraper",
    "description": "Scrape Maisons du Monde products — EUR price, ratings, images, specs & full descriptions. Browse any category, full detail enrichment, clean JSON/CSV, no code.",
    "version": "1.0",
    "x-build-id": "8JGergHuIuheHq8Wx"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sian.agency~maisons-du-monde-product-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sian.agency-maisons-du-monde-product-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/sian.agency~maisons-du-monde-product-scraper/runs": {
      "post": {
        "operationId": "runs-sync-sian.agency-maisons-du-monde-product-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/sian.agency~maisons-du-monde-product-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-sian.agency-maisons-du-monde-product-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": {
          "categories": {
            "title": "🧭 Category URLs",
            "type": "array",
            "description": "🧭 **CATEGORY BROWSING:** Scrape a whole Maisons du Monde category — the primary way to harvest products.\n\n🔧 **HOW TO GET IT:** Open any category on the site (e.g. Canapés, Chaises, Tables, Tapis), then copy the page URL from your browser, e.g. `https://www.maisonsdumonde.com/FR/fr/c/canapes-n4dc562d7bb509362a3a2102db4cbf90b6454f1f`. Paste the full URL (or just the `c/<slug>-<hash>` path) here.\n\n📝 **EXAMPLES:**\n- `https://www.maisonsdumonde.com/FR/fr/c/canapes-n4dc562d7bb509362a3a2102db4cbf90b6454f1f` (sofas)\n- `c/chaises-20526cb834235f8bc54e78e97ca5a14a` (chairs)\n- `c/tapis-1559ac122904996dcae8be4c5de8fda6` (rugs)\n\n🖊️ **BULK EDIT:** Click \"Bulk edit\" to paste many category URLs at once (one per line) — all results land in the same dataset.\n\n✅ **IMPORTANT:** Provide at least one category URL (or a product URL below) so there is something to scrape.",
            "default": [
              "https://www.maisonsdumonde.com/FR/fr/c/canapes-n4dc562d7bb509362a3a2102db4cbf90b6454f1f"
            ],
            "items": {
              "type": "string"
            }
          },
          "productUrls": {
            "title": "🔗 Product URLs (Detail)",
            "type": "array",
            "description": "🔗 **DIRECT PRODUCT PAGES:** Scrape specific product pages straight to full detail (long description, specifications, GTIN/EAN, the complete image gallery & EUR price).\n\n🔧 **HOW TO GET IT:** Open any product and copy its URL, e.g. `https://www.maisonsdumonde.com/FR/fr/p/...-234643.htm`. Paste the full URL (or the `/FR/fr/p/...` path) here.\n\n💡 **TIP:** Leave this empty if you're browsing by category — it's an optional fast path when you already know the exact products you want.\n\n🖊️ **BULK EDIT:** Click \"Bulk edit\" to paste many product URLs at once (one per line).",
            "items": {
              "type": "string"
            }
          },
          "scrapeMode": {
            "title": "⚙️ Scrape Mode",
            "enum": [
              "overview",
              "detail"
            ],
            "type": "string",
            "description": "⚙️ **SCRAPE DEPTH:** Choose how much data to pull per product.\n\n⚡ **Overview (fast):** Category results only — EUR price, rating, review count, brand and hero image. Fastest and cheapest path.\n\n🔬 **Detail (enriched specs):** Everything in Overview PLUS the full specifications table, GTIN/EAN, stock status, the complete image gallery and the long product description scraped from each product page.\n\n💡 **TIP:** Start with Overview to scope a category, then switch to Detail when you need the complete spec sheet for feeds or comparisons.",
            "default": "overview"
          },
          "sort": {
            "title": "🔃 Sort Order",
            "enum": [
              "relevance",
              "price_low",
              "price_high",
              "newest",
              "best_selling",
              "top_rated"
            ],
            "type": "string",
            "description": "🔃 **RESULT ORDERING:** Order category results using Maisons du Monde's own native sort options — so you get the same ranking real shoppers see.\n\n🏆 **Relevance** is the site default · 💲 **Price** sorts ascending or descending · 🆕 **Newest** prioritizes the latest arrivals · 🔥 **Best selling** surfaces popular products · ⭐ **Top rated** leads with the highest-reviewed items.",
            "default": "relevance"
          },
          "filters": {
            "title": "🔍 Facet Filters (Advanced)",
            "type": "array",
            "description": "🔍 **NATIVE FACET FILTERS (Advanced):** Narrow a category using Maisons du Monde's own filters, passed as `key=value` pairs.\n\n🧩 **SUPPORTED KEYS:** `fo` (forme/shape) · `co` (couleur/colour) · `ma` (matière/material) · `pr` (prix/price band) · `st` (style) · `c`/`f`/`cam` (sub-category & model facets) · `disc` (e.g. `disc=all` for discounted only) · `di` (dimension).\n\n📝 **EXAMPLES:** `fo=FORM_rond` · `disc=all`\n\n💡 **TIP:** Open a category, apply a filter on the site, then copy the query-string `key=value` from the resulting URL. Leave empty for the full category.",
            "items": {
              "type": "string"
            }
          },
          "pages": {
            "title": "📄 Pages per Category",
            "minimum": 1,
            "type": "integer",
            "description": "📄 **PAGINATION DEPTH:** How many result pages to fetch per category (each page is ~50 products). Increase to harvest deeper into large categories.\n\n💡 **TIP:** Start with 1 page to preview, then raise it once the output looks right. The Max Results cap still applies across everything.",
            "default": 1
          },
          "maxResults": {
            "title": "🔢 Max Results",
            "minimum": 1,
            "type": "integer",
            "description": "🔢 **RESULT CAP:** Maximum number of products to return across all categories and product URLs combined.\n\n🎁 **TIER-BASED LIMITS:**\n- **FREE users:** Up to 25 products per run\n- **PAID users:** Unlimited — scrape entire categories in a single run\n\n💡 **TIP:** Keep this low while you dial in your categories, then raise it once the output looks right.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}