{
  "openapi": "3.0.1",
  "info": {
    "title": "Made-in-China Scraper",
    "description": "Scrape Made-in-China.com - China's premier B2B marketplace for Chinese manufacturers and exporters. Search products and suppliers, browse by category. Extracts prices, MOQ, supplier province, gold supplier status, and product images.",
    "version": "1.0",
    "x-build-id": "g5dQTnIIsg4ThdgWS"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~made-in-china-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-made-in-china-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/crawlerbros~made-in-china-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-made-in-china-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/crawlerbros~made-in-china-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-made-in-china-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": [
              "searchProducts",
              "searchSuppliers",
              "categoryBrowse"
            ],
            "type": "string",
            "description": "What to scrape from Made-in-China.com.",
            "default": "searchProducts"
          },
          "keyword": {
            "title": "Search keyword",
            "type": "string",
            "description": "Product or supplier keyword. Used when Mode is 'Search Products' or 'Search Suppliers' (e.g. 'industrial pump', 'LED lights').",
            "default": "industrial pump"
          },
          "categoryPath": {
            "title": "Category path",
            "type": "string",
            "description": "Made-in-China.com catalog path to browse. Used only when Mode is 'Browse a product category'. Copy the path from a made-in-china.com catalog URL, e.g. 'Agriculture-Food-Catalog/Beverage' from https://www.made-in-china.com/Agriculture-Food-Catalog/Beverage.html, or 'Industrial-Equipment-Components-Catalog/browse-Self-Priming-Centrifugal-Pump-34140100000005' from a machinery sub-category page.",
            "default": "Agriculture-Food-Catalog/Beverage"
          },
          "province": {
            "title": "Filter by province",
            "enum": [
              "",
              "Anhui",
              "Beijing",
              "Chongqing",
              "Fujian",
              "Gansu",
              "Guangdong",
              "Guangxi",
              "Guizhou",
              "Hainan",
              "Hebei",
              "Heilongjiang",
              "Henan",
              "Hong Kong",
              "Hubei",
              "Hunan",
              "Inner Mongolia",
              "Jiangsu",
              "Jiangxi",
              "Jilin",
              "Liaoning",
              "Macau",
              "Ningxia",
              "Qinghai",
              "Shaanxi",
              "Shandong",
              "Shanghai",
              "Shanxi",
              "Sichuan",
              "Taiwan",
              "Tianjin",
              "Tibet",
              "Xinjiang",
              "Yunnan",
              "Zhejiang"
            ],
            "type": "string",
            "description": "Only return listings whose supplier is located in this Chinese province/municipality/region. Leave blank for no filter. Reliably populated for 'Search Products' mode; may reduce results for 'Search Suppliers' and 'Browse a product category' if the listing doesn't expose the exact same text.",
            "default": ""
          },
          "businessType": {
            "title": "Filter by business type",
            "enum": [
              "",
              "Manufacturer/Factory",
              "Trading Company",
              "Group Corporation",
              "Other"
            ],
            "type": "string",
            "description": "Only return products from suppliers of this business type. Leave blank for no filter. Applies to 'Search Products' mode only (uses the site's own faceted-search filter); has no effect in 'Search Suppliers' or 'Browse a product category' modes.",
            "default": ""
          },
          "goldSupplierOnly": {
            "title": "Gold/Diamond suppliers only",
            "type": "boolean",
            "description": "Only return listings from suppliers with a 'Gold Member' or higher China Supplier membership badge. This membership tier is only shown on Product search result pages, so this filter has no effect in 'Search Suppliers' or 'Browse a product category' modes.",
            "default": false
          },
          "auditedSupplierOnly": {
            "title": "Audited suppliers only",
            "type": "boolean",
            "description": "Only return listings whose supplier carries an 'Audited Supplier' badge (independently reviewed by inspection services). Works in all three modes.",
            "default": false
          },
          "leadingFactoryOnly": {
            "title": "Leading factories only",
            "type": "boolean",
            "description": "Only return listings whose supplier holds an 'Industry-leading Audited Factory' badge. This badge is only shown on Product search result pages, so this filter has no effect in 'Search Suppliers' or 'Browse a product category' modes.",
            "default": false
          },
          "securedTradingOnly": {
            "title": "Secured Trading listings only",
            "type": "boolean",
            "description": "Only return listings that offer Secured Trading (payment protection & after-sales support via made-in-china.com). This badge is only shown on Product search result pages, so this filter has no effect in 'Search Suppliers' or 'Browse a product category' modes.",
            "default": false
          },
          "rdCapacity": {
            "title": "Filter by R&D/production capability",
            "enum": [
              "",
              "OEM",
              "ODM",
              "Own Brand",
              "Others"
            ],
            "type": "string",
            "description": "Only return products from suppliers with this R&D capability, using the site's own faceted-search filter. Leave blank for no filter. Applies to 'Search Products' mode only.",
            "default": ""
          },
          "certification": {
            "title": "Filter by certification",
            "enum": [
              "",
              "CE",
              "ISO",
              "RoHS",
              "CCC",
              "ISO9001"
            ],
            "type": "string",
            "description": "Only return products from suppliers who advertise this quality/safety certification, using the site's own faceted-search filter. Leave blank for no filter. Applies to 'Search Products' mode only.",
            "default": ""
          },
          "maxMinOrder": {
            "title": "Max minimum-order-quantity",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Only return products whose supplier-listed Minimum Order Quantity (MOQ) is at or below this number, using the site's own faceted-search filter. Leave blank for no filter. Applies to 'Search Products' mode only."
          },
          "priceMin": {
            "title": "Price range — minimum (USD)",
            "minimum": 0,
            "maximum": 100000000,
            "type": "number",
            "description": "Only return products whose listed price falls within this range, using the site's own faceted-search filter. Must be used together with 'Price range — maximum'; if only one bound is set, the filter is ignored. Applies to 'Search Products' mode only."
          },
          "priceMax": {
            "title": "Price range — maximum (USD)",
            "minimum": 0,
            "maximum": 100000000,
            "type": "number",
            "description": "Only return products whose listed price falls within this range, using the site's own faceted-search filter. Must be used together with 'Price range — minimum'; if only one bound is set, the filter is ignored. Applies to 'Search Products' mode only."
          },
          "sampleAvailableOnly": {
            "title": "Sample available only",
            "type": "boolean",
            "description": "Only return products whose supplier offers a paid sample order, using the site's own faceted-search filter ('Buy Sample'). Applies to 'Search Products' mode only.",
            "default": false
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum number of records to return.",
            "default": 20
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}