{
  "openapi": "3.0.1",
  "info": {
    "title": "Reddit Monitor: Brand Mentions, Competitor & Keyword Alerts",
    "description": "Only NEW Reddit posts and comments naming your brand, rivals or keywords since the last run, tagged with a reply priority 0 to 100, share of voice and Slack or email alerts. Reads any Reddit scraper dataset or runs one. Replaces Reddit RSS (ended 17 Nov 2026). Pay per new mention; MCP, x402.",
    "version": "0.1",
    "x-build-id": "ZMq5Bw2AKrFfUcWyU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nerolabs~reddit-mention-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nerolabs-reddit-mention-monitor",
        "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/nerolabs~reddit-mention-monitor/runs": {
      "post": {
        "operationId": "runs-sync-nerolabs-reddit-mention-monitor",
        "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/nerolabs~reddit-mention-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-nerolabs-reddit-mention-monitor",
        "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": {
          "brands": {
            "title": "Your brand(s)",
            "type": "array",
            "description": "Your brand or product names. Add other spellings after a | on the same line, for example: Notion | notion.so | NotionHQ. The first name is searched on Reddit; every name is matched in the text. Tagged brand_mention.",
            "items": {
              "type": "string"
            }
          },
          "competitors": {
            "title": "Competitors",
            "type": "array",
            "description": "Rival brands, one per line (aliases after a |). Mentions are tagged competitor_mention, and posts unhappy with a rival get a high reply priority. Used for share of voice.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Topics or buying phrases to watch, for example 'best crm for small business' or 'alternative to Mailchimp'. Tagged keyword_match. Good for finding leads.",
            "items": {
              "type": "string"
            }
          },
          "subreddits": {
            "title": "Subreddits (optional)",
            "type": "array",
            "description": "Limit the watch to these subreddits (names, r/name or links). With no brands or keywords, the newest posts of these subreddits are watched and tagged by intent.",
            "items": {
              "type": "string"
            }
          },
          "contextWords": {
            "title": "Context words (cuts false matches)",
            "type": "array",
            "description": "Optional. A mention only counts when one of these words is also in the post, comment or thread title. Use it when a name is also a common word or another product (Notion, Apple, Obsidian): for example app, notes, workspace.",
            "items": {
              "type": "string"
            }
          },
          "excludeWords": {
            "title": "Exclude words",
            "type": "array",
            "description": "Optional. Leave out any post or comment that contains one of these words (for example hiring, giveaway, nsfw).",
            "items": {
              "type": "string"
            }
          },
          "matchCase": {
            "title": "Match brand and competitor case",
            "type": "boolean",
            "description": "Off: Notion also matches 'notion'. On: brands and competitors must be written with the same capitals you typed (keywords never are).",
            "default": false
          },
          "searchComments": {
            "title": "Search comments too",
            "type": "boolean",
            "description": "When a scraper is run for you: search Reddit comments as well as posts (most brand mentions are in comments). On by default.",
            "default": true
          },
          "datasetIds": {
            "title": "Reddit rows: datasets",
            "type": "array",
            "description": "Datasets from Reddit scraper runs."
          },
          "fileUrl": {
            "title": "File or Google Sheet URL",
            "type": "string",
            "description": "A CSV, JSON, JSON Lines or Excel file, or a Google Sheet shared as 'Anyone with the link', with title or text columns (id, subreddit, date and link columns help)."
          },
          "fileFormat": {
            "title": "File format",
            "enum": [
              "auto",
              "csv",
              "tsv",
              "json",
              "jsonl",
              "xlsx"
            ],
            "type": "string",
            "description": "Usually leave on Detect.",
            "default": "auto"
          },
          "sheetName": {
            "title": "Excel sheet name",
            "type": "string",
            "description": "For Excel files with several sheets. Defaults to the first."
          },
          "data": {
            "title": "Rows in the input",
            "type": "array",
            "description": "For agents and the API: Reddit rows as JSON objects."
          },
          "scraper": {
            "title": "Reddit scraper to run for you",
            "enum": [
              "clearpath",
              "harshmaur",
              "automation-lab"
            ],
            "type": "string",
            "description": "Which Store scraper fetches Reddit. Its own price is billed by Apify to your account.",
            "default": "clearpath"
          },
          "maxResultsPerTerm": {
            "title": "Results per search",
            "minimum": 5,
            "maximum": 1000,
            "type": "integer",
            "description": "Most posts (and as many comments) fetched per brand, competitor or keyword per run.",
            "default": 50
          },
          "lookbackDays": {
            "title": "First run: look back (days)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "How far back the first run of a watch searches. Later runs fetch only since the last run.",
            "default": 7
          },
          "maxFetchSpendUsd": {
            "title": "Scraper spending cap (USD)",
            "minimum": 0.5,
            "maximum": 100,
            "type": "number",
            "description": "The most the scraper run may cost your account in one run (Apify needs at least $0.50).",
            "default": 1
          },
          "includeNsfw": {
            "title": "Include NSFW",
            "type": "boolean",
            "description": "Keep posts and comments marked NSFW.",
            "default": false
          },
          "onlyNew": {
            "title": "Only new mentions",
            "type": "boolean",
            "description": "On: remember every post and comment returned, and return only new ones next time. Off: return every match each run.",
            "default": true
          },
          "watchName": {
            "title": "Watch name",
            "type": "string",
            "description": "Optional. Names the memory, for example 'acme-brand'. Left empty, a name is made from what you watch, so the same input always has the same memory."
          },
          "firstRun": {
            "title": "First run of a watch",
            "enum": [
              "all",
              "baseline"
            ],
            "type": "string",
            "description": "What the very first run of a new watch does.",
            "default": "all"
          },
          "resetWatch": {
            "title": "Reset this watch",
            "type": "boolean",
            "description": "Forget everything this watch has returned and start again.",
            "default": false
          },
          "includeTags": {
            "title": "Only these tags",
            "type": "array",
            "description": "Optional. Return only mentions with at least one of these tags (for lead finding: Recommendation request, Buying intent).",
            "items": {
              "type": "string",
              "enum": [
                "brand_mention",
                "competitor_mention",
                "keyword_match",
                "recommendation_request",
                "question_unanswered",
                "buying_intent",
                "complaint",
                "comparison",
                "praise"
              ],
              "enumTitles": [
                "Brand mention",
                "Competitor mention",
                "Keyword match",
                "Recommendation request",
                "Unanswered question",
                "Buying intent",
                "Complaint",
                "Comparison",
                "Praise"
              ]
            }
          },
          "minPriority": {
            "title": "Minimum reply priority",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Return only mentions with this reply priority or higher (65+ = reply now, 40+ = reply today). Lower ones are not charged and not remembered.",
            "default": 0
          },
          "maxAgeDays": {
            "title": "Ignore posts older than (days)",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "0 = no limit. Useful with your own rows.",
            "default": 0
          },
          "ignoreAuthors": {
            "title": "Ignore authors",
            "type": "array",
            "description": "Reddit usernames to leave out, such as your own team's accounts.",
            "items": {
              "type": "string"
            }
          },
          "aiCheck": {
            "title": "AI check (optional)",
            "type": "boolean",
            "description": "Each NEW mention is also read by an AI model: is it really about your brand (drops false matches before they are charged as mentions), sentiment, intent and a one-line reply angle. Model cost (well under a cent per mention) is billed to your Apify account through Apify's OpenRouter proxy, plus the AI check event.",
            "default": false
          },
          "aiModel": {
            "title": "AI model",
            "type": "string",
            "description": "Any OpenRouter model id. Backup models are tried automatically if it does not answer.",
            "default": "google/gemini-3.1-flash-lite"
          },
          "webhookUrl": {
            "title": "Webhook URL (Slack, Discord or any)",
            "type": "string",
            "description": "A Slack incoming webhook, a Discord webhook, or any URL (Zapier, Make, n8n, your API). Slack and Discord get a ready message; other URLs get JSON with the mentions and the summary."
          },
          "alertEmail": {
            "title": "Alert email",
            "type": "string",
            "description": "Your own email address. Sent through Apify's apify/send-mail Actor on your account."
          },
          "alertMinPriority": {
            "title": "Alert only at priority",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Only alert for mentions at this reply priority or higher (for example 65 for reply-now leads).",
            "default": 0
          },
          "alertDryRun": {
            "title": "Test alerts (email to the log only)",
            "type": "boolean",
            "description": "The email is written to the run log instead of being sent. The webhook is still called.",
            "default": false
          },
          "maxItems": {
            "title": "Most rows to read",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Safety cap on rows read from datasets, files and the scraper.",
            "default": 20000
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}