{
  "openapi": "3.0.1",
  "info": {
    "title": "Signalfinder Pro",
    "description": "Find high-intent B2B leads from public sources (Hacker News, GitHub, Stack Exchange, Reddit, RSS). Classifies buying intent, scores leads 0–100, and optionally generates outreach. No paid APIs required.",
    "version": "1.0",
    "x-build-id": "cN2MuiV4GaQkOgVLd"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vamsi-krishna~signalfinder-pro/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vamsi-krishna-signalfinder-pro",
        "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/vamsi-krishna~signalfinder-pro/runs": {
      "post": {
        "operationId": "runs-sync-vamsi-krishna-signalfinder-pro",
        "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/vamsi-krishna~signalfinder-pro/run-sync": {
      "post": {
        "operationId": "run-sync-vamsi-krishna-signalfinder-pro",
        "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",
          "sources"
        ],
        "properties": {
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Product categories, problems, or solution keywords to search for (e.g. crm, sales automation, lead generation).",
            "default": [
              "software",
              "tool"
            ],
            "items": {
              "type": "string"
            }
          },
          "competitorNames": {
            "title": "Competitor Names",
            "type": "array",
            "description": "Competitors or tools to monitor for dissatisfaction or alternative-seeking (e.g. Apollo, ZoomInfo, HubSpot).",
            "items": {
              "type": "string"
            }
          },
          "painPointPhrases": {
            "title": "Pain Point Phrases",
            "type": "array",
            "description": "Custom pain phrases to search for (e.g. too expensive, bad data quality, looking for alternative).",
            "items": {
              "type": "string"
            }
          },
          "targetIndustries": {
            "title": "Target Industries",
            "type": "array",
            "description": "Industries used to boost lead scores when detected (e.g. SaaS, B2B, ecommerce).",
            "items": {
              "type": "string"
            }
          },
          "targetJobTitles": {
            "title": "Target Job Titles",
            "type": "array",
            "description": "Job titles used for decision-maker scoring when titles are available (e.g. founder, head of sales).",
            "items": {
              "type": "string"
            }
          },
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "Public sources to scan. hacker_news: startup/tool discussions. github: issues and repos seeking alternatives. stack_exchange: technical Q&A. reddit: community posts (may be blocked). rss: your own feed URLs. generic_forum: public forum URLs you provide.",
            "items": {
              "type": "string",
              "enum": [
                "hacker_news",
                "github",
                "stack_exchange",
                "reddit",
                "rss",
                "generic_forum"
              ],
              "enumTitles": [
                "Hacker News",
                "GitHub",
                "Stack Exchange",
                "Reddit",
                "RSS Feeds",
                "Generic Forums"
              ]
            },
            "default": [
              "hacker_news"
            ]
          },
          "rssFeedUrls": {
            "title": "RSS Feed URLs",
            "type": "array",
            "description": "Public RSS feed URLs to scan. Required when rss is selected in sources.",
            "items": {
              "type": "string"
            }
          },
          "genericForumUrls": {
            "title": "Generic Forum URLs",
            "type": "array",
            "description": "Public forum or community URLs to crawl. Required when generic_forum is selected in sources.",
            "items": {
              "type": "string"
            }
          },
          "githubToken": {
            "title": "GitHub Token (Optional)",
            "type": "string",
            "description": "Optional free GitHub personal access token for higher API rate limits. Actor works without it."
          },
          "startDate": {
            "title": "Start Date",
            "type": "string",
            "description": "Optional ISO date to filter results from (e.g. 2024-01-01T00:00:00Z)."
          },
          "endDate": {
            "title": "End Date",
            "type": "string",
            "description": "Optional ISO date to filter results until (e.g. 2024-12-31T23:59:59Z)."
          },
          "maxResults": {
            "title": "Max Results",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum number of qualified leads to return.",
            "default": 100
          },
          "maxPostsPerSource": {
            "title": "Max Posts Per Source",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum posts to fetch and analyze per source.",
            "default": 50
          },
          "minConfidenceScore": {
            "title": "Minimum Confidence Score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Minimum intent confidence score (0-100) for a lead to be included in output.",
            "default": 65
          },
          "includeSuggestedOutreach": {
            "title": "Include Suggested Outreach",
            "type": "boolean",
            "description": "Generate suggested outreach messages for each qualified lead.",
            "default": true
          },
          "includeCompanyEnrichment": {
            "title": "Include Company Enrichment",
            "type": "boolean",
            "description": "Attempt lightweight company enrichment from publicly available data.",
            "default": false
          },
          "webhookUrl": {
            "title": "Webhook URL",
            "type": "string",
            "description": "Optional webhook URL to POST the first 10 qualified leads after each run (10s timeout)."
          },
          "dryRun": {
            "title": "Dry Run",
            "type": "boolean",
            "description": "If true, validate input and configuration without running full scan.",
            "default": false
          },
          "enableGlobalDeduplication": {
            "title": "Enable Global Deduplication",
            "type": "boolean",
            "description": "Track seen post URLs across runs in a named KeyValueStore so scheduled monitoring only surfaces new signals.",
            "default": true
          },
          "deduplicationScope": {
            "title": "Deduplication Scope",
            "type": "string",
            "description": "Optional override for the deduplication store scope. By default, scope is derived from your keywords and sources."
          },
          "deduplicationRetentionDays": {
            "title": "Deduplication Retention Days",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Number of days to retain seen post URLs before pruning from the store (1-365).",
            "default": 90
          },
          "resetGlobalDedupStore": {
            "title": "Reset Deduplication Store",
            "type": "boolean",
            "description": "If true, wipe the scoped deduplication store at the start of this run (one-time reset).",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}