FinSight

FinSight · GPT アクション

FinSight

Stock price data, Financial Statements and Earning Call Transcript which cover NYSE, NASDAQ, AMEX, INDEXES, ETFs

  • POST /income/{companyticker}Income statements are detailed reports that show how much profit or loss the company has generated over a particular year. The income statement, also known as profit or loss account, reports the company expenses that arise from the business operations.
  • POST /balancesheet/{companyticker}Balance sheets show a company's assets, liabilities, and equity for a period. They allow return rate calculation and capital structure assessment.
  • POST /cashflow/{companyticker}Cash flow statements are financial summaries that detail a business's cash inflows and outflows over a specific period, capturing its liquidity and solvency.
  • POST /incomeasreported/{companyticker}Income Statements as reported
  • POST /balancesheetasreported/{companyticker}Balance Sheet Statement as reported
  • POST /cashflowasreported/{companyticker}Cash Flow Statement as reported
  • POST /earningcalltranscript/{companyticker}Get the relevant content from Earning Call Transcript
  • POST /stockquote/{companyticker}current or today stock price data
  • POST /historicalstockprice/{companyticker}historical stock price, today is not included
元の API スキーマ
{
  "openapi": "3.0.1",
  "info": {
    "title": "FinSight",
    "description": "Stock price data, Financial Statements and Earning Call Transcript which cover NYSE, NASDAQ, AMEX, INDEXES, ETFs",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://finsight.wisstars.com/"
    }
  ],
  "paths": {
    "/income/{companyticker}": {
      "post": {
        "operationId": "income",
        "summary": "Income statements are detailed reports that show how much profit or loss the company has generated over a particular year. The income statement, also known as profit or loss account, reports the company expenses that arise from the business operations.",
        "parameters": [
          {
            "in": "path",
            "name": "companyticker",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "The ticker of the company in NYSE, NASDAQ."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/incomeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/incomeResponse"
                }
              }
            }
          }
        }
      }
    },
    "/balancesheet/{companyticker}": {
      "post": {
        "operationId": "balancesheet",
        "summary": "Balance sheets show a company's assets, liabilities, and equity for a period. They allow return rate calculation and capital structure assessment.",
        "parameters": [
          {
            "in": "path",
            "name": "companyticker",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "The ticker of the company in NYSE, NASDAQ."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/balancesheetRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/balancesheetResponse"
                }
              }
            }
          }
        }
      }
    },
    "/cashflow/{companyticker}": {
      "post": {
        "operationId": "cashflow",
        "summary": "Cash flow statements are financial summaries that detail a business's cash inflows and outflows over a specific period, capturing its liquidity and solvency.",
        "parameters": [
          {
            "in": "path",
            "name": "companyticker",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "The ticker of the company in NYSE, NASDAQ."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/cashflowRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/cashflowResponse"
                }
              }
            }
          }
        }
      }
    },
    "/incomeasreported/{companyticker}": {
      "post": {
        "operationId": "incomeasreported",
        "summary": "Income Statements as reported",
        "parameters": [
          {
            "in": "path",
            "name": "companyticker",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "The ticker of the company in NYSE, NASDAQ."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/incomeasreportedRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/incomeasreportedResponse"
                }
              }
            }
          }
        }
      }
    },
    "/balancesheetasreported/{companyticker}": {
      "post": {
        "operationId": "balancesheetasreported",
        "summary": "Balance Sheet Statement as reported",
        "parameters": [
          {
            "in": "path",
            "name": "companyticker",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "The ticker of the company in NYSE, NASDAQ."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/balancesheetasreportedRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/balancesheetasreportedResponse"
                }
              }
            }
          }
        }
      }
    },
    "/cashflowasreported/{companyticker}": {
      "post": {
        "operationId": "cashflowasreported",
        "summary": "Cash Flow Statement as reported",
        "parameters": [
          {
            "in": "path",
            "name": "companyticker",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "The ticker of the company in NYSE, NASDAQ."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/cashflowRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/cashflowResponse"
                }
              }
            }
          }
        }
      }
    },
    "/earningcalltranscript/{companyticker}": {
      "post": {
        "operationId": "earningcalltranscript",
        "summary": "Get the relevant content from Earning Call Transcript",
        "parameters": [
          {
            "in": "path",
            "name": "companyticker",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "The ticker of the company in NYSE, NASDAQ."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/earningcalltranscriptRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/earningcalltranscriptResponse"
                }
              }
            }
          }
        }
      }
    },
    "/stockquote/{companyticker}": {
      "post": {
        "operationId": "stockquote",
        "summary": "current or today stock price data",
        "parameters": [
          {
            "in": "path",
            "name": "companyticker",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "The ticker of the company in NYSE, NASDAQ."
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/stockquoteResponse"
                }
              }
            }
          }
        }
      }
    },
    "/historicalstockprice/{companyticker}": {
      "post": {
        "operationId": "historicalstockprice",
        "summary": "historical stock price, today is not included",
        "parameters": [
          {
            "in": "path",
            "name": "companyticker",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "The ticker of the company in NYSE, NASDAQ."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/historicalstockpriceRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/historicalstockpriceResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "incomeRequest": {
        "type": "object",
        "properties": {
          "period": {
            "type": "string",
            "description": "annual or quarterly"
          },
          "quarter": {
            "type": "string",
            "description": "Q1,Q2,Q3 or Q4"
          },
          "year": {
            "type": "integer",
            "description": "year"
          }
        }
      },
      "incomeResponse": {
        "type": "object",
        "properties": {
          "contents": {
            "type": "string",
            "description": "json string. include Date,Symbol,Reported Currency,Cik,Filling Date,Accepted Date,Calendar Year,Period,Revenue,Cost Of Revenue,Gross Profit,Gross Profit Ratio,Research And Development Expenses,General And Administrative Expenses,Selling And Marketing Expenses,Selling General And Administrative Expenses,Other Expenses,Operating Expenses,Cost And Expenses,Interest Income,Interest Expense,Depreciation And Amortization,EBITDA,EBITDA Ratio,Operating Income,Operating Income Ratio,Total Other Income Expenses Net,Income Before Tax,Income Before Tax Ratio,Income Tax Expense,Net Income,Net Income Ratio,EPS,EPS Diluted,Weighted Average Shares Outstanding,Weighted Average Shares Outstanding Diluted,Link,Final Link"
          }
        }
      },
      "balancesheetRequest": {
        "type": "object",
        "properties": {
          "period": {
            "type": "string",
            "description": "annual or quarterly"
          },
          "quarter": {
            "type": "string",
            "description": "Q1,Q2,Q3 or Q4"
          },
          "year": {
            "type": "integer",
            "description": "year"
          }
        }
      },
      "balancesheetResponse": {
        "type": "object",
        "properties": {
          "contents": {
            "type": "string",
            "description": "json string. include Date,Symbol,Reported Currency,Cik,Filling Date,Accepted Date,Calendar Year,Period,Cash And Cash Equivalents,Short Term Investments,Cash And Short Term Investments,Net Receivables,Inventory,Other Current Assets,Total Current Assets,Property Plant Equipment Net,Goodwill,IntangibleAssets,Goodwill And Intangible Assets,Long Term Investments,Tax Assets,Other Non Current Assets,Total Non Current Assets,Other Assets,Total Assets,Account Payables,Short TermDebt,Tax Payables,Deferred Revenue,Other Current Liabilities,Total Current Liabilities,Long Term Debt,Deferred Revenue Non Current,Deferred Tax Liabilities Non Current,Other Non Current Liabilities,Total Non Current Liabilities,Other Liabilities,Capital Lease Obligations,Total Liabilities,Preferred Stock,Common Stock,Retained Earnings,Accumulated Other Comprehensive Income Loss,Other Total Stockholders Equity,Total Stockholders Equity,Total Liabilities And Stockholders Equity,Minority Interest,Total Equity,Total Liabilities And Total Equity,Total Investments,Total Debt,Net Debt,Link,Final Link"
          }
        }
      },
      "cashflowRequest": {
        "type": "object",
        "properties": {
          "period": {
            "type": "string",
            "description": "annual or quarterly"
          },
          "quarter": {
            "type": "string",
            "description": "Q1,Q2,Q3 or Q4"
          },
          "year": {
            "type": "integer",
            "description": "year"
          }
        }
      },
      "cashflowResponse": {
        "type": "object",
        "properties": {
          "contents": {
            "type": "string",
            "description": "json string. include Date,Symbol,Reported Currency,Cik,Filling Date,Accepted Date,Calendar Year,Period,Net Income,Depreciation And Amortization,Deferred Income Tax,Stock Based Compensation,Change In Working Capital,Accounts Receivables,Inventory,Accounts Payables,Other Working Capital,Other Non Cash Items,Net Cash Provided By Operating Activities,Investments In Property Plant An Equipment,Acquisitions Net,Purchases Of Investments,Sales Maturities Of Investments,Other Investing Activites,Net Cash Used For Investing Activites,Debt Repayment,Common Stock Issued,Common Stock Repurchased,Dividends Paid,Other Financing Activites,Net Cash Used Provided By Financing Activities,Effect Of Forex Changes On Cash,Net Change In Cash,Cash At End Of Period,Cash At Beginning Of Period,Operating Cash Flow,Capital Expenditure,Free Cash Flow,Link,Final Link"
          }
        }
      },
      "incomeasreportedRequest": {
        "type": "object",
        "properties": {
          "period": {
            "type": "string",
            "description": "annual or quarterly"
          },
          "quarter": {
            "type": "string",
            "description": "Q1,Q2,Q3 or Q4"
          },
          "year": {
            "type": "integer",
            "description": "year"
          }
        }
      },
      "incomeasreportedResponse": {
        "type": "object",
        "properties": {
          "contents": {
            "type": "string",
            "description": "json string."
          }
        }
      },
      "balancesheetasreportedRequest": {
        "type": "object",
        "properties": {
          "period": {
            "type": "string",
            "description": "annual or quarterly"
          },
          "quarter": {
            "type": "string",
            "description": "Q1,Q2,Q3 or Q4"
          },
          "year": {
            "type": "integer",
            "description": "year"
          }
        }
      },
      "balancesheetasreportedResponse": {
        "type": "object",
        "properties": {
          "contents": {
            "type": "string",
            "description": "json string."
          }
        }
      },
      "cashflowasreportedRequest": {
        "type": "object",
        "properties": {
          "period": {
            "type": "string",
            "description": "annual or quarterly"
          },
          "quarter": {
            "type": "string",
            "description": "Q1,Q2,Q3 or Q4"
          },
          "year": {
            "type": "integer",
            "description": "year"
          }
        }
      },
      "cashflowasreportedResponse": {
        "type": "object",
        "properties": {
          "contents": {
            "type": "string",
            "description": "json string."
          }
        }
      },
      "fullfinancialasreportedRequest": {
        "type": "object",
        "properties": {
          "period": {
            "type": "string",
            "description": "annual or quarterly"
          },
          "quarter": {
            "type": "string",
            "description": "Q1,Q2,Q3 or Q4"
          },
          "year": {
            "type": "integer",
            "description": "year"
          }
        }
      },
      "fullfinancialasreportedResponse": {
        "type": "object",
        "properties": {
          "contents": {
            "type": "string",
            "description": "json string."
          }
        }
      },
      "earningcalltranscriptRequest": {
        "type": "object",
        "properties": {
          "prompt": {
            "type": "string",
            "description": "user input.",
            "required": true
          },
          "period": {
            "type": "string",
            "description": "annual or quarterly"
          },
          "quarter": {
            "type": "string",
            "description": "Q1,Q2,Q3 or Q4"
          },
          "year": {
            "type": "integer",
            "description": "year"
          }
        }
      },
      "earningcalltranscriptResponse": {
        "type": "object",
        "properties": {
          "contents": {
            "type": "string",
            "description": "Relevant content from Earning Call Transcript."
          }
        }
      },
      "stockquoteResponse": {
        "type": "object",
        "properties": {
          "contents": {
            "type": "string",
            "description": "json string."
          }
        }
      },
      "stockpricechangeResponse": {
        "type": "object",
        "properties": {
          "contents": {
            "type": "string",
            "description": "json string."
          }
        }
      },
      "historicalstockpriceRequest": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "description": "the date you want to get the stock price, YYYY-MM-DD format",
            "required": true
          }
        }
      },
      "historicalstockpriceResponse": {
        "type": "object",
        "properties": {
          "contents": {
            "type": "string",
            "description": "json string."
          }
        }
      }
    }
  }
}