{
  "openapi": "3.1.0",
  "info": {
    "title": "Reddit Subreddit, Buyer Intent & Pain-Point Lead Miner — Apify Cloud Action API",
    "version": "3.0.0",
    "description": "Mine targeted Reddit communities for high-intent B2B buyer questions, competitor switching signals, and SaaS pain points. Import this schema directly into ChatGPT Custom GPT Actions, Dify.ai, Relevance AI, Flowise, or n8n. Store URL: https://apify.com/lucacelli/reddit-community-pain-point-trend-miner"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2",
      "description": "Apify Production Cloud API v2"
    }
  ],
  "paths": {
    "/acts/lucacelli~reddit-community-pain-point-trend-miner/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run_reddit_community_pain_point_trend_miner",
        "summary": "Reddit Subreddit, Buyer Intent & Pain-Point Lead Miner ($0.50 / 1,000 posts)",
        "description": "Mine targeted Reddit communities for high-intent B2B buyer questions, competitor switching signals, and SaaS pain points. Synchronous REST execution returning structured JSON dataset items directly.",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "default": "YOUR_APIFY_API_TOKEN"
            },
            "description": "Your Apify API Token (Get $5/month free credit at https://apify.com/lucacelli)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "example": {
                  "subreddits": [
                    "SaaS",
                    "Entrepreneur",
                    "smallbusiness",
                    "startups",
                    "agency"
                  ],
                  "intentKeywords": [
                    "looking for",
                    "alternative to",
                    "recommend a tool",
                    "how do you automate"
                  ],
                  "maxPostsPerSubreddit": 15
                }
              },
              "example": {
                "subreddits": [
                  "SaaS",
                  "Entrepreneur",
                  "smallbusiness",
                  "startups",
                  "agency"
                ],
                "intentKeywords": [
                  "looking for",
                  "alternative to",
                  "recommend a tool",
                  "how do you automate"
                ],
                "maxPostsPerSubreddit": 15
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Array of extracted and enriched intelligence records from Apify dataset.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}