{
  "openapi": "3.0.1",
  "info": {
    "title": "Tearsheet Pro: Global Company Financials",
    "description": "Financial data API for LLM trading agents and equity research. 2,119 data points, 30,000+ stocks, 126 countries. Structured JSON for LangChain, TradingAgents, CrewAI, RAG. Statements, valuation, estimates, ownership, 260-day prices. Pay per result.",
    "version": "2.0",
    "x-build-id": "flQhcY08QIXUa6qlX"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/workhard3000~tearsheet-pro/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-workhard3000-tearsheet-pro",
        "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/workhard3000~tearsheet-pro/runs": {
      "post": {
        "operationId": "runs-sync-workhard3000-tearsheet-pro",
        "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/workhard3000~tearsheet-pro/run-sync": {
      "post": {
        "operationId": "run-sync-workhard3000-tearsheet-pro",
        "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": {
          "companies": {
            "title": "Companies",
            "minItems": 1,
            "maxItems": 50,
            "type": "array",
            "description": "Add one or more companies to fetch. Each row has its own country and ticker.",
            "items": {
              "type": "object",
              "properties": {
                "country": {
                  "title": "Country",
                  "type": "string",
                  "description": "Country of the company",
                  "editor": "select",
                  "enum": [
                    "",
                    "China",
                    "United States",
                    "Japan",
                    "India",
                    "Taiwan",
                    "South Korea",
                    "Canada",
                    "Hong Kong",
                    "Australia",
                    "United Kingdom",
                    "Malaysia",
                    "Indonesia",
                    "Turkey",
                    "Thailand",
                    "Israel",
                    "Sweden",
                    "Germany",
                    "France",
                    "Saudi Arabia",
                    "Singapore",
                    "Vietnam",
                    "Brazil",
                    "Italy",
                    "Switzerland",
                    "Poland",
                    "Norway",
                    "Pakistan",
                    "Philippines",
                    "United Arab Emirates",
                    "Spain",
                    "Finland",
                    "Egypt",
                    "South Africa",
                    "Kuwait",
                    "Chile",
                    "Greece",
                    "Mexico",
                    "Bangladesh",
                    "Denmark",
                    "Netherlands",
                    "Sri Lanka",
                    "Belgium",
                    "New Zealand",
                    "Nigeria",
                    "Morocco",
                    "Austria",
                    "Oman",
                    "Cayman Islands",
                    "Jordan",
                    "Argentina",
                    "Ireland",
                    "Peru",
                    "Bermuda",
                    "Qatar",
                    "Luxembourg",
                    "Romania",
                    "Bulgaria",
                    "Tunisia",
                    "Croatia",
                    "Colombia",
                    "Kenya",
                    "Portugal",
                    "Cyprus",
                    "Hungary",
                    "Ivory Coast",
                    "Mauritius",
                    "Iceland",
                    "Malta",
                    "Jamaica",
                    "Bahrain",
                    "Ghana",
                    "Botswana",
                    "Trinidad & Tobago",
                    "Lithuania",
                    "Venezuela",
                    "Palestinian Authority",
                    "Zambia",
                    "Kazakhstan",
                    "Malawi",
                    "Czech Republic",
                    "Jersey",
                    "Slovenia",
                    "Estonia",
                    "Guernsey",
                    "British Virgin Islands",
                    "Tanzania",
                    "Uganda",
                    "Macau",
                    "Monaco",
                    "Zimbabwe",
                    "Serbia",
                    "Namibia",
                    "Isle of Man",
                    "Slovakia",
                    "Ukraine",
                    "Panama",
                    "Latvia",
                    "Burkina Faso",
                    "Barbados",
                    "Benin",
                    "Uruguay",
                    "Papua New Guinea",
                    "Liechtenstein",
                    "Senegal",
                    "Mongolia",
                    "Gibraltar",
                    "Togo",
                    "Macedonia",
                    "Bahamas",
                    "Dominican Republic",
                    "Moldova",
                    "Gabon",
                    "Curaçao",
                    "Greenland",
                    "Mali",
                    "Belize",
                    "Grenada",
                    "Niger",
                    "Costa Rica",
                    "Rwanda",
                    "Russia",
                    "Azerbaijan",
                    "Cambodia",
                    "Sudan",
                    "Myanmar",
                    "El Salvador"
                  ],
                  "enumTitles": [
                    "(Select country)",
                    "China (6,057)",
                    "United States (3,830)",
                    "Japan (2,668)",
                    "India (1,994)",
                    "Taiwan (1,754)",
                    "South Korea (1,553)",
                    "Canada (812)",
                    "Hong Kong (663)",
                    "Australia (637)",
                    "United Kingdom (570)",
                    "Malaysia (522)",
                    "Indonesia (492)",
                    "Turkey (448)",
                    "Thailand (422)",
                    "Israel (387)",
                    "Sweden (382)",
                    "Germany (369)",
                    "France (327)",
                    "Saudi Arabia (309)",
                    "Singapore (278)",
                    "Vietnam (259)",
                    "Brazil (244)",
                    "Italy (222)",
                    "Switzerland (215)",
                    "Poland (193)",
                    "Norway (180)",
                    "Pakistan (146)",
                    "Philippines (135)",
                    "United Arab Emirates (133)",
                    "Spain (133)",
                    "Finland (127)",
                    "Egypt (127)",
                    "South Africa (125)",
                    "Kuwait (114)",
                    "Chile (101)",
                    "Greece (101)",
                    "Mexico (96)",
                    "Bangladesh (95)",
                    "Denmark (91)",
                    "Netherlands (91)",
                    "Sri Lanka (85)",
                    "Belgium (77)",
                    "New Zealand (66)",
                    "Nigeria (61)",
                    "Morocco (59)",
                    "Austria (54)",
                    "Oman (53)",
                    "Cayman Islands (52)",
                    "Jordan (51)",
                    "Argentina (50)",
                    "Ireland (50)",
                    "Peru (50)",
                    "Bermuda (49)",
                    "Qatar (48)",
                    "Luxembourg (46)",
                    "Romania (45)",
                    "Bulgaria (43)",
                    "Tunisia (43)",
                    "Croatia (39)",
                    "Colombia (30)",
                    "Kenya (29)",
                    "Portugal (28)",
                    "Cyprus (28)",
                    "Hungary (27)",
                    "Ivory Coast (27)",
                    "Mauritius (26)",
                    "Iceland (24)",
                    "Malta (23)",
                    "Jamaica (23)",
                    "Bahrain (20)",
                    "Ghana (20)",
                    "Botswana (17)",
                    "Trinidad & Tobago (16)",
                    "Lithuania (16)",
                    "Venezuela (15)",
                    "Palestinian Authority (14)",
                    "Zambia (14)",
                    "Kazakhstan (14)",
                    "Malawi (14)",
                    "Czech Republic (13)",
                    "Jersey (13)",
                    "Slovenia (12)",
                    "Estonia (10)",
                    "Guernsey (10)",
                    "British Virgin Islands (9)",
                    "Tanzania (9)",
                    "Uganda (6)",
                    "Macau (6)",
                    "Monaco (6)",
                    "Zimbabwe (5)",
                    "Serbia (5)",
                    "Namibia (5)",
                    "Isle of Man (5)",
                    "Slovakia (4)",
                    "Ukraine (4)",
                    "Panama (4)",
                    "Latvia (4)",
                    "Burkina Faso (3)",
                    "Barbados (3)",
                    "Benin (3)",
                    "Uruguay (3)",
                    "Papua New Guinea (3)",
                    "Liechtenstein (3)",
                    "Senegal (3)",
                    "Mongolia (2)",
                    "Gibraltar (2)",
                    "Togo (2)",
                    "Macedonia (2)",
                    "Bahamas (2)",
                    "Dominican Republic (1)",
                    "Moldova (1)",
                    "Gabon (1)",
                    "Curaçao (1)",
                    "Greenland (1)",
                    "Mali (1)",
                    "Belize (1)",
                    "Grenada (1)",
                    "Niger (1)",
                    "Costa Rica (1)",
                    "Rwanda (1)",
                    "Russia (1)",
                    "Azerbaijan (1)",
                    "Cambodia (1)",
                    "Sudan (1)",
                    "Myanmar (1)",
                    "El Salvador (1)"
                  ]
                },
                "ticker": {
                  "title": "Ticker",
                  "type": "string",
                  "description": "Stock ticker symbol (e.g. AAPL, 7203, A005930)",
                  "editor": "textfield"
                }
              },
              "required": [
                "ticker"
              ]
            }
          },
          "currency": {
            "title": "Currency",
            "enum": [
              "USD",
              "EUR",
              "GBP",
              "JPY",
              "CNY",
              "HKD",
              "KRW",
              "TWD",
              "INR",
              "AUD",
              "CAD",
              "CHF",
              "SGD",
              "BRL",
              "MXN",
              "ZAR",
              "SEK",
              "NOK",
              "DKK",
              "PLN",
              "THB",
              "MYR",
              "IDR",
              "PHP",
              "TRY",
              "ARS",
              "CLP",
              "COP",
              "PEN",
              "ILS",
              "SAR",
              "AED",
              "Local Currency"
            ],
            "type": "string",
            "description": "Currency for financial data output.",
            "default": "USD"
          },
          "fxConversion": {
            "title": "FX Conversion",
            "enum": [
              "Historical",
              "Current"
            ],
            "type": "string",
            "description": "Currency conversion method.",
            "default": "Historical"
          },
          "estimateConsolidation": {
            "title": "Estimate Consolidation",
            "enum": [
              "Consolidated",
              "Unconsolidated"
            ],
            "type": "string",
            "description": "Consolidation type for financial statements.",
            "default": "Consolidated"
          },
          "forceRefresh": {
            "title": "Force Refresh",
            "type": "boolean",
            "description": "Force a fresh data pull regardless of cache age (cached data is valid for 30 days).",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}