{
  "openapi": "3.0.1",
  "info": {
    "title": "MonotaRO Scraper | Japan MRO Products & Prices",
    "description": "Scrape MonotaRO (www.monotaro.com) Japan MRO / industrial catalog — keyword search, categories, brands, product groups, SKUs, and review summaries. Extract productCode, monotaroNo, guest prices, ratings. Export Excel/CSV/JSON. Unofficial — not affiliated with MonotaRO.",
    "version": "0.1",
    "x-build-id": "XRobEd0pDej2hgoKp"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lentic_clockss~monotaro-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lentic_clockss-monotaro-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/lentic_clockss~monotaro-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lentic_clockss-monotaro-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/lentic_clockss~monotaro-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lentic_clockss-monotaro-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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "category",
              "brand",
              "group",
              "sku",
              "review",
              "categories",
              "corporate-leads"
            ],
            "type": "string",
            "description": "search | category | brand | group | sku | review | categories | corporate-leads",
            "default": "search"
          },
          "corporateUrl": {
            "title": "Corporate overview URL",
            "type": "string",
            "description": "For mode=corporate-leads (default https://corp.monotaro.com/overview.html). Company overview page carrying the verified address / org / representative leads."
          },
          "keyword": {
            "title": "Search keyword",
            "type": "string",
            "description": "Japanese/English keyword for mode=search (e.g. スパナ, 手袋).",
            "default": "手袋"
          },
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Optional list; first used if keyword empty",
            "items": {
              "type": "string"
            }
          },
          "categoryId": {
            "title": "Category ID",
            "type": "string",
            "description": "Numeric id for /s/c-{id}/ (mode=category)"
          },
          "brandId": {
            "title": "Brand ID",
            "type": "string",
            "description": "Numeric id for /s/b-{id}/ (mode=brand)"
          },
          "productCode": {
            "title": "Product group code",
            "type": "string",
            "description": "Group productCode for mode=group or review (padded to 8 digits)"
          },
          "monotaroNo": {
            "title": "MonotaRO SKU number",
            "type": "string",
            "description": "Ordering code for mode=sku → /p/{4}/{4}/"
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Optional monotaro.com URLs",
            "items": {
              "type": "string"
            }
          },
          "page": {
            "title": "Start page",
            "minimum": 1,
            "type": "integer",
            "description": "SERP page (1-based)",
            "default": 1
          },
          "priceMin": {
            "title": "Min price (JPY, tax-excl filter)",
            "type": "number",
            "description": "Maps to pf="
          },
          "priceMax": {
            "title": "Max price (JPY, tax-excl filter)",
            "type": "number",
            "description": "Maps to pt="
          },
          "reviewMin": {
            "title": "Min review rank",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "Maps to rv= (1–4)"
          },
          "sort": {
            "title": "Sort",
            "type": "string",
            "description": "SERP sort code (e.g. DEFAULT, GP-0). Discover options via mode=categories."
          },
          "stockIndicator": {
            "title": "Stock indicator (si)",
            "type": "string",
            "description": "Maps to si= (1|2|3). Semantics partially documented."
          },
          "attrs": {
            "title": "Attribute facets",
            "type": "object",
            "description": "Facet map, e.g. {\"attr_f972\": \"Y型\"}. Keys may be attr_f* or bare facet ids."
          },
          "enrichDetails": {
            "title": "Enrich listing with group/SKU details",
            "type": "boolean",
            "description": "For search/category/brand: fetch /g/ pages for top listings (slower). Default on — entity/lead enrichment runs regardless.",
            "default": true
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum dataset rows this run (free plan capped at 200). Store Test uses 1.",
            "default": 1
          },
          "workerBaseUrl": {
            "title": "Scrape endpoint override",
            "type": "string",
            "description": "Advanced: optional allowlisted HTTPS origin override. Prefer Actor environment defaults."
          },
          "proxyCountry": {
            "title": "Proxy country",
            "type": "string",
            "description": "Hint for worker egress (default JP)",
            "default": "JP"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}