{
  "openapi": "3.0.1",
  "info": {
    "title": "Investing.com Stocks All-in-One: Prices, Financials & History",
    "description": "One scraper for everything about a stock on Investing.com: live quote, historical prices, financial statements, ratios, earnings, dividends, analyst targets, technicals, news, profile and market lists (gainers, losers, most active). 32 languages, any currency.",
    "version": "1.0",
    "x-build-id": "V3yN3dffNOpt4vV7J"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pintostudio~investing-com-stocks/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pintostudio-investing-com-stocks",
        "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/pintostudio~investing-com-stocks/runs": {
      "post": {
        "operationId": "runs-sync-pintostudio-investing-com-stocks",
        "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/pintostudio~investing-com-stocks/run-sync": {
      "post": {
        "operationId": "run-sync-pintostudio-investing-com-stocks",
        "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": {
          "instruments": {
            "title": "Stocks to look up",
            "type": "array",
            "description": "Ticker symbols (AAPL), company names (Apple), ISIN codes (US0378331005) or investing.com links. One per line.",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Country (optional)",
            "type": "string",
            "description": "Helps when the same symbol exists in several countries. A name (united states) or a 2-letter code (US)."
          },
          "dataToGet": {
            "title": "What do you want to get?",
            "type": "array",
            "description": "Pick one or more. Options starting with MARKET do not need anything in the list above.",
            "items": {
              "type": "string",
              "enum": [
                "overview",
                "historical",
                "technical",
                "profile",
                "income_statement",
                "balance_sheet",
                "cash_flow",
                "ratios",
                "earnings",
                "dividends",
                "forecast",
                "news",
                "related",
                "market_listing",
                "top_gainers",
                "top_losers",
                "most_active"
              ],
              "enumTitles": [
                "Quote & overview (price, change, 52-week range, market cap...)",
                "Historical prices (open, high, low, close, volume)",
                "Technical analysis (indicators, moving averages, pivot points)",
                "Company profile (description, sector, employees, executives)",
                "Income statement",
                "Balance sheet",
                "Cash flow statement",
                "Financial ratios (P/E, margins, returns... vs industry)",
                "Earnings (EPS & revenue: actual vs forecast, next date)",
                "Dividends (history and yield)",
                "Analyst forecast (price targets, buy/hold/sell ratings)",
                "Latest news",
                "Related instruments (people also watch)",
                "MARKET: all stocks of a country",
                "MARKET: top gainers of a country",
                "MARKET: top losers of a country",
                "MARKET: most active stocks of a country"
              ]
            },
            "default": [
              "overview"
            ]
          },
          "language": {
            "title": "Language",
            "enum": [
              "en",
              "en-gb",
              "en-in",
              "en-ca",
              "en-au",
              "en-za",
              "en-ph",
              "en-ng",
              "de",
              "es",
              "es-mx",
              "fr",
              "it",
              "nl",
              "pt",
              "pt-br",
              "pl",
              "ru",
              "tr",
              "ar",
              "el",
              "sv",
              "fi",
              "he",
              "ja",
              "ko",
              "zh-cn",
              "zh-hk",
              "id",
              "ms",
              "th",
              "vi"
            ],
            "type": "string",
            "description": "investing.com edition to read. Names, descriptions and news come in this language.",
            "default": "en"
          },
          "currency": {
            "title": "Currency (optional)",
            "type": "string",
            "description": "Convert prices into this currency, e.g. EUR, BRL, JPY. Type 'local' for the currency of the chosen language's country. Leave empty to keep each instrument's own currency."
          },
          "historicalFrom": {
            "title": "Historical data from",
            "type": "string",
            "description": "First date for 'Historical prices'. Empty = 30 days ago."
          },
          "historicalTo": {
            "title": "Historical data to",
            "type": "string",
            "description": "Last date for 'Historical prices'. Empty = today."
          },
          "historicalInterval": {
            "title": "Interval",
            "enum": [
              "daily",
              "weekly",
              "monthly"
            ],
            "type": "string",
            "description": "One row per day, per week or per month.",
            "default": "daily"
          },
          "historicalOrder": {
            "title": "Order",
            "enum": [
              "asc",
              "desc"
            ],
            "type": "string",
            "description": "Oldest first or newest first.",
            "default": "asc"
          },
          "splitHistoricalRows": {
            "title": "One row per day",
            "type": "boolean",
            "description": "Save each price row as its own dataset item (best for Excel/CSV export).",
            "default": false
          },
          "technicalInterval": {
            "title": "Technical analysis timeframe",
            "enum": [
              "all",
              "1m",
              "5m",
              "15m",
              "30m",
              "1h",
              "5h",
              "1d",
              "1w",
              "1mo"
            ],
            "type": "string",
            "description": "Timeframe of the technical analysis (Daily is the usual choice).",
            "default": "1d"
          },
          "financialPeriod": {
            "title": "Financial statements period",
            "enum": [
              "annual",
              "quarterly"
            ],
            "type": "string",
            "description": "Yearly or quarterly income statement, balance sheet and cash flow.",
            "default": "annual"
          },
          "marketCountry": {
            "title": "Market country",
            "type": "string",
            "description": "Country for the MARKET options: a name (germany) or a 2-letter code (DE).",
            "default": "US"
          },
          "marketLimit": {
            "title": "Maximum market rows",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "How many rows the MARKET options return at most.",
            "default": 100
          },
          "proxyType": {
            "title": "Proxy",
            "enum": [
              "ours",
              "own"
            ],
            "type": "string",
            "description": "Our proxy is included in the price, you pay nothing extra. Choose \"My own proxy\" to send the requests through your own proxy instead (its traffic is billed by your proxy provider, not by us).",
            "default": "ours"
          },
          "ownProxyUrls": {
            "title": "Your proxy URLs",
            "type": "array",
            "description": "Only used when Proxy is \"My own proxy\". One URL per line, e.g. http://user:pass@host:port. Several URLs are rotated.",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}