{
  "openapi": "3.0.1",
  "info": {
    "title": "Wholesale Central Supplier Directory Scraper",
    "description": "Scrape wholesale supplier and dropshipper listings from WholesaleCentral.com. Browse by product category or keyword search. Get company name, category, location, minimum order, contact info, website, and product samples.",
    "version": "1.0",
    "x-build-id": "sndvxmwbZSrIKIHTD"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~wholesale-central-supplier-directory-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-wholesale-central-supplier-directory-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~wholesale-central-supplier-directory-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-wholesale-central-supplier-directory-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~wholesale-central-supplier-directory-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-wholesale-central-supplier-directory-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": [
              "byCategory",
              "search"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "byCategory"
          },
          "category": {
            "title": "Category",
            "enum": [
              "Amazon-FBA",
              "As-Seen-On-TV",
              "Baby-Products",
              "C-Store-Items",
              "Telephone-Cellular",
              "Closeout-Suppliers",
              "Computer-Products",
              "Dollar-Store",
              "DVDs-Videos",
              "Food-Grocery",
              "Knives",
              "Lawn-Garden",
              "Military-Goods",
              "Office-Supplies",
              "Perfume",
              "Pet-Supplies",
              "Religious-Items",
              "Self-Defense-Security",
              "Souvenirs",
              "Survival-emergency-kits",
              "Tools-Hardware",
              "Vape-Products-Eliquids-Smoking-Products",
              "Watches",
              "Apparel",
              "Art-Supplies",
              "Automotive",
              "Business-Opportunities",
              "Business-Services",
              "Candles-Incense-Potpourri",
              "CBD-products",
              "Collectibles",
              "Crafts-Supplies",
              "Dropshippers",
              "Electronics",
              "Fashion-Accessories",
              "General-Merchandise",
              "Gifts",
              "Handbags-Luggage",
              "Health-Beauty",
              "Holiday-Seasonal",
              "Home-Furnishing-Housewares",
              "Jewelry",
              "Leather",
              "Made-In-USA",
              "Novelties",
              "Party-Items-Greeting-Cards",
              "Professional-Supplies",
              "Promotional",
              "Regional-Ethnic",
              "Shoes-Footwear",
              "Smoking-Products",
              "Sporting-Goods",
              "Store-Dealer-Supplies",
              "Sunglasses-Eyewear",
              "Toys-Hobbies",
              "Home-Goods-Asian-Sources"
            ],
            "type": "string",
            "description": "Product category to browse (mode=byCategory). Use `customCategorySlug` to target a narrower sub-category not listed here.",
            "default": "Apparel"
          },
          "customCategorySlug": {
            "title": "Custom category slug (advanced)",
            "type": "string",
            "description": "Override `category` with any WholesaleCentral.com category slug, e.g. `Mens-Apparel` or `CBD-gummies-edibles`. Find slugs by browsing wholesalecentral.com/category/*."
          },
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "Free-text keyword search (mode=search), e.g. `bluetooth speakers`.",
            "default": "bluetooth speakers"
          },
          "supplierType": {
            "title": "Supplier type",
            "enum": [
              "all",
              "wholesaler",
              "manufacturer",
              "importer",
              "dropshipper",
              "liquidator"
            ],
            "type": "string",
            "description": "Restrict results to a supplier taxonomy WholesaleCentral.com distinguishes structurally. `wholesaler`/`manufacturer`/`importer` are not separately tagged by the source, so they browse the category unrestricted (same as `all`).",
            "default": "all"
          },
          "state": {
            "title": "Location filter",
            "type": "string",
            "description": "Only include suppliers whose listed location contains this text, e.g. `California` or `Texas`."
          },
          "maxMinimumOrderUSD": {
            "title": "Max minimum order (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Only include suppliers whose minimum order is at most this amount. Suppliers with no disclosed minimum are always included."
          },
          "keyword": {
            "title": "Keyword filter",
            "type": "string",
            "description": "Only include suppliers whose name or description contains this text (case-insensitive). Applies on top of `category` (mode=byCategory)."
          },
          "featuredOnly": {
            "title": "Featured listings only",
            "type": "boolean",
            "description": "Only include suppliers WholesaleCentral.com badges as a \"Featured\" (premium/paid) listing.",
            "default": false
          },
          "fetchSupplierDetails": {
            "title": "Fetch phone/address/website per supplier",
            "type": "boolean",
            "description": "Visit each supplier's detail page to enrich records with phone, full address, website URL, and social media links. Slower but more complete.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "WholesaleCentral.com's bot-detection challenge is passed automatically by a real headless browser on a direct connection. Apify's shared/AUTO datacenter proxy is observed to be significantly slower and less reliable against this specific site's WAF, so proxy defaults to off; only enable it if you need to spread a very high-volume run across multiple IPs.",
            "default": {
              "useApifyProxy": false
            }
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}