# Uline Catalog & Price Scraper (`vexaloom-labs/uline-catalog-and-price-scraper`) Actor

Get 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 by item number.

- **URL**: https://apify.com/vexaloom-labs/uline-catalog-and-price-scraper.md
- **Developed by:** [vexaloom-labs](https://apify.com/vexaloom-labs) (community)
- **Categories:** E-commerce, Automation, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Uline Catalog & Price Scraper

Scrape live industrial, packaging, and shipping-supply listings from [Uline.com](https://www.uline.com) — browse any of Uline's 45 top-level catalog departments (or jump straight to any group/subgroup by URL), search by keyword, or pull full product detail (price, pack pricing, availability, dimensions) straight from an item number. Works on Uline's US, Canadian (English & French), and Mexican storefronts. No login, no account, no paid proxy required.

### What this actor does

- **Browse a catalog department** — pick from all 45 Uline departments (Boxes, Tape, Stretch Wrap, Janitorial Supplies, Gloves, Shelving, and more). The actor automatically crawls every group and subgroup inside the department and collects every in-stock item with its real price.
- **Browse by group/subgroup URL** — paste any Uline department/group/subgroup URL (e.g. copied straight from your browser while browsing uline.com) to crawl that exact node, without being limited to the 45 top-level departments.
- **Search by keyword** — free-text search across Uline's full catalog, e.g. `corrugated boxes 12x12x12`, `packing tape 2 inch`.
- **Product detail by item number** — paste one or more Uline item numbers (e.g. `S-4992`) or product URLs to get the full detail record, including pack price/quantity, availability, color, and dimensions.
- **Multi-market** — scrape uline.com (US, USD), uline.ca (Canada, CAD, English or French), or uline.mx (Mexico, MXN, Spanish) — same catalog and item numbers, localized pricing.
- **Filters** — price range and 5 sort orders (relevance, price low/high, item number, name A-Z).
- **Optional full-detail enrichment** — turn on `fetchFullDetails` during browse/search to backfill pack price, pack quantity, availability, color, dimensions, unit weight, country of origin, and published specifications onto every result (normally only returned by `productDetail` mode).
- Empty fields are always omitted — every record only contains data actually found on the page.

### Output per product

- `itemNumber` — Uline SKU, e.g. `S-4992`
- `description` — product description as shown on Uline
- `category` — Uline's own catalog category label
- `className`, `classNum` — top-level department (e.g. `Boxes, Corrugated` / `Cls_04`)
- `groupName`, `groupNum` — mid-level group (e.g. `Corrugated Boxes` / `Grp_9`)
- `subgroupName`, `subgroupNum` — leaf subgroup (e.g. `Long Boxes` / `BL_406`)
- `categoryUrl`, `groupUrl`, `subgroupUrl` — live Uline URL for each ancestor catalog node
- `price`, `priceCurrency` — per-unit price, in the currency of the selected market
- `packPrice` — total price for the minimum order quantity (e.g. a case), where Uline shows a separate case price *(`productDetail` mode, or browse/search with `fetchFullDetails` on)*
- `packQuantity` — number of units in that pack/case *(same conditions as `packPrice`)*
- `availability` — `InStock` / `OutOfStock` / etc. *(same conditions as `packPrice`)*
- `color`, `dimensions`, `width`, `height` — physical attributes where Uline publishes them *(same conditions as `packPrice`)*
- `priceValidUntil` — date the listed price is guaranteed until *(same conditions as `packPrice`)*
- `unitWeight`, `weightUnit` — Uline's per-unit shipping weight (e.g. `0.5` / `lbs`) *(same conditions as `packPrice`)*
- `countryOfOrigin` — where Uline says the item is made, e.g. `USA` *(same conditions as `packPrice`)*
- `specifications` — Uline's `SPECIFICATIONS` bullets for the item, when published *(same conditions as `packPrice`)*
- `productUrl` — direct Uline product page
- `imageUrl` — product photo
- `sourceUrl` — the exact Uline page the record was scraped from
- `recordType: "product"`, `scrapedAt`

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `browseByCategory` | `browseByCategory` / `browseByUrl` / `search` / `productDetail` |
| `productClass` | select | `Cls_04` (Boxes, Corrugated) | Catalog department to crawl (mode=browseByCategory) |
| `categoryUrl` | string | `https://www.uline.com/Grp_9/Corrugated-Boxes` | Full Uline department/group/subgroup URL to crawl (mode=browseByUrl) |
| `keywords` | string | `corrugated boxes 12x12x12` | Free-text search (mode=search) |
| `itemNumbers` | array | – | Uline item numbers or product URLs (mode=productDetail) |
| `minPrice` / `maxPrice` | number | – | Price range, in the selected market's currency |
| `sortBy` | select | `relevance` | `relevance` / `priceLowToHigh` / `priceHighToLow` / `itemNumber` / `nameAToZ` |
| `maxItems` | integer | `30` | Hard cap on emitted records (1-500) |
| `fetchFullDetails` | boolean | `false` | Fetch each result's own product page to add pack price/quantity, availability, color, dimensions (mode=browseByCategory, browseByUrl, search) |
| `country` | select | `US` | Market to scrape: `US` (uline.com), `CA` (uline.ca), `CA_FR` (fr.uline.ca), `MX` (uline.mx) |

#### Example: browse a department

```json
{
  "mode": "browseByCategory",
  "productClass": "Cls_17",
  "maxPrice": 50,
  "maxItems": 100
}
```

#### Example: browse a specific group by URL

```json
{
  "mode": "browseByUrl",
  "categoryUrl": "https://www.uline.com/Grp_9/Corrugated-Boxes",
  "maxItems": 50
}
```

#### Example: keyword search

```json
{
  "mode": "search",
  "keywords": "nitrile gloves large",
  "maxItems": 40
}
```

#### Example: product detail by item number

```json
{
  "mode": "productDetail",
  "itemNumbers": ["S-4992", "S-4748"]
}
```

#### Example: Canadian market with full-detail enrichment

```json
{
  "mode": "browseByCategory",
  "productClass": "Cls_04",
  "country": "CA",
  "fetchFullDetails": true,
  "maxItems": 20
}
```

### Use cases

- **Procurement cost comparison** — pull prices across a department or group to compare packaging/shipping-supply options before ordering
- **Catalog monitoring** — track price changes on specific item numbers over time with `productDetail` mode
- **Cross-market pricing** — compare the same item numbers across US, Canadian and Mexican storefronts
- **Competitive research** — benchmark a supplier's own packaging-supply pricing against Uline's published catalog
- **Assortment research** — browse a whole department to see the full range of available sizes, pack quantities and price points

### FAQs

**Does this actor need a Uline account or cookies?**
No. Catalog department browsing and product detail pages are fully public. Uline's dedicated keyword-search page sits behind a short-lived JS verification challenge, so `search` mode uses a headless browser only for that first step; every other request is plain HTTP.

**Why does keyword search sometimes return fewer results than expected?**
Uline auto-narrows broad or ambiguous search terms (e.g. a single generic word) to a department landing page instead of a direct product list. This actor detects that case and automatically drills into the first matching group/subgroup so you still get real, relevant products — a more specific, multi-word phrase (ideally including a size or spec) returns the most precise direct matches.

**What does `productClass` cover?**
Every one of Uline's 45 public top-level catalog departments — shipping, packaging, janitorial, safety, retail, office, and warehouse supplies. If you need a narrower slice than a whole department, use `mode: "browseByUrl"` with the exact group or subgroup URL instead.

**What markets are supported?**
`US` (uline.com, USD), `CA` (uline.ca, CAD, English), `CA_FR` (fr.uline.ca, CAD, French), and `MX` (uline.mx, MXN, Spanish). All four serve the same catalog structure and item numbers with localized pricing.

**Why don't `packPrice`, `availability`, `unitWeight`, `countryOfOrigin`, etc. show up on browse/search results?**
Those fields come from each product's own detail page, which browse/search modes don't fetch by default (to keep runs fast). Turn on `fetchFullDetails` to fetch them for every result, at the cost of one extra request per item — or use `productDetail` mode directly, which always includes them at no extra configuration.

**Why did I get 0 results?**
Either the department/URL/keyword/item number had no matching data, or your price filter excluded every match. The run's status message explains which case applies.

### Limitations

- **Size/variant "root" items** (mostly apparel-sized products like gloves) require Uline's own size-selector form rather than a single static product page, so `productDetail` mode can't resolve a final SKU for these — the base item still appears in `browseByCategory`/`browseByUrl`/`search` results, just without pack/detail enrichment.
- **"Related items"** shown on Uline's product pages are loaded client-side after page load and aren't present in the static HTML, so they aren't extracted.
- Client-side `sortBy` is applied after fetching (Uline's own pages don't expose a server-side sort parameter for catalog/search listings).

# Actor input Schema

## `mode` (type: `string`):

What to fetch from Uline.

## `productClass` (type: `string`):

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.

## `categoryUrl` (type: `string`):

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`.

## `keywords` (type: `string`):

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.

## `itemNumbers` (type: `array`):

Uline item numbers, e.g. `S-4992`, or full product URLs.

## `minPrice` (type: `number`):

Drop products cheaper than this (in the currency of the selected `country` market — Uline prices are rarely whole numbers, e.g. `1.18`).

## `maxPrice` (type: `number`):

Drop products pricier than this (in the currency of the selected `country` market).

## `sortBy` (type: `string`):

Client-side sort applied after fetching.

## `maxItems` (type: `integer`):

Hard cap on emitted records.

## `fetchFullDetails` (type: `boolean`):

(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.

## `country` (type: `string`):

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.

## Actor input object example

```json
{
  "mode": "browseByCategory",
  "productClass": "Cls_04",
  "categoryUrl": "https://www.uline.com/Grp_9/Corrugated-Boxes",
  "keywords": "corrugated boxes 12x12x12",
  "itemNumbers": [],
  "sortBy": "relevance",
  "maxItems": 30,
  "fetchFullDetails": false,
  "country": "US"
}
```

# Actor output Schema

## `products` (type: `string`):

Dataset containing all scraped Uline products.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "browseByCategory",
    "productClass": "Cls_04",
    "categoryUrl": "https://www.uline.com/Grp_9/Corrugated-Boxes",
    "keywords": "corrugated boxes 12x12x12",
    "itemNumbers": [],
    "sortBy": "relevance",
    "maxItems": 30,
    "fetchFullDetails": false,
    "country": "US"
};

// Run the Actor and wait for it to finish
const run = await client.actor("vexaloom-labs/uline-catalog-and-price-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "browseByCategory",
    "productClass": "Cls_04",
    "categoryUrl": "https://www.uline.com/Grp_9/Corrugated-Boxes",
    "keywords": "corrugated boxes 12x12x12",
    "itemNumbers": [],
    "sortBy": "relevance",
    "maxItems": 30,
    "fetchFullDetails": False,
    "country": "US",
}

# Run the Actor and wait for it to finish
run = client.actor("vexaloom-labs/uline-catalog-and-price-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "browseByCategory",
  "productClass": "Cls_04",
  "categoryUrl": "https://www.uline.com/Grp_9/Corrugated-Boxes",
  "keywords": "corrugated boxes 12x12x12",
  "itemNumbers": [],
  "sortBy": "relevance",
  "maxItems": 30,
  "fetchFullDetails": false,
  "country": "US"
}' |
apify call vexaloom-labs/uline-catalog-and-price-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,vexaloom-labs/uline-catalog-and-price-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/992QhOd6UL3aXa06B/builds/k4Aubh4ZTJnbPRzGc/openapi.json
