跳轉到內容

財務報告

獲取任意上市公司的利潤表、資產負債表和現金流量表。

Parameters ​

SDK 方法參數。

NameTypeRequiredDescription
symbolstring是證券代碼,例如 AAPL.US
kindstring是報表類型:IncomeStatement(利潤表)、BalanceSheet(資產負債表)、CashFlow(現金流量表)、All(全部)
periodstring是報告期:Annual(年報)、SemiAnnual(中報)、Q1/Q2/Q3/ThreeQ(季報)、QuarterlyFull(累計季報)

Request Example ​

Response ​

Response Example ​

json
{
  "code": 0,
  "message": "success",
  "data": {
    "list": {
      "IS": {
        "indicators": [
          {
            "title": "Income Statement",
            "short_title": "IS",
            "currency": "USD",
            "has_yoy": true,
            "entry": "IS",
            "periods": [
              "FY2025",
              "FY2024"
            ],
            "accounts": [
              {
                "field": "EPS",
                "name": "Earnings Per Share(USD)",
                "percent": false,
                "tip": "",
                "values": [
                  {
                    "period": "FY 2025",
                    "year": 2025,
                    "fp_end": "1758945600",
                    "value": "7.46",
                    "ratio": "",
                    "yoy": "0.227"
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  }
}

Response Status ​

StatusDescriptionSchema
200成功FinancialReportsResponse
400請求錯誤None

Schemas ​

FinancialReportsResponse ​

NameTypeRequiredDescription
listobjecttrue按報表類型分組的數據(key 為報表類型代碼,如 IS、BS、CF)

FinancialReportIndicator ​

NameTypeRequiredDescription
titlestringfalse指標標題
short_titlestringfalse短標題
currencystringfalse貨幣
has_yoybooleanfalse是否有同比數據
entrystringfalse條目標識符
periodsstring[]false可用報告期列表
accountsobject[]false財務科目列表,見 FinancialAccount

FinancialAccount ​

NameTypeRequiredDescription
fieldstringtrue字段標識符
namestringfalse字段顯示名稱
percentbooleanfalse是否為百分比值
tipstringfalse提示說明
valuesobject[]false按報告期的歷史數值,見 FinancialValue

FinancialValue ​

NameTypeRequiredDescription
periodstringtrue報告期標簽(如 FY 2024)
yearintegerfalse財政年度
fp_endstringfalse報告期結束時間戳
valuestringfalse報告值
ratiostringfalse比率值
yoystringfalse同比增長率