# Uniformcart Product Scraper: Catalog, Prices & MOQ (`thescrapelab/uniformcart-scraper`) Actor

Scrape public Uniformcart product catalog data, including prices, MOQ, availability, images, and specifications.

- **URL**: https://apify.com/thescrapelab/uniformcart-scraper.md
- **Developed by:** [Inus Grobler](https://apify.com/thescrapelab) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 product records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Uniformcart Product Scraper: Catalog, Prices & MOQ

Collect public Uniformcart product data for sourcing, price research, and catalogue monitoring. The Actor returns structured products with prices, MOQ, availability, images, specifications, and product URLs.

It only visits public Uniformcart catalogue pages. It does not sign in, submit inquiry forms, contact suppliers, or collect personal contact information.

### Input Example

1. Paste a Uniformcart page if you do not want the main catalogue.
2. Optionally describe the products you want.
3. Choose how many products to return and how to order them.

For example, this finds hospital uniforms and returns the 25 lowest-priced matches:

```json
{
  "productSearch": "hospital uniform",
  "maxItems": 25,
  "sortBy": "priceAsc"
}
```

To collect one known product, use its URL:

```json
{
  "startUrl": "https://www.uniformcart.co.in/medical-uniform-12325532.html",
  "maxItems": 1
}
```

### Input

| Field | What it means | Default |
| --- | --- | --- |
| `startUrl` | One public Uniformcart catalogue, category, product, or sitemap URL. Leave blank for the main catalogue. | Main catalogue |
| `productSearch` | Optional words to find in product names, categories, brands, colours, sizes, and published specifications. | no filter |
| `maxItems` | Number of products to return. The one-product default keeps the first run quick and inexpensive. | `1` |
| `sortBy` | Website order, lowest price, highest price, or product name. | Website order |

The Actor automatically includes public descriptions and images when they are available, uses a source-safe request rate, and uses Residential Proxy for reliable catalogue-wide collection. Larger, filtered, or price-sorted requests can inspect more pages than the number of products returned.

### Pricing

This Actor uses simple pay-per-event pricing:

- **$0.00005 per run** to start the crawl (one-twentieth of a cent).
- **$0.004 per returned product** in the default dataset (two-fifths of a cent each).

For example, one product costs **$0.00405**, 25 products cost **$0.10005**, and 100 products cost **$0.40005**. A run that returns no matches is charged only the $0.00005 start fee. Set the maximum run cost to at least $0.00405 so the Actor can start and return one product.

### Output

Each dataset row can include:

- Product name, ID, URL, and category
- Price, currency, price unit, and minimum order quantity
- Availability, brand, material, colours, and sizes
- Public descriptions, image URLs, specifications, and trade information

Example output:

```json
{
  "productId": "12325532",
  "name": "Medical uniform",
  "canonicalUrl": "https://www.uniformcart.co.in/medical-uniform-12325532.html",
  "sourceCategory": "Hospital Uniform",
  "price": 400,
  "currency": "INR",
  "priceUnit": "Piece",
  "minimumOrderQuantity": 50,
  "availability": "IN_STOCK",
  "images": ["https://cpimg.tistatic.com/..."],
  "specifications": {},
  "scrapedAt": "2026-08-06T00:00:00.000Z"
}
```

Use the Dataset tab to download JSON, CSV, Excel, XML, or RSS, or consume results through the Apify API.

### Use from Python

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("thescrapelab/uniformcart-scraper").call(
    run_input={
        "productSearch": "hospital uniform",
        "maxItems": 25,
        "sortBy": "priceAsc",
    }
)

items = client.dataset(run["defaultDatasetId"]).list_items().items
for product in items:
    print(product["name"], product["price"], product["canonicalUrl"])
```

### Run status

- `SUCCEEDED`: products were collected without page failures.
- `PARTIAL`: usable products were collected, but one or more source pages failed.
- `NO_MATCHES`: the source was read successfully, but nothing matched your search.
- `FAILED`: the source could not be safely accessed or no usable product could be parsed.

Check `RUN_SUMMARY` if a run is `PARTIAL` or `FAILED`; it records the failed pages, unparsed product candidates, safety limits, and warnings.

### Troubleshooting

- **No results:** remove or simplify the product search, or start from a more specific Uniformcart category page.
- **Partial results:** export the available rows and review `RUN_SUMMARY` before retrying; the source may have temporarily blocked or changed individual pages.
- **URL rejected:** use a public `https://www.uniformcart.co.in/` catalogue, category, product, or sitemap URL without query parameters.

<details>
<summary>Advanced API options</summary>

Existing API integrations can continue to use `startUrls`, category, brand, size, colour, and price filters, custom proxy settings, and content toggles. These advanced controls are intentionally hidden from the standard form so most clients can start with the four fields above.

</details>

### Responsible use and limitations

Use the Actor only for legitimate collection of public catalogue data and in accordance with Uniformcart's applicable terms, policies, and crawl rules. Published product data can be incomplete or change when the source site changes. This Actor is not affiliated with Uniformcart.

# Actor input Schema

## `startUrl` (type: `string`):

Paste one public Uniformcart catalogue, category, product, or sitemap URL. Leave blank to collect from the main catalogue.

## `productSearch` (type: `string`):

Describe the product you want, for example: hospital uniform, safety jacket, or blue scrubs.

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

Start with 1 product for a quick, low-cost run. Increase this only when you need a larger catalogue sample; you are charged only for the crawl start and products returned.

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

Choose how the returned products should be ordered.

## Actor input object example

```json
{
  "startUrl": "https://www.uniformcart.co.in/products.html",
  "maxItems": 1,
  "sortBy": "sourceOrder"
}
```

# Actor output Schema

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

Structured public Uniformcart product data in JSON.

## `productsCsv` (type: `string`):

Spreadsheet-ready public Uniformcart product data.

## `runSummary` (type: `string`):

Counts, warnings, source status, and final run outcome.

# 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 = {
    "startUrl": "https://www.uniformcart.co.in/products.html"
};

// Run the Actor and wait for it to finish
const run = await client.actor("thescrapelab/uniformcart-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 = { "startUrl": "https://www.uniformcart.co.in/products.html" }

# Run the Actor and wait for it to finish
run = client.actor("thescrapelab/uniformcart-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 '{
  "startUrl": "https://www.uniformcart.co.in/products.html"
}' |
apify call thescrapelab/uniformcart-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,thescrapelab/uniformcart-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/c4ODwFL2wdndQc9WW/builds/m55T2H4NbasyXDbvo/openapi.json
