{
  "openapi": "3.0.1",
  "info": {
    "title": "Qoo10 Japan Scraper | 1$/1k Cheap",
    "description": "Scrape Qoo10 Japan (qoo10.jp) product listings by keyword or category — or paste any Qoo10 URL. Get title, sale & list price, discount, rating, reviews, seller, ship-from country, Q-points and images. Optional full product details and incremental monitoring for cheap daily runs.",
    "version": "1.0",
    "x-build-id": "LyarQBwGCPciJwy3U"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/trev0n~qoo10-japan-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-trev0n-qoo10-japan-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/trev0n~qoo10-japan-scraper/runs": {
      "post": {
        "operationId": "runs-sync-trev0n-qoo10-japan-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/trev0n~qoo10-japan-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-trev0n-qoo10-japan-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": {
          "keyword": {
            "title": "Search keyword",
            "type": "string",
            "description": "What to search for on Qoo10 Japan (e.g. 'マウス', 'serum', 'iphone case'). Works with Japanese or Latin text. Combine with a category to narrow the results, or leave empty to browse a whole category."
          },
          "category": {
            "title": "Category",
            "enum": [
              "any",
              "ladies_fashion",
              "bags_accessories",
              "shoes",
              "underwear_legwear",
              "rice_grains",
              "skincare",
              "contact_lenses",
              "home_appliances",
              "beauty_health_appliances",
              "phone_cases",
              "earphones_headphones",
              "supplements",
              "beauty_support",
              "diet"
            ],
            "type": "string",
            "description": "Restrict the search to a Qoo10 category. Choose 'Any category' to search across the whole store.",
            "default": "any"
          },
          "startUrls": {
            "title": "Start URLs (advanced — overrides filters)",
            "type": "array",
            "description": "Optional. Paste any qoo10.jp URLs — a search page (https://www.qoo10.jp/gmkt.inc/Search/Default.aspx?keyword=...), a category page, or an individual product (https://www.qoo10.jp/g/<code>). Auto-classified. When provided, these REPLACE the keyword/category fields above (the client-side filters still apply).",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "minPrice": {
            "title": "Min price (¥)",
            "minimum": 0,
            "type": "integer",
            "description": "Only keep products priced at or above this (JPY)."
          },
          "maxPrice": {
            "title": "Max price (¥)",
            "minimum": 0,
            "type": "integer",
            "description": "Only keep products priced at or below this (JPY)."
          },
          "minRating": {
            "title": "Min rating (0–5)",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Only keep products whose star rating is at least this value."
          },
          "minReviews": {
            "title": "Min reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Only keep products with at least this many reviews."
          },
          "shipsFrom": {
            "title": "Ships from",
            "enum": [
              "all",
              "JP",
              "KR",
              "CN",
              "US",
              "HK",
              "SG"
            ],
            "type": "string",
            "description": "Only keep products shipped from a specific country.",
            "default": "all"
          },
          "excludeAds": {
            "title": "Exclude sponsored (PR) products",
            "type": "boolean",
            "description": "Drop the sponsored/promoted rows tagged 'PR' in Qoo10 search results.",
            "default": false
          },
          "titleContains": {
            "title": "Title contains",
            "type": "string",
            "description": "Only keep products whose title (or seller name) contains this text (case-insensitive). A quick way to refine a broad keyword."
          },
          "fetchProductDetails": {
            "title": "Fetch full product details",
            "type": "boolean",
            "description": "When enabled, every product is opened to collect the full record: long description, brand, every gallery image, availability, item condition and category. When disabled (default, cheapest), only the ~18 rich fields already on the search row are returned — no extra request per product.",
            "default": false
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "type": "integer",
            "description": "Hard cap on the number of records pushed to the dataset.",
            "default": 200
          },
          "maxPages": {
            "title": "Max search pages",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of search-result pages to crawl per start URL (~40 products per page).",
            "default": 20
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of parallel requests. Higher values finish faster and cost less (Apify bills memory × time), but very high values risk Qoo10's 523 WAF page. 25 is a safe default on residential JP proxy; raise it if runs stay block-free.",
            "default": 25
          },
          "maxRequestRetries": {
            "title": "Max request retries",
            "minimum": 0,
            "type": "integer",
            "description": "How many times a failed/blocked request is retried on a fresh proxy session.",
            "default": 8
          },
          "incremental": {
            "title": "Incremental monitoring",
            "type": "boolean",
            "description": "Track changes across runs. The first run records a baseline; later runs emit only NEW, UPDATED (e.g. price drops) and REAPPEARED products — typically 80–95% cheaper for daily monitoring of the same search.",
            "default": false
          },
          "stateKey": {
            "title": "Monitoring state key",
            "type": "string",
            "description": "Optional. Identifier for this monitoring baseline. Leave empty to derive one automatically from the keyword + category. Use a fixed value to keep one baseline across config tweaks."
          },
          "emitUnchanged": {
            "title": "Emit unchanged products",
            "type": "boolean",
            "description": "Incremental only. Also output products that did not change since the last run.",
            "default": false
          },
          "emitExpired": {
            "title": "Emit expired products",
            "type": "boolean",
            "description": "Incremental only. Also output products that disappeared since the last run (sold out / delisted), tagged EXPIRED.",
            "default": false
          },
          "skipReposts": {
            "title": "Skip reposts",
            "type": "boolean",
            "description": "Incremental only. Drop NEW products whose content matches a recently expired one (same item re-listed under a new code).",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Default is NO proxy — Qoo10's 523 block page is absorbed by the built-in retry-on-fresh-session, so plain runs return the full result set faster and far cheaper (no per-GB residential bill). Only switch on RESIDENTIAL in Japan if you hit persistent blocks on large or repeated runs.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}