{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Finance Quotes, Analyst & Earnings Data",
    "description": "Collect Google Finance quotes for stocks, ETFs, indexes, FX and crypto, or discover market movers and lists. Each quote bundles key stats, company profile, analyst ratings and price targets, latest earnings actual-versus-estimate, a quarterly income statement and news.",
    "version": "1.0",
    "x-build-id": "WHDtZ5oK3QDMyziwo"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/xyrelith-data~google-finance-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-xyrelith-data-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/xyrelith-data~google-finance-scraper/runs": {
      "post": {
        "operationId": "runs-sync-xyrelith-data-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/xyrelith-data~google-finance-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-xyrelith-data-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "quotes",
              "markets"
            ],
            "type": "string",
            "description": "quotes fetches per-instrument pages; markets reads the Google Finance markets home lists.",
            "default": "quotes"
          },
          "symbols": {
            "title": "Symbols (quotes mode)",
            "type": "array",
            "description": "Exchange-qualified symbols such as AAPL:NASDAQ, 7203:TYO, .INX:INDEXSP, EUR-USD or BTC-USD. Quote URLs are accepted too. Bare tickers use the default exchange below.",
            "items": {
              "type": "string"
            },
            "default": [
              "AAPL:NASDAQ"
            ]
          },
          "defaultExchange": {
            "title": "Default exchange for bare tickers",
            "enum": [
              "NASDAQ",
              "NYSE",
              "NYSEARCA",
              "INDEXSP",
              "INDEXDJX",
              "INDEXNASDAQ",
              "AMS",
              "LON",
              "TYO",
              "HKG",
              "SHA",
              "SHE",
              "ETR",
              "FRA",
              "EPA",
              "ASX",
              "TSE",
              "NSE",
              "BOM",
              "KRX",
              "TPE",
              "VTX",
              "BME",
              "STO",
              "OSL",
              "CPH",
              "HEL",
              "WSE",
              "MIL",
              "MC",
              "BRU",
              "LIS",
              "IST",
              "BVMF",
              "MEX",
              "JSE",
              "TLV",
              "SRX",
              "SWX"
            ],
            "type": "string",
            "description": "Exchange appended when a symbol has no SYMBOL:EXCHANGE suffix. Ignored for currency and crypto pairs.",
            "default": "NASDAQ"
          },
          "language": {
            "title": "Language",
            "enum": [
              "en",
              "de",
              "fr",
              "es",
              "it",
              "pt",
              "nl",
              "pl",
              "tr",
              "ru",
              "uk",
              "sv",
              "da",
              "fi",
              "no",
              "cs",
              "el",
              "hu",
              "ro",
              "ja",
              "ko",
              "zh-CN",
              "zh-TW",
              "hi",
              "ar",
              "he",
              "th",
              "vi",
              "id",
              "ms"
            ],
            "type": "string",
            "description": "Google Finance interface and news language. Data values stay numeric and in the instrument's own currency.",
            "default": "en"
          },
          "marketLists": {
            "title": "Market lists (markets mode)",
            "type": "array",
            "description": "One or more of: mostActive, gainers, losers, indexes, currencies, crypto, futures, all. Unknown values are ignored.",
            "items": {
              "type": "string"
            },
            "default": [
              "mostActive"
            ]
          },
          "maxItems": {
            "title": "Max records",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Hard cap on records pushed, including error records.",
            "default": 100
          },
          "includeAfterHours": {
            "title": "Include after-hours quote",
            "type": "boolean",
            "description": "Keep Google's extended-hours price, change and timestamp when available.",
            "default": true
          },
          "includeProfile": {
            "title": "Include company profile",
            "type": "boolean",
            "description": "Keep description, CEO, founding date, headquarters, sector, industry and website.",
            "default": true
          },
          "includeAnalystView": {
            "title": "Include analyst view",
            "type": "boolean",
            "description": "Keep consensus, buy/hold/sell counts, price targets and recent analyst actions.",
            "default": true
          },
          "includeEarnings": {
            "title": "Include latest earnings",
            "type": "boolean",
            "description": "Keep the latest reported EPS and revenue actual-versus-estimate plus the reported-quarter history.",
            "default": true
          },
          "includeIncomeStatement": {
            "title": "Include quarterly income statement",
            "type": "boolean",
            "description": "Keep quarterly revenue, costs, operating income, EBITDA, net income, margins, EPS and tax rate.",
            "default": true
          },
          "includeNews": {
            "title": "Include news",
            "type": "boolean",
            "description": "Keep recent instrument news stories with headline, source, age and URL.",
            "default": true
          },
          "includeRelatedStocks": {
            "title": "Include related stocks",
            "type": "boolean",
            "description": "Keep the related-stock quote cards Google embeds on equity pages.",
            "default": true
          },
          "maxAnalystActions": {
            "title": "Max analyst actions",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "How many recent analyst actions to keep per instrument.",
            "default": 50
          },
          "incomeStatementQuarters": {
            "title": "Income statement quarters",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Reported quarters to keep in the quarterly income statement and earnings history (newest first).",
            "default": 4
          },
          "maxNewsItems": {
            "title": "Max news stories",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "News stories to keep per instrument. Set 0 to skip news even when Include news is on.",
            "default": 20
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}