# Refurb Mac Sniper (`pyralislabs/refurb-mac-sniper`) Actor

Monitor Apple Certified Refurbished for Mac Studio, Mac mini & every Mac. Instant Discord/Slack/webhook alerts on restocks, new listings, and price drops. Built for the 2026 shortage: refurb Studios sell out in minutes.

- **URL**: https://apify.com/pyralislabs/refurb-mac-sniper.md
- **Developed by:** [PyralisLabs](https://apify.com/pyralislabs) (community)
- **Categories:** E-commerce, Automation, Agents
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.50 / 1,000 stock checks

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

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## 🎯 Refurb Mac Sniper

> **Get pinged the moment a refurbished Mac Studio or Mac mini hits Apple's Certified Refurbished store — before it sells out again.**

The **Refurb Mac Sniper** watches Apple's Certified Refurbished Mac storefront and fires **instant Discord, Slack, or JSON webhook alerts** when new units appear, sold-out configs come back, or prices drop. Built for the 2026 memory crisis, where refurbished Mac Studios and minis vanish **within minutes** of appearing — but useful for every refurb hunter, every model, in 10 countries.

You set up a schedule (every 5 minutes recommended), tell it what to watch — model families, a minimum unified-memory size, a price cap, or exact product URLs — and it remembers what it saw last time. Anything new, returned, or cheaper triggers an alert with a **direct buy link first**, because speed is everything.

---

### 🤔 Why this exists (and why now)

The 2026 AI-driven DRAM shortage pushed Apple to pull high-memory Mac mini and Mac Studio configs from sale, raise upgrade prices, and confirm **months** of continued shortage. Marked-up units flood eBay while Apple's refurb store — with its **1-year Apple warranty, new battery and outer shell, and 15%+ savings** — restocks in unpredictable bursts that sell out in minutes. Humans can't refresh a webpage all day. This actor can.

It's also the programmable refurb tracker that email-alert websites never built: structured JSON output, webhooks into n8n/Make/Zapier/Discord, spec-level filters ("only ≥64GB unified memory under $4,000"), price history via persistent state, and full AI-agent compatibility through the [Apify MCP Server](https://mcp.apify.com).

---

### ⚡ What it does

- 🔍 **Watches Apple Certified Refurbished** — the full Mac grid, selected model families (Mac Studio, Mac mini, MacBook Pro/Air, iMac, Mac Pro, Displays), or **exact product URLs** (works even while the product is *unavailable* — you get the alert the moment it returns).
- 🧠 **Spec-level filters**: minimum unified memory (the LLM-builder filter), price band, keyword ("M3 Ultra").
- 🔔 **Instant webhook alerts** — Discord and Slack URLs auto-detected with rich formatted messages; any other URL gets a clean JSON POST (optional bearer token) for n8n, Make, Zapier, or your own endpoint.
- 📉 **Four event types**: `new-listing`, `back-in-stock`, `price-drop`, `gone` (sold out) — choose which ones alert you.
- 💾 **Remembers between runs** — per-watch persistent state means real diffs, first-seen timestamps, and previous-price tracking. The first run records a quiet baseline (no alert blast).
- 💰 **Savings data straight from Apple** — every listing carries current price, original new price, and savings in $ and %.
- 🌍 **10 countries**: US, UK, CA, DE, FR, AU, IT, ES, NL, JP.
- 🤖 **Agent-ready** — structured per-record output and MCP discoverability; "watch the refurb store for me" is a one-tool-call task.

### ⏱️ What to expect from a run

- **Typical runtime: 2–5 seconds.** One light page fetch per check (the grid covers every Mac refurb in a single request) — no browser, no proxy needed.
- **Typical cost: well under a cent per check** plus ~$0.02 per dispatched alert (unit prices drop on higher Apify plans). A 5-minute watch costs about **$1.00–1.50/day** — cheaper than missing a $1,500-off Mac Studio.
- **Every run returns the matched inventory** as `listing` records — what's in stock right now, with prices and savings. **First run = baseline** for alerting: no alerts fire (you don't want 130 pings when you create a watch); alerts start with the second run.
- **Zero matching listings is normal** during the shortage — Mac Studios are often entirely absent from the grid. That absence is exactly what makes the `new-listing` alert valuable.

---

### 🚀 Quick start

1. Run the actor once with defaults — it watches **Mac Studio + Mac mini** on the US store and records a baseline.
2. Add your **webhook URL** (Discord channel webhook, Slack incoming webhook, or any HTTPS endpoint).
3. Create an **Apify Schedule** for the actor — every 5 minutes is the sweet spot:
   - Console → Schedules → Create new → cron `*/5 * * * *` → attach this actor with your input.
4. Done. The next Mac Studio that appears will ping you with a buy link in seconds.

#### Watching one exact config (e.g. the M3 Ultra Studio)

Set `watchMode` to `productUrls` and paste the product URL — the default input already points at the Refurbished Mac Studio M3 Ultra 28-core/60-core. The page is monitored even while it shows "Unavailable"; the moment Apple flips it buyable you get `back-in-stock`.

#### 📡 Calling via API

```bash
curl -X POST "https://api.apify.com/v2/acts/pyralislabs~refurb-mac-sniper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "watchMode": "models",
    "models": ["macstudio", "macmini"],
    "minMemoryGb": 64,
    "maxPrice": 4500,
    "webhookUrls": ["https://discord.com/api/webhooks/…"],
    "notifyOn": ["new-listing", "back-in-stock", "price-drop"]
  }'
````

***

### ⚙️ Input parameters

| Field | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `watchMode` | enum | `models` | `models` (grid, filtered), `productUrls` (exact configs), or `entireGrid` |
| `models` | array | `["macstudio","macmini"]` | Model families to watch in `models` mode |
| `productUrls` | array | M3 Ultra Studio URL | Product pages to watch in `productUrls` mode |
| `country` | enum | `us` | Apple Store country (10 supported) |
| `minMemoryGb` | integer | 0 | Only listings with ≥ this unified memory |
| `minPrice` / `maxPrice` | integer | 0 | Price band (0 = no limit) |
| `keywordFilter` | string | — | Name must contain this text |
| `webhookUrls` | array | — | One or more alert endpoints |
| `webhookFormat` | enum | `auto` | Auto-detect Discord/Slack, or force a format |
| `webhookBearerToken` | secret | — | Bearer auth for generic JSON webhooks |
| `notifyOn` | array | new/back/drop | Which events fire webhooks |
| `proxyConfiguration` | object | off | Not needed; escape hatch only |

### 📤 Output records

Each dataset record carries a `record_type`:

- **`alert`** — one per dispatched notification: event type, product, price, previous price, buy link, webhook delivery status.
- **`listing`** — one per currently-matched refurb unit, **on every run**: part number, title, model, chip, memory, storage, price, original price, savings $ / %, product URL, first-seen timestamp, and a `status` field (`baseline` on a watch's first run, then `active` / `new` / `returned` / `price-dropped`).
- **`run_summary`** — one per run: watch config echo, matched/grid totals, event counts, alerts dispatched, warnings, runtime.

***

### 💰 Pricing

Unit prices get **cheaper on higher Apify plans** (standard tiered pricing):

| Event | When it fires | Free plan | Gold+ plans |
| :--- | :--- | :--- | :--- |
| 🔍 `stock-check` | Once per run | $0.005 | $0.0035 |
| 🔔 `alert-dispatched` | Each webhook alert sent | $0.02 | $0.014 |

A 5-minute schedule ≈ 288 checks/day ≈ **$1.01–1.44/day** depending on plan. A 30-minute hobbyist watch ≈ **$0.17–0.24/day**. Failed runs are never charged. Platform usage is included — no hidden compute or proxy fees. Your **Maximum cost per run** setting is honored: if a run hits your cap, remaining events simply go uncharged (you keep all delivered data).

***

### ❓ FAQ

#### Why didn't I get alerts on my first run?

The first run of any watch configuration records a baseline silently — otherwise creating a watch would blast you with one alert per existing listing. Alerts begin with the second run.

#### How fast will I know about a restock?

Within one schedule interval. On a 5-minute schedule, you'll know within 5 minutes of Apple listing it — typically while units are still in stock. Paid Apify plans allow 1-minute schedules if you want the edge.

#### What's special about Apple Certified Refurbished?

1-year Apple warranty (AppleCare-eligible), new battery and outer shell, full accessories — at 15%+ below new. That's why units disappear in minutes during the 2026 shortage.

#### Does it buy the Mac for me?

No. This actor only watches public listing pages and alerts you — it never logs in, never adds to cart, never automates purchases.

#### Is it legal?

The actor reads the same public, login-free pages any visitor sees — prices and availability only, no personal data. Refurb-tracking services have watched these exact pages publicly for over a decade.

***

### 🛠️ Troubleshooting

| Issue | Solution |
| :--- | :--- |
| 🕳️ `matched_listings: 0` every run | Normal during the shortage for Studio/mini — they're sold out. Your alert will fire when one appears. Widen `models` or remove filters to verify the watch works. |
| 📭 No webhook received on a test | Check the `alert` record's `webhookDeliveries` field for the delivery status/error. Discord/Slack URLs must be full webhook URLs. |
| 🔁 Duplicate alerts after changing input | Changing filters creates a new watch configuration with a fresh baseline — expected. |
| 🧱 `REFURB_GRID_BOOTSTRAP not found` | Apple changed the page structure — report it on the **Issues** tab of this actor's Store page; fixes ship within days. |

***

### 🔗 Related PyralisLabs actors

- 🖥️ [Newegg AI-Build Sniper](https://apify.com/pyralislabs/newegg-ai-build-sniper) — assembled AI-ready PC builds from live Newegg stock.
- 🏬 [Micro Center In-Store AI-Build Sniper](https://apify.com/pyralislabs/microcenter-ai-instore-sniper) — same intelligence for in-store pickup + open-box GPU deals.

### 📜 Disclaimers

- This actor reads **public** apple.com listing pages. It does not log in, automate purchases, or collect personal data.
- Apple, Mac, Mac Studio, Mac mini, MacBook, and iMac are trademarks of Apple Inc. This actor is **not affiliated with, endorsed by, or sponsored by Apple Inc.** — "Apple Certified Refurbished" is referenced descriptively.
- Prices and availability change by the minute; always verify on apple.com before purchasing.
- For bugs and feature requests, use the **Issues** tab on this actor's Apify Store page or contact `dev@pyralislabs.io`.

# Actor input Schema

## `watchMode` (type: `string`):

What to watch: filtered models on the refurbished grid (recommended), specific product URLs, or the entire Mac grid.

## `models` (type: `array`):

Which Mac families to watch (used in 'models' mode). Default: Mac Studio + Mac mini — the 2026 shortage stars.

## `productUrls` (type: `array`):

Apple refurbished product page URLs to watch (used in 'productUrls' mode). Works even while the product is unavailable — you get a back-in-stock alert the moment it returns. Default: the M3 Ultra Mac Studio.

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

Which country's refurbished storefront to watch.

## `minMemoryGb` (type: `integer`):

Only match listings with at least this much unified memory. Set 64+ if you're hunting an LLM box. 0 = no filter.

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

Only match listings at or above this price. 0 = no filter.

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

Only match listings at or below this price. 0 = no filter.

## `keywordFilter` (type: `string`):

Only match listings whose name contains this text (e.g. 'M3 Ultra').

## `webhookUrls` (type: `array`):

Where to send instant alerts. Discord and Slack webhook URLs are auto-detected and get rich formatted messages; anything else receives a clean JSON POST (n8n, Make, Zapier, your own endpoint).

## `webhookFormat` (type: `string`):

Auto-detect by URL (recommended), or force a format.

## `webhookBearerToken` (type: `string`):

Sent as 'Authorization: Bearer <token>' with generic JSON webhooks.

## `notifyOn` (type: `array`):

Which events trigger webhooks.

## `proxyConfiguration` (type: `object`):

Optional. Apple serves these pages without blocking, so no proxy is needed or used by default. Escape hatch if that ever changes.

## Actor input object example

```json
{
  "watchMode": "models",
  "models": [
    "macstudio",
    "macmini"
  ],
  "productUrls": [
    "https://www.apple.com/shop/product/g1ce5ll/a/Refurbished-Mac-Studio-Apple-M3-Ultra-chip-with-28%E2%80%91Core-CPU-and-60%E2%80%91Core-GPU"
  ],
  "country": "us",
  "minMemoryGb": 0,
  "minPrice": 0,
  "maxPrice": 0,
  "keywordFilter": "",
  "webhookUrls": [],
  "webhookFormat": "auto",
  "notifyOn": [
    "new-listing",
    "back-in-stock",
    "price-drop"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset records: record\_type = 'alert' | 'listing' | 'run\_summary' | 'error'.

# 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 = {
    "watchMode": "models",
    "models": [
        "macstudio",
        "macmini"
    ],
    "productUrls": [
        "https://www.apple.com/shop/product/g1ce5ll/a/Refurbished-Mac-Studio-Apple-M3-Ultra-chip-with-28%E2%80%91Core-CPU-and-60%E2%80%91Core-GPU"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("pyralislabs/refurb-mac-sniper").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 = {
    "watchMode": "models",
    "models": [
        "macstudio",
        "macmini",
    ],
    "productUrls": ["https://www.apple.com/shop/product/g1ce5ll/a/Refurbished-Mac-Studio-Apple-M3-Ultra-chip-with-28%E2%80%91Core-CPU-and-60%E2%80%91Core-GPU"],
}

# Run the Actor and wait for it to finish
run = client.actor("pyralislabs/refurb-mac-sniper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "watchMode": "models",
  "models": [
    "macstudio",
    "macmini"
  ],
  "productUrls": [
    "https://www.apple.com/shop/product/g1ce5ll/a/Refurbished-Mac-Studio-Apple-M3-Ultra-chip-with-28%E2%80%91Core-CPU-and-60%E2%80%91Core-GPU"
  ]
}' |
apify call pyralislabs/refurb-mac-sniper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=pyralislabs/refurb-mac-sniper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Refurb Mac Sniper",
        "description": "Monitor Apple Certified Refurbished for Mac Studio, Mac mini & every Mac. Instant Discord/Slack/webhook alerts on restocks, new listings, and price drops. Built for the 2026 shortage: refurb Studios sell out in minutes.",
        "version": "0.3",
        "x-build-id": "gNWtzoghoKeco62fj"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/pyralislabs~refurb-mac-sniper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-pyralislabs-refurb-mac-sniper",
                "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/pyralislabs~refurb-mac-sniper/runs": {
            "post": {
                "operationId": "runs-sync-pyralislabs-refurb-mac-sniper",
                "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/pyralislabs~refurb-mac-sniper/run-sync": {
            "post": {
                "operationId": "run-sync-pyralislabs-refurb-mac-sniper",
                "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",
                "properties": {
                    "watchMode": {
                        "title": "Watch mode",
                        "enum": [
                            "models",
                            "productUrls",
                            "entireGrid"
                        ],
                        "type": "string",
                        "description": "What to watch: filtered models on the refurbished grid (recommended), specific product URLs, or the entire Mac grid.",
                        "default": "models"
                    },
                    "models": {
                        "title": "Models to watch",
                        "type": "array",
                        "description": "Which Mac families to watch (used in 'models' mode). Default: Mac Studio + Mac mini — the 2026 shortage stars.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "macstudio",
                                "macmini",
                                "macbookpro",
                                "macbookair",
                                "imac",
                                "macpro",
                                "display"
                            ],
                            "enumTitles": [
                                "Mac Studio",
                                "Mac mini",
                                "MacBook Pro",
                                "MacBook Air",
                                "iMac",
                                "Mac Pro",
                                "Displays"
                            ]
                        },
                        "default": [
                            "macstudio",
                            "macmini"
                        ]
                    },
                    "productUrls": {
                        "title": "Specific product URLs",
                        "type": "array",
                        "description": "Apple refurbished product page URLs to watch (used in 'productUrls' mode). Works even while the product is unavailable — you get a back-in-stock alert the moment it returns. Default: the M3 Ultra Mac Studio.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "country": {
                        "title": "Apple Store country",
                        "enum": [
                            "us",
                            "uk",
                            "ca",
                            "de",
                            "fr",
                            "au",
                            "it",
                            "es",
                            "nl",
                            "jp"
                        ],
                        "type": "string",
                        "description": "Which country's refurbished storefront to watch.",
                        "default": "us"
                    },
                    "minMemoryGb": {
                        "title": "Minimum unified memory (GB)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only match listings with at least this much unified memory. Set 64+ if you're hunting an LLM box. 0 = no filter.",
                        "default": 0
                    },
                    "minPrice": {
                        "title": "Minimum price",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only match listings at or above this price. 0 = no filter.",
                        "default": 0
                    },
                    "maxPrice": {
                        "title": "Maximum price",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only match listings at or below this price. 0 = no filter.",
                        "default": 0
                    },
                    "keywordFilter": {
                        "title": "Keyword filter",
                        "type": "string",
                        "description": "Only match listings whose name contains this text (e.g. 'M3 Ultra').",
                        "default": ""
                    },
                    "webhookUrls": {
                        "title": "Notification webhook URLs",
                        "type": "array",
                        "description": "Where to send instant alerts. Discord and Slack webhook URLs are auto-detected and get rich formatted messages; anything else receives a clean JSON POST (n8n, Make, Zapier, your own endpoint).",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "webhookFormat": {
                        "title": "Webhook payload format",
                        "enum": [
                            "auto",
                            "discord",
                            "slack",
                            "generic"
                        ],
                        "type": "string",
                        "description": "Auto-detect by URL (recommended), or force a format.",
                        "default": "auto"
                    },
                    "webhookBearerToken": {
                        "title": "Webhook bearer token (optional)",
                        "type": "string",
                        "description": "Sent as 'Authorization: Bearer <token>' with generic JSON webhooks."
                    },
                    "notifyOn": {
                        "title": "Alert on",
                        "type": "array",
                        "description": "Which events trigger webhooks.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "new-listing",
                                "back-in-stock",
                                "price-drop",
                                "gone"
                            ],
                            "enumTitles": [
                                "New listing appears",
                                "Back in stock",
                                "Price drop",
                                "Sold out (gone)"
                            ]
                        },
                        "default": [
                            "new-listing",
                            "back-in-stock",
                            "price-drop"
                        ]
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Optional. Apple serves these pages without blocking, so no proxy is needed or used by default. Escape hatch if that ever changes.",
                        "default": {
                            "useApifyProxy": false
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
