{
  "openapi": "3.0.1",
  "info": {
    "title": "Merkandi Scraper | Wholesale Offers & Price Monitor",
    "description": "Export Merkandi wholesale deals with prices, units, stock, minimum orders, countries and manifest links. Filter searches and track new offers or price/stock changes. JSON/CSV, no login. $1/1,000 basic or $3/1,000 detailed offers; no start fee.",
    "version": "1.0",
    "x-build-id": "cxfrA83Ik90Li7nJx"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cauldo~merkandi-offer-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cauldo-merkandi-offer-monitor",
        "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/cauldo~merkandi-offer-monitor/runs": {
      "post": {
        "operationId": "runs-sync-cauldo-merkandi-offer-monitor",
        "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/cauldo~merkandi-offer-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-cauldo-merkandi-offer-monitor",
        "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": {
          "startUrls": {
            "title": "Merkandi URLs",
            "type": "array",
            "description": "Category, search, brand, wholesale topic or product URLs. English merkandi.com only. Up to 100 URLs; duplicate offers are removed. Leave empty to use Search, or browse electronics if Search is also empty.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "search": {
            "title": "Search phrase",
            "type": "string",
            "description": "Native Merkandi keyword search, applied to each discovery URL. Example: iphone or amazon returns. For product watchlists use Include keywords instead.",
            "default": ""
          },
          "includeDetails": {
            "title": "Include full product details",
            "type": "boolean",
            "description": "Add minimum orders, countries, brands, descriptions, images, shipping/payment options, manifest links, volume-price tiers and discount terms. $3 / 1,000 saved offers. Off: faster listing fields at $1 / 1,000. No start fee.",
            "default": true
          },
          "maxResults": {
            "title": "Maximum saved offers",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum output rows and result charges. Default 20 detailed offers costs at most $0.06. Skipped unchanged offers do not count. Also set a maximum run charge in Apify.",
            "default": 20
          },
          "countries": {
            "title": "Supplier countries",
            "type": "array",
            "description": "English country names, ISO codes or Merkandi IDs, e.g. Germany, PL, 68. OR within this list. Native filters on discovery; public country verified on enriched details. See FACETS for source values.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "conditions": {
            "title": "Conditions",
            "type": "array",
            "description": "Examples: New, Used, Mix / returns, Refurbished, Damaged, Outlet. OR within this list. Values available on the first discovery page appear in FACETS.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "brands": {
            "title": "Brands",
            "type": "array",
            "description": "Brand names or source slugs, e.g. Apple, Nike, hp. Native discovery filter; enriched records are also checked. OR within this list. See FACETS.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "includeKeywords": {
            "title": "Include keywords",
            "type": "array",
            "description": "Case-insensitive literal phrases; at least one must occur in the title, or in description/brands when details are enabled.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Skip an offer if any literal phrase occurs in the title, description or brands. Descriptions require details.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "priceUnits": {
            "title": "Price units",
            "type": "array",
            "description": "Only these unit labels: piece, pair, pallet, pack, lot, kilogram. No conversion between units. Combine with a price range to compare like-for-like offers.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Minimum advertised price",
            "minimum": 0,
            "type": "number",
            "description": "Inclusive numeric price. Requires a parseable price in the selected currency. No conversion or unit normalization."
          },
          "maxPrice": {
            "title": "Maximum advertised price",
            "minimum": 0,
            "type": "number",
            "description": "Inclusive numeric price. Use Price units to restrict this to pieces, pallets, etc. From-prices are included unless excluded below."
          },
          "currency": {
            "title": "Currency for price filter",
            "enum": [
              "EUR",
              "GBP",
              "USD"
            ],
            "type": "string",
            "description": "Only used with a price range. Compare the displayed amount in this currency; no currency conversion is performed.",
            "default": "EUR"
          },
          "excludeFromPrices": {
            "title": "Exclude “from” prices",
            "type": "boolean",
            "description": "Skip offers advertised as a starting price. Otherwise priceIsFrom identifies them in the output.",
            "default": false
          },
          "maxMinimumOrder": {
            "title": "Maximum minimum-order quantity",
            "minimum": 0,
            "type": "number",
            "description": "Requires details. Compare the numeric minimum-order quantity as stated by the seller. Check minimumOrderUnit in output: quantities are not converted between pieces, packs or pallets."
          },
          "sort": {
            "title": "Source sort order",
            "enum": [
              "source",
              "newest",
              "oldest",
              "priceAsc",
              "priceDesc"
            ],
            "type": "string",
            "description": "Source uses Merkandi’s existing order. Other options request a native sort. Sorting is per search, not a global merge; promoted offers may appear first. Numeric prices have differing units.",
            "default": "source"
          },
          "mode": {
            "title": "Monitoring output",
            "enum": [
              "all",
              "new",
              "changed"
            ],
            "type": "string",
            "description": "All returns matching offers. New and Changed require a monitor name. First run establishes a baseline and emits new offers. Changed returns new offers plus changed values; unchanged checks are free.",
            "default": "all"
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Optional in All mode; required in New/Changed. Reuse across scheduled runs with the same URLs, filters, sort and detail setting. 1–50 lowercase letters/digits/hyphens. History: 90 days, up to 5,000 offers / 7 MB. Do not overlap runs using the same name."
          },
          "maxPages": {
            "title": "Maximum pages per starting URL",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Caps discovery pages per starting URL. Large categories may hit a source pagination cap. The run report identifies incomplete scans.",
            "default": 10
          },
          "maxOffersToScan": {
            "title": "Maximum unique offers to check",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Includes filtered and unchanged offers. Bounds the work done even when few rows are emitted. Raise for larger monitoring searches.",
            "default": 200
          },
          "maxRequests": {
            "title": "Maximum source requests",
            "minimum": 1,
            "maximum": 15000,
            "type": "integer",
            "description": "Total HTML requests across discovery, details, redirects, retries and fallback. Images and attachments are not downloaded.",
            "default": 500
          },
          "maxRunSeconds": {
            "title": "Soft run time limit (seconds)",
            "minimum": 30,
            "maximum": 7200,
            "type": "integer",
            "description": "Stop cleanly and export progress near this limit. For longer runs also increase the Apify run timeout beyond this value.",
            "default": 540
          },
          "maxRetries": {
            "title": "Residential retries per page",
            "minimum": 0,
            "maximum": 4,
            "type": "integer",
            "description": "Retry temporary connection, rate-limit and blocking failures with fresh residential sessions. Missing products are not retried.",
            "default": 2
          },
          "maxUnblockerRequests": {
            "title": "Maximum fallback requests",
            "minimum": 0,
            "maximum": 30,
            "type": "integer",
            "description": "Only used when fallback is enabled. This limit includes fallback redirects.",
            "default": 5
          },
          "proxyCountry": {
            "title": "Residential proxy country",
            "enum": [
              "GB",
              "DE",
              "FR",
              "PL",
              "US",
              "NL",
              "ES",
              "IT"
            ],
            "type": "string",
            "description": "Residential proxy access is included. This sets the access location, not the supplier-country filter.",
            "default": "GB"
          },
          "useUnblockerFallback": {
            "title": "Enable Unblocker fallback",
            "type": "boolean",
            "description": "Optional slower fallback after residential retries fail. Included in result pricing, bounded by Maximum fallback requests. Usually unnecessary.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}