{
  "openapi": "3.0.1",
  "info": {
    "title": "Event Buzz Radar: Material 8-K Plus Reddit and HN Chatter",
    "description": "For each ticker, pairs material 8-K events with Reddit and Hacker News chatter on the same company, scores 0 to 100, and tiers each event hot, elevated, or watch. A material filing the crowd is reacting to is the signal. Pure public data, no API keys.",
    "version": "0.1",
    "x-build-id": "CGhA5SegMPVT3c7xS"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapemint~event-buzz-radar-pipeline/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapemint-event-buzz-radar-pipeline",
        "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/scrapemint~event-buzz-radar-pipeline/runs": {
      "post": {
        "operationId": "runs-sync-scrapemint-event-buzz-radar-pipeline",
        "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/scrapemint~event-buzz-radar-pipeline/run-sync": {
      "post": {
        "operationId": "run-sync-scrapemint-event-buzz-radar-pipeline",
        "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": {
          "tickers": {
            "title": "Tickers",
            "type": "array",
            "description": "Stock tickers to scan, e.g. [\"GME\", \"NVDA\", \"PLTR\"]. The buzz search uses the cashtag form ($TICKER) to keep social matches precise. Provide tickers or CIKs.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "ciks": {
            "title": "CIKs (optional)",
            "type": "array",
            "description": "SEC CIK numbers, an alternative to tickers. Buzz is matched once the 8-K resolves the CIK to a ticker.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "companyNames": {
            "title": "Company names (optional)",
            "type": "object",
            "description": "Map of ticker to company name, e.g. {\"GME\": \"GameStop\"}. Adds a second social search by name so you also catch posts that never use the cashtag.",
            "default": {}
          },
          "maxAgeHours": {
            "title": "Event max age (hours)",
            "minimum": 24,
            "maximum": 8760,
            "type": "integer",
            "description": "Ignore 8-K filings older than this. 168 = 7 days. Recent filings are where a chatter reaction is still measurable.",
            "default": 168
          },
          "buzzMaxAgeHours": {
            "title": "Chatter fetch window (hours)",
            "minimum": 24,
            "maximum": 4320,
            "type": "integer",
            "description": "How far back to pull Reddit and Hacker News posts. 336 = 14 days. Must comfortably exceed the event window plus the reaction window so there is both a post-filing reaction and a pre-filing baseline to compare.",
            "default": 336
          },
          "reactionWindowDays": {
            "title": "Reaction window (days)",
            "minimum": 1,
            "maximum": 60,
            "type": "integer",
            "description": "Only chatter posted within this many days AFTER a filing counts as a reaction to it. Posts before the filing form the baseline the reaction is measured against. Keeps buzz tied to the event instead of a company's steady background chatter.",
            "default": 7
          },
          "minMentions": {
            "title": "Minimum reaction mentions",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "A filing needs at least this many post-filing Reddit plus Hacker News posts (and a chatter spike above the company's baseline) to count as a reaction. Below it, buzz is treated as absent.",
            "default": 2
          },
          "materialOnly": {
            "title": "Material events only",
            "type": "boolean",
            "description": "Drop 8-K filings that carry only routine items (such as exhibits or routine votes) and keep the ones that move stocks.",
            "default": true
          },
          "includeBuzz": {
            "title": "Include social buzz",
            "type": "boolean",
            "description": "Pull Reddit and Hacker News chatter. Turn off to score on event materiality alone.",
            "default": true
          },
          "maxPostsPerSource": {
            "title": "Max posts per social search",
            "minimum": 10,
            "maximum": 500,
            "type": "integer",
            "description": "Per query cap passed to the Reddit and Hacker News children. Controls cost.",
            "default": 80
          },
          "maxEventsTotal": {
            "title": "Max events to score",
            "minimum": 1,
            "maximum": 400,
            "type": "integer",
            "description": "Cap on events scored, most recent first.",
            "default": 100
          },
          "minScore": {
            "title": "Minimum radar score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Drop and never charge events scoring below this 0 to 100 threshold. 0 keeps every material event.",
            "default": 0
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. EDGAR, Reddit RSS, and the HN Algolia API do not need a proxy, so the default is no proxy.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}