{
  "openapi": "3.0.1",
  "info": {
    "title": "Zacks Stock & Mutual Fund Rank Scraper",
    "description": "Scrape Zacks.com stock quotes and mutual fund quotes: Zacks Rank (1-5), Style Scores (Value/Growth/Momentum/VGM), industry & sector rank, valuation ratios, earnings estimates, and mutual fund performance/fees. Lookup by ticker symbol, no login required.",
    "version": "1.0",
    "x-build-id": "ZZ7xeyo6TbrwIjrNZ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~zacks-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-zacks-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/crawlerbros~zacks-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-zacks-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/crawlerbros~zacks-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-zacks-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": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "stockQuote",
              "mutualFundQuote",
              "etfQuote"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "stockQuote"
          },
          "tickers": {
            "title": "Stock tickers (mode=stockQuote)",
            "type": "array",
            "description": "Stock ticker symbols to look up, e.g. `AAPL`, `MSFT`, `NVDA`. Case-insensitive.",
            "default": [
              "AAPL"
            ],
            "items": {
              "type": "string"
            }
          },
          "fundTickers": {
            "title": "Mutual fund tickers (mode=mutualFundQuote)",
            "type": "array",
            "description": "Mutual fund ticker symbols to look up, e.g. `FCNTX`, `VFIAX`. Case-insensitive.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "etfTickers": {
            "title": "ETF tickers (mode=etfQuote)",
            "type": "array",
            "description": "ETF ticker symbols to look up, e.g. `QQQ`, `SPY`, `VOO`. Case-insensitive.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minZacksRank": {
            "title": "Min Zacks Rank",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Only emit stocks/funds with a Zacks Rank greater than or equal to this (1=Strong Buy ... 5=Strong Sell). Records with no published rank pass through."
          },
          "maxZacksRank": {
            "title": "Max Zacks Rank",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Only emit stocks/funds with a Zacks Rank less than or equal to this (1=Strong Buy ... 5=Strong Sell). Records with no published rank pass through."
          },
          "minStyleScore": {
            "title": "Min VGM Style Score (mode=stockQuote)",
            "enum": [
              "A",
              "B",
              "C",
              "D",
              "F"
            ],
            "type": "string",
            "description": "Only emit stocks whose VGM Style Score is at least this letter grade (A is best). Records with no published score pass through."
          },
          "includeDetailedEstimates": {
            "title": "Include detailed sales/EPS estimates (mode=stockQuote)",
            "type": "boolean",
            "description": "Fetch the Zacks detailed-earning-estimates page for each stock to add next-quarter and next-year Sales/EPS consensus estimates, year-over-year growth %, and 60-day analyst revision counts (beyond the current-quarter/current-year figures already included by default). Adds one extra request per ticker.",
            "default": false
          },
          "includeStyleScorecards": {
            "title": "Include Value/Growth/Momentum scorecard breakdown (mode=stockQuote)",
            "type": "boolean",
            "description": "Add the ~10 underlying metrics behind each Style Score (Value: P/E, P/B, P/S, PEG, EV/EBITDA, Debt/Equity, etc.; Growth: EPS/sales/cash-flow growth, ROE, margins; Momentum: price change over multiple windows, EPS estimate revision %) with the stock's own value alongside its industry median for comparison. No extra request — parsed from the same quote page already fetched.",
            "default": false
          },
          "includePriceTargets": {
            "title": "Include analyst price targets & broker ratings (mode=stockQuote)",
            "type": "boolean",
            "description": "Fetch the Zacks price-target-stock-forecast page for each stock to add the average/highest/lowest analyst price target, upside % to the average target, the Average Broker Rating (ABR, 1-5 scale) with its 1-month-ago comparison, and the current Strong Buy/Buy/Hold/Sell/Strong Sell recommendation breakdown. Adds one extra request per ticker.",
            "default": false
          },
          "includeCompanyDescription": {
            "title": "Include company business description (mode=stockQuote)",
            "type": "boolean",
            "description": "Fetch the Zacks company-summary snippet for each stock to add a plain-text business description (industry, products/services, headquarters). Adds one extra request per ticker.",
            "default": false
          },
          "includeFinancials": {
            "title": "Include annual financial statements (mode=stockQuote)",
            "type": "boolean",
            "description": "Fetch the Zacks income-statement, balance-sheet and cash-flow-statements pages for each stock to add up to 5 fiscal years of annual financial-statement line items (revenue, expenses, assets, liabilities, equity, operating/investing/financing cash flows, in $ millions). Adds three extra requests per ticker.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. Only used automatically if Zacks.com starts blocking direct requests (403/429). Leave default for normal use.",
            "default": {
              "useApifyProxy": false
            }
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}