• Gooey.AI
  • API: Finance: Automated Structured Analysis from SEC filings


    📖 To learn more, take a look at our complete API

    📤 Example Request

    1. Generate an api key below👇

    2. Install node-fetch & add the GOOEY_API_KEY to your environment variables.
      Never store the api key in your code and don't use direcly in the browser.

    $ npm install node-fetch
    $ export GOOEY_API_KEY=sk-xxxx
    
    1. Use this sample code to call the API.
      If you encounter any issues, write to us at [email protected] and make sure to include the full code snippet and the error message.
    import fetch from 'node-fetch';
    
    const payload = {
      "search_query": "\"Investments\" represent various types of financial instruments and assets that investors can allocate their capital to:\n\nInvestments - CD: CDs are time deposits offered by banks with fixed interest rates and maturity dates. They are considered low-risk investments suitable for preserving capital.\n\nInvestments - Closed-End Funds: Closed-end funds are investment funds that issue a fixed number of shares and trade on exchanges. Their prices can trade at a premium or discount to their net asset value (NAV).\n\nInvestments - Commercial Paper: Commercial paper represents short-term unsecured loans issued by corporations to fund their immediate financing needs. It's typically considered a low-risk debt instrument.\n\nInvestments - Corporate Debt: Corporate debt includes bonds and other debt securities issued by corporations to raise capital. Investors lend money to companies in exchange for periodic interest payments and eventual return of principal.\n\nInvestments - Equities Exchange: Equities (stocks) traded on exchanges represent ownership in a company. Investors buy shares in the hope of capital appreciation and receiving dividends.\n\nInvestments - Equities Foreign: Foreign equities refer to shares of companies traded on international stock exchanges. Investors gain exposure to global markets and potentially diversify their portfolios.\n\nInvestments - Equities Otc: OTC equities are stocks that trade directly between two parties without going through a centralized exchange. They are often associated with smaller or less established companies.\n\nInvestments - ETFs: ETFs are investment funds that trade on exchanges like stocks. They track indices, sectors, commodities, or other asset classes and offer diversification and intraday trading.\n\nInvestments - ETNs: ETNs are debt securities issued by financial institutions. They provide exposure to the performance of an index or asset class and are subject to the issuer's credit risk.\n\nInvestments - Futures Intangibles: Intangible futures contracts involve agreements to buy or sell an underlying financial instrument (such as a currency or interest rate) at a specified future date and price.\n\nInvestments - Futures Tangibles: Tangible futures contracts involve agreements to buy or sell a physical commodity (such as oil, gold, or agricultural products) at a specified future date and price.\n\nInvestments - Hedge Funds: Hedge funds are investment funds that use various strategies to generate returns for their investors. They often have more flexibility in trading and can employ leverage and short-selling.\n\nInvestments - Money Markets: Money market instruments are short-term debt securities with high liquidity and low risk. They include Treasury bills, commercial paper, and certificates of deposit.\n\nInvestments - Municipal Securities: Municipal securities are debt issued by state and local governments to fund projects. They include municipal bonds and notes, often offering tax advantages.\n\nInvestments - Mutual Funds: Mutual funds pool money from multiple investors to invest in a diversified portfolio of stocks, bonds, or other assets. They are managed by professionals.\n\nInvestments - Oil and Gas Partnerships: Oil and gas partnerships involve investing in energy projects. Investors become limited partners and participate in profits generated from oil and gas operations.\n\nInvestments - Options Commodities: Options on commodities give investors the right, but not the obligation, to buy or sell a specific quantity of a commodity at a predetermined price and date.\n\nInvestments - Options Securities: Options on securities provide the right, but not the obligation, to buy or sell a specific quantity of a security at a predetermined price and date.\n\nInvestments - Private Equity Funds: Private equity funds invest in privately held companies or acquire controlling stakes in public companies. They aim for capital appreciation over the long term.\n\nInvestments - Private Placements: Private placements involve selling securities directly to a limited number of accredited investors rather than through public markets.\n\nInvestments - Real Estate Partnerships: Real estate partnerships involve pooling funds to invest in real estate properties or projects. Investors become limited partners and receive a share of profits.\n\nInvestments - REITs: REITs are companies that own, operate, or finance income-generating real estate properties. They provide a way for investors to access real estate assets.\n\nInvestments - UITs: UITs are investment funds that hold a fixed portfolio of securities and are structured to have a specific termination date. They don't involve active management.\n\nInvestments - US Government Securities: US government securities include Treasury bonds, notes, and bills issued by the US Department of the Treasury. They are considered low-risk investments.\n\nInvestments - Variable Annuities: Variable annuities are insurance contracts that allow investors to allocate funds to investment subaccounts. Payouts depend on the performance of the subaccounts.\n\nInvestments - Variable Life: Variable life insurance combines life insurance with an investment component. Policyholders can allocate premiums to investment options within the policy.\n\nInvestments - Venture Capital Funds: Venture capital funds invest in early-stage companies with high growth potential. They provide funding in exchange for equity ownership.\n\nInvestments - Warrants: Warrants give investors the right to buy a company's stock at a specific price within a defined time frame. They are often attached to other securities.\n\nInvestments - Other Partnerships: The \"Other Partnerships\" category likely includes investment partnerships that don't fit into the other defined categories. These could involve unique investment structures.\n\nIn summary, each type of investment represents a distinct asset class or financial instrument with its own characteristics, risk profiles, and potential returns. Investors often diversify their portfolios by allocating funds across different investment types.\n\n\"Investment Strategies\" represent various approaches that investors and portfolio managers use to construct and manage investment portfolios:\n\nInvestment Strategies - Active: Active investment strategies involve making frequent trading decisions and actively managing portfolios to outperform a benchmark index. Portfolio managers conduct in-depth research and analysis to identify undervalued securities and take advantage of market inefficiencies.\n\nInvestment Strategies - Alternative Investing: Alternative investing involves allocating capital to non-traditional assets, such as hedge funds, private equity, real estate, commodities, and other less common investments. These strategies aim to diversify portfolios and potentially achieve returns that are less correlated with traditional markets.\n\nInvestment Strategies - Builds Portfolios Of ETFS ETNS: This strategy involves constructing portfolios primarily composed of exchange-traded funds (ETFs) and exchange-traded notes (ETNs). These are investment vehicles that track various indices and asset classes, offering diversification and exposure to specific market segments.\n\nInvestment Strategies - Builds Portfolios Of Mutual Funds: Similar to ETFs and ETNs, this strategy involves constructing portfolios primarily composed of mutual funds. Mutual funds pool investments from multiple investors to invest in a diversified portfolio of securities managed by professional fund managers.\n\nInvestment Strategies - ESG Impact Investing: ESG (Environmental, Social, Governance) impact investing integrates environmental, social, and governance factors into investment decisions. Investors seek to align their portfolios with sustainability and ethical considerations while aiming for financial returns.\n\nInvestment Strategies - Focus Cash Management: Focus on cash management involves prioritizing the allocation of funds to cash and cash-equivalent assets to ensure liquidity and capital preservation. This strategy is common for short-term needs or risk-averse investors.\n\nInvestment Strategies - Focus Equities Domestic: This strategy concentrates on investing in domestic or local equities (stocks) within a specific country's markets. The goal is to capitalize on opportunities within the investor's home country.\n\nInvestment Strategies - Focus Equities International: Focus on international equities involves investing in stocks from foreign countries' markets. This strategy aims to diversify by accessing opportunities in global markets.\n\nInvestment Strategies - Focus Fixed Income Taxable: Investing in taxable fixed-income securities, such as corporate bonds, government bonds, and other debt instruments, is the focus of this strategy. The goal is to generate income while considering tax implications.\n\nInvestment Strategies - Focus Fixed Income Tax Free: Similar to the previous strategy, this one focuses on fixed-income securities, but specifically on tax-free bonds, such as municipal bonds. These bonds provide income that is exempt from federal income taxes.\n\nInvestment Strategies - Long Term Buy: Long-term buy-and-hold investing involves purchasing securities with the intention of holding them for an extended period, regardless of short-term market fluctuations. The goal is to benefit from long-term appreciation.\n\nInvestment Strategies - Margin Transactions: Margin trading involves borrowing funds to purchase securities, using the securities themselves as collateral. This strategy can amplify gains but also increase potential losses due to leverage.\n\nInvestment Strategies - Option Writing: Option writing strategy involves selling options (calls or puts) on securities. This can generate income, but it also exposes the investor to potential risks if the market moves unfavorably.\n\nInvestment Strategies - Passive: Passive investment strategies involve building portfolios that closely track a specific market index. The goal is to match market returns rather than actively seek to outperform it.\n\nInvestment Strategies - Primarily Recommends Particular Type Of Security: This strategy involves focusing on recommending a specific type of security (e.g., stocks, bonds, ETFs) based on the investor's objectives, risk tolerance, and market outlook.\n\nInvestment Strategies - Proprietary Model For Security Selection: This strategy uses a proprietary model or algorithm to select securities for the portfolio. It may consider various factors, such as financial metrics, market trends, and risk assessments.\n\nInvestment Strategies - Selects Separate Account Managers: Investors employing this strategy delegate portfolio management to separate account managers who make investment decisions on their behalf. This approach offers professional management and customization.\n\nInvestment Strategies - Short Sales: Short selling involves borrowing and selling securities with the expectation that their prices will decline. The goal is to buy them back at a lower price, generating a profit from the price difference.\n\nInvestment Strategies - Short Term Buy: This strategy focuses on short-term investments with the goal of capitalizing on immediate market opportunities. It typically involves frequent trading and quick asset turnover.\n\nInvestment Strategies - Socially Responsible Investing: Similar to ESG impact investing, socially responsible investing considers ethical, social, and environmental factors when making investment decisions. The goal is to align investments with values and societal concerns.\n\nInvestment Strategies - Style Growth: Growth investing focuses on selecting securities that exhibit strong growth potential. Investors look for companies with above-average revenue and earnings growth rates.\n\nInvestment Strategies - Style Value: Value investing involves selecting securities that are considered undervalued relative to their intrinsic worth. Investors seek assets trading below their fundamental value.\n\nInvestment Strategies - Trading: Trading strategies involve frequent buying and selling of securities to profit from short-term price fluctuations. Traders use technical and fundamental analysis to make decisions.\n\nInvestment Strategies - Other: The \"Other\" category likely includes investment strategies that do not fit within the defined categories. These strategies could be unique approaches, hybrids, or less commonly used methods for constructing portfolios.\n\nIn summary, each investment strategy offers a distinct approach to constructing and managing investment portfolios, focusing on different goals, time horizons, risk profiles, and asset types.\n\n\"Methods of Analysis\" refer to different approaches used by financial professionals to assess and evaluate investment opportunities:\n\nMethods of Analysis - Charting: Charting, also known as technical analysis, involves studying price and volume patterns in financial charts to predict future price movements. Traders who use charting believe that historical price and trading volume data can provide insights into potential future trends. This method focuses on patterns, trends, and indicators to make investment decisions.\n\nMethods of Analysis - Cyclical: Cyclical analysis is a method that involves studying economic cycles and business cycles to anticipate changes in the financial markets. Analysts using this approach examine patterns of economic growth, recession, and recovery to make predictions about market behavior. This method considers how different sectors and industries perform during various phases of the economic cycle.\n\nMethods of Analysis - Fundamental: Fundamental analysis involves assessing the intrinsic value of an investment by analyzing various financial and economic factors. This includes studying financial statements, earnings reports, industry trends, and economic indicators to determine whether an investment is overvalued or undervalued. Fundamental analysis is often used for long-term investment decisions.\n\nMethods of Analysis - Technical: Technical analysis, also known as charting, involves analyzing historical price and volume data to predict future price movements. This method relies on patterns, trends, and indicators present in financial charts. Traders who use technical analysis believe that market psychology and historical price patterns can provide insights into future price trends.\n\nMethods of Analysis - Other: The \"Other\" category likely refers to analysis methods that don't fit neatly into the defined categories of charting, cyclical, fundamental, or technical analysis. These methods could include proprietary models, unique research approaches, or less commonly used methods for assessing investment opportunities.\n\nIn summary, each method of analysis offers a distinct approach to understanding and predicting market behavior. Charting (technical analysis) focuses on price and volume patterns, cyclical analysis studies economic cycles, fundamental analysis assesses financial and economic data, technical analysis uses historical price data, and the \"Other\" category likely encompasses diverse or unconventional analysis methods.\n\n\"Research Methods\" represent various approaches used to gather information and insights about investment opportunities and companies:\n\nResearch Methods - Company Press Releases: Company press releases are official statements and announcements issued by companies to communicate information to the public. These releases can cover a wide range of topics, including financial results, business developments, product launches, and strategic initiatives. Analysts use press releases to gather information directly from the source, gaining insights into a company's activities and plans.\n\nResearch Methods - Corporate Rating Services: Corporate rating services are provided by credit rating agencies that assess the creditworthiness of companies and their financial instruments. These agencies assign credit ratings to companies' debts and securities, indicating their level of risk. Analysts use these ratings to evaluate the credit quality of investments and assess the likelihood of default.\n\nResearch Methods - Financial Publications: Financial publications include newspapers, magazines, and online sources that specialize in reporting on financial news, market trends, and investment analysis. Analysts rely on financial publications to stay updated on current events, market developments, and expert opinions that can impact investment decisions.\n\nResearch Methods - Inspection Of Corporate Records: Inspection of corporate records involves examining a company's official documents and records, which may include financial statements, legal agreements, contracts, and regulatory filings. This method allows analysts to gain a comprehensive understanding of a company's financial health, legal obligations, and business operations.\n\nResearch Methods - SEC Filings: SEC filings are documents that companies are required to submit to the U.S. Securities and Exchange Commission (SEC). These filings provide detailed information about a company's financial performance, operations, and governance. Analysts use SEC filings to access standardized and comprehensive data for making informed investment decisions.\n\nResearch Methods - Statistical Analysis: Statistical analysis involves using quantitative methods to analyze data and identify patterns or trends. Analysts may use statistical techniques to assess historical market data, economic indicators, and financial metrics. This approach helps identify relationships between variables and make predictions based on historical data.\n\nResearch Methods - Technical Analysis: Technical analysis involves studying historical price and trading volume data to predict future price movements. Analysts use charts, patterns, and technical indicators to identify trends and patterns that can guide investment decisions. This approach focuses on market psychology and historical price behavior.\n\nResearch Methods - Trend Analysis: Trend analysis involves identifying and analyzing patterns and trends in data over time. This method can be applied to financial data, economic indicators, and market performance. Analysts use trend analysis to identify potential opportunities or risks based on historical patterns.\n\nResearch Methods - Other: The \"Other\" category likely includes research methods that do not fit within the defined categories. These methods could encompass proprietary models, unique research approaches, or less commonly used methods for gathering insights and information about investments and companies.\n\nIn summary, each research method provides a distinct way of gathering and analyzing information to make informed investment decisions. Company press releases provide direct communication from companies, corporate rating services assess creditworthiness, financial publications offer expert analysis, inspection of corporate records involves thorough document examination, SEC filings provide standardized company data, statistical analysis uses quantitative techniques, technical analysis focuses on price patterns, trend analysis identifies historical patterns, and the \"Other\" category may include unconventional research methods.",
      "documents": [
        "https://files.adviserinfo.sec.gov/IAPD/Content/Common/crd_iapd_Brochure.aspx?BRCHR_VRSN_ID=838660"
      ]
    };
    
    async function gooeyAPI() {
      const response = await fetch("https://api.gooey.ai/v2/doc-search?example_id=mfj9m4zt", {
        method: "POST",
        headers: {
          "Authorization": "bearer " + process.env["GOOEY_API_KEY"],
          "Content-Type": "application/json",
        },
        body: JSON.stringify(payload),
      });
    
      if (!response.ok) {
        throw new Error(response.status);
      }
    
      const result = await response.json();
      console.log(response.status, result);
    }
    
    gooeyAPI();
    
    1. Generate an api key below👇

    2. Install requests & add the GOOEY_API_KEY to your environment variables.
      Never store the api key in your code.

    $ python3 -m pip install requests
    $ export GOOEY_API_KEY=sk-xxxx
    
    1. Use this sample code to call the API.
      If you encounter any issues, write to us at [email protected] and make sure to include the full code snippet and the error message.
    import os
    import requests
    
    payload = {
        "search_query": '"Investments" represent various types of financial instruments and assets that investors can allocate their capital to:\n\nInvestments - CD: CDs are time deposits offered by banks with fixed interest rates and maturity dates. They are considered low-risk investments suitable for preserving capital.\n\nInvestments - Closed-End Funds: Closed-end funds are investment funds that issue a fixed number of shares and trade on exchanges. Their prices can trade at a premium or discount to their net asset value (NAV).\n\nInvestments - Commercial Paper: Commercial paper represents short-term unsecured loans issued by corporations to fund their immediate financing needs. It\'s typically considered a low-risk debt instrument.\n\nInvestments - Corporate Debt: Corporate debt includes bonds and other debt securities issued by corporations to raise capital. Investors lend money to companies in exchange for periodic interest payments and eventual return of principal.\n\nInvestments - Equities Exchange: Equities (stocks) traded on exchanges represent ownership in a company. Investors buy shares in the hope of capital appreciation and receiving dividends.\n\nInvestments - Equities Foreign: Foreign equities refer to shares of companies traded on international stock exchanges. Investors gain exposure to global markets and potentially diversify their portfolios.\n\nInvestments - Equities Otc: OTC equities are stocks that trade directly between two parties without going through a centralized exchange. They are often associated with smaller or less established companies.\n\nInvestments - ETFs: ETFs are investment funds that trade on exchanges like stocks. They track indices, sectors, commodities, or other asset classes and offer diversification and intraday trading.\n\nInvestments - ETNs: ETNs are debt securities issued by financial institutions. They provide exposure to the performance of an index or asset class and are subject to the issuer\'s credit risk.\n\nInvestments - Futures Intangibles: Intangible futures contracts involve agreements to buy or sell an underlying financial instrument (such as a currency or interest rate) at a specified future date and price.\n\nInvestments - Futures Tangibles: Tangible futures contracts involve agreements to buy or sell a physical commodity (such as oil, gold, or agricultural products) at a specified future date and price.\n\nInvestments - Hedge Funds: Hedge funds are investment funds that use various strategies to generate returns for their investors. They often have more flexibility in trading and can employ leverage and short-selling.\n\nInvestments - Money Markets: Money market instruments are short-term debt securities with high liquidity and low risk. They include Treasury bills, commercial paper, and certificates of deposit.\n\nInvestments - Municipal Securities: Municipal securities are debt issued by state and local governments to fund projects. They include municipal bonds and notes, often offering tax advantages.\n\nInvestments - Mutual Funds: Mutual funds pool money from multiple investors to invest in a diversified portfolio of stocks, bonds, or other assets. They are managed by professionals.\n\nInvestments - Oil and Gas Partnerships: Oil and gas partnerships involve investing in energy projects. Investors become limited partners and participate in profits generated from oil and gas operations.\n\nInvestments - Options Commodities: Options on commodities give investors the right, but not the obligation, to buy or sell a specific quantity of a commodity at a predetermined price and date.\n\nInvestments - Options Securities: Options on securities provide the right, but not the obligation, to buy or sell a specific quantity of a security at a predetermined price and date.\n\nInvestments - Private Equity Funds: Private equity funds invest in privately held companies or acquire controlling stakes in public companies. They aim for capital appreciation over the long term.\n\nInvestments - Private Placements: Private placements involve selling securities directly to a limited number of accredited investors rather than through public markets.\n\nInvestments - Real Estate Partnerships: Real estate partnerships involve pooling funds to invest in real estate properties or projects. Investors become limited partners and receive a share of profits.\n\nInvestments - REITs: REITs are companies that own, operate, or finance income-generating real estate properties. They provide a way for investors to access real estate assets.\n\nInvestments - UITs: UITs are investment funds that hold a fixed portfolio of securities and are structured to have a specific termination date. They don\'t involve active management.\n\nInvestments - US Government Securities: US government securities include Treasury bonds, notes, and bills issued by the US Department of the Treasury. They are considered low-risk investments.\n\nInvestments - Variable Annuities: Variable annuities are insurance contracts that allow investors to allocate funds to investment subaccounts. Payouts depend on the performance of the subaccounts.\n\nInvestments - Variable Life: Variable life insurance combines life insurance with an investment component. Policyholders can allocate premiums to investment options within the policy.\n\nInvestments - Venture Capital Funds: Venture capital funds invest in early-stage companies with high growth potential. They provide funding in exchange for equity ownership.\n\nInvestments - Warrants: Warrants give investors the right to buy a company\'s stock at a specific price within a defined time frame. They are often attached to other securities.\n\nInvestments - Other Partnerships: The "Other Partnerships" category likely includes investment partnerships that don\'t fit into the other defined categories. These could involve unique investment structures.\n\nIn summary, each type of investment represents a distinct asset class or financial instrument with its own characteristics, risk profiles, and potential returns. Investors often diversify their portfolios by allocating funds across different investment types.\n\n"Investment Strategies" represent various approaches that investors and portfolio managers use to construct and manage investment portfolios:\n\nInvestment Strategies - Active: Active investment strategies involve making frequent trading decisions and actively managing portfolios to outperform a benchmark index. Portfolio managers conduct in-depth research and analysis to identify undervalued securities and take advantage of market inefficiencies.\n\nInvestment Strategies - Alternative Investing: Alternative investing involves allocating capital to non-traditional assets, such as hedge funds, private equity, real estate, commodities, and other less common investments. These strategies aim to diversify portfolios and potentially achieve returns that are less correlated with traditional markets.\n\nInvestment Strategies - Builds Portfolios Of ETFS ETNS: This strategy involves constructing portfolios primarily composed of exchange-traded funds (ETFs) and exchange-traded notes (ETNs). These are investment vehicles that track various indices and asset classes, offering diversification and exposure to specific market segments.\n\nInvestment Strategies - Builds Portfolios Of Mutual Funds: Similar to ETFs and ETNs, this strategy involves constructing portfolios primarily composed of mutual funds. Mutual funds pool investments from multiple investors to invest in a diversified portfolio of securities managed by professional fund managers.\n\nInvestment Strategies - ESG Impact Investing: ESG (Environmental, Social, Governance) impact investing integrates environmental, social, and governance factors into investment decisions. Investors seek to align their portfolios with sustainability and ethical considerations while aiming for financial returns.\n\nInvestment Strategies - Focus Cash Management: Focus on cash management involves prioritizing the allocation of funds to cash and cash-equivalent assets to ensure liquidity and capital preservation. This strategy is common for short-term needs or risk-averse investors.\n\nInvestment Strategies - Focus Equities Domestic: This strategy concentrates on investing in domestic or local equities (stocks) within a specific country\'s markets. The goal is to capitalize on opportunities within the investor\'s home country.\n\nInvestment Strategies - Focus Equities International: Focus on international equities involves investing in stocks from foreign countries\' markets. This strategy aims to diversify by accessing opportunities in global markets.\n\nInvestment Strategies - Focus Fixed Income Taxable: Investing in taxable fixed-income securities, such as corporate bonds, government bonds, and other debt instruments, is the focus of this strategy. The goal is to generate income while considering tax implications.\n\nInvestment Strategies - Focus Fixed Income Tax Free: Similar to the previous strategy, this one focuses on fixed-income securities, but specifically on tax-free bonds, such as municipal bonds. These bonds provide income that is exempt from federal income taxes.\n\nInvestment Strategies - Long Term Buy: Long-term buy-and-hold investing involves purchasing securities with the intention of holding them for an extended period, regardless of short-term market fluctuations. The goal is to benefit from long-term appreciation.\n\nInvestment Strategies - Margin Transactions: Margin trading involves borrowing funds to purchase securities, using the securities themselves as collateral. This strategy can amplify gains but also increase potential losses due to leverage.\n\nInvestment Strategies - Option Writing: Option writing strategy involves selling options (calls or puts) on securities. This can generate income, but it also exposes the investor to potential risks if the market moves unfavorably.\n\nInvestment Strategies - Passive: Passive investment strategies involve building portfolios that closely track a specific market index. The goal is to match market returns rather than actively seek to outperform it.\n\nInvestment Strategies - Primarily Recommends Particular Type Of Security: This strategy involves focusing on recommending a specific type of security (e.g., stocks, bonds, ETFs) based on the investor\'s objectives, risk tolerance, and market outlook.\n\nInvestment Strategies - Proprietary Model For Security Selection: This strategy uses a proprietary model or algorithm to select securities for the portfolio. It may consider various factors, such as financial metrics, market trends, and risk assessments.\n\nInvestment Strategies - Selects Separate Account Managers: Investors employing this strategy delegate portfolio management to separate account managers who make investment decisions on their behalf. This approach offers professional management and customization.\n\nInvestment Strategies - Short Sales: Short selling involves borrowing and selling securities with the expectation that their prices will decline. The goal is to buy them back at a lower price, generating a profit from the price difference.\n\nInvestment Strategies - Short Term Buy: This strategy focuses on short-term investments with the goal of capitalizing on immediate market opportunities. It typically involves frequent trading and quick asset turnover.\n\nInvestment Strategies - Socially Responsible Investing: Similar to ESG impact investing, socially responsible investing considers ethical, social, and environmental factors when making investment decisions. The goal is to align investments with values and societal concerns.\n\nInvestment Strategies - Style Growth: Growth investing focuses on selecting securities that exhibit strong growth potential. Investors look for companies with above-average revenue and earnings growth rates.\n\nInvestment Strategies - Style Value: Value investing involves selecting securities that are considered undervalued relative to their intrinsic worth. Investors seek assets trading below their fundamental value.\n\nInvestment Strategies - Trading: Trading strategies involve frequent buying and selling of securities to profit from short-term price fluctuations. Traders use technical and fundamental analysis to make decisions.\n\nInvestment Strategies - Other: The "Other" category likely includes investment strategies that do not fit within the defined categories. These strategies could be unique approaches, hybrids, or less commonly used methods for constructing portfolios.\n\nIn summary, each investment strategy offers a distinct approach to constructing and managing investment portfolios, focusing on different goals, time horizons, risk profiles, and asset types.\n\n"Methods of Analysis" refer to different approaches used by financial professionals to assess and evaluate investment opportunities:\n\nMethods of Analysis - Charting: Charting, also known as technical analysis, involves studying price and volume patterns in financial charts to predict future price movements. Traders who use charting believe that historical price and trading volume data can provide insights into potential future trends. This method focuses on patterns, trends, and indicators to make investment decisions.\n\nMethods of Analysis - Cyclical: Cyclical analysis is a method that involves studying economic cycles and business cycles to anticipate changes in the financial markets. Analysts using this approach examine patterns of economic growth, recession, and recovery to make predictions about market behavior. This method considers how different sectors and industries perform during various phases of the economic cycle.\n\nMethods of Analysis - Fundamental: Fundamental analysis involves assessing the intrinsic value of an investment by analyzing various financial and economic factors. This includes studying financial statements, earnings reports, industry trends, and economic indicators to determine whether an investment is overvalued or undervalued. Fundamental analysis is often used for long-term investment decisions.\n\nMethods of Analysis - Technical: Technical analysis, also known as charting, involves analyzing historical price and volume data to predict future price movements. This method relies on patterns, trends, and indicators present in financial charts. Traders who use technical analysis believe that market psychology and historical price patterns can provide insights into future price trends.\n\nMethods of Analysis - Other: The "Other" category likely refers to analysis methods that don\'t fit neatly into the defined categories of charting, cyclical, fundamental, or technical analysis. These methods could include proprietary models, unique research approaches, or less commonly used methods for assessing investment opportunities.\n\nIn summary, each method of analysis offers a distinct approach to understanding and predicting market behavior. Charting (technical analysis) focuses on price and volume patterns, cyclical analysis studies economic cycles, fundamental analysis assesses financial and economic data, technical analysis uses historical price data, and the "Other" category likely encompasses diverse or unconventional analysis methods.\n\n"Research Methods" represent various approaches used to gather information and insights about investment opportunities and companies:\n\nResearch Methods - Company Press Releases: Company press releases are official statements and announcements issued by companies to communicate information to the public. These releases can cover a wide range of topics, including financial results, business developments, product launches, and strategic initiatives. Analysts use press releases to gather information directly from the source, gaining insights into a company\'s activities and plans.\n\nResearch Methods - Corporate Rating Services: Corporate rating services are provided by credit rating agencies that assess the creditworthiness of companies and their financial instruments. These agencies assign credit ratings to companies\' debts and securities, indicating their level of risk. Analysts use these ratings to evaluate the credit quality of investments and assess the likelihood of default.\n\nResearch Methods - Financial Publications: Financial publications include newspapers, magazines, and online sources that specialize in reporting on financial news, market trends, and investment analysis. Analysts rely on financial publications to stay updated on current events, market developments, and expert opinions that can impact investment decisions.\n\nResearch Methods - Inspection Of Corporate Records: Inspection of corporate records involves examining a company\'s official documents and records, which may include financial statements, legal agreements, contracts, and regulatory filings. This method allows analysts to gain a comprehensive understanding of a company\'s financial health, legal obligations, and business operations.\n\nResearch Methods - SEC Filings: SEC filings are documents that companies are required to submit to the U.S. Securities and Exchange Commission (SEC). These filings provide detailed information about a company\'s financial performance, operations, and governance. Analysts use SEC filings to access standardized and comprehensive data for making informed investment decisions.\n\nResearch Methods - Statistical Analysis: Statistical analysis involves using quantitative methods to analyze data and identify patterns or trends. Analysts may use statistical techniques to assess historical market data, economic indicators, and financial metrics. This approach helps identify relationships between variables and make predictions based on historical data.\n\nResearch Methods - Technical Analysis: Technical analysis involves studying historical price and trading volume data to predict future price movements. Analysts use charts, patterns, and technical indicators to identify trends and patterns that can guide investment decisions. This approach focuses on market psychology and historical price behavior.\n\nResearch Methods - Trend Analysis: Trend analysis involves identifying and analyzing patterns and trends in data over time. This method can be applied to financial data, economic indicators, and market performance. Analysts use trend analysis to identify potential opportunities or risks based on historical patterns.\n\nResearch Methods - Other: The "Other" category likely includes research methods that do not fit within the defined categories. These methods could encompass proprietary models, unique research approaches, or less commonly used methods for gathering insights and information about investments and companies.\n\nIn summary, each research method provides a distinct way of gathering and analyzing information to make informed investment decisions. Company press releases provide direct communication from companies, corporate rating services assess creditworthiness, financial publications offer expert analysis, inspection of corporate records involves thorough document examination, SEC filings provide standardized company data, statistical analysis uses quantitative techniques, technical analysis focuses on price patterns, trend analysis identifies historical patterns, and the "Other" category may include unconventional research methods.',
        "documents": [
            "https://files.adviserinfo.sec.gov/IAPD/Content/Common/crd_iapd_Brochure.aspx?BRCHR_VRSN_ID=838660"
        ],
    }
    
    response = requests.post(
        "https://api.gooey.ai/v2/doc-search?example_id=mfj9m4zt",
        headers={
            "Authorization": "bearer " + os.environ["GOOEY_API_KEY"],
        },
        json=payload,
    )
    assert response.ok, response.content
    
    result = response.json()
    print(response.status_code, result)
    
    1. Generate an api key below👇

    2. Install curl & add the GOOEY_API_KEY to your environment variables.
      Never store the api key in your code.

    export GOOEY_API_KEY=sk-xxxx
    
    1. Run the following curl command in your terminal.
      If you encounter any issues, write to us at [email protected] and make sure to include the full curl command and the error message.
    curl 'https://api.gooey.ai/v2/doc-search?example_id=mfj9m4zt' \
      -H "Authorization: bearer $GOOEY_API_KEY" \
      -H 'Content-Type: application/json' \
      -d '{
      "search_query": "\"Investments\" represent various types of financial instruments and assets that investors can allocate their capital to:\n\nInvestments - CD: CDs are time deposits offered by banks with fixed interest rates and maturity dates. They are considered low-risk investments suitable for preserving capital.\n\nInvestments - Closed-End Funds: Closed-end funds are investment funds that issue a fixed number of shares and trade on exchanges. Their prices can trade at a premium or discount to their net asset value (NAV).\n\nInvestments - Commercial Paper: Commercial paper represents short-term unsecured loans issued by corporations to fund their immediate financing needs. It'"'"'s typically considered a low-risk debt instrument.\n\nInvestments - Corporate Debt: Corporate debt includes bonds and other debt securities issued by corporations to raise capital. Investors lend money to companies in exchange for periodic interest payments and eventual return of principal.\n\nInvestments - Equities Exchange: Equities (stocks) traded on exchanges represent ownership in a company. Investors buy shares in the hope of capital appreciation and receiving dividends.\n\nInvestments - Equities Foreign: Foreign equities refer to shares of companies traded on international stock exchanges. Investors gain exposure to global markets and potentially diversify their portfolios.\n\nInvestments - Equities Otc: OTC equities are stocks that trade directly between two parties without going through a centralized exchange. They are often associated with smaller or less established companies.\n\nInvestments - ETFs: ETFs are investment funds that trade on exchanges like stocks. They track indices, sectors, commodities, or other asset classes and offer diversification and intraday trading.\n\nInvestments - ETNs: ETNs are debt securities issued by financial institutions. They provide exposure to the performance of an index or asset class and are subject to the issuer'"'"'s credit risk.\n\nInvestments - Futures Intangibles: Intangible futures contracts involve agreements to buy or sell an underlying financial instrument (such as a currency or interest rate) at a specified future date and price.\n\nInvestments - Futures Tangibles: Tangible futures contracts involve agreements to buy or sell a physical commodity (such as oil, gold, or agricultural products) at a specified future date and price.\n\nInvestments - Hedge Funds: Hedge funds are investment funds that use various strategies to generate returns for their investors. They often have more flexibility in trading and can employ leverage and short-selling.\n\nInvestments - Money Markets: Money market instruments are short-term debt securities with high liquidity and low risk. They include Treasury bills, commercial paper, and certificates of deposit.\n\nInvestments - Municipal Securities: Municipal securities are debt issued by state and local governments to fund projects. They include municipal bonds and notes, often offering tax advantages.\n\nInvestments - Mutual Funds: Mutual funds pool money from multiple investors to invest in a diversified portfolio of stocks, bonds, or other assets. They are managed by professionals.\n\nInvestments - Oil and Gas Partnerships: Oil and gas partnerships involve investing in energy projects. Investors become limited partners and participate in profits generated from oil and gas operations.\n\nInvestments - Options Commodities: Options on commodities give investors the right, but not the obligation, to buy or sell a specific quantity of a commodity at a predetermined price and date.\n\nInvestments - Options Securities: Options on securities provide the right, but not the obligation, to buy or sell a specific quantity of a security at a predetermined price and date.\n\nInvestments - Private Equity Funds: Private equity funds invest in privately held companies or acquire controlling stakes in public companies. They aim for capital appreciation over the long term.\n\nInvestments - Private Placements: Private placements involve selling securities directly to a limited number of accredited investors rather than through public markets.\n\nInvestments - Real Estate Partnerships: Real estate partnerships involve pooling funds to invest in real estate properties or projects. Investors become limited partners and receive a share of profits.\n\nInvestments - REITs: REITs are companies that own, operate, or finance income-generating real estate properties. They provide a way for investors to access real estate assets.\n\nInvestments - UITs: UITs are investment funds that hold a fixed portfolio of securities and are structured to have a specific termination date. They don'"'"'t involve active management.\n\nInvestments - US Government Securities: US government securities include Treasury bonds, notes, and bills issued by the US Department of the Treasury. They are considered low-risk investments.\n\nInvestments - Variable Annuities: Variable annuities are insurance contracts that allow investors to allocate funds to investment subaccounts. Payouts depend on the performance of the subaccounts.\n\nInvestments - Variable Life: Variable life insurance combines life insurance with an investment component. Policyholders can allocate premiums to investment options within the policy.\n\nInvestments - Venture Capital Funds: Venture capital funds invest in early-stage companies with high growth potential. They provide funding in exchange for equity ownership.\n\nInvestments - Warrants: Warrants give investors the right to buy a company'"'"'s stock at a specific price within a defined time frame. They are often attached to other securities.\n\nInvestments - Other Partnerships: The \"Other Partnerships\" category likely includes investment partnerships that don'"'"'t fit into the other defined categories. These could involve unique investment structures.\n\nIn summary, each type of investment represents a distinct asset class or financial instrument with its own characteristics, risk profiles, and potential returns. Investors often diversify their portfolios by allocating funds across different investment types.\n\n\"Investment Strategies\" represent various approaches that investors and portfolio managers use to construct and manage investment portfolios:\n\nInvestment Strategies - Active: Active investment strategies involve making frequent trading decisions and actively managing portfolios to outperform a benchmark index. Portfolio managers conduct in-depth research and analysis to identify undervalued securities and take advantage of market inefficiencies.\n\nInvestment Strategies - Alternative Investing: Alternative investing involves allocating capital to non-traditional assets, such as hedge funds, private equity, real estate, commodities, and other less common investments. These strategies aim to diversify portfolios and potentially achieve returns that are less correlated with traditional markets.\n\nInvestment Strategies - Builds Portfolios Of ETFS ETNS: This strategy involves constructing portfolios primarily composed of exchange-traded funds (ETFs) and exchange-traded notes (ETNs). These are investment vehicles that track various indices and asset classes, offering diversification and exposure to specific market segments.\n\nInvestment Strategies - Builds Portfolios Of Mutual Funds: Similar to ETFs and ETNs, this strategy involves constructing portfolios primarily composed of mutual funds. Mutual funds pool investments from multiple investors to invest in a diversified portfolio of securities managed by professional fund managers.\n\nInvestment Strategies - ESG Impact Investing: ESG (Environmental, Social, Governance) impact investing integrates environmental, social, and governance factors into investment decisions. Investors seek to align their portfolios with sustainability and ethical considerations while aiming for financial returns.\n\nInvestment Strategies - Focus Cash Management: Focus on cash management involves prioritizing the allocation of funds to cash and cash-equivalent assets to ensure liquidity and capital preservation. This strategy is common for short-term needs or risk-averse investors.\n\nInvestment Strategies - Focus Equities Domestic: This strategy concentrates on investing in domestic or local equities (stocks) within a specific country'"'"'s markets. The goal is to capitalize on opportunities within the investor'"'"'s home country.\n\nInvestment Strategies - Focus Equities International: Focus on international equities involves investing in stocks from foreign countries'"'"' markets. This strategy aims to diversify by accessing opportunities in global markets.\n\nInvestment Strategies - Focus Fixed Income Taxable: Investing in taxable fixed-income securities, such as corporate bonds, government bonds, and other debt instruments, is the focus of this strategy. The goal is to generate income while considering tax implications.\n\nInvestment Strategies - Focus Fixed Income Tax Free: Similar to the previous strategy, this one focuses on fixed-income securities, but specifically on tax-free bonds, such as municipal bonds. These bonds provide income that is exempt from federal income taxes.\n\nInvestment Strategies - Long Term Buy: Long-term buy-and-hold investing involves purchasing securities with the intention of holding them for an extended period, regardless of short-term market fluctuations. The goal is to benefit from long-term appreciation.\n\nInvestment Strategies - Margin Transactions: Margin trading involves borrowing funds to purchase securities, using the securities themselves as collateral. This strategy can amplify gains but also increase potential losses due to leverage.\n\nInvestment Strategies - Option Writing: Option writing strategy involves selling options (calls or puts) on securities. This can generate income, but it also exposes the investor to potential risks if the market moves unfavorably.\n\nInvestment Strategies - Passive: Passive investment strategies involve building portfolios that closely track a specific market index. The goal is to match market returns rather than actively seek to outperform it.\n\nInvestment Strategies - Primarily Recommends Particular Type Of Security: This strategy involves focusing on recommending a specific type of security (e.g., stocks, bonds, ETFs) based on the investor'"'"'s objectives, risk tolerance, and market outlook.\n\nInvestment Strategies - Proprietary Model For Security Selection: This strategy uses a proprietary model or algorithm to select securities for the portfolio. It may consider various factors, such as financial metrics, market trends, and risk assessments.\n\nInvestment Strategies - Selects Separate Account Managers: Investors employing this strategy delegate portfolio management to separate account managers who make investment decisions on their behalf. This approach offers professional management and customization.\n\nInvestment Strategies - Short Sales: Short selling involves borrowing and selling securities with the expectation that their prices will decline. The goal is to buy them back at a lower price, generating a profit from the price difference.\n\nInvestment Strategies - Short Term Buy: This strategy focuses on short-term investments with the goal of capitalizing on immediate market opportunities. It typically involves frequent trading and quick asset turnover.\n\nInvestment Strategies - Socially Responsible Investing: Similar to ESG impact investing, socially responsible investing considers ethical, social, and environmental factors when making investment decisions. The goal is to align investments with values and societal concerns.\n\nInvestment Strategies - Style Growth: Growth investing focuses on selecting securities that exhibit strong growth potential. Investors look for companies with above-average revenue and earnings growth rates.\n\nInvestment Strategies - Style Value: Value investing involves selecting securities that are considered undervalued relative to their intrinsic worth. Investors seek assets trading below their fundamental value.\n\nInvestment Strategies - Trading: Trading strategies involve frequent buying and selling of securities to profit from short-term price fluctuations. Traders use technical and fundamental analysis to make decisions.\n\nInvestment Strategies - Other: The \"Other\" category likely includes investment strategies that do not fit within the defined categories. These strategies could be unique approaches, hybrids, or less commonly used methods for constructing portfolios.\n\nIn summary, each investment strategy offers a distinct approach to constructing and managing investment portfolios, focusing on different goals, time horizons, risk profiles, and asset types.\n\n\"Methods of Analysis\" refer to different approaches used by financial professionals to assess and evaluate investment opportunities:\n\nMethods of Analysis - Charting: Charting, also known as technical analysis, involves studying price and volume patterns in financial charts to predict future price movements. Traders who use charting believe that historical price and trading volume data can provide insights into potential future trends. This method focuses on patterns, trends, and indicators to make investment decisions.\n\nMethods of Analysis - Cyclical: Cyclical analysis is a method that involves studying economic cycles and business cycles to anticipate changes in the financial markets. Analysts using this approach examine patterns of economic growth, recession, and recovery to make predictions about market behavior. This method considers how different sectors and industries perform during various phases of the economic cycle.\n\nMethods of Analysis - Fundamental: Fundamental analysis involves assessing the intrinsic value of an investment by analyzing various financial and economic factors. This includes studying financial statements, earnings reports, industry trends, and economic indicators to determine whether an investment is overvalued or undervalued. Fundamental analysis is often used for long-term investment decisions.\n\nMethods of Analysis - Technical: Technical analysis, also known as charting, involves analyzing historical price and volume data to predict future price movements. This method relies on patterns, trends, and indicators present in financial charts. Traders who use technical analysis believe that market psychology and historical price patterns can provide insights into future price trends.\n\nMethods of Analysis - Other: The \"Other\" category likely refers to analysis methods that don'"'"'t fit neatly into the defined categories of charting, cyclical, fundamental, or technical analysis. These methods could include proprietary models, unique research approaches, or less commonly used methods for assessing investment opportunities.\n\nIn summary, each method of analysis offers a distinct approach to understanding and predicting market behavior. Charting (technical analysis) focuses on price and volume patterns, cyclical analysis studies economic cycles, fundamental analysis assesses financial and economic data, technical analysis uses historical price data, and the \"Other\" category likely encompasses diverse or unconventional analysis methods.\n\n\"Research Methods\" represent various approaches used to gather information and insights about investment opportunities and companies:\n\nResearch Methods - Company Press Releases: Company press releases are official statements and announcements issued by companies to communicate information to the public. These releases can cover a wide range of topics, including financial results, business developments, product launches, and strategic initiatives. Analysts use press releases to gather information directly from the source, gaining insights into a company'"'"'s activities and plans.\n\nResearch Methods - Corporate Rating Services: Corporate rating services are provided by credit rating agencies that assess the creditworthiness of companies and their financial instruments. These agencies assign credit ratings to companies'"'"' debts and securities, indicating their level of risk. Analysts use these ratings to evaluate the credit quality of investments and assess the likelihood of default.\n\nResearch Methods - Financial Publications: Financial publications include newspapers, magazines, and online sources that specialize in reporting on financial news, market trends, and investment analysis. Analysts rely on financial publications to stay updated on current events, market developments, and expert opinions that can impact investment decisions.\n\nResearch Methods - Inspection Of Corporate Records: Inspection of corporate records involves examining a company'"'"'s official documents and records, which may include financial statements, legal agreements, contracts, and regulatory filings. This method allows analysts to gain a comprehensive understanding of a company'"'"'s financial health, legal obligations, and business operations.\n\nResearch Methods - SEC Filings: SEC filings are documents that companies are required to submit to the U.S. Securities and Exchange Commission (SEC). These filings provide detailed information about a company'"'"'s financial performance, operations, and governance. Analysts use SEC filings to access standardized and comprehensive data for making informed investment decisions.\n\nResearch Methods - Statistical Analysis: Statistical analysis involves using quantitative methods to analyze data and identify patterns or trends. Analysts may use statistical techniques to assess historical market data, economic indicators, and financial metrics. This approach helps identify relationships between variables and make predictions based on historical data.\n\nResearch Methods - Technical Analysis: Technical analysis involves studying historical price and trading volume data to predict future price movements. Analysts use charts, patterns, and technical indicators to identify trends and patterns that can guide investment decisions. This approach focuses on market psychology and historical price behavior.\n\nResearch Methods - Trend Analysis: Trend analysis involves identifying and analyzing patterns and trends in data over time. This method can be applied to financial data, economic indicators, and market performance. Analysts use trend analysis to identify potential opportunities or risks based on historical patterns.\n\nResearch Methods - Other: The \"Other\" category likely includes research methods that do not fit within the defined categories. These methods could encompass proprietary models, unique research approaches, or less commonly used methods for gathering insights and information about investments and companies.\n\nIn summary, each research method provides a distinct way of gathering and analyzing information to make informed investment decisions. Company press releases provide direct communication from companies, corporate rating services assess creditworthiness, financial publications offer expert analysis, inspection of corporate records involves thorough document examination, SEC filings provide standardized company data, statistical analysis uses quantitative techniques, technical analysis focuses on price patterns, trend analysis identifies historical patterns, and the \"Other\" category may include unconventional research methods.",
      "documents": [
        "https://files.adviserinfo.sec.gov/IAPD/Content/Common/crd_iapd_Brochure.aspx?BRCHR_VRSN_ID=838660"
      ]
    }'
    

    🎁 Example Response

    {4 Items
    "id"
    :
    string
    "716ms0g49xr8"
    "url"
    :
    string
    "https://gooey.ai/doc-search/"
    "created_at"
    :
    string
    "2023-12-21T20:13:36.001393+00:00"
    "output"
    :
    {4 Items
    "output_text"
    :
    [1 Items
    0
    :
    string
    "Investments - CD: No*; Investments - Closed-End Fu"
    ]
    "references"
    :
    [5 Items
    0
    :
    {
    }4 Items
    1
    :
    {
    }4 Items
    2
    :
    {
    }4 Items
    3
    :
    {
    }4 Items
    4
    :
    {
    }4 Items
    ]
    "final_prompt"
    :
    string
    "Search Result: [1] Title: """838660.pdf - Page 9"""
    "final_search_query"
    :
    NULL
    }
    }

    Please Login to generate the $GOOEY_API_KEY