{
  "openapi": "3.0.1",
  "info": {
    "title": "Uline Catalog & Price Scraper",
    "description": "Scrape live industrial, packaging, and shipping-supply listings from Uline.com - browse any of the 45 top-level catalog departments, search by keyword, or look up full product detail (price, description, category path) by item number. No login required.",
    "version": "1.0",
    "x-build-id": "NGngKm4lSgDfu5ESR"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~uline-catalog-price-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-uline-catalog-price-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~uline-catalog-price-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-uline-catalog-price-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~uline-catalog-price-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-uline-catalog-price-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": [
              "browseByCategory",
              "browseByUrl",
              "search",
              "productDetail"
            ],
            "type": "string",
            "description": "What to fetch from Uline.",
            "default": "browseByCategory"
          },
          "productClass": {
            "title": "Catalog department (mode=browseByCategory)",
            "enum": [
              "Cls_01",
              "Cls_02",
              "Cls_03",
              "Cls_04",
              "Cls_05",
              "Cls_06",
              "Cls_07",
              "Cls_08",
              "Cls_09",
              "Cls_10",
              "Cls_11",
              "Cls_12",
              "Cls_13",
              "Cls_14",
              "Cls_15",
              "Cls_16",
              "Cls_17",
              "Cls_18",
              "Cls_19",
              "Cls_20",
              "Cls_21",
              "Cls_22",
              "Cls_23",
              "Cls_24",
              "Cls_25",
              "Cls_26",
              "Cls_27",
              "Cls_28",
              "Cls_29",
              "Cls_30",
              "Cls_31",
              "Cls_32",
              "Cls_33",
              "Cls_34",
              "Cls_35",
              "Cls_36",
              "Cls_37",
              "Cls_38",
              "Cls_39",
              "Cls_40",
              "Cls_41",
              "Cls_42",
              "Cls_43",
              "Cls_44",
              "Cls_45"
            ],
            "type": "string",
            "description": "One of Uline's 45 top-level catalog departments. The actor crawls every group and subgroup under it to collect real, in-stock products with prices.",
            "default": "Cls_04"
          },
          "categoryUrl": {
            "title": "Category/group/subgroup URL (mode=browseByUrl)",
            "type": "string",
            "description": "A full Uline department (`Cls_XX`), group (`Grp_XX`), or subgroup (`BL_XX`) URL — copy it straight from your browser's address bar while browsing uline.com. Crawls every product from that exact node down, without being limited to the 45 top-level departments in `productClass`.",
            "default": "https://www.uline.com/Grp_9/Corrugated-Boxes"
          },
          "keywords": {
            "title": "Search keywords (mode=search)",
            "type": "string",
            "description": "Free-text keyword search, e.g. `corrugated boxes 12x12x12`, `packing tape 2 inch`, `nitrile gloves`. More specific phrases (including a size) return the most precise matches.",
            "default": "corrugated boxes 12x12x12"
          },
          "itemNumbers": {
            "title": "Item numbers (mode=productDetail)",
            "type": "array",
            "description": "Uline item numbers, e.g. `S-4992`, or full product URLs.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Min price",
            "minimum": 0,
            "maximum": 1000000,
            "type": "number",
            "description": "Drop products cheaper than this (in the currency of the selected `country` market — Uline prices are rarely whole numbers, e.g. `1.18`)."
          },
          "maxPrice": {
            "title": "Max price",
            "minimum": 0,
            "maximum": 1000000,
            "type": "number",
            "description": "Drop products pricier than this (in the currency of the selected `country` market)."
          },
          "sortBy": {
            "title": "Sort results by",
            "enum": [
              "relevance",
              "priceLowToHigh",
              "priceHighToLow",
              "itemNumber",
              "nameAToZ"
            ],
            "type": "string",
            "description": "Client-side sort applied after fetching.",
            "default": "relevance"
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 30
          },
          "fetchFullDetails": {
            "title": "Fetch full product details",
            "type": "boolean",
            "description": "(mode=browseByCategory, browseByUrl, search) Fetch each result's own product page to add pack price, pack quantity, availability, color, dimensions, and price-valid-until date. Adds one extra request per result, so runs take longer. `productDetail` mode always includes these fields at no extra cost.",
            "default": false
          },
          "country": {
            "title": "Market / country",
            "enum": [
              "US",
              "CA",
              "CA_FR",
              "MX"
            ],
            "type": "string",
            "description": "Which localized Uline storefront to scrape. Changes the base domain, currency, and (for Mexico) language — the catalog structure and item numbers are identical across markets.",
            "default": "US"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}