{
  "openapi": "3.0.1",
  "info": {
    "title": "Dark Funnel  Scraper",
    "description": "Dark Funnel Intelligence Engine is an Apify Actor that finds early B2B buyer intent from Reddit, GitHub, Hacker News, news APIs, and reviews before prospects hit a CRM. Fine-tuned LLMs classify intent, sentiment, buying stage, link signals to companies, and integrate with Slack, Salesforce, HubSpot.",
    "version": "0.0",
    "x-build-id": "UQ1lm3XOSnD1Nah5u"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lissome_dancer~dark-funnel-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lissome_dancer-dark-funnel-scraper",
        "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/lissome_dancer~dark-funnel-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lissome_dancer-dark-funnel-scraper",
        "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/lissome_dancer~dark-funnel-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lissome_dancer-dark-funnel-scraper",
        "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": [
          "companies"
        ],
        "properties": {
          "templatePreset": {
            "title": "Use-Case Template",
            "enum": [
              "custom",
              "crm_switching",
              "payment_processor",
              "devops_hosting",
              "marketing_agency"
            ],
            "type": "string",
            "description": "Select a pre-configured template to automatically fill companies (overrides manual input).",
            "default": "custom"
          },
          "companies": {
            "title": "Companies to Monitor",
            "type": "array",
            "description": "List of company or product names to search for across all enabled sources. Example: Notion, Stripe, Airbnb.",
            "items": {
              "type": "string"
            }
          },
          "competitorWatch": {
            "title": "Competitor Watch (Monitor Mode)",
            "type": "array",
            "description": "Enter specific competitors you want to track for risk spikes over time.",
            "items": {
              "type": "string"
            }
          },
          "monitoringMode": {
            "title": "Monitoring Mode",
            "enum": [
              "off",
              "daily",
              "weekly"
            ],
            "type": "string",
            "description": "Run continuously? OFF = one-time scrape. DAILY/WEEKLY = tracks deltas across runs, prevents duplicate leads, generates smart alerts.",
            "default": "off"
          },
          "maxRequestsPerCrawl": {
            "title": "Max Results per Company",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum number of results to fetch per company per source. Lower values = faster runs and lower cost. Default: 5.",
            "default": 5
          },
          "enableReddit": {
            "title": "Enable Reddit",
            "type": "boolean",
            "description": "Scrape Reddit posts via Yahoo Search Dorking. Bypasses all Reddit bot-detection natively.",
            "default": true
          },
          "enableGithub": {
            "title": "Enable GitHub",
            "type": "boolean",
            "description": "Search GitHub Issues for company mentions via the public API. Free, no API key needed. Rate limit: 60 requests/hour.",
            "default": true
          },
          "enableHackernews": {
            "title": "Enable Hacker News",
            "type": "boolean",
            "description": "Search Hacker News stories and comments via the free Algolia API. No API key needed, no rate limit.",
            "default": true
          },
          "enableNews": {
            "title": "Enable News API",
            "type": "boolean",
            "description": "Search news articles via NewsAPI.org. Requires a free API key (100 requests/day). Get one at https://newsapi.org.",
            "default": false
          },
          "enableG2": {
            "title": "Enable G2 Reviews",
            "type": "boolean",
            "description": "Scrape highly commercial G2 Reviews via Google Dorking to bypass Cloudflare. (Recommended)",
            "default": true
          },
          "enableLinkedin": {
            "title": "Enable LinkedIn",
            "type": "boolean",
            "description": "Scrape public LinkedIn posts via search engine Dorking for high-intent professional discussions.",
            "default": true
          },
          "newsApiKey": {
            "title": "News API Key",
            "type": "string",
            "description": "Your NewsAPI.org API key. Required only if 'Enable News API' is checked. Free tier: 100 requests/day."
          },
          "knownCompetitors": {
            "title": "Known Competitors",
            "type": "array",
            "description": "Optional list of competitor names to detect in discussions. Helps identify switching signals and competitive threats.",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}