# Check promo leaks in leak-only mode, expired ignored

**Use case:** 

Leaks-only check with stack math turned off and one expired code in the list. Expect success with 1 flagged row (SAVE20) and $0.03 — combined-code math stays off and expired codes are ignored and never bill.

## Input

```json
{
  "brandAsins": [
    "B012345678"
  ],
  "capMode": "capped",
  "checkHours": 6,
  "configId": "task-t3-leak-only",
  "groupCodes": [
    {
      "code": "SAVE20",
      "expiresAt": "2027-06-01T00:00:00.000Z",
      "scope": "private"
    },
    {
      "code": "OLD5",
      "expiresAt": "2026-01-01T00:00:00.000Z",
      "scope": "email"
    }
  ],
  "maxTotalChargeUsd": 3,
  "observed": {
    "checkedAt": "2026-09-28T12:00:00Z",
    "observations": [
      {
        "code": "SAVE20",
        "codeScope": "private",
        "sourceUrl": "https://deals.example.invalid/t/save20-leak-4821"
      },
      {
        "code": "INFLU10",
        "codeScope": "influencer",
        "couponPercent": 10,
        "sourceUrl": "https://deals.example.invalid/c/influ10-stack-9917"
      },
      {
        "code": "OLD5",
        "codeScope": "email",
        "sourceUrl": "https://deals.example.invalid/t/old5-thread-0712"
      }
    ]
  },
  "sellerRef": "task-t3",
  "stackWatch": false
}
```

## Output

```json
{
  "rowId": {
    "label": "Row ID",
    "format": "string"
  },
  "sellerRef": {
    "label": "Seller reference",
    "format": "string"
  },
  "asin": {
    "label": "ASIN",
    "format": "string"
  },
  "code": {
    "label": "Code",
    "format": "string"
  },
  "codeScope": {
    "label": "Code scope",
    "format": "string"
  },
  "leakClass": {
    "label": "Leak class",
    "format": "string"
  },
  "evidenceUrl": {
    "label": "Evidence URL",
    "format": "string"
  },
  "firstSeenAt": {
    "label": "First seen at",
    "format": "string"
  },
  "checkedAt": {
    "label": "Checked at",
    "format": "string"
  },
  "notice": {
    "label": "Notice",
    "format": "string"
  },
  "billableEvent": {
    "label": "Billable event",
    "format": "string"
  },
  "billedAmountUsd": {
    "label": "Billed amount (USD)",
    "format": "number"
  },
  "discountDepth": {
    "label": "Discount depth",
    "format": "number"
  },
  "worstCaseStackMath": {
    "label": "Worst-case stack math",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Amazon Promo Leak Monitor - Flag Leaks with Proof Actor is ready to run with the inputs already set for "Check promo leaks in leak-only mode, expired ignored". [Sign up or log in](https://console.apify.com/create-task-from-example/whPMf6McSMMbHRmXw) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Check promo leaks in leak-only mode, expired ignored" task

The Amazon Promo Leak Monitor - Flag Leaks with Proof Actor will start running based on the input automatically. You can also change all the input fields, like brand asins, cap mode, and more, to match your specific use case.

### 3. Receive the "Check promo leaks in leak-only mode, expired ignored" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as row id, seller reference, ASIN, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Check promo leaks in leak-only mode, expired ignored" task via API](https://apify.com/steadyworks/amazon-promo-leak-monitor.md).

## About this Actor

This example demonstrates how to use [Amazon Promo Leak Monitor - Flag Leaks with Proof](https://apify.com/steadyworks/amazon-promo-leak-monitor.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/steadyworks/amazon-promo-leak-monitor.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/steadyworks/amazon-promo-leak-monitor.md

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