# Collective Horology Watch Inventory & Price Tracker (`vexaloom-labs/collective-horology-watch-inventory-and-price`) Actor

Browse the full Collective Horology catalog, a single brand collection, or look up exact watches, and get title, brand, price, availability, SKU, and images for independent and artisan watchmaker listings.

- **URL**: https://apify.com/vexaloom-labs/collective-horology-watch-inventory-and-price.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

## Collective Horology Watch Inventory & Price Tracker

Collect current inventory from [Collective Horology](https://collectivehorology.com), the Ojai-based boutique for independent and artisan watchmakers: Czapek, Horologer MING, Fears, Armin Strom, Arcanaut, Atelier Wen, Garrick, Sartory-Billard and more. The actor reads the store's public Shopify catalog directly, so prices, stock status, variants and galleries come from live listings rather than a cache.

### What it collects

- **Whole catalog** — every product page, 250 per request, paginated to the end.
- **One collection** — a brand page by handle or URL, with fuzzy name resolution (`ming` finds `horologer-ming`).
- **Specific products** — one or many handles or product URLs, resolved through the same catalog listing.
- **Search and filters** — keyword, brand, product type, new/pre-owned condition, price range and in-stock status.
- **Sorting** — store order, best selling, title, price or newest/oldest.
- **Complete product shape** — min/max price, sale price, per-variant stock and SKUs, options, description, tags, dates and up to 12 gallery images.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string (enum) | `browseAll` | `browseAll`, `browseCollection` or `byProductIds` |
| `collectionHandle` | string | – | Collection slug or URL; `ming` resolves to `horologer-ming` |
| `productHandles` | string\[] | `[]` | Product handles or full product URLs |
| `searchQuery` | string | – | All words must appear in title, brand, type, tags, description or SKU |
| `brandFilter` | string | – | Case-insensitive brand substring, e.g. `czapek` |
| `productTypeFilter` | string (enum) | `all` | `all`, `Watches`, `Wrist Watch`, `Straps`, `Watch Bracelet`, `Books`, `Shirt`, `Hoodie`, `Mug` |
| `condition` | string (enum) | `any` | `any`, `new` or `preowned` |
| `minPrice` | integer | – | Minimum USD price (0–500000) |
| `maxPrice` | integer | – | Maximum USD price (1–500000) |
| `availableOnly` | boolean | `false` | Only products with at least one in-stock variant |
| `sortBy` | string (enum) | `manual` | `manual`, `best-selling`, `title-ascending`, `title-descending`, `price-ascending`, `price-descending`, `created-ascending`, `created-descending` |
| `maxItems` | integer | `50` | Record cap after filters, 1–1000 |

#### Example inputs

**Daily catalog check**

```json
{ "mode": "browseAll", "maxItems": 25 }
```

**In-stock watches under $10,000, cheapest first**

```json
{
  "mode": "browseAll",
  "productTypeFilter": "Watches",
  "availableOnly": true,
  "maxPrice": 10000,
  "sortBy": "price-ascending",
  "maxItems": 100
}
```

**A brand collection by URL**

```json
{
  "mode": "browseCollection",
  "collectionHandle": "https://collectivehorology.com/collections/fears"
}
```

**Pre-owned MING pieces mentioning a model name**

```json
{
  "mode": "browseCollection",
  "collectionHandle": "ming",
  "condition": "preowned",
  "searchQuery": "mosaic",
  "maxItems": 20
}
```

**Exact products from saved links**

```json
{
  "mode": "byProductIds",
  "productHandles": [
    "https://collectivehorology.com/products/ming-37-02-monolith-in-stock-ships-now",
    "fears-brunswick-40-pre-owned"
  ]
}
```

### Output

Every record carries only fields the store published for that product; empty values are omitted, never sent as `null`.

| Field | Type | Description |
|---|---|---|
| `productId` | string | Shopify product ID |
| `title` | string | Product title |
| `handle` | string | Product URL handle |
| `brand` | string | Vendor, e.g. `Czapek`, `Horologer MING` |
| `productType` | string | Store product type |
| `productUrl` | string | Absolute product page URL |
| `price` | number | Lowest variant price (USD) |
| `priceMin` / `priceMax` | number | Lowest and highest variant price |
| `compareAtPrice` | number | Original price when the piece is marked down |
| `onSale` | boolean | Present and `true` when a compare-at price exists |
| `currency` | string | `USD` |
| `available` | boolean | At least one variant in stock |
| `inStockVariantCount` | integer | Number of in-stock variants |
| `variantCount` | integer | Number of variants |
| `sku` | string | First published SKU (only some products have one) |
| `variants` | object\[] | `variantId`, `title`, `sku`, `price`, `compareAtPrice`, `available`, `option1`–`option3`, `grams`, `weight`, `weightUnit` |
| `productOptions` | object\[] | `{ name, values }` for each Shopify option |
| `imageUrl` | string | Primary image |
| `imageUrls` | string\[] | Up to 12 distinct images, tracking parameters removed |
| `imageCount` | integer | Images retained in `imageUrls` |
| `tags` | string\[] | Up to 20 store tags |
| `tagCount` | integer | Total tags published |
| `description` | string | HTML-stripped product description |
| `collectionHandle` | string | Set in collection mode |
| `createdAt` | string | ISO 8601 creation time |
| `publishedAt` | string | ISO 8601 publish time |
| `updatedAt` | string | Product update time, else newest variant update |
| `recordType` | string | `watch`, `strap`, `book`, `merchandise` or `product` |
| `scrapedAt` | string | ISO 8601 scrape timestamp (UTC) |

#### Example record

```json
{
  "productId": "8290403287219",
  "title": "MING 37.02 Monolith (In Stock - Ships Now)",
  "handle": "ming-37-02-monolith-in-stock-ships-now",
  "brand": "Horologer MING",
  "productType": "Watches",
  "productUrl": "https://www.collectivehorology.com/products/ming-37-02-monolith-in-stock-ships-now",
  "price": 5000.0,
  "priceMin": 5000.0,
  "priceMax": 5000.0,
  "currency": "USD",
  "available": true,
  "inStockVariantCount": 1,
  "variantCount": 1,
  "tags": ["ads", "instock", "ming", "new"],
  "tagCount": 4,
  "imageUrl": "https://cdn.shopify.com/s/files/1/0559/0623/8643/files/MINGMonolith37.02.001.jpg",
  "imageCount": 8,
  "createdAt": "2025-07-10T11:14:26-07:00",
  "publishedAt": "2025-07-15T13:47:12-07:00",
  "recordType": "watch",
  "scrapedAt": "2026-11-20T06:00:00+00:00"
}
```

### How it stays reliable

- Requests are paced and retried up to five times. A `429` response honours the server's `Retry-After`; `5xx` responses use exponential backoff.
- Pages continue until the catalog is exhausted, the requested `maxItems` is reached, or the store returns a short page. Products are deduplicated by `productId`.
- `byProductIds` resolves requested handles from the catalog listing instead of individual product endpoints, which the store rate-limits from data-center addresses.
- If the collection endpoint fails on a fresh catalog read, one legacy `/products.json` attempt is made before reporting failure.
- A run that cannot reach the store reports it in the status message and emits nothing. There are no placeholder or sample records.

### Data source and scope

- Public Shopify catalog JSON at `collectivehorology.com`; no login, cookie, API key or proxy is needed.
- Prices are US Dollars; the store publishes a single currency.
- The catalog currently holds about 480 products across two pages at 250 per page. The actor can page further as the store grows.
- SKU and barcode are sparse or empty upstream; fields appear only when the store fills them.
- Numeric Shopify product IDs are not routable on the public storefront; use the handle or product URL in `byProductIds`.

### Saved-task compatibility

Older task keys still work without being shown in the form: `query`, `keyword`, `brand`, `type`, `inStockOnly`, `max_price`, `limit`, `collectionUrl`, `productUrls`, `handles` and their underscore variants are mapped onto the current fields in code. A task saved with the previous prefill (`browseAll`, 5 items) produces the same kind of records.

### FAQ

**Do I need a proxy or cookies?** No. The catalog JSON is public and the actor reads it directly.

**Why are some prices missing?** A handful of products are published without a positive price (for example, made-to-order enquiries). Those records omit `price` rather than inventing one.

**Why does `sku` only appear on a few records?** Collective Horology fills SKU for a small subset of products; the value is omitted when the source has none.

**Can I track price changes?** Run the actor on a schedule and compare `price` across datasets; the store does not publish a price-history endpoint.

**Can I filter by box, papers or production year?** The storefront does not publish those attributes, so the actor does not expose filters it cannot honour.

**Why are product pages not fetched one by one?** Individual product endpoints are rate-limited from data-center IPs. The actor resolves saved handles through the catalog listing, which returns the same price, stock and variant data and keeps runs reliable.

**Is this affiliated with Collective Horology?** No. It is an independent data tool that reads the publicly available catalog and is not endorsed by the retailer.

### Use cases

- Watch new arrivals and limited editions across independent brands.
- Monitor stock and price for a shortlist of references.
- Compare pre-owned versus new inventory in one dataset.
- Feed a market-research pipeline with structured brand, type and price data.

# Actor input Schema

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

Choose what to fetch from Collective Horology.

## `collectionHandle` (type: `string`):

Brand or collection slug, or paste its URL. Examples: `horologer-ming`, `czapek`, `armin-strom`, `https://collectivehorology.com/collections/fears`. Used in browseCollection mode. Approximate names such as `ming` are resolved automatically.

## `productHandles` (type: `array`):

Shopify product handles or full product URLs, one per line. Used in byProductIds mode.

## `searchQuery` (type: `string`):

Keep only products whose title, brand, type, tags, description or SKU contain all of these words (case-insensitive).

## `brandFilter` (type: `string`):

Case-insensitive substring match on the brand name, e.g. `ming`, `czapek`, `arcanaut`.

## `productTypeFilter` (type: `string`):

Keep only one product type. Use `all` to include watches, straps, books and merchandise.

## `condition` (type: `string`):

Filter by the condition tags Collective Horology publishes.

## `minPrice` (type: `integer`):

Skip products priced below this amount.

## `maxPrice` (type: `integer`):

Skip products priced above this amount.

## `availableOnly` (type: `boolean`):

Only emit products that currently have at least one variant in stock.

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

Order applied by Collective Horology before records are emitted.

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

Hard cap on emitted records (1–1000). Filters are applied before this cap.

## Actor input object example

```json
{
  "mode": "browseAll",
  "productHandles": [],
  "productTypeFilter": "all",
  "condition": "any",
  "availableOnly": false,
  "sortBy": "manual",
  "maxItems": 5
}
```

# Actor output Schema

## `watches` (type: `string`):

Dataset containing every scraped Collective Horology watch, strap, book or merchandise listing.

# 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": "browseAll",
    "productHandles": [],
    "availableOnly": false,
    "maxItems": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("vexaloom-labs/collective-horology-watch-inventory-and-price").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": "browseAll",
    "productHandles": [],
    "availableOnly": False,
    "maxItems": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("vexaloom-labs/collective-horology-watch-inventory-and-price").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": "browseAll",
  "productHandles": [],
  "availableOnly": false,
  "maxItems": 5
}' |
apify call vexaloom-labs/collective-horology-watch-inventory-and-price --silent --output-dataset

```

## MCP server setup

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

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/Ri6TtEVFO2jKhlFTs/builds/JxGdddFofxSUNIi9u/openapi.json
