# Restock Canada Lot Alerts - daily matches with true cost (`mettahometech/restock-lot-alerts`) Actor

Daily alerts for new Restock Canada liquidation lots that match your categories, keywords, provinces and budget, each with an all-in cost estimate (price + premium + sales tax + your freight). Summary and link only; check the lot page before buying.

- **URL**: https://apify.com/mettahometech/restock-lot-alerts.md
- **Developed by:** [Metta Distribution](https://apify.com/mettahometech) (community)
- **Categories:** E-commerce, Lead generation
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $50.00 / 1,000 lot alert sents

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## Restock Canada Lot Alerts

Alerts for new **Restock Canada** liquidation lots that match **your own filters**, each with an all-in cost
estimate, best value first.

Restock Canada already emails new lots for free (filtered by category only). Use that if you just want to hear
about every new lot. This Actor is for when you want only the lots that fit your business:

| | Restock's free email | This Actor |
|---|---|---|
| Filters | Category, truckloads only | Keywords, categories, brands, condition, listed price range, pickup province, max all-in cost |
| Cost | Listed price | All-in estimate: price + premium + pickup-province sales tax + your freight |
| Order | Newest | Best MSRP per CAD of all-in cost first |
| Delivery | Email | Dataset (JSON/CSV), Slack, or any Apify integration (email, Zapier, Make) |
| Price | Free | USD 0.05 per matched lot (up to 40 per run); nothing on a quiet day |

Each row has the lot number, title, category, units, MSRP, condition, price, true-cost breakdown and a link to
the lot page on restock.ca. Summary and link only; open the lot page for the full listing.

### How to use it

1. Set your filters and your usual freight per lot (CAD).
2. Schedule it daily in Apify (Schedules -> every day at 08:00 Eastern). Keep **Only lots not alerted
   before** on so you never pay twice for the same lot.
3. Optional: add a Slack incoming-webhook URL and the lots are posted to your channel. Or use an Apify
   integration (email, Zapier, Make) on the run's dataset.

Standby mode: `GET /alerts?keywords=lamp&conditions=Like New&max_price=900&freight_estimate=250`
returns the same rows as JSON, with the same charges.

### Charges

- USD 0.05 per matched lot delivered, at most 40 per run.
- No new matching lots -> nothing charged.
- Never more than the spending limit you set on the run.
- If the lot data is stale or your Slack post fails, the run fails and nothing is charged.

### Filter notes

- Restock titles name the category, units, MSRP and condition, rarely a brand. The brand filter matches the
  title and the retailer field (e.g. `amazon`); use keywords as well.
- Restock lots do not state a pickup location, so every lot counts as QC (Restock's home province) for the tax
  estimate and the province filter.
- Conditions use Restock's labels: Brand New, Like New, Returns, Salvage.
- Estimates only. Check the lot page and your own costs before buying.
- Restock Canada only. Not affiliated with or endorsed by Restock Canada. Data is refreshed once a day.

# Actor input Schema

## `categories` (type: `array`):

Match lots whose category contains any of these words (case-insensitive), e.g. Lighting, Kitchen. Empty = any category.

## `keywords` (type: `array`):

Match lots whose title contains any of these words. Empty = any title.

## `brands` (type: `array`):

Match lots whose title or retailer contains any of these brand names. Restock titles rarely name brands, so this mostly matches the retailer (e.g. amazon) -- use keywords too.

## `conditions` (type: `array`):

Exact Restock condition labels: Brand New, Like New, Returns, Salvage. Empty = any.

## `min_price` (type: `integer`):

Lots priced at or above this.

## `max_price` (type: `integer`):

Lots priced at or below this (before premium, tax and freight).

## `regions` (type: `array`):

Two-letter pickup province codes (QC, ON, ...). Restock lots do not state a pickup location, so every lot counts as QC (Restock's home province) for now. Empty = any.

## `max_true_cost` (type: `integer`):

Only lots whose all-in estimate (price + premium + sales tax + your freight) is at or below this. Leave empty for no cap.

## `freight_estimate` (type: `integer`):

Your usual freight cost per lot, added to the true cost. Leave empty and the estimate excludes freight.

## `since_hours` (type: `integer`):

Lots first listed within this many hours. 24 suits a daily schedule.

## `max_alerts` (type: `integer`):

At most this many charged alerts per run (hard cap 40). Empty = 40.

## `only_new` (type: `boolean`):

Skip lots this profile was already alerted about in earlier runs, so you never pay twice for one lot.

## `slack_webhook_url` (type: `string`):

A Slack incoming-webhook URL (https://hooks.slack.com/...). The matched lots are posted there; if the post fails, nothing is charged.

## Actor input object example

```json
{
  "since_hours": 24,
  "only_new": true
}
```

# Actor output Schema

## `alerts` (type: `string`):

No description

## `summary` (type: `string`):

No description

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("mettahometech/restock-lot-alerts").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("mettahometech/restock-lot-alerts").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 '{}' |
apify call mettahometech/restock-lot-alerts --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mettahometech/restock-lot-alerts"
        }
    }
}
```

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/TGnorEW4sd5n2nIeC/builds/muQdKmAT3zyHmZj8T/openapi.json
