{
  "openapi": "3.0.1",
  "info": {
    "title": "Reddit Lead Finder - Buying Intent & Keyword Mentions",
    "description": "Find Reddit users asking for what you sell: searches posts and comments for your keywords, tags buying-intent signals, scores every lead 0-100 and adds karma and account age. One row per person, no start fee, no Reddit API key. CSV, Excel or JSON.",
    "version": "1.0",
    "x-build-id": "OpNNonQ22jXlppC4f"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zaver.api~reddit-lead-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zaver.api-reddit-lead-finder",
        "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/zaver.api~reddit-lead-finder/runs": {
      "post": {
        "operationId": "runs-sync-zaver.api-reddit-lead-finder",
        "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/zaver.api~reddit-lead-finder/run-sync": {
      "post": {
        "operationId": "run-sync-zaver.api-reddit-lead-finder",
        "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",
        "required": [
          "keywords"
        ],
        "properties": {
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "What your buyers type, one per line: your category (<code>crm software</code>), the problem you solve (<code>follow up with leads</code>) or a competitor name (<code>hubspot alternative</code>).",
            "items": {
              "type": "string"
            }
          },
          "subreddits": {
            "title": "Only in these communities",
            "type": "array",
            "description": "Optional. Restrict the search to these communities. Leave empty to search all of Reddit.",
            "items": {
              "type": "string"
            }
          },
          "time": {
            "title": "Time range",
            "enum": [
              "all",
              "hour",
              "day",
              "week",
              "month",
              "year"
            ],
            "type": "string",
            "description": "How far back to look. Recent conversations convert best.",
            "default": "month"
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "new",
              "relevance",
              "top",
              "hot",
              "comments"
            ],
            "type": "string",
            "description": "Which matching posts are scanned first.",
            "default": "new"
          },
          "maxPostsPerKeyword": {
            "title": "Max posts per keyword",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "How many matching posts to scan per keyword (per community when communities are set).",
            "default": 100
          },
          "scanComments": {
            "title": "Scan comments too",
            "type": "boolean",
            "description": "Also read the comments of every matching post and keep commenters who mention your keyword or show strong intent. Most leads are found in comments.",
            "default": true
          },
          "maxCommentsPerPost": {
            "title": "Max comments scanned per post",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Top comments to read per matching post. Scanning is free; you pay only for leads delivered.",
            "default": 100
          },
          "strictMatch": {
            "title": "Strict keyword match",
            "type": "boolean",
            "description": "Keep a post only when your keyword's words appear together (or all in the title), not scattered through a long post. Reddit search also returns posts that mention each word once in passing; this removes them before billing. Turn off for maximum coverage.",
            "default": true
          },
          "onlyWithIntent": {
            "title": "Only leads with an intent signal",
            "type": "boolean",
            "description": "Keep only people whose text shows at least one intent signal. Turn on for a shorter, warmer list.",
            "default": false
          },
          "intents": {
            "title": "Required intent signals",
            "type": "array",
            "description": "Optional. Keep only leads showing at least one of these signals.",
            "items": {
              "type": "string",
              "enum": [
                "asking_for_recommendation",
                "willing_to_pay",
                "seeking_help",
                "pain_point",
                "comparing_options",
                "mentions_price"
              ],
              "enumTitles": [
                "Asking for a recommendation",
                "Willing to pay",
                "Seeking help",
                "Pain point",
                "Comparing options",
                "Mentions price"
              ]
            }
          },
          "minLeadScore": {
            "title": "Minimum lead score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Skip leads scoring below this (0-100). Skipped leads are not billed.",
            "default": 0
          },
          "excludeVendors": {
            "title": "Exclude vendors and self-promoters",
            "type": "boolean",
            "description": "Drop people who are promoting their own product or service rather than looking for one.",
            "default": true
          },
          "enrichProfiles": {
            "title": "Add profile data",
            "type": "boolean",
            "description": "Add karma, account age, bio and verified-email flag to every lead. Included in the price.",
            "default": true
          },
          "minKarma": {
            "title": "Minimum karma",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Skip accounts with less total karma than this. Needs profile data.",
            "default": 0
          },
          "minAccountAgeDays": {
            "title": "Minimum account age (days)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Skip accounts younger than this. Needs profile data.",
            "default": 0
          },
          "includeNSFW": {
            "title": "Include NSFW content",
            "type": "boolean",
            "description": "Include posts, comments and communities marked 18+. Off by default.",
            "default": false
          },
          "maxLeads": {
            "title": "Max leads in total",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Hard cap on leads for the whole run. 0 means no cap.",
            "default": 0
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}