{
  "openapi": "3.0.1",
  "info": {
    "title": "Stock Market News Scraper — Ticker Headlines & SEC Filings",
    "description": "Recent news headlines and SEC filings for a list of stock tickers (AAPL, TSLA, 7203.T, VOD.L…): source, time, URL, sentiment, related tickers, 8-K items. Global markets, deduped, no API key. For traders, analysts and alert bots. $1.20 per 1,000 rows.",
    "version": "0.1",
    "x-build-id": "BCIb18Fi99W35Bb2A"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/actor-forge~stock-market-news/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-actor-forge-stock-market-news",
        "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/actor-forge~stock-market-news/runs": {
      "post": {
        "operationId": "runs-sync-actor-forge-stock-market-news",
        "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/actor-forge~stock-market-news/run-sync": {
      "post": {
        "operationId": "run-sync-actor-forge-stock-market-news",
        "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": [
          "tickers"
        ],
        "properties": {
          "tickers": {
            "title": "Tickers",
            "type": "array",
            "description": "Stock symbols, Yahoo-style: AAPL, TSLA, BRK.B (US), 7203.T (Tokyo), VOD.L (London), 0700.HK (Hong Kong), SAP.DE (Xetra), SHOP.TO (Toronto), RELIANCE.NS (India), BHP.AX, 005930.KS and ~35 other exchange suffixes. To set or improve the company name searched for, write TICKER=Name, and add extra names after |, e.g. \"0700.HK=Tencent|WeChat\". Up to 50 tickers.",
            "items": {
              "type": "string"
            }
          },
          "newsLookbackHours": {
            "title": "News look-back (hours)",
            "minimum": 1,
            "maximum": 168,
            "type": "integer",
            "description": "Scan news from the last N hours (1 to 168 = 7 days), newest first. Each hour adds four 15-minute news batches to read, so longer windows take longer: about 1 to 2 minutes per day of news. The scan stops early once every ticker has its maximum number of headlines.",
            "default": 24
          },
          "maxNewsPerTicker": {
            "title": "Max news headlines per ticker",
            "minimum": 0,
            "maximum": 250,
            "type": "integer",
            "description": "Up to this many news headlines per ticker (0 = filings only).",
            "default": 30
          },
          "newsLanguage": {
            "title": "News language",
            "enum": [
              "english",
              "any"
            ],
            "type": "string",
            "description": "English-language outlets only, or also news in about 65 other languages (machine-translated feed, scanned over at most the last 24 hours; headlines stay in their original language, so names must appear in Latin script to match).",
            "default": "english"
          },
          "headlineMustMention": {
            "title": "Headline must name the company",
            "type": "boolean",
            "description": "On (recommended): keep only articles whose headline names the company or its ticker, so you get stories about it rather than every article that mentions it in passing. Off: also articles where the news index lists the company among the organisations mentioned in the text.",
            "default": true
          },
          "includeSecFilings": {
            "title": "Include SEC filings (US-listed companies)",
            "type": "boolean",
            "description": "Add the company's SEC EDGAR filings in the same window (8-K current reports with their item descriptions, 10-Q, 10-K, proxies, big-holder stakes ...). Only for companies that file with the SEC.",
            "default": true
          },
          "filingsLookbackDays": {
            "title": "Filings look-back (days)",
            "minimum": 1,
            "maximum": 90,
            "type": "integer",
            "description": "SEC filings from the last N days (1 to 90).",
            "default": 7
          },
          "secFormTypes": {
            "title": "SEC form types",
            "type": "array",
            "description": "Which SEC forms to include. Amendments (8-K/A) follow their base form. Add \"4\" for insider trades or \"144\" for planned insider sales. Clear the list to get every form.",
            "default": [
              "8-K",
              "10-Q",
              "10-K",
              "6-K",
              "20-F",
              "40-F",
              "S-1",
              "F-1",
              "DEF 14A",
              "SC 13D",
              "SC 13G",
              "SCHEDULE 13D",
              "SCHEDULE 13G"
            ],
            "items": {
              "type": "string"
            }
          },
          "maxFilingsPerTicker": {
            "title": "Max SEC filings per ticker",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "Up to this many filings per ticker (0 = news only).",
            "default": 20
          },
          "maxItems": {
            "title": "Max rows in total",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Stop after this many rows across all tickers. Each row (headline or filing) is one charged event.",
            "default": 1000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}