Financial Report Expert

Financial Report Expert · GPT 작업

Financial Report Data API

API for retrieving financial report data for a specific company.

  • GET /findCompanySymbolFindCompanySymbol

    Search for a company's stock symbol using keywords.

  • GET /getCompanyOverviewGetCompanyOverview

    Get an overview of a company using its stock symbol.

  • GET /getFinancialReportsGetFinancialReports

    Get financial reports for a company.

원본 API 스키마
{
  "openapi": "3.1.0",
  "info": {
    "title": "Financial Report Data API",
    "description": "API for retrieving financial report data for a specific company.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://papermoney.turinglibs.com"
    }
  ],
  "paths": {
    "/findCompanySymbol": {
      "get": {
        "description": "Search for a company's stock symbol using keywords.",
        "operationId": "FindCompanySymbol",
        "parameters": [
          {
            "name": "keywords",
            "in": "query",
            "description": "Keywords to search for the company's stock symbol.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with list of companies",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    },
                    "companies": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CompanyInfo"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/getCompanyOverview": {
      "get": {
        "description": "Get an overview of a company using its stock symbol.",
        "operationId": "GetCompanyOverview",
        "parameters": [
          {
            "name": "symbol",
            "in": "query",
            "description": "The stock symbol for the company.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with the company overview",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompanyOverview"
                }
              }
            }
          }
        }
      }
    },
    "/getFinancialReports": {
      "get": {
        "description": "Get financial reports for a company.",
        "operationId": "GetFinancialReports",
        "parameters": [
          {
            "name": "reportType",
            "in": "query",
            "description": "Type of financial report to retrieve (e.g., INCOME_STATEMENT).",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "symbol",
            "in": "query",
            "description": "The stock symbol for the company.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with the financial report",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FinancialReport"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "CompanyInfo": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "region": {
            "type": "string"
          },
          "marketOpen": {
            "type": "string"
          },
          "marketClose": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "matchScore": {
            "type": "string"
          }
        }
      },
      "CompanyOverview": {
        "type": "object",
        "properties": {
          "Symbol": {
            "type": "string"
          },
          "AssetType": {
            "type": "string"
          },
          "Name": {
            "type": "string"
          },
          "Description": {
            "type": "string"
          },
          "CIK": {
            "type": "string"
          },
          "Exchange": {
            "type": "string"
          },
          "Currency": {
            "type": "string"
          },
          "Country": {
            "type": "string"
          },
          "Sector": {
            "type": "string"
          },
          "Industry": {
            "type": "string"
          },
          "Address": {
            "type": "string"
          },
          "FiscalYearEnd": {
            "type": "string"
          },
          "LatestQuarter": {
            "type": "string"
          },
          "MarketCapitalization": {
            "type": "string"
          },
          "EBITDA": {
            "type": "string"
          },
          "PERatio": {
            "type": "string"
          },
          "PEGRatio": {
            "type": "string"
          },
          "BookValue": {
            "type": "string"
          },
          "DividendPerShare": {
            "type": "string"
          },
          "DividendYield": {
            "type": "string"
          },
          "EPS": {
            "type": "string"
          },
          "RevenuePerShareTTM": {
            "type": "string"
          },
          "ProfitMargin": {
            "type": "string"
          },
          "OperatingMarginTTM": {
            "type": "string"
          },
          "ReturnOnAssetsTTM": {
            "type": "string"
          },
          "ReturnOnEquityTTM": {
            "type": "string"
          },
          "RevenueTTM": {
            "type": "string"
          },
          "GrossProfitTTM": {
            "type": "string"
          },
          "DilutedEPSTTM": {
            "type": "string"
          },
          "QuarterlyEarningsGrowthYOY": {
            "type": "string"
          },
          "QuarterlyRevenueGrowthYOY": {
            "type": "string"
          },
          "AnalystTargetPrice": {
            "type": "string"
          },
          "TrailingPE": {
            "type": "string"
          },
          "ForwardPE": {
            "type": "string"
          },
          "PriceToSalesRatioTTM": {
            "type": "string"
          },
          "PriceToBookRatio": {
            "type": "string"
          },
          "EVToRevenue": {
            "type": "string"
          },
          "EVToEBITDA": {
            "type": "string"
          },
          "Beta": {
            "type": "string"
          },
          "52WeekHigh": {
            "type": "string"
          },
          "52WeekLow": {
            "type": "string"
          },
          "50DayMovingAverage": {
            "type": "string"
          },
          "200DayMovingAverage": {
            "type": "string"
          },
          "SharesOutstanding": {
            "type": "string"
          },
          "DividendDate": {
            "type": "string"
          },
          "ExDividendDate": {
            "type": "string"
          }
        }
      },
      "FinancialReport": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string"
          },
          "annualReports": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/CashFlowReportDetail"
                },
                {
                  "$ref": "#/components/schemas/IncomeStatementReportDetail"
                },
                {
                  "$ref": "#/components/schemas/BalanceSheetReportDetail"
                }
              ]
            }
          },
          "quarterlyReports": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/CashFlowReportDetail"
                },
                {
                  "$ref": "#/components/schemas/IncomeStatementReportDetail"
                },
                {
                  "$ref": "#/components/schemas/BalanceSheetReportDetail"
                }
              ]
            }
          }
        }
      },
      "IncomeStatementReportDetail": {
        "type": "object",
        "properties": {
          "fiscalDateEnding": {
            "type": "string"
          },
          "reportedCurrency": {
            "type": "string"
          },
          "grossProfit": {
            "type": "string"
          },
          "totalRevenue": {
            "type": "string"
          },
          "costOfRevenue": {
            "type": "string"
          },
          "costofGoodsAndServicesSold": {
            "type": "string"
          },
          "operatingIncome": {
            "type": "string"
          },
          "sellingGeneralAndAdministrative": {
            "type": "string"
          },
          "researchAndDevelopment": {
            "type": "string"
          },
          "operatingExpenses": {
            "type": "string"
          },
          "investmentIncomeNet": {
            "type": "string"
          },
          "netInterestIncome": {
            "type": "string"
          },
          "interestIncome": {
            "type": "string"
          },
          "interestExpense": {
            "type": "string"
          },
          "nonInterestIncome": {
            "type": "string"
          },
          "otherNonOperatingIncome": {
            "type": "string"
          },
          "depreciation": {
            "type": "string"
          },
          "depreciationAndAmortization": {
            "type": "string"
          },
          "incomeBeforeTax": {
            "type": "string"
          },
          "incomeTaxExpense": {
            "type": "string"
          },
          "interestAndDebtExpense": {
            "type": "string"
          },
          "netIncomeFromContinuingOperations": {
            "type": "string"
          },
          "comprehensiveIncomeNetOfTax": {
            "type": "string"
          },
          "ebit": {
            "type": "string"
          },
          "ebitda": {
            "type": "string"
          },
          "netIncome": {
            "type": "string"
          }
        }
      },
      "CashFlowReportDetail": {
        "type": "object",
        "properties": {
          "fiscalDateEnding": {
            "type": "string"
          },
          "reportedCurrency": {
            "type": "string"
          },
          "operatingCashflow": {
            "type": "string"
          },
          "paymentsForOperatingActivities": {
            "type": "string"
          },
          "proceedsFromOperatingActivities": {
            "type": "string"
          },
          "changeInOperatingLiabilities": {
            "type": "string"
          },
          "changeInOperatingAssets": {
            "type": "string"
          },
          "depreciationDepletionAndAmortization": {
            "type": "string"
          },
          "capitalExpenditures": {
            "type": "string"
          },
          "changeInReceivables": {
            "type": "string"
          },
          "changeInInventory": {
            "type": "string"
          },
          "profitLoss": {
            "type": "string"
          },
          "cashflowFromInvestment": {
            "type": "string"
          },
          "cashflowFromFinancing": {
            "type": "string"
          },
          "proceedsFromRepaymentsOfShortTermDebt": {
            "type": "string"
          },
          "paymentsForRepurchaseOfCommonStock": {
            "type": "string"
          },
          "paymentsForRepurchaseOfEquity": {
            "type": "string"
          },
          "paymentsForRepurchaseOfPreferredStock": {
            "type": "string"
          },
          "dividendPayout": {
            "type": "string"
          },
          "dividendPayoutCommonStock": {
            "type": "string"
          },
          "dividendPayoutPreferredStock": {
            "type": "string"
          },
          "proceedsFromIssuanceOfCommonStock": {
            "type": "string"
          },
          "proceedsFromIssuanceOfLongTermDebtAndCapitalSecuritiesNet": {
            "type": "string"
          },
          "proceedsFromIssuanceOfPreferredStock": {
            "type": "string"
          },
          "proceedsFromRepurchaseOfEquity": {
            "type": "string"
          },
          "proceedsFromSaleOfTreasuryStock": {
            "type": "string"
          },
          "changeInCashAndCashEquivalents": {
            "type": "string"
          },
          "changeInExchangeRate": {
            "type": "string"
          },
          "netIncome": {
            "type": "string"
          }
        }
      },
      "BalanceSheetReportDetail": {
        "type": "object",
        "properties": {
          "fiscalDateEnding": {
            "type": "string"
          },
          "reportedCurrency": {
            "type": "string"
          },
          "totalAssets": {
            "type": "string"
          },
          "totalCurrentAssets": {
            "type": "string"
          },
          "cashAndCashEquivalentsAtCarryingValue": {
            "type": "string"
          },
          "cashAndShortTermInvestments": {
            "type": "string"
          },
          "inventory": {
            "type": "string"
          },
          "currentNetReceivables": {
            "type": "string"
          },
          "totalNonCurrentAssets": {
            "type": "string"
          },
          "propertyPlantEquipment": {
            "type": "string"
          },
          "accumulatedDepreciationAmortizationPPE": {
            "type": "string"
          },
          "intangibleAssets": {
            "type": "string"
          },
          "intangibleAssetsExcludingGoodwill": {
            "type": "string"
          },
          "goodwill": {
            "type": "string"
          },
          "investments": {
            "type": "string"
          },
          "longTermInvestments": {
            "type": "string"
          },
          "shortTermInvestments": {
            "type": "string"
          },
          "otherCurrentAssets": {
            "type": "string"
          },
          "otherNonCurrentAssets": {
            "type": "string"
          },
          "totalLiabilities": {
            "type": "string"
          },
          "totalCurrentLiabilities": {
            "type": "string"
          },
          "currentAccountsPayable": {
            "type": "string"
          },
          "deferredRevenue": {
            "type": "string"
          },
          "currentDebt": {
            "type": "string"
          },
          "shortTermDebt": {
            "type": "string"
          },
          "totalNonCurrentLiabilities": {
            "type": "string"
          },
          "capitalLeaseObligations": {
            "type": "string"
          },
          "longTermDebt": {
            "type": "string"
          },
          "currentLongTermDebt": {
            "type": "string"
          },
          "longTermDebtNoncurrent": {
            "type": "string"
          },
          "shortLongTermDebtTotal": {
            "type": "string"
          },
          "otherCurrentLiabilities": {
            "type": "string"
          },
          "otherNonCurrentLiabilities": {
            "type": "string"
          },
          "totalShareholderEquity": {
            "type": "string"
          },
          "treasuryStock": {
            "type": "string"
          },
          "retainedEarnings": {
            "type": "string"
          },
          "commonStock": {
            "type": "string"
          },
          "commonStockSharesOutstanding": {
            "type": "string"
          }
        }
      },
      "Error": {
        "type": "object",
        "required": [
          "message"
        ],
        "properties": {
          "message": {
            "type": "string"
          }
        }
      }
    }
  }
}