{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Finance Scraper - Most Comprehensive",
    "description": "🔥 ~$0.1/1K stocks 🔥 Scrape Google Finance for stock quotes, financials, charts, news, and more",
    "version": "0.1",
    "x-build-id": "jw3MYDgpOIdJ81BMa"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/kaix~google-finance-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-kaix-google-finance-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/kaix~google-finance-scraper/runs": {
      "post": {
        "operationId": "runs-sync-kaix-google-finance-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/kaix~google-finance-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-kaix-google-finance-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",
        "properties": {
          "stocks": {
            "title": "Stock URLs or Identifiers",
            "type": "array",
            "description": "Google Finance page URLs or identifiers. Formats: TICKER:EXCHANGE (GOOGL:NASDAQ, 7203:TYO), crypto (BTC-USD, ETH-USD), currencies (EUR-USD), futures (GCW00:COMEX for Gold, CLW00:NYMEX for Oil), or full URLs (https://www.google.com/finance/quote/GOOGL:NASDAQ). Note: Use Google Finance ticker format, not Yahoo (GCW00:COMEX not GC=F).",
            "items": {
              "type": "string"
            }
          },
          "searchTerm": {
            "title": "Search Term",
            "type": "string",
            "description": "Search keyword to discover stocks (e.g. 'tech stocks', 'energy'). Fetches trending stocks from Google Finance. Use this instead of Stock URLs to discover instruments."
          },
          "searchMarket": {
            "title": "Market Page",
            "enum": [
              "",
              "indexes",
              "gainers",
              "losers",
              "most-active",
              "trending",
              "climate-leaders",
              "currencies",
              "crypto",
              "etfs",
              "futures",
              "commodities",
              "bonds",
              "sectors",
              "americas",
              "europe-middle-east-africa",
              "asia-pacific",
              "world"
            ],
            "type": "string",
            "description": "Scrape a specific Google Finance market page instead of individual stocks."
          },
          "maxSearchResults": {
            "title": "Max Search Results",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum number of stocks to return from search or market page.",
            "default": 20
          },
          "includeFinancials": {
            "title": "Include Financials",
            "type": "boolean",
            "description": "Include income statement, balance sheet, and cash flow data (quarterly + annual).",
            "default": true
          },
          "includeChart": {
            "title": "Include Chart",
            "type": "boolean",
            "description": "Include OHLCV price chart data with configurable time range.",
            "default": true
          },
          "includeNews": {
            "title": "Include News",
            "type": "boolean",
            "description": "Include news headlines, sources, snippets, thumbnails, and related stock quotes.",
            "default": true
          },
          "includeRelated": {
            "title": "Include Related Stocks",
            "type": "boolean",
            "description": "Include related and similar stocks with full quote data.",
            "default": true
          },
          "includeMarketIndices": {
            "title": "Include Market Indices",
            "type": "boolean",
            "description": "Include global market indices (US, Europe, Asia, Currencies, Crypto, Futures). Same data appears on every stock page.",
            "default": false
          },
          "includeMarketMovers": {
            "title": "Include Market Movers",
            "type": "boolean",
            "description": "Include top gainers, losers, and trending stocks. Same data appears on every stock page.",
            "default": false
          },
          "includeEstimates": {
            "title": "Include Forward Estimates",
            "type": "boolean",
            "description": "Include analyst forward estimates (EPS projections for up to 18 future quarters).",
            "default": false
          },
          "includeEarnings": {
            "title": "Include Earnings Calendar",
            "type": "boolean",
            "description": "Include upcoming earnings events with call times, release times, and IR URLs.",
            "default": false
          },
          "newsLimit": {
            "title": "News Limit",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum number of news articles per type. Default 6.",
            "default": 6
          },
          "newsTypes": {
            "title": "News Types",
            "type": "array",
            "description": "Which news editorial buckets to fetch. Each type returns different articles.",
            "items": {
              "type": "string",
              "enum": [
                "stock",
                "market",
                "international",
                "trending",
                "crypto"
              ],
              "enumTitles": [
                "Stock-Specific",
                "Market News",
                "International/Business",
                "Trending",
                "Crypto"
              ]
            },
            "default": [
              "stock",
              "market"
            ]
          },
          "moverCategories": {
            "title": "Mover Categories",
            "type": "array",
            "description": "Which market mover categories to include. Multiple can be combined.",
            "items": {
              "type": "string",
              "enum": [
                "active",
                "gainers",
                "losers",
                "trending"
              ],
              "enumTitles": [
                "Most Active",
                "Top Gainers",
                "Top Losers",
                "Trending"
              ]
            },
            "default": [
              "active"
            ]
          },
          "chartWindow": {
            "title": "Chart Window",
            "enum": [
              "1D",
              "5D",
              "1M",
              "6M",
              "YTD",
              "1Y",
              "5Y",
              "MAX"
            ],
            "type": "string",
            "description": "Time range for chart data. 1D gives minute-by-minute intraday data, others give daily OHLCV.",
            "default": "1M"
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Apify proxy configuration. Residential proxies recommended for best results."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}