# Audit Amazon promo-code leaks for sellers

**Use case:** 

Seller allow-list checked against deal pages with evidence for each flag. Expect success with 2 flagged rows (1 leaked code SAVE20 plus 1 stack INFLU10, combined worst case 19%) and $0.06 — each row carries its evidence page to verify before acting.

## Input

```json
{
  "brandAsins": [
    "B012345678",
    "B0ABCDEFGH"
  ],
  "capMode": "capped",
  "checkHours": 6,
  "configId": "task-t2-seller-audit",
  "groupCodes": [
    {
      "code": "SAVE20",
      "expiresAt": "2027-06-01T00:00:00.000Z",
      "scope": "private"
    },
    {
      "code": "INFLU10",
      "expiresAt": "2027-06-01T00:00:00.000Z",
      "scope": "influencer"
    }
  ],
  "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-t2",
  "stackWatch": true
}
```

## 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 "Audit Amazon promo-code leaks for sellers". [Sign up or log in](https://console.apify.com/create-task-from-example/Fp3jFyP8qITh1XWJk) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Audit Amazon promo-code leaks for sellers" 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 "Audit Amazon promo-code leaks for sellers" 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 "Audit Amazon promo-code leaks for sellers" 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`).
