{
  "openapi": "3.0.1",
  "info": {
    "title": "Made-in-China Scraper: Suppliers, Products, MOQ, No Login",
    "description": "Made-in-China.com suppliers and products by keyword: MOQ, price range, audit badge, location, year founded, payment terms, nearest port, specifications. No login. $1 per 1,000 results, platform usage included.",
    "version": "0.1",
    "x-build-id": "CyjnUU6ivIYIkHgVp"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/one_dollar_store~made-in-china-suppliers-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-one_dollar_store-made-in-china-suppliers-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/one_dollar_store~made-in-china-suppliers-scraper/runs": {
      "post": {
        "operationId": "runs-sync-one_dollar_store-made-in-china-suppliers-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/one_dollar_store~made-in-china-suppliers-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-one_dollar_store-made-in-china-suppliers-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": [
          "keywords"
        ],
        "properties": {
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "What to look for, as a buyer would type it on Made-in-China.com, for example \"led light\" or \"yoga mat\". Each keyword is read page by page (30 products a page). You can also paste a Made-in-China product list address (made-in-china.com/products-search/hot-china-products/...).",
            "items": {
              "type": "string"
            }
          },
          "rowType": {
            "title": "One row per",
            "enum": [
              "suppliers",
              "products"
            ],
            "type": "string",
            "description": "Supplier: one row per supplier, with its trade profile and one example product. Product: one row per product with price range, MOQ, specifications and the supplier beside it.",
            "default": "suppliers"
          },
          "includeDetails": {
            "title": "Read the product page too",
            "type": "boolean",
            "description": "Open the product page for each row to add the supplier's trade profile (year established, payment terms, port, lead time, certifications, main markets) and, for products, specifications, price tiers and categories. Switch off for a faster run with the search card data only.",
            "default": true
          },
          "maxPagesPerKeyword": {
            "title": "Pages per keyword",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "How many list pages to read for each keyword (30 products each). Made-in-China lists up to about 200 pages for broad keywords.",
            "default": 10
          },
          "businessType": {
            "title": "Supplier type",
            "enum": [
              "any",
              "manufacturer",
              "trading"
            ],
            "type": "string",
            "description": "Keep only manufacturers, only trading companies, or both. Suppliers whose card shows no type are dropped when a type is chosen.",
            "default": "any"
          },
          "auditedOnly": {
            "title": "Audited suppliers only",
            "type": "boolean",
            "description": "Keep only suppliers with the Audited Supplier badge (checked by an independent inspection agency).",
            "default": false
          },
          "membershipLevels": {
            "title": "Membership levels",
            "type": "array",
            "description": "Keep suppliers whose membership contains one of these words, for example \"Diamond\" or \"Gold\". Leave empty for all.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Supplier locations",
            "type": "array",
            "description": "Keep suppliers whose location contains one of these words, for example \"Guangdong\", \"Zhejiang\" or \"Shanghai\". Leave empty for all.",
            "items": {
              "type": "string"
            }
          },
          "maxMoq": {
            "title": "Maximum MOQ",
            "minimum": 1,
            "maximum": 100000000,
            "type": "integer",
            "description": "Keep products whose minimum order quantity is at or below this number (in the unit shown, for example pieces)."
          },
          "minPriceUsd": {
            "title": "Minimum price (USD)",
            "minimum": 0,
            "maximum": 100000000,
            "type": "number",
            "description": "Keep products whose highest listed price is at least this many US dollars. Prices in other currencies are dropped when this is set."
          },
          "maxPriceUsd": {
            "title": "Maximum price (USD)",
            "minimum": 0,
            "maximum": 100000000,
            "type": "number",
            "description": "Keep products whose lowest listed price is at most this many US dollars. Prices in other currencies are dropped when this is set."
          },
          "establishedBefore": {
            "title": "Established before (year)",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "Keep suppliers founded before this year, for example 2015. Needs the product page, so it works only with \"Read the product page too\" on."
          },
          "maxItems": {
            "title": "Maximum results",
            "minimum": 10,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many rows in total. Minimum 10.",
            "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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}