Twelve Data provides a comprehensive financial data API offering real-time and historical market data for stocks, forex, cryptocurrencies, ETFs, and indices.
Twelve Data provides a comprehensive financial data API offering real-time and historical market data for stocks, forex, cryptocurrencies, ETFs, and indices. On Nagent, Twelve Data is exposed as a fully-configurable analytics integration that any agent can call — 97 actions, and API key authentication. No code is required to wire Twelve Data into your workflow — connect it once via the External Integrations panel and reuse it across every agent you build.
Agent builders use Twelve Data to automate the kinds of tasks analytics teams previously handled manually. Concrete examples — each one is a single agent step in Nagent — include:
Every action and trigger is paired with a structured input/output schema (visible in the sections below), so when you wire Twelve Data into Helix — our agentic agent builder — the editor knows exactly what each step expects and produces. Configure once, deploy anywhere across your Nagent agents.
Every operation an agent can call against Twelve Data, with input parameters and output schema. Drop these into any step of an agent built in Helix.
TWELVE_DATA_CASH_FLOWTool to get company cash flow statement. Use when you need operating, investing, and financing cash flow details after selecting a company.
Input parameters
Financial Instrument Global Identifier.
International Securities Identification Number.
CUSIP identifier.
Reporting period; supports 'annual' or 'quarterly'.
Ticker symbol to query (e.g., 'AAPL').
Country where instrument is traded (e.g., 'US').
Include statements with fiscal_date on or before this date (YYYY-MM-DD).
Exchange where the instrument is traded (e.g., 'NASDAQ').
Market Identifier Code under ISO 10383 (e.g., 'XNAS').
Number of records to return.
Include statements with fiscal_date on or after this date (YYYY-MM-DD).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_CASH_FLOW_CONSOLIDATEDTool to get raw consolidated cash flow statements. Use when you need detailed cash flow data for a company.
Input parameters
Financial Instrument Global Identifier. Required if no other identifier is provided.
International Securities Identification Number. Required if no other identifier is provided.
CUSIP number. Required if no other identifier is provided.
Reporting period; supports 'annual' or 'quarterly'. Default is 'annual'.
Ticker symbol (e.g., 'AAPL'). Required if no other identifier is provided.
Country name or code where instrument is traded, e.g., 'US'.
Filter for statements with fiscal_date on or before this date (YYYY-MM-DD).
Exchange where the instrument is traded (e.g., 'NASDAQ').
Market Identifier Code (ISO 10383), e.g., 'XNAS'.
Number of records to return. Default is 6.
Filter for statements with fiscal_date on or after this date (YYYY-MM-DD).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_COMMODITIES_LISTTool to retrieve a list of supported commodities. Use when you need all available commodities after obtaining a valid API key.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_CORRELTool to fetch Pearson correlation coefficient between two series over a period. Use after selecting identifiers and interval.
Input parameters
Financial Instrument Global Identifier.
International Securities Identification Number.
Asset class; e.g., 'Common Stock', 'ETF', 'Digital Currency'.
CUSIP identifier.
Price adjustments: all, splits, dividends, none.
Instrument ticker (e.g., 'AAPL').
Country where the instrument is traded (e.g., 'United States').
End datetime filter in YYYY-MM-DD or ISO 8601 format.
Exchange where the instrument is traded (e.g., 'NASDAQ').
Time interval for the data.
Market Identifier Code (e.g., 'XNAS').
Timezone for interpreting start_date/end_date (e.g., 'Asia/Singapore').
Start datetime filter in YYYY-MM-DD or ISO 8601 format.
Window length for correlation; integer between 1 and 800.
First price series; supports close, open, high, low, volume.
Second price series; supports close, open, high, low, volume.
Include previous bar's close in series; default false.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_COUNTRIES_LISTTool to retrieve a list of countries with ISO codes, names, capitals, and currencies. Use when you need country metadata after obtaining a valid API key.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_CROSS_LISTINGSTool to retrieve cross-listed symbols for a security across multiple exchanges. Use when you need to list all market listings of a given instrument.
Input parameters
Ticker symbol of the instrument (e.g., 'AAPL').
Country to filter results (e.g., 'United States').
Exchange code to filter results (e.g., 'NASDAQ').
Market Identifier Code to filter results (ISO 10383, e.g., 'XNGS').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_CRYPTOCURRENCIESTool to list all supported cryptocurrencies. Use when you need the complete set of crypto symbols. Use after obtaining a valid API key.
Input parameters
Your Twelve Data API key.
Comma-separated cryptocurrency symbol(s) to filter (e.g., 'BTC,ETH').
Number of records to return, must be >= 1.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_CRYPTOCURRENCY_EXCHANGES_LIST_GETTool to list supported cryptocurrency exchanges. Use when you need a list of available crypto trading platforms.
Input parameters
Response format: JSON (default) or CSV.
CSV delimiter; only used when format is 'CSV'.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_CURRENCY_CONVERSIONTool to convert an amount from one currency to another. Use after confirming currency codes to retrieve real-time conversion.
Input parameters
Non-negative amount in the source currency to convert.
Three-letter ISO currency code for the target currency (e.g., 'EUR').
Three-letter ISO currency code for the source currency (e.g., 'USD').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_DIVIDENDSTool to retrieve dividend payout history for a specified symbol. Use when you need historical dividends over multiple years.
Input parameters
Time range for dividend data. Options: 'last', 'next', '1m', '3m', '6m', 'ytd', '1y', '2y', '5y', or 'full'. Ignored if start_date is provided.
Stock ticker symbol (e.g., 'AAPL'). Use dot delimiter for preferred stocks (e.g., 'BRK.A').
Country name or alpha code where the instrument is traded (e.g., 'United States' or 'US').
End date in YYYY-MM-DD format. Used together with start_date.
Exchange name where the instrument is traded (e.g., 'NASDAQ').
Market Identifier Code (MIC) per ISO 10383 standard (e.g., 'XNAS').
Start date in YYYY-MM-DD format. Takes precedence over 'range' parameter if both are provided.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_EARNINGSTool to retrieve earnings data including EPS estimates and actuals. Use when you need detailed earnings history for a selected stock symbol.
Input parameters
Type of earnings report: 'annual' or 'quarterly'.
Response format: 'JSON' (default) or 'CSV'.
Optional data source override.
Ticker symbol of the equity, e.g., 'AAPL'.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_EPS_REVISIONSTool to provide analysts’ revisions of a company’s future EPS over the last week and month. Use after confirming the stock symbol.
Input parameters
Number of decimal places for numeric values.
Response format. Only 'json' is supported.
Stock symbol to request data for (e.g., 'AAPL').
Exchange code (e.g., 'NASDAQ'). Auto-detected from symbol if not provided.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_EPS_TREND_ACTIONTool to retrieve EPS trend estimates for a specified company. Use after selecting a stock symbol to view how EPS estimates have changed over time. Returns EPS estimates for next quarter, current year, and next year, showing how estimates have evolved from 7, 30, 60, and 90 days ago.
Input parameters
The symbol of the instrument (e.g., 'AAPL').
Country code for the exchange (e.g., 'US').
Exchange code where the symbol is traded (e.g., 'NASDAQ'). Auto-detected if not provided.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_ETFS_DIRECTORYTool to fetch a daily updated list of exchange-traded funds sorted by total assets. Use when you need a directory of ETFs by exchange or country.
Input parameters
Response format: 'JSON' (default) or 'CSV'.
Filter ETFs by country code (e.g., 'US').
Filter ETFs by exchange code (e.g., 'NASDAQ').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_ETFS_FAMILYTool to fetch a comprehensive list of ETFs by family. Use when you need to list ETFs managed by a specific investment company.
Input parameters
Name of the ETF family to filter by (e.g., 'Vanguard').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_ETFS_TYPETool to retrieve ETF categories by market, including types like 'Equity Precious Metals'. Use after confirming API key is set; no parameters are needed. Returns a dictionary mapping country names to lists of ETF types available in that country.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_ETFS_WORLDTool to fetch comprehensive ETF analytics (summary, performance, risk, composition). Use when you need a detailed overview of an ETF's metrics and holdings.
Input parameters
Decimal places for floating values; range 0–11. Defaults to 5.
Financial Instrument Global Identifier.
International Securities Identification Number.
CUSIP code of the instrument.
ETF ticker symbol (e.g., 'IVV').
Country name or ISO code (e.g., 'United States' or 'US').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_ETFS_WORLD_COMPOSITIONTool to fetch global ETF composition details including sector, country, asset allocations, top holdings, and bond metrics. Use after selecting an ETF to analyze its composition.
Input parameters
Decimal places for floating values; range \[0, 11\]. Default is 5.
Financial Instrument Global Identifier of the ETF. One of symbol, figi, isin, or cusip is required.
International Securities Identification Number of the ETF. One of symbol, figi, isin, or cusip is required.
CUSIP identifier of the ETF. One of symbol, figi, isin, or cusip is required.
Ticker symbol of the ETF. One of symbol, figi, isin, or cusip is required.
Filter composition by country name or alpha code (e.g., 'United States' or 'US').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_ETFS_WORLD_RISKTool to get global ETF risk metrics. Use when you need to analyze volatility and valuation ratios for an ETF.
Input parameters
Decimal places for floating values; range 0–11. Defaults to 5.
Financial Instrument Global Identifier.
International Securities Identification Number.
CUSIP code of the instrument.
ETF ticker symbol (e.g., 'IVV').
Country name or ISO code (e.g., 'United States' or 'US').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_EXCHANGESTool to retrieve a list of supported exchanges. Use when you need all available stock and forex exchanges.
Input parameters
Response format; allowed values: json, csv
Filter exchanges by 2-letter ISO country code, e.g., 'US', 'GB'
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_FOREX_PAIRSTool to retrieve a list of all supported forex currency pairs. Use when exploring available forex pairs before making other forex data requests.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_ADTool to retrieve Accumulation/Distribution (AD) indicator data for a financial instrument. The AD line uses closing price, price range, and trading volume to identify buying or selling pressure and assess price movement strength.
Input parameters
Specifies the number of decimal places for floating values. Should be in range \[0, 11\] inclusive. By default, the number of decimal places is automatically determined based on the values provided.
Specifies the exact date to get the data for. Could be the exact date, e.g. '2021-10-27', or in human language 'today' or 'yesterday'.
The FIGI of an instrument for which data is requested. This request parameter is available starting with the Ultra plan.
Filter by international securities identification number (ISIN). ISIN access is activated in the Data add-ons section.
Asset class to which the instrument belongs.
The CUSIP of an instrument for which data is requested. CUSIP access is activated in the Data add-ons section.
Sorting order of the output.
Adjusting mode for prices.
Format of the response data.
Symbol ticker of the instrument. E.g. 'AAPL', 'EUR/USD', 'ETH/BTC'. Either symbol, isin, figi, or cusip must be provided.
The country where the instrument is traded, e.g., 'United States' or 'US'.
Returns quotes that include pre-market and post-market data. Only for Pro and above plans. Available at the 1min, 5min, 15min, and 30min intervals for US equities. Open, high, low, close values are supplied without volume.
The ending date and time for data selection. Format '2006-01-02' or '2006-01-02T15:04:05'. Works together with start_date.
Exchange where instrument is traded.
Interval between two consecutive points in time series.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone at which output datetime will be displayed. Supports: 'Exchange' for local exchange time, 'UTC' for universal UTC standard, or timezone name according to IANA Time Zone Database (e.g., 'America/New_York', 'Asia/Singapore'). The IANA Timezone name is case-sensitive.
The separator used in the CSV response data. Default is ';'.
Number of data points to retrieve. Supports values in the range from 1 to 5000. Default 30 when no date parameters are set, otherwise set to maximum.
Can be used separately and together with end_date. Format '2006-01-02' or '2006-01-02T15:04:05'. If timezone is given, start_date will be used in the specified location. Returns all records starting from start_date up to current date or end_date if provided.
Specify if OHLC values should be added in the output.
A boolean parameter to include the previous closing price in the time_series data. If true, adds previous bar close price value to the current object.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_API_USAGETool to retrieve your current plan and remaining API credits. Use when monitoring your subscription usage in real-time.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_APOTool to calculate the Absolute Price Oscillator (APO) for a financial instrument. The APO measures the difference between two moving averages to identify price trends and momentum changes. Use when you need to analyze momentum and potential price reversals.
Input parameters
Number of decimal places for floating values (range: 0-11).
Exact date to get data for. Format: '2021-10-27', 'today', or 'yesterday'.
The FIGI of an instrument. Available starting with the Ultra plan.
International securities identification number (ISIN). Requires Data add-ons subscription.
Asset class types.
The CUSIP of an instrument. Requires Data add-ons subscription.
Sorting order for output.
Price adjustment mode.
Response format options.
Symbol ticker of the instrument (e.g., 'AAPL', 'EUR/USD', 'ETH/BTC'). Either symbol, isin, figi, or cusip must be provided.
The country where the instrument is traded (e.g., 'United States' or 'US').
Moving average type.
Include pre-market and post-market data. Only for Pro+ plans at 1min, 5min, 15min, 30min intervals for US equities.
Ending date for data selection. See start_date description for format details.
Exchange where instrument is traded.
Interval between two consecutive points in time series.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone for output datetime. Options: 'Exchange' (local), 'UTC', or IANA timezone name (e.g., 'America/New_York').
The separator used in CSV response data.
Number of data points to retrieve (range: 1-5000). Default 30 when no date parameters are set.
Starting date for data selection. Format: '2006-01-02' or '2006-01-02T15:04:05'. Can be used with or without end_date.
Number of periods for fast moving average (range: 1-800, default: 12).
Price type for technical indicator calculation.
Number of periods for slow moving average (range: 1-800, default: 26).
Specify if OHLC values should be added in the output.
Include the previous closing price in time_series data.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_AROONTool to retrieve Aroon Indicator data for identifying market trends. Returns Aroon Up and Aroon Down values showing time elapsed since highest high and lowest low. Use when analyzing trend direction and momentum for a specific symbol.
Input parameters
Specifies the number of decimal places for floating values. Should be in range \[0, 11\] inclusive. By default (-1), the number of decimal places is automatically determined.
Specifies the exact date to get the data for. Could be the exact date (e.g., '2021-10-27'), or in human language 'today' or 'yesterday'.
Financial Instrument Global Identifier (FIGI).
International securities identification number (ISIN).
The asset class to which the instrument belongs.
Committee on Uniform Securities Identification Procedures (CUSIP) identifier.
Sorting order of the output.
Adjusting mode for prices.
The format of the response data.
Symbol ticker of the instrument (e.g., 'AAPL', 'EUR/USD', 'ETH/BTC'). At least one of symbol, isin, figi, or cusip must be provided.
The country where the instrument is traded (e.g., 'United States' or 'US').
Returns quotes that include pre-market and post-market data. Only for Pro and above plans. Available at the 1min, 5min, 15min, and 30min intervals for US equities.
End date for data selection in format YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS.
Exchange where instrument is traded.
Interval between two consecutive points in time series.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone at which output datetime will be displayed. Supports 'Exchange' for local exchange time, 'UTC' for UTC standard, or IANA timezone names (e.g., 'America/New_York', 'Asia/Singapore').
Number of data points to retrieve. Supports values in the range from 1 to 5000. Default 30 when no date parameters are set.
Start date for data selection in format YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS. Can be used separately or together with end_date.
Number of periods to average over. Takes values in the range from 1 to 800. Default is 14.
Specify if OHLC values should be added in the output.
A boolean parameter to include the previous closing price in the time_series data. If true, adds previous bar close price value to the current object.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_BALANCE_SHEETTool to retrieve a company's balance sheet (assets, liabilities, equity). Use when you need annual or quarterly financial position data for a given symbol or identifier.
Input parameters
Filter by FIGI (e.g., 'BBG01293F5X4'). Required if other identifiers are not provided.
Filter by ISIN (e.g., 'US0378331005'). Required if other identifiers are not provided.
Filter by CUSIP (e.g., '594918104'). Required if other identifiers are not provided.
Reporting period; 'annual' or 'quarterly'. Default is 'annual'.
Ticker of the instrument (e.g., 'AAPL'). Required if other identifiers are not provided.
Country name or two-letter code (e.g., 'United States' or 'US').
Inclusive filter: fiscal_date on or before this date (YYYY-MM-DD).
Exchange where the instrument is traded (e.g., 'NASDAQ').
Market Identifier Code (ISO 10383) (e.g., 'XNAS').
Maximum number of periods to return. Default is 6.
Inclusive filter: fiscal_date on or after this date (YYYY-MM-DD).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_BALANCE_SHEET_CONSOLIDATEDTool to get raw consolidated balance sheet data (assets, liabilities, equity) for a company. Use when you need detailed historical balance sheet by period.
Input parameters
Financial Instrument Global Identifier filter.
International Securities Identification Number filter.
CUSIP filter.
Reporting period; supports 'annual' or 'quarterly'. Default is 'annual'.
Ticker symbol of the company (e.g., 'AAPL').
Country where the instrument is traded (name or code).
Filter results with fiscal_date on or before this date (YYYY-MM-DD).
Exchange where the instrument is traded.
ISO 10383 Market Identifier Code.
Number of periods to return; default is 6.
Filter results with fiscal_date on or after this date (YYYY-MM-DD).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_BBANDSTool to calculate Bollinger Bands (BBANDS) for a financial instrument. Returns upper band, lower band, and simple moving average (SMA) to assess market volatility and identify potential price reversals.
Input parameters
Number of decimal places for floating values. Range: 0-11 inclusive.
Number of standard deviations. Must be at least 1.
Specific date to get data for. Can be exact date like '2021-10-27', or 'today'/'yesterday'.
Financial Instrument Global Identifier (FIGI). Available starting with Ultra plan.
International Securities Identification Number (ISIN). Requires activation in Data add-ons section.
Asset class types supported by the API.
CUSIP identifier. Requires activation in Data add-ons section.
Sorting order for the output.
Price adjustment mode.
Response format type.
Symbol ticker of the instrument. E.g. 'AAPL', 'EUR/USD', 'ETH/BTC'. At least one of symbol, isin, figi, or cusip must be provided.
The country where the instrument is traded, e.g., 'United States' or 'US'.
Type of moving average used for Bollinger Bands.
Include pre-market and post-market data. Only for Pro and above plans. Available at 1min, 5min, 15min, 30min intervals for US equities.
End date for data selection. Format: '2006-01-02' or '2006-01-02T15:04:05'. See start_date for details.
Exchange where instrument is traded.
Time interval between two consecutive data points.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone for datetime display. Supports 'Exchange', 'UTC', or IANA timezone names like 'America/New_York'.
The separator used in CSV response data.
Number of data points to retrieve. Supports values from 1 to 5000. Default 30 when no date parameters are set.
Start date for data selection. Format: '2006-01-02' or '2006-01-02T15:04:05'. Can be used with end_date.
Price type for technical indicator calculation.
Number of periods to average over. Range: 1 to 800.
Specify if OHLC (Open, High, Low, Close) values should be added in the output.
Include the previous closing price in time_series data. Adds previous bar close price value to current object.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_BONDSTool to retrieve a daily updated list of available bonds (fixed income securities). Use when you need to fetch bonds with optional filtering by symbol, exchange, or country.
Input parameters
Page number of the results to fetch. Used for pagination.
The format of the response data: 'JSON' or 'CSV'.
The ticker symbol of a bond for which data is requested (e.g., 'US2Y').
Filter by country name or alpha code (e.g., 'United States' or 'US').
Filter by exchange name (e.g., 'NYSE').
The separator used in CSV response data. Only applicable when format is 'CSV'. Defaults to ';' if not specified.
If true, adds information on which plan the bond symbol is available in.
Determines the number of data points returned in the output. Defaults to 5000 if not specified.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_CCITool to retrieve Commodity Channel Index (CCI) values for a specified security. Use when you need to detect potential price reversals by identifying overbought or oversold conditions through momentum analysis.
Input parameters
Specifies the number of decimal places for floating values. Should be in range \[0, 11\] inclusive. By default, the number of decimal places is automatically determined based on the values provided.
Specifies the exact date to get the data for. Could be the exact date, e.g. '2021-10-27', or in human language 'today' or 'yesterday'.
The FIGI of an instrument for which data is requested. Available starting with the Ultra plan.
Filter by international securities identification number (ISIN). ISIN access is activated in the Data add-ons section.
The asset class to which the instrument belongs.
The CUSIP of an instrument for which data is requested. CUSIP access is activated in the Data add-ons section.
Sorting order of the output.
Adjusting mode for prices.
The format of the response data.
Symbol ticker of the instrument (e.g., 'AAPL', 'EUR/USD', 'ETH/BTC'). Either symbol, isin, figi, or cusip must be provided.
The country where the instrument is traded, e.g., 'United States' or 'US'.
Returns quotes that include pre-market and post-market data. Only for Pro and above plans. Available at the 1min, 5min, 15min, and 30min intervals for US equities. Open, high, low, close values are supplied without volume.
The ending date and time for data selection, see start_date description for details.
Exchange where instrument is traded.
Interval between two consecutive points in time series.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone at which output datetime will be displayed. Supports: 'Exchange' for local exchange time, 'UTC' for datetime at universal UTC standard, or timezone name according to the IANA Time Zone Database (e.g., 'America/New_York', 'Asia/Singapore'). The IANA Timezone name is case-sensitive.
The separator used in the CSV response data.
Number of data points to retrieve. Supports values in the range from 1 to 5000. Default 30 when no date parameters are set, otherwise set to maximum.
Can be used separately and together with end_date. Format '2006-01-02' or '2006-01-02T15:04:05'. Both parameters take into account if timezone parameter is provided.
Number of periods to average over. Takes values in the range from 1 to 800. Default is 20.
Specify if OHLC values should be added in the output.
A boolean parameter to include the previous closing price in the time_series data. If true, adds previous bar close price value to the current object.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_CEILTool to retrieve the Ceiling (CEIL) transformation for a time series. Rounds each value in the input data series up to the nearest whole number. Use when you need ceiling-adjusted price data for a symbol.
Input parameters
Specifies the number of decimal places for floating values. Should be in range \[0, 11\] inclusive.
Specifies exact date to get data for. Could be exact date (e.g., '2021-10-27') or in human language ('today' or 'yesterday').
Financial Instrument Global Identifier (FIGI) of the instrument.
International Securities Identification Number (ISIN) of the instrument.
The asset class to which the instrument belongs.
CUSIP identifier of the instrument.
Sorting order of the output. Default is 'desc'.
Adjusting mode for prices. Default is 'splits'.
The format of the response data. Default is 'JSON'.
Symbol ticker of the instrument (e.g., 'AAPL', 'EUR/USD', 'ETH/BTC'). At least one of symbol, isin, figi, or cusip must be provided.
Country where the instrument is traded (e.g., 'United States' or 'US').
Returns quotes that include pre-market and post-market data. Only for Pro and above plans. Available at 1min, 5min, 15min, and 30min intervals for US equities.
End date for data selection in format 'YYYY-MM-DD' or 'YYYY-MM-DDTHH:MM:SS'. See start_date for more details.
Exchange where the instrument is traded.
Time interval between two consecutive points in the time series.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone at which output datetime will be displayed. Supports 'Exchange' for local exchange time, 'UTC' for universal time, or IANA timezone names (e.g., 'America/New_York', 'Asia/Singapore').
The separator used in the CSV response data. Default is ';'.
Number of data points to retrieve. Supports values from 1 to 5000. Default is 30 when no date parameters are set.
Start date for data selection in format 'YYYY-MM-DD' or 'YYYY-MM-DDTHH:MM:SS'. Can be used separately or together with end_date.
Price type on which technical indicator is calculated. Default is 'close'.
Specify if OHLC values should be added in the output.
A boolean parameter to include the previous closing price in the time_series data. If true, adds previous bar close price value to the current object.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_CMOTool to retrieve Chande Momentum Oscillator (CMO) data for a security. Use when you need to analyze momentum and identify overbought or oversold conditions. Requires at least one instrument identifier (symbol, isin, figi, or cusip) and an interval.
Input parameters
Specifies the number of decimal places for floating values. Should be in range \[0, 11\] inclusive. By default, the number of decimal places is automatically determined based on the values provided.
Specifies the exact date to get the data for. Could be the exact date, e.g. `2021-10-27`, or in human language `today` or `yesterday`
The FIGI of an instrument for which data is requested. This request parameter is available starting with the Ultra plan.
Filter by international securities identification number (ISIN). ISIN access is activated in the Data add-ons section.
The asset class to which the instrument belongs
The CUSIP of an instrument for which data is requested. CUSIP access is activated in the Data add-ons section.
Sorting order of the output
Adjusting mode for prices
The format of the response data
Symbol ticker of the instrument. E.g. `AAPL`, `EUR/USD`, `ETH/BTC`, ...
The country where the instrument is traded, e.g., `United States` or `US`
Returns quotes that include pre-market and post-market data. Only for `Pro` and above plans. Available at the `1min`, `5min`, `15min`, and `30min` intervals for US equities. Open, high, low, close values are supplied without volume.
The ending date and time for data selection, see `start_date` description for details.
Exchange where instrument is traded
Interval between two consecutive points in time series
Market Identifier Code (MIC) under ISO 10383 standard
Timezone at which output datetime will be displayed. Supports: `Exchange` for local exchange time, `UTC` for datetime at universal UTC standard, or Timezone name according to the IANA Time Zone Database (e.g. `America/New_York`, `Asia/Singapore`). The IANA Timezone name is case-sensitive.
The separator used in the CSV response data
Number of data points to retrieve. Supports values in the range from `1` to `5000`. Default `30` when no date parameters are set, otherwise set to maximum.
Can be used separately and together with `end_date`. Format `2006-01-02` or `2006-01-02T15:04:05`. Default location: Forex and Cryptocurrencies - `UTC`; Stocks - where exchange is located (e.g. for AAPL it will be `America/New_York`). Both parameters take into account if `timezone` parameter is provided.
Price type on which technical indicator is calculated
Number of periods to average over. Takes values in the range from `1` to `800`
Specify if OHLC values should be added in the output
A boolean parameter to include the previous closing price in the time_series data. If true, adds previous bar close price value to the current object.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_DPOTool to calculate the Detrended Price Oscillator (DPO) for a specified financial instrument. Use when you need to identify short-term price cycles and potential overbought or oversold conditions without long-term trend influence.
Input parameters
Specifies the number of decimal places for floating values (0 to 11 inclusive).
Specifies the exact date to get data for (e.g., '2021-10-27', 'today', 'yesterday').
Financial Instrument Global Identifier (FIGI) for the instrument.
International Securities Identification Number (ISIN) filter.
The asset class to which the instrument belongs.
CUSIP identifier for the instrument.
Sorting order of the output.
Adjusting mode for prices.
The format of the response data.
Symbol ticker of the instrument (e.g., 'AAPL', 'EUR/USD', 'ETH/BTC').
The country where the instrument is traded (e.g., 'United States' or 'US').
Returns quotes including pre-market and post-market data (Pro plan and above, US equities only).
Specifies if there should be a shift to match the current price.
Ending date and time for data selection in YYYY-MM-DD or ISO 8601 format.
Exchange where the instrument is traded.
Interval between two consecutive points in time series.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone at which output datetime will be displayed (e.g., 'Exchange', 'UTC', 'America/New_York').
The separator used in the CSV response data.
Number of data points to retrieve (1 to 5000). Default 30 when no date parameters are set.
Starting date and time for data selection in YYYY-MM-DD or ISO 8601 format.
Price type on which technical indicator is calculated.
Number of periods to average over (1 to 800).
Specify if OHLC values should be added in the output.
Include the previous closing price in the time_series data.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_EARLIEST_TIMESTAMPTool to return the first available timestamp for a symbol and interval. Use after selecting instrument identifiers and interval to discover the earliest data point.
Input parameters
FIGI identifier. One of symbol/figi/isin/cusip is required.
ISIN identifier. One of symbol/figi/isin/cusip is required.
CUSIP identifier. One of symbol/figi/isin/cusip is required.
Ticker symbol to query (e.g., 'AAPL'). One of symbol/figi/isin/cusip is required.
Exchange where the instrument is traded (optional disambiguation filter).
Interval for data resolution.
Market Identifier Code (ISO 10383) to filter results (optional).
Output timezone: 'Exchange', 'UTC', or any IANA timezone name (optional).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_EODTool to retrieve end of day (EOD) closing price and metadata for a financial instrument. Use when you need daily historical data for stocks, ETFs, or other securities to track performance over time.
Input parameters
Number of decimal places for floating values. Must be in range \[0, 11\] inclusive.
Specific date for EOD data in YYYY-MM-DD format. If not provided, returns most recent EOD data.
Financial Instrument Global Identifier (FIGI). Available starting with the Ultra plan.
International Securities Identification Number (ISIN). Must be activated in Data add-ons section.
Asset class types supported by the API.
CUSIP identifier of the instrument. Must be activated in Data add-ons section.
Ticker symbol of the instrument (e.g., 'AAPL').
Country where the instrument is traded (name or alpha code, e.g., 'United States' or 'US').
Include pre/post market data. Only for Pro and above plans. Available at 1min, 5min, 15min, and 30min intervals for US equities. Open, high, low, close values supplied without volume.
Exchange where the instrument is traded (e.g., 'NASDAQ').
Market Identifier Code (MIC) under ISO 10383 standard (e.g., 'XNAS').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_ETFS_WORLD_PERFORMANCETool to get global ETF performance metrics (trailing and annual returns). Use when you need detailed performance analytics for an ETF.
Input parameters
Number of decimal places for floating values; range \[0, 11\]; defaults to 5.
Financial Instrument Global Identifier (FIGI). One of symbol, figi, isin, cusip, or country must be provided.
International Securities Identification Number (ISIN). One of symbol, figi, isin, cusip, or country must be provided.
CUSIP of the instrument. One of symbol, figi, isin, cusip, or country must be provided.
ETF ticker symbol (e.g., 'IVV'). One of symbol, figi, isin, cusip, or country must be provided.
Country name or ISO code (e.g., 'United States' or 'US'). One of symbol, figi, isin, cusip, or country must be provided.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_EXCHANGE_SCHEDULETool to get trading sessions and hours for exchanges. Use when you need pre-market, main, and post-market hours for a given exchange and date.
Input parameters
Date for schedule. Format YYYY-MM-DD, keywords 'today' or 'yesterday', or full UTC datetime (e.g., '2025-04-11 20:00:00').
Filter by country name or alpha code (e.g., 'United States' or 'US').
Filter by ISO 10383 MIC code (e.g., 'XNGS').
Filter by exchange name (e.g., 'NASDAQ').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_FUND_HOLDERSTool to retrieve mutual fund holders for a company. Use when you need details about mutual fund ownership including shares held and percentage of outstanding shares.
Input parameters
Filter by financial instrument global identifier (FIGI). Available starting with the Ultra plan. Required if other identifiers are not provided.
Filter by international securities identification number (ISIN). ISIN access is activated in the Data add-ons section. Required if other identifiers are not provided.
The CUSIP of an instrument for which data is requested. CUSIP access is activated in the Data add-ons section. Required if other identifiers are not provided.
Symbol ticker of instrument. For preferred stocks use dot(.) delimiter (e.g., 'BRK.A' or 'BRK.B'). Required if other identifiers are not provided.
Country where instrument is traded (e.g., 'United States' or 'US').
Exchange where instrument is traded.
Market Identifier Code (MIC) under ISO 10383 standard.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_FUNDSTool to fetch a daily updated list of available investment funds. Use when you need a directory of funds with optional filtering by symbol, country, exchange, or other identifiers.
Input parameters
The CIK (Central Index Key) of an instrument for which data is requested (e.g., '95953').
Filter by financial instrument global identifier (FIGI). Available starting with the Ultra plan (e.g., 'BBG000BHTMY7').
Filter by international securities identification number (ISIN). ISIN access is activated in the Data add-ons section (e.g., 'US0378331005').
Page number of the results to fetch. Default is 1.
The CUSIP of an instrument for which data is requested. CUSIP access is activated in the Data add-ons section (e.g., '594918104').
The format of the response data. Only JSON is supported.
The ticker symbol of an instrument for which data is requested (e.g., 'FXAIX').
Filter by country name or alpha code, e.g., 'United States' or 'US'.
Filter by exchange name (e.g., 'Nasdaq').
Adds information on which plan the symbol is available. When true, each fund includes an 'access' object with plan details.
Determines the number of data points returned in the output. Default is 5000.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_HEIKINASHI_CANDLESTool to retrieve Heikin Ashi candlestick data that smooths price action by averaging values. Use when you need to identify trends with reduced market noise for technical analysis.
Input parameters
Number of decimal places for floating values (0-11). Default is automatically determined.
Exact date to get data for. Format: 'YYYY-MM-DD' or human language like 'today' or 'yesterday'.
Financial Instrument Global Identifier (FIGI). Available starting with the Ultra plan.
International Securities Identification Number (ISIN). Requires Data add-ons activation.
Asset class of the instrument
Committee on Uniform Securities Identification Procedures (CUSIP). Requires Data add-ons activation.
Sorting order of the output
Adjusting mode for prices
Format of the response data
Symbol ticker of the instrument (e.g., 'AAPL', 'EUR/USD', 'ETH/BTC'). Must provide either symbol, isin, figi, or cusip.
Country where the instrument is traded (e.g., 'United States' or 'US').
Include pre-market and post-market data. Only for Pro+ plans at 1min, 5min, 15min, 30min intervals for US equities.
End date for data selection in format 'YYYY-MM-DD' or 'YYYY-MM-DDTHH:MM:SS'. See start_date description for details.
Exchange where the instrument is traded.
Time interval between consecutive data points.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone for output datetime display. Use 'Exchange' for local time, 'UTC' for universal time, or IANA timezone name (e.g., 'America/New_York'). Default is 'Exchange'.
Separator used in CSV response data. Default is ';'.
Number of data points to retrieve (1-5000). Default is 30 when no date parameters are set.
Start date for data selection in format 'YYYY-MM-DD' or 'YYYY-MM-DDTHH:MM:SS'. Can be used separately or with end_date.
Include OHLC (Open, High, Low, Close) values in the output. Default is false.
Include the previous closing price in the time series data. If true, adds previous bar close price to current object.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_HLC3Tool to calculate the High, Low, Close Average (HLC3) for a security over a specified period. Use when you need to assess average price trends quickly.
Input parameters
Number of decimal places for floating values. Range: 0-11. Default is automatic.
Specific date to get data for. Can be exact date (e.g., '2021-10-27'), or human language ('today', 'yesterday').
Financial Instrument Global Identifier (FIGI) of the instrument (e.g., 'BBG000B9Y5X2'). Available with Ultra plan and above.
International Securities Identification Number (ISIN) of the instrument (e.g., 'US0378331005'). Requires Data add-ons activation.
The asset class to which the instrument belongs.
CUSIP identifier of the instrument (e.g., '594918104'). Requires Data add-ons activation.
Sorting order of the output data.
Price adjusting mode.
Response data format.
Symbol ticker of the instrument (e.g., 'AAPL', 'EUR/USD', 'ETH/BTC'). At least one of symbol, isin, figi, or cusip must be provided.
Country where the instrument is traded (e.g., 'United States' or 'US').
Include pre-market and post-market data. Only for Pro+ plans at 1min, 5min, 15min, 30min intervals for US equities.
End date for data selection in format YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS. See start_date for timezone handling details.
Exchange where the instrument is traded (e.g., 'NASDAQ').
Time interval between consecutive data points in the time series.
Market Identifier Code (MIC) under ISO 10383 standard (e.g., 'XNAS').
Timezone for output datetime display. Supports 'Exchange' (local), 'UTC', or IANA timezone names (e.g., 'America/New_York', 'Asia/Singapore').
Separator used in CSV response data.
Number of data points to retrieve. Default is 30 when no date parameters are set, otherwise maximum. Range: 1-5000.
Start date for data selection in format YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS. Can be used with or without end_date.
Include OHLC (Open, High, Low, Close) values in the output.
Include previous closing price in the time series data. Adds previous bar close to current object.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_HT_SINETool to fetch Hilbert Transform Sine Wave (HT_SINE) data for an instrument. The HT_SINE provides sine and cosine wave components derived from the dominant market cycle, helping traders pinpoint potential market turning points and assess trend directions by analyzing cyclical patterns. Use when analyzing market cycles for a specific symbol and interval.
Input parameters
Specifies the number of decimal places for floating values. Should be in range \[0, 11\] inclusive.
Specifies the exact date to get the data for. Could be exact date (e.g., '2021-10-27'), or in human language 'today' or 'yesterday'.
Financial Instrument Global Identifier (FIGI). One of symbol, isin, figi, or cusip must be provided.
International securities identification number (ISIN). One of symbol, isin, figi, or cusip must be provided.
The asset class to which the instrument belongs.
CUSIP identifier of the instrument. One of symbol, isin, figi, or cusip must be provided.
Sorting order of the output.
Adjusting mode for prices.
The format of the response data.
Symbol ticker of the instrument (e.g., 'AAPL', 'EUR/USD', 'ETH/BTC'). One of symbol, isin, figi, or cusip must be provided.
The country where the instrument is traded (e.g., 'United States' or 'US').
Returns quotes that include pre-market and post-market data. Only for Pro and above plans. Available at 1min, 5min, 15min, and 30min intervals for US equities.
End date for data selection in format '2006-01-02' or '2006-01-02T15:04:05'. See start_date description for details.
Exchange where instrument is traded.
Interval between two consecutive points in time series.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone at which output datetime will be displayed. Supports: 'Exchange' for local exchange time, 'UTC' for UTC standard, or IANA timezone names (e.g., 'America/New_York', 'Asia/Singapore').
The separator used in the CSV response data.
Number of data points to retrieve. Supports values in the range from 1 to 5000. Default 30 when no date parameters are set.
Start date for data selection in format '2006-01-02' or '2006-01-02T15:04:05'. Can be used separately or with end_date.
Price type on which technical indicator is calculated.
Specify if OHLC values should be added in the output.
A boolean parameter to include the previous closing price in the time_series data. If true, adds previous bar close price value to the current object.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_ICHIMOKUTool to retrieve Ichimoku Kinko Hyo indicator data for analyzing trend direction, support/resistance levels, and trading opportunities. Use when you need to evaluate market trends and identify strategic entry/exit points.
Input parameters
Number of decimal places for floating values. Range \[0, 11\]. By default, automatically determined.
Specifies exact date to get data for. Can be exact date (e.g., '2021-10-27') or human language ('today', 'yesterday').
The FIGI (Financial Instrument Global Identifier) of an instrument. Available starting with the Ultra plan.
International Securities Identification Number (ISIN) to filter by. ISIN access requires the Data add-ons section.
The asset class to which the instrument belongs (e.g., 'Common Stock', 'ETF').
The CUSIP of an instrument for which data is requested. CUSIP access requires the Data add-ons section.
Sorting order of the output. Options: 'asc' (ascending) or 'desc' (descending). Default is 'desc'.
Price adjustment mode. Options: 'all', 'splits', 'dividends', 'none'. Default is 'splits'.
Format of the response data. Options: 'JSON' or 'CSV'. Default is 'JSON'.
Symbol ticker of the instrument (e.g., 'AAPL', 'EUR/USD', 'ETH/BTC'). Use symbol, isin, figi, or cusip to identify the instrument.
The country where the instrument is traded (e.g., 'United States' or 'US').
Include pre-market and post-market data. Only for Pro and above plans. Available at 1min, 5min, 15min, and 30min intervals for US equities.
Ending date for data selection. Format same as start_date. See start_date for timezone handling details.
Exchange where the instrument is traded (e.g., 'NASDAQ').
Interval between two consecutive points in time series (e.g., '1min', '1day', '1week').
Market Identifier Code (MIC) under ISO 10383 standard (e.g., 'XNAS').
Timezone for output datetime. Supports 'Exchange' (local time), 'UTC', or IANA timezone names (e.g., 'America/New_York').
The separator used in CSV response data. Default is ';'.
Number of data points to retrieve. Supports values from 1 to 5000. Default is 30 when no date parameters are set.
Starting date for data selection in format '2006-01-02' or '2006-01-02T15:04:05'. Can be used with or without end_date.
Specify if OHLC (Open, High, Low, Close) values should be included in the output. Default is false.
Include previous closing price in time_series data. If true, adds previous bar close price to current object.
Time period for generating the base line (Kijun-sen). Range \[1, 800\]. Default is 26.
Time period for generating the lagging span line (Chikou Span). Range \[1, 800\]. Default is 26.
Time period for generating the leading span B line (Senkou Span B). Range \[1, 800\]. Default is 52.
Time period for generating the conversion line (Tenkan-sen). Range \[1, 800\]. Default is 9.
Indicates whether to include ahead span period in the calculation. Default is true.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_INCOME_STATEMENTTool to retrieve a company's income statement data (annual or quarterly). Use when you need detailed income metrics for a given symbol or identifier.
Input parameters
Filter by FIGI (e.g., 'BBG01293F5X4'). Required if other identifiers are not provided.
Filter by ISIN (e.g., 'US0378331005'). Required if other identifiers are not provided.
Filter by CUSIP (e.g., '594918104'). Required if other identifiers are not provided.
Reporting period; 'annual' or 'quarterly'. Default is 'annual'.
Ticker of the instrument (e.g., 'AAPL'). Required if other identifiers are not provided.
Country name or two-letter code (e.g., 'United States' or 'US').
Inclusive filter: fiscal_date on or before this date (YYYY-MM-DD).
Exchange where the instrument is traded (e.g., 'NASDAQ').
Market Identifier Code (ISO 10383) (e.g., 'XNAS').
Maximum number of periods to return. Default is 6.
Inclusive filter: fiscal_date on or after this date (YYYY-MM-DD).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_INSIDER_TRANSACTIONSREQUIRES PRO, ULTRA, OR ENTERPRISE PLAN. Retrieve insider trading transactions for a company including officer/trader names, transaction types (Buy/Sell), dates, share counts, and amounts. Use when you need detailed insider trading activity data. This endpoint is only available to Pro/Ultra/Enterprise subscribers - requests with lower-tier API keys will fail with a 403 error.
Input parameters
Type of the instrument (e.g., 'Common Stock').
Ticker symbol of the company (e.g., 'AAPL').
Country name or two-letter ISO code where the instrument trades (e.g., 'US', 'United States').
Exchange where the instrument is traded (e.g., 'NASDAQ').
Maximum number of insider transaction records to return (1-500). If not specified, all available records are returned.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_INTERVALSTool to retrieve a list of available time intervals supported by the API. Use when you need to know which interval values are valid for time series queries.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_KELTNERTool to retrieve Keltner Channel indicator data for volatility-based technical analysis. Use when you need to identify potential overbought/oversold conditions, assess trend direction, or analyze price volatility using the combination of Exponential Moving Average (EMA) and Average True Range (ATR).
Input parameters
Specifies the number of decimal places for floating values. Range \[0, 11\].
Specifies exact date to get data for. E.g. '2021-10-27', 'today', or 'yesterday'.
The FIGI of an instrument for which data is requested.
Filter by international securities identification number (ISIN).
The asset class to which the instrument belongs.
The CUSIP of an instrument for which data is requested.
Sorting order of the output.
Adjusting mode for prices.
The format of the response data.
Symbol ticker of the instrument. E.g. 'AAPL', 'EUR/USD', 'ETH/BTC'.
The country where the instrument is traded, e.g., 'United States' or 'US'.
The type of moving average used.
Returns quotes including pre-market and post-market data. Only for Pro+ plans.
Ending date for data selection. Format: '2006-01-02' or '2006-01-02T15:04:05'.
Exchange where instrument is traded.
Interval between two consecutive points in time series.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone at which output datetime will be displayed. Supports 'Exchange', 'UTC', or IANA timezone name.
The separator used in the CSV response data.
The factor used to adjust the indicator's sensitivity.
Number of data points to retrieve. Default 30 when no date parameters are set.
Starting date for data selection. Format: '2006-01-02' or '2006-01-02T15:04:05'.
Price type on which technical indicator is calculated.
Number of periods to average over. Takes values in the range from 1 to 800.
Specify if OHLC values should be added in the output.
Include the previous closing price in the time_series data.
The time period used for calculating the Average True Range. Range from 1 to 800.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_KEY_EXECUTIVESREQUIRES ULTRA OR ENTERPRISE PLAN. Retrieve company leadership data including executive names, titles, ages, and compensation. Use when you need detailed management info by symbol or other identifier. This endpoint costs 1000 credits per request and is only available to Ultra/Enterprise subscribers - requests with lower-tier API keys will fail.
Input parameters
Financial Instrument Global Identifier (FIGI).
International Securities Identification Number (ISIN).
CUSIP code of the instrument.
Ticker symbol of the instrument (e.g., 'AAPL').
Country name or ISO code where the instrument trades (e.g., 'US').
Exchange where the instrument is traded (e.g., 'NASDAQ').
Market Identifier Code (MIC) under ISO 10383 (e.g., 'XNAS').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_LAST_CHANGETool to retrieve the latest update timestamps for a fundamentals dataset. Use when checking recent changes (e.g., dividends, splits).
Input parameters
Page number for pagination (default 1).
Filter by symbol (e.g., 'AAPL').
Filter by country name or code (e.g., 'United States' or 'US').
The fundamentals dataset to check for last changes.
Filter by exchange (e.g., 'NASDAQ').
Filter by MIC code (ISO 10383), e.g., 'XNAS'.
Number of records per page (default 30).
Start date/time filter (inclusive) in 'YYYY-MM-DD HH:MM:SS' format.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_LINEARREGANGLETool to calculate the linear regression angle for a given time series of stock prices. Returns the slope of the trend line expressed in degrees, which helps identify the direction and steepness of a trend over a specified period. Use when you need to detect upward or downward trends in asset prices.
Input parameters
Specifies the number of decimal places for floating values. Should be in range \[0, 11\] inclusive. By default, determined automatically.
Specifies the exact date to get the data for. Could be exact date (e.g., '2021-10-27'), or in human language 'today' or 'yesterday'.
Financial Instrument Global Identifier (FIGI) of the instrument.
International Securities Identification Number (ISIN) of the instrument.
The asset class to which the instrument belongs.
CUSIP identifier of the instrument.
Sorting order of the output. Default is 'desc'.
Adjusting mode for prices. Default is 'splits'.
The format of the response data. Default is 'JSON'.
Symbol ticker of the instrument (e.g., 'AAPL', 'EUR/USD', 'ETH/BTC').
The country where the instrument is traded (e.g., 'United States' or 'US').
Returns quotes that include pre-market and post-market data. Only for Pro and above plans. Available at 1min, 5min, 15min, and 30min intervals for US equities.
End date for data selection in format 2006-01-02 or 2006-01-02T15:04:05. See start_date for details.
Exchange where the instrument is traded (e.g., 'NASDAQ').
Time interval between consecutive data points in the time series.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone at which output datetime will be displayed. Supports: 'Exchange' for local exchange time, 'UTC' for universal UTC standard, or IANA timezone name (e.g., 'America/New_York', 'Asia/Singapore').
The separator used in the CSV response data. Default is ';'.
Number of data points to retrieve. Supports values from 1 to 5000. Default is 30 when no date parameters are set.
Start date for data selection in format 2006-01-02 or 2006-01-02T15:04:05. Can be used separately or together with end_date.
Price type on which technical indicator is calculated. Default is 'close'.
Number of periods to average over. Takes values in the range from 1 to 800. Default is 9.
Specify if OHLC values should be added in the output. Default is false.
If true, adds previous bar close price value to the current object. Default is false.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_LINEAR_REG_INTERCEPTTool to calculate the y-intercept of a linear regression line for a given dataset. Returns the value where the regression line crosses the y-axis over a specified period.
Input parameters
Specifies the number of decimal places for floating values. Should be in range \[0, 11\] inclusive.
Specifies the exact date to get the data for (e.g., '2021-10-27', 'today', 'yesterday').
The FIGI of an instrument for which data is requested.
International securities identification number (ISIN).
The asset class to which the instrument belongs.
The CUSIP of an instrument for which data is requested.
Sorting order of the output.
Adjusting mode for prices.
The format of the response data. Only JSON is supported.
Symbol ticker of the instrument (e.g., 'AAPL', 'EUR/USD', 'ETH/BTC').
The country where the instrument is traded (e.g., 'United States' or 'US').
Returns quotes that include pre-market and post-market data. Only for Pro and above plans.
Ending date for data selection in format YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS.
Exchange where instrument is traded (e.g., 'NASDAQ').
Interval between two consecutive points in time series.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone at which output datetime will be displayed (e.g., 'Exchange', 'UTC', 'America/New_York').
Number of data points to retrieve. Supports values in the range from 1 to 5000. Default 30 when no date parameters are set.
Starting date for data selection in format YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS.
Price type on which technical indicator is calculated.
Number of periods to average over. Takes values in the range from 1 to 800.
Specify if OHLC values should be added in the output.
A boolean parameter to include the previous closing price in the time_series data.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_LINEAR_REGSLOPETool to calculate the linear regression slope for a given dataset over a specified period. Returns the slope of a linear regression line, reflecting the rate of change in the data trend. Use when you need to assess the direction and strength of a trend in financial time series data.
Input parameters
Specifies the number of decimal places for floating values. Should be in range \[0, 11\] inclusive. By default, determined automatically.
Specifies the exact date to get data for. Could be exact date (e.g., '2021-10-27'), or human language ('today' or 'yesterday').
FIGI of an instrument for which data is requested. At least one identifier is required.
International securities identification number (ISIN). At least one identifier is required.
Asset class types.
CUSIP of an instrument for which data is requested. At least one identifier is required.
Sorting order options.
Price adjustment options.
Response format options.
Symbol ticker of the instrument (e.g., 'AAPL', 'EUR/USD', 'ETH/BTC'). At least one identifier (symbol, isin, figi, or cusip) is required.
The country where the instrument is traded (e.g., 'United States' or 'US').
Returns quotes that include pre-market and post-market data. Only for Pro and above plans. Available at 1min, 5min, 15min, and 30min intervals for US equities.
Ending date for data selection. Format: '2006-01-02' or '2006-01-02T15:04:05'. See start_date for usage details.
Exchange where instrument is traded.
Interval between two consecutive points in time series. Required parameter.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone at which output datetime will be displayed. Supports: 'Exchange' for local exchange time, 'UTC' for universal UTC standard, or IANA timezone name (e.g., 'America/New_York', 'Asia/Singapore'). Default is 'Exchange'.
The separator used in the CSV response data. Default is ';'.
Number of data points to retrieve. Supports values in the range from 1 to 5000. Default is 30 when no date parameters are set.
Starting date for data selection. Format: '2006-01-02' or '2006-01-02T15:04:05'. Can be used separately or together with end_date.
Price type for calculation.
Number of periods to average over. Takes values in the range from 1 to 800. Default is 9.
Specify if OHLC values should be added in the output. Default is false.
Include the previous closing price in the time_series data. If true, adds previous bar close price value to the current object.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_LOG10Tool to compute the base-10 logarithm (LOG10) of a specified input value. Returns the power to which 10 must be raised to obtain the input value. Use when you need to transform data into a logarithmic scale for analyzing exponential growth patterns or compressing large ranges of financial data.
Input parameters
Specifies the number of decimal places for floating values. Should be in range \[0, 11\] inclusive. By default (-1), the number of decimal places is automatically determined.
Specifies the exact date to get the data for. Could be exact date like '2021-10-27' or in human language like 'today' or 'yesterday'.
The FIGI of an instrument for which data is requested.
Filter by international securities identification number (ISIN).
The asset class to which the instrument belongs.
The CUSIP of an instrument for which data is requested.
Sorting order of the output.
Adjusting mode for prices.
The format of the response data.
Symbol ticker of the instrument (e.g., 'AAPL', 'EUR/USD', 'ETH/BTC').
The country where the instrument is traded (e.g., 'United States' or 'US').
Returns quotes that include pre-market and post-market data. Only for Pro and above plans. Available at 1min, 5min, 15min, and 30min intervals for US equities.
Ending date for data selection in format '2006-01-02' or '2006-01-02T15:04:05'.
Exchange where instrument is traded.
Time interval between two consecutive points in time series.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone at which output datetime will be displayed. Supports 'Exchange' for local exchange time, 'UTC', or IANA timezone names (e.g., 'America/New_York', 'Asia/Singapore').
The separator used in the CSV response data.
Number of data points to retrieve. Supports values from 1 to 5000. Default is 30 when no date parameters are set.
Starting date for data selection in format '2006-01-02' or '2006-01-02T15:04:05'. Can be used separately or together with end_date.
Price type on which technical indicator is calculated.
Specify if OHLC values should be added in the output.
A boolean parameter to include the previous closing price in the time_series data. If true, adds previous bar close price value to the current object.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_LOGOTool to retrieve official logo URLs for a symbol. Use when displaying company, crypto, or forex pair logos in UIs.
Input parameters
Ticker or pair identifier (e.g., 'AAPL', 'BTC/USD', 'EUR/USD').
Country name or ISO alpha code (e.g., 'United States' or 'US').
Exchange name to narrow lookup (e.g., 'NASDAQ', 'NSE').
Market Identifier Code (ISO 10383) (e.g., 'XNAS', 'XLON').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_MACDTool to calculate the Moving Average Convergence Divergence (MACD) for a specified financial instrument. Returns the MACD line, signal line, and histogram values to identify potential trend reversals and trading opportunities.
Input parameters
Specifies the number of decimal places for floating values. Should be in range \[0, 11\] inclusive.
Specifies the exact date to get the data for. Could be the exact date (e.g., '2021-10-27'), or in human language 'today' or 'yesterday'.
The FIGI of an instrument for which data is requested.
Filter by international securities identification number (ISIN).
The asset class to which the instrument belongs.
The CUSIP of an instrument for which data is requested.
Sorting order of the output.
Adjusting mode for prices.
The format of the response data.
Symbol ticker of the instrument (e.g., 'AAPL', 'EUR/USD', 'ETH/BTC'). At least one of symbol, isin, figi, or cusip must be provided.
The country where the instrument is traded (e.g., 'United States' or 'US').
Returns quotes that include pre-market and post-market data. Only for Pro and above plans. Available at 1min, 5min, 15min, and 30min intervals for US equities.
End date for data selection. Format: '2006-01-02' or '2006-01-02T15:04:05'. See start_date for more details.
Exchange where instrument is traded.
Interval between two consecutive points in time series.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone at which output datetime will be displayed. Supports 'Exchange' for local exchange time, 'UTC' for universal UTC standard, or IANA timezone name (e.g., 'America/New_York', 'Asia/Singapore').
The separator used in the CSV response data.
Number of data points to retrieve. Supports values in the range from 1 to 5000. Default 30 when no date parameters are set.
Start date for data selection. Format: '2006-01-02' or '2006-01-02T15:04:05'. Can be used separately or together with end_date.
Number of periods for fast moving average. Takes values in the range from 1 to 800.
Price type on which technical indicator is calculated.
Number of periods for slow moving average. Takes values in the range from 1 to 800.
Specify if OHLC values should be added in the output.
The time period used for generating the signal line.
A boolean parameter to include the previous closing price in the time_series data. If true, adds previous bar close price value to the current object.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_MAMATool to fetch MESA Adaptive Moving Average (MAMA) indicator data. Use when you need to calculate an adaptive moving average that adjusts to market cycles for trend identification and reversal analysis.
Input parameters
Number of decimal places for floating values. Range 0-11. Default is automatic.
Specific date to get data for. Can be exact date (e.g., '2021-10-27'), 'today', or 'yesterday'.
Financial Instrument Global Identifier (FIGI) of the instrument.
International Securities Identification Number (ISIN) of the instrument.
The asset class to which the instrument belongs.
CUSIP identifier of the instrument.
Sorting order of the output data. Default is 'desc'.
Price adjusting mode. Default is 'splits'.
Response format. Default is JSON.
Symbol ticker of the instrument (e.g., 'AAPL', 'EUR/USD', 'ETH/BTC').
Country where the instrument is traded (e.g., 'United States' or 'US').
Include pre-market and post-market data. Only for Pro plans and above at specific intervals for US equities.
Ending date for data selection in format YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS.
Exchange where the instrument is traded (e.g., 'NASDAQ').
Time interval between consecutive data points.
Market Identifier Code (MIC) under ISO 10383 standard (e.g., 'XNAS').
Timezone for output datetime display. Supports 'Exchange' for local time, 'UTC', or IANA timezone names (e.g., 'America/New_York').
Separator used in CSV response data. Default is semicolon (;).
The limit for the fast moving average. Default is 0.5.
Number of data points to retrieve. Supports values from 1 to 5000. Default is 30.
The limit for the slow moving average. Default is 0.05.
Starting date for data selection in format YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS.
Price type on which the technical indicator is calculated. Default is 'close'.
Specify if OHLC (Open, High, Low, Close) values should be included in the output. Default is false.
Include previous closing price in time_series data. Default is false.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_MARKET_MOVERSTool to retrieve a snapshot of top gainers or losers for a specified market. Use when you need to quickly see market movers after choosing a market type.
Input parameters
Decimal places for floating values (0–11). Defaults to 5.
Market type for movers. One of: stocks, etf, mutual_funds, forex, crypto.
Country filter for non-currency markets; accepts full name or two-letter code.
Snapshot direction: 'gainers' or 'losers'.
Number of instruments to return (1–50). Defaults to 30.
Return instruments with last price strictly greater than this value.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_MARKET_STATETool to report current open/closed status for exchanges. Use when you need real-time market status updates after selecting exchanges.
Input parameters
Exchange MIC code (e.g., 'XNYS').
Country name or alpha code (e.g., 'US' or 'United States').
Exchange name (e.g., 'NYSE').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_MAXTool to calculate and return the highest value within a specified data series over a given period. Use when identifying potential resistance levels or detecting extreme price movements in financial data.
Input parameters
Specifies the number of decimal places for floating values. Should be in range \[0, 11\] inclusive. By default (-1), automatically determined based on values.
Specifies the exact date to get the data for. Could be exact date (e.g., '2021-10-27'), or human language like 'today' or 'yesterday'.
The FIGI of an instrument for which data is requested. Available starting with Ultra plan.
International securities identification number (ISIN). Requires ISIN add-on activation.
The asset class to which the instrument belongs.
The CUSIP of an instrument for which data is requested. Requires CUSIP add-on activation.
Sorting order of the output.
Adjusting mode for prices.
The format of the response data.
Symbol ticker of the instrument. E.g. 'AAPL', 'EUR/USD', 'ETH/BTC'. At least one of symbol, isin, figi, or cusip must be provided.
The country where the instrument is traded, e.g., 'United States' or 'US'.
Returns quotes that include pre-market and post-market data. Only for Pro and above plans. Available at 1min, 5min, 15min, 30min intervals for US equities.
End date for data selection in format '2006-01-02' or '2006-01-02T15:04:05'. See start_date description for timezone handling details.
Exchange where instrument is traded.
Interval between two consecutive points in time series.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone at which output datetime will be displayed. Supports: 'Exchange' for local exchange time, 'UTC' for UTC standard, or IANA timezone name (e.g., 'America/New_York', 'Asia/Singapore'). Case-sensitive.
The separator used in the CSV response data.
Number of data points to retrieve. Supports values in the range from 1 to 5000. Default 30 when no date parameters are set.
Start date for data selection in format '2006-01-02' or '2006-01-02T15:04:05'. Can be used separately or together with end_date.
Price type on which technical indicator is calculated.
Number of periods to average over. Takes values in the range from 1 to 800.
Specify if OHLC values should be added in the output.
A boolean parameter to include the previous closing price in the time_series data. If true, adds previous bar close price value to current object.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_MC_GINLEY_DYNAMICTool to calculate the McGinley Dynamic indicator, which provides a refined moving average that adapts to market volatility. Use when tracking price movements with reduced lag and identifying support or resistance levels.
Input parameters
Specifies the number of decimal places for floating values. Should be in range \[0, 11\] inclusive. By default (-1), the number of decimal places is automatically determined.
Specifies the exact date to get the data for. Could be the exact date, e.g. '2021-10-27', or in human language 'today' or 'yesterday'.
Financial Instrument Global Identifier (FIGI). Available starting with Ultra plan.
International securities identification number (ISIN). Requires Data add-ons subscription.
The asset class to which the instrument belongs.
CUSIP identifier for the instrument. Requires Data add-ons subscription.
Sorting order of the output.
Adjusting mode for prices.
The format of the response data.
Symbol ticker of the instrument. E.g. 'AAPL', 'EUR/USD', 'ETH/BTC'. At least one of symbol, isin, figi, or cusip must be provided.
The country where the instrument is traded, e.g., 'United States' or 'US'.
Returns quotes that include pre-market and post-market data. Only for Pro and above plans. Available at 1min, 5min, 15min, and 30min intervals for US equities.
End date for data selection. Format: '2006-01-02' or '2006-01-02T15:04:05'. See start_date description for details.
Exchange where instrument is traded.
Interval between two consecutive points in time series.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone at which output datetime will be displayed. Supports 'Exchange' for local exchange time, 'UTC' for universal UTC standard, or IANA timezone name (e.g., 'America/New_York', 'Asia/Singapore').
The separator used in the CSV response data.
Number of data points to retrieve. Supports values in the range from 1 to 5000. Default 30 when no date parameters are set, otherwise set to maximum.
Start date for data selection. Format: '2006-01-02' or '2006-01-02T15:04:05'. Can be used separately and together with end_date. Takes into account timezone parameter if provided.
Number of periods to average over. Takes values in the range from 1 to 800.
Specify if OHLC values should be added in the output.
A boolean parameter to include the previous closing price in the time_series data. If true, adds previous bar close price value to the current object.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_MEDPRICETool to calculate and retrieve the Median Price (MEDPRICE) technical indicator for a security. MEDPRICE represents the average of high and low prices over a specified period, providing a simplified view of price trends. Use when you need to assess price movements by focusing on the midpoint of price action.
Input parameters
Number of decimal places for floating values. Range \[0, 11\]. Default is automatically determined.
Specifies exact date for data retrieval. Can be exact date like '2021-10-27', or human language like 'today' or 'yesterday'.
Financial Instrument Global Identifier (FIGI) of the instrument. Available with Ultra plan or higher.
International Securities Identification Number (ISIN) of the instrument. ISIN access requires activation in Data add-ons.
Asset class types supported by Twelve Data API.
CUSIP identifier of the instrument. CUSIP access requires activation in Data add-ons.
Sorting order for output data.
Price adjustment modes.
Response format options.
Symbol ticker of the instrument. At least one of symbol, isin, figi, or cusip must be provided. E.g. 'AAPL', 'EUR/USD', 'ETH/BTC'.
Country where the instrument is traded, e.g., 'United States' or 'US'.
Include pre-market and post-market data. Only for Pro and above plans. Available at 1min, 5min, 15min, and 30min intervals for US equities.
End date for data selection. Format and behavior same as start_date.
Exchange where the instrument is traded.
Time interval between consecutive data points. Required parameter.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone for output datetime. Supports 'Exchange' for local exchange time, 'UTC' for UTC standard, or IANA timezone names like 'America/New_York'. Default is 'Exchange'.
Separator used in CSV response data. Default is ';'.
Number of data points to retrieve. Supports values from 1 to 5000. Default is 30 when no date parameters are set.
Start date for data selection in format '2006-01-02' or '2006-01-02T15:04:05'. Can be used separately or with end_date. Timezone-aware based on the timezone parameter.
Specify if OHLC (Open, High, Low, Close) values should be added in the output.
Include previous closing price in the time series data. If true, adds previous bar close price to current object.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_MINUS_DITool to calculate and return the Minus Directional Indicator (MINUS_DI) for a security. Use when analyzing bearish trends and assessing downward price movement strength.
Input parameters
Specifies the number of decimal places for floating values. Should be in range \[0, 11\] inclusive.
Specifies the exact date to get data for. Could be exact date (e.g., '2021-10-27'), 'today', or 'yesterday'.
Financial Instrument Global Identifier (FIGI) of the instrument.
International Securities Identification Number (ISIN) of the instrument.
The asset class to which the instrument belongs.
CUSIP identifier of the instrument.
Sorting order of the output.
Adjusting mode for prices.
The format of the response data.
Symbol ticker of the instrument (e.g., 'AAPL', 'EUR/USD', 'ETH/BTC').
Country where the instrument is traded (e.g., 'United States' or 'US').
Include pre-market and post-market data. Only for Pro and above plans. Available at 1min, 5min, 15min, and 30min intervals for US equities.
Ending date and time for data selection. Format: '2006-01-02' or '2006-01-02T15:04:05'.
Exchange where the instrument is traded.
Interval between two consecutive points in time series.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone for output datetime display. Supports 'Exchange', 'UTC', or IANA timezone names (e.g., 'America/New_York').
The separator used in the CSV response data.
Number of data points to retrieve. Supports values from 1 to 5000. Default is 30 when no date parameters are set.
Starting date and time for data selection. Format: '2006-01-02' or '2006-01-02T15:04:05'.
Number of periods to average over. Takes values in the range from 1 to 800.
Specify if OHLC (Open, High, Low, Close) values should be added in the output.
Include the previous closing price in the time_series data. If true, adds previous bar close price value to the current object.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_MUTUAL_FUNDS_WORLD_PERFORMANCETool to get global mutual fund performance metrics (trailing, annual, quarterly, load-adjusted returns). Use when you need detailed performance analytics for a mutual fund.
Input parameters
Number of decimal places for floating values; range \[0, 11\]; defaults to 5.
Financial Instrument Global Identifier (FIGI). One of symbol, figi, isin, cusip, or country must be provided.
International Securities Identification Number (ISIN). One of symbol, figi, isin, cusip, or country must be provided.
CUSIP identifier. One of symbol, figi, isin, cusip, or country must be provided.
Mutual fund ticker symbol (e.g., 'VFIAX'). One of symbol, figi, isin, cusip, or country must be provided.
Country name or alpha code (e.g., 'United States' or 'US'). One of symbol, figi, isin, cusip, or country must be provided.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_MUTUAL_FUNDS_WORLD_RISKTool to fetch global mutual fund risk metrics. Use when you need detailed risk analytics (standard deviation, beta, Sharpe ratio) for a specific mutual fund identifier.
Input parameters
Decimal places for floating values. Must be between 0 and 11. Default is 5.
Financial Instrument Global Identifier (FIGI). Required if other identifiers are not provided.
International Securities Identification Number (ISIN). Required if other identifiers are not provided.
CUSIP identifier. Required if other identifiers are not provided.
Mutual fund symbol. Required if other identifiers are not provided.
Country name or alpha code (e.g., 'United States' or 'US'). Required if other identifiers are not provided.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_MUTUAL_FUNDS_WORLD_SUMMARYTool to retrieve a global mutual fund summary snapshot. Use when you need a high-level overview of a fund’s key identifiers and attributes.
Input parameters
Number of decimal places for floating values; range \[0,11\]; defaults to 5.
Financial Instrument Global Identifier (FIGI). One of symbol, figi, isin, cusip, or country must be provided.
International Securities Identification Number (ISIN). One of symbol, figi, isin, cusip, or country must be provided.
CUSIP identifier. One of symbol, figi, isin, cusip, or country must be provided.
Mutual fund ticker symbol (e.g., 'VFIAX'). One of symbol, figi, isin, cusip, or country must be provided.
Country name or alpha code (e.g., 'United States' or 'US'). One of symbol, figi, isin, cusip, or country must be provided.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_MUTUAL_FUNDS_WORLD_SUSTAINABILITYTool to get global mutual fund sustainability and ESG metrics. Use when you need fund ESG scores and pillar breakdowns.
Input parameters
Number of decimal places for floating values; range \[0, 11\]; defaults to 5.
Financial Instrument Global Identifier (FIGI). One of symbol, figi, isin, cusip, or country must be provided.
International Securities Identification Number (ISIN). One of symbol, figi, isin, cusip, or country must be provided.
CUSIP identifier. One of symbol, figi, isin, cusip, or country must be provided.
Mutual fund ticker symbol (e.g., 'VFIAX'). One of symbol, figi, isin, cusip, or country must be provided.
Country name or alpha code (e.g., 'United States' or 'US'). One of symbol, figi, isin, cusip, or country must be provided.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_PLUS_DITool to fetch the Plus Directional Indicator (PLUS_DI) time series data for a security. Use when you need to assess the strength and intensity of upward price movements over a specified period.
Input parameters
Specifies the number of decimal places for floating values. Should be in range \[0, 11\] inclusive. By default, the number of decimal places is automatically determined based on the values provided.
Specifies the exact date to get the data for. Could be the exact date (e.g., '2021-10-27'), or in human language ('today' or 'yesterday').
Financial Instrument Global Identifier (FIGI). Available starting with the Ultra plan.
International Securities Identification Number (ISIN). ISIN access is activated in the Data add-ons section.
The asset class to which the instrument belongs.
CUSIP identifier. CUSIP access is activated in the Data add-ons section.
Sorting order of the output. Default is 'desc'.
Adjusting mode for prices. Default is 'splits'.
The format of the response data. Default is 'JSON'.
Symbol ticker of the instrument (e.g., 'AAPL', 'EUR/USD', 'ETH/BTC'). At least one of symbol, isin, figi, or cusip must be provided.
The country where the instrument is traded (e.g., 'United States' or 'US').
Returns quotes that include pre-market and post-market data. Only for Pro and above plans. Available at 1min, 5min, 15min, and 30min intervals for US equities. Open, high, low, close values are supplied without volume.
End date for data selection. Format: '2006-01-02' or '2006-01-02T15:04:05'. See start_date description for details.
Exchange where instrument is traded.
Interval between two consecutive points in time series.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone at which output datetime will be displayed. Supports: 'Exchange' for local exchange time, 'UTC' for universal time, or IANA timezone names (e.g., 'America/New_York'). Default is 'Exchange'. Note that IANA timezone names are case-sensitive.
The separator used in the CSV response data. Default is ';'.
Number of data points to retrieve. Supports values in the range from 1 to 5000. Default 30 when no date parameters are set, otherwise set to maximum.
Start date for data selection. Format: '2006-01-02' or '2006-01-02T15:04:05'. Can be used separately or together with end_date. Takes timezone parameter into account.
Number of periods to average over. Takes values in the range from 1 to 800. Default is 9.
Specify if OHLC values should be added in the output. Default is false.
A boolean parameter to include the previous closing price in the time_series data. If true, adds previous bar close price value to the current object.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_PRICETool to retrieve the latest market price for a specified financial instrument. Use when you need to get the current price after identifying a symbol.
Input parameters
Specifies the number of decimal places for floating values. Should be in range \[0,11\] inclusive. Default is 5.
Filter by financial instrument global identifier (FIGI). Available starting with the Ultra plan.
Filter by international securities identification number (ISIN). ISIN access is activated in the Data add-ons section.
Asset class types supported by Twelve Data API.
The CUSIP of an instrument for which data is requested. CUSIP access is activated in the Data add-ons section.
Response format options.
Symbol ticker of the instrument (e.g., 'AAPL', 'MSFT'). At least one of symbol, figi, isin, or cusip must be provided.
Country where instrument is traded, e.g., 'United States' or 'US'.
Include pre-market and post-market data. Only for Pro and above plans. Available at 1min, 5min, 15min, and 30min intervals for US equities.
Exchange where instrument is traded (e.g., 'NASDAQ', 'NYSE').
Market Identifier Code (MIC) under ISO 10383 standard.
Specify the delimiter used when downloading the CSV file (default is ';').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_PRICE_TARGETTool to fetch analysts' price target dataset for equities. Use when you need the latest and historical price forecasts for a symbol.
Input parameters
Equity ticker symbol to fetch price target data for (e.g., 'AAPL').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_PROFILETool to retrieve company profile. Use when you need company details like industry, sector, and identifiers after selecting a symbol.
Input parameters
Financial Instrument Global Identifier. Provide one of symbol, figi, isin, or cusip.
International Securities Identification Number. Provide one of symbol, figi, isin, or cusip.
CUSIP identifier. Provide one of symbol, figi, isin, or cusip.
Ticker symbol to query (e.g., 'AAPL'). Provide one of symbol, figi, isin, or cusip.
Country where the instrument is traded (name or alpha code, e.g., 'United States' or 'US').
Exchange where the instrument is traded (e.g., 'NASDAQ').
Market Identifier Code (ISO 10383) for the exchange (e.g., 'XNAS').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_RECOMMENDATIONSRetrieve aggregated analyst recommendations for a stock. Returns buy/sell/hold consensus ratings across multiple time periods (current month, previous month, 2 and 3 months ago). Use this to understand Wall Street sentiment and analyst opinions about a company.
Input parameters
Ticker symbol of the stock (e.g., 'AAPL', 'MSFT', 'GOOGL'). Must be a valid stock symbol traded on a supported exchange.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_ROCTool to retrieve Rate of Change (ROC) indicator data for a security. ROC calculates the percentage change in price over a defined period, returning a time series of values that help track momentum. Use after selecting a symbol and interval to identify potential price movements.
Input parameters
Specifies the number of decimal places for floating values. Range \[0, 11\]. By default, automatically determined.
Specifies the exact date to get the data for. Could be exact date (e.g., '2021-10-27'), 'today', or 'yesterday'.
Financial Instrument Global Identifier (FIGI). Available starting with the Ultra plan.
International Securities Identification Number (ISIN). Requires Data add-ons activation.
The asset class to which the instrument belongs.
CUSIP identifier. Requires Data add-ons activation.
Sorting order of the output.
Adjusting mode for prices.
The format of the response data.
Symbol ticker of the instrument (e.g., 'AAPL', 'EUR/USD', 'ETH/BTC'). At least one of symbol, isin, figi, or cusip must be provided.
The country where the instrument is traded (e.g., 'United States' or 'US').
Returns quotes that include pre-market and post-market data. Only for Pro and above plans. Available at 1min, 5min, 15min, and 30min intervals for US equities.
Ending date for data selection. Format: '2006-01-02' or '2006-01-02T15:04:05'. See start_date for details.
Exchange where instrument is traded.
Interval between two consecutive points in time series.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone at which output datetime will be displayed. Supports 'Exchange' for local exchange time, 'UTC' for UTC standard, or IANA timezone name (e.g., 'America/New_York').
The separator used in the CSV response data.
Number of data points to retrieve. Default 30 when no date parameters are set, otherwise set to maximum. Leave unset to use API defaults.
Starting date for data selection. Format: '2006-01-02' or '2006-01-02T15:04:05'. Can be used separately or together with end_date.
Price type on which technical indicator is calculated.
Number of periods to average over. Takes values in the range from 1 to 800.
Specify if OHLC values should be added in the output.
Include the previous closing price in the time_series data. If true, adds previous bar close price value to the current object.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_ROCPTool to calculate and return the Rate of Change Percentage (ROCP) for a financial security. Use when you need to identify shifts in price momentum and potential trend reversals.
Input parameters
Specifies the number of decimal places for floating values. Should be in range \[0, 11\] inclusive. Default -1 (automatically determined).
Specifies the exact date to get the data for. Could be exact date (e.g., '2021-10-27'), or in human language 'today' or 'yesterday'.
The FIGI of an instrument for which data is requested.
Filter by international securities identification number (ISIN).
The asset class to which the instrument belongs.
The CUSIP of an instrument for which data is requested.
Sorting order of the output.
Adjusting mode for prices.
The format of the response data.
Symbol ticker of the instrument. E.g. 'AAPL', 'EUR/USD', 'ETH/BTC'.
The country where the instrument is traded, e.g., 'United States' or 'US'.
Returns quotes that include pre-market and post-market data. Only for Pro and above plans.
End date for data selection. Format '2006-01-02' or '2006-01-02T15:04:05'.
Exchange where instrument is traded.
Interval between two consecutive points in time series.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone at which output datetime will be displayed. Supports 'Exchange', 'UTC', or IANA timezone names (e.g., 'America/New_York').
The separator used in the CSV response data.
Number of data points to retrieve. Supports values in the range from 1 to 5000. Default 30 when no date parameters are set.
Start date for data selection. Format '2006-01-02' or '2006-01-02T15:04:05'.
Price type on which technical indicator is calculated.
Number of periods to average over. Takes values in the range from 1 to 800. Default 9.
Specify if OHLC values should be added in the output.
A boolean parameter to include the previous closing price in the time_series data.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_ROCR100Tool to calculate the Rate of Change Ratio 100 (ROCR100) for a security. The ROCR100 calculates the percentage change in a security's price over a specified period, expressed as a ratio to 100. Use when you need to assess the momentum and direction of a security's price trend over time.
Input parameters
Specifies the number of decimal places for floating values. Should be in range \[0, 11\] inclusive. By default, the number of decimal places is automatically determined.
Specifies the exact date to get the data for. Could be the exact date, e.g. '2021-10-27', or in human language 'today' or 'yesterday'.
The FIGI of an instrument for which data is requested. Available starting with the Ultra plan.
Filter by international securities identification number (ISIN). ISIN access is activating in the Data add-ons section.
The asset class to which the instrument belongs.
The CUSIP of an instrument for which data is requested. CUSIP access is activating in the Data add-ons section.
Sorting order of the output. Default is 'desc'.
Adjusting mode for prices. Default is 'splits'.
The format of the response data. Default is 'JSON'.
Symbol ticker of the instrument. E.g. 'AAPL', 'EUR/USD', 'ETH/BTC'.
The country where the instrument is traded, e.g., 'United States' or 'US'.
Returns quotes that include pre-market and post-market data. Only for Pro and above plans. Available at the 1min, 5min, 15min, and 30min intervals for US equities.
End date for data selection. Format '2006-01-02' or '2006-01-02T15:04:05'. See start_date description for details.
Exchange where instrument is traded.
Interval between two consecutive points in time series.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone at which output datetime will be displayed. Supports: 'Exchange' for local exchange time, 'UTC' for universal UTC standard, or timezone name according to the IANA Time Zone Database (e.g., 'America/New_York', 'Asia/Singapore').
The separator used in the CSV response data. Default is ';'.
Number of data points to retrieve. Supports values in the range from 1 to 5000. Default 30 when no date parameters are set, otherwise set to maximum.
Start date for data selection. Format '2006-01-02' or '2006-01-02T15:04:05'. Can be used separately and together with end_date.
Price type on which technical indicator is calculated. Default is 'close'.
Number of periods to average over. Takes values in the range from 1 to 800. Default is 9.
Specify if OHLC values should be added in the output.
A boolean parameter to include the previous closing price in the time_series data. If true, adds previous bar close price value to the current object.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_RVOLTool to fetch relative volume (RVOL) data for a security. RVOL provides a ratio comparing a security's current trading volume to its average volume over a specified period, helping detect unusual trading activity and assess the strength of price movements.
Input parameters
Specifies the number of decimal places for floating values. Should be in range \[0, 11\] inclusive. By default, the number of decimal places is automatically determined based on the values provided.
Specifies the exact date to get the data for. Could be the exact date (e.g., '2021-10-27'), or in human language 'today' or 'yesterday'.
The FIGI of an instrument for which data is requested. Available starting with the Ultra plan.
International securities identification number (ISIN). ISIN access is activating in the Data add-ons section.
The asset class to which the instrument belongs.
The CUSIP of an instrument for which data is requested. CUSIP access is activating in the Data add-ons section.
Sorting order of the output.
Adjusting mode for prices.
The format of the response data.
Symbol ticker of the instrument (e.g., 'AAPL', 'EUR/USD', 'ETH/BTC'). At least one of symbol, isin, figi, or cusip must be provided.
The country where the instrument is traded (e.g., 'United States' or 'US').
Returns quotes that include pre-market and post-market data. Only for Pro and above plans. Available at the 1min, 5min, 15min, and 30min intervals for US equities.
The ending date and time for data selection. Format: '2006-01-02' or '2006-01-02T15:04:05'.
Exchange where instrument is traded.
Interval between two consecutive points in time series. Required field.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone at which output datetime will be displayed. Supports: 'Exchange' for local exchange time, 'UTC' for universal UTC standard, or IANA timezone name (e.g., 'America/New_York', 'Asia/Singapore'). Default is 'Exchange'.
The separator used in the CSV response data.
Number of data points to retrieve. Supports values in the range from 1 to 5000. Default 30 when no date parameters are set, otherwise set to maximum.
Can be used separately and together with end_date. Format: '2006-01-02' or '2006-01-02T15:04:05'. If timezone parameter is provided, start_date will be used in the specified location.
Number of periods to average over. Takes values in the range from 1 to 800.
Specify if OHLC values should be added in the output.
A boolean parameter to include the previous closing price in the time_series data. If true, adds previous bar close price value to the current object.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_SPLITSTool to retrieve historical stock split events. Use when you need to fetch split history for a particular instrument.
Input parameters
Filter by FIGI (e.g., 'BBG01293F5X4'). Required if other identifiers are not provided.
Filter by ISIN (e.g., 'US0378331005'). Required if other identifiers are not provided.
Filter by CUSIP (e.g., '594918104'). Required if other identifiers are not provided.
Data range (one of last, 1m, 3m, 6m, ytd, 1y, 2y, 5y, full). Default is 'last'.
Ticker of the instrument (e.g., 'AAPL'). Required if other identifiers are not provided.
Country name or two-letter code (e.g., 'United States' or 'US').
Inclusive end date for the split events (YYYY-MM-DD).
Exchange where the instrument is traded (e.g., 'NASDAQ').
Market Identifier Code (ISO 10383) (e.g., 'XNAS').
Inclusive start date for the split events (YYYY-MM-DD).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_SPLITS_CALENDARTool to retrieve a calendar of stock split events. Use when you need to fetch split events for instruments over a date range.
Input parameters
Filter by FIGI identifier.
Filter by ISIN identifier.
Page number for paginated results. Defaults to 1.
Filter by CUSIP identifier.
Symbol ticker of the instrument; use dot for preferred shares (e.g., 'BRK.A').
Country where the instrument is traded (full name or ISO code).
End date (inclusive) in YYYY-MM-DD format.
Exchange where the instrument is traded (e.g., 'NASDAQ').
ISO 10383 Market Identifier Code (e.g., 'XNAS').
Number of records to return (1–500). Defaults to 100 when no date filters.
Start date (inclusive) in YYYY-MM-DD format.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_STATISTICSTool to retrieve key company statistics including valuation and financial overview. Use when you need a company financial snapshot after selecting an instrument.
Input parameters
Financial Instrument Global Identifier. Provide one of symbol, figi, isin, or cusip.
International Securities Identification Number. Provide one of symbol, figi, isin, or cusip.
CUSIP identifier. Provide one of symbol, figi, isin, or cusip.
Ticker symbol to query (e.g., 'AAPL'). Provide one of symbol, figi, isin, or cusip.
Country where the instrument is traded (name or alpha code, e.g., 'United States' or 'US').
Exchange where the instrument is traded (e.g., 'NASDAQ').
Market Identifier Code (ISO 10383) for the exchange (e.g., 'XNAS').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_STOCHRSITool to calculate the Stochastic Relative Strength Index (Stochastic RSI) for a specified financial instrument. Returns %K and %D line values to identify overbought or oversold conditions and potential price reversals. Use when you need to refine entry and exit points by analyzing momentum indicators.
Input parameters
Specifies the number of decimal places for floating values. Should be in range \[0, 11\] inclusive. By default, the number of decimal places is automatically determined based on the values provided.
Specifies the exact date to get the data for. Could be the exact date, e.g. '2021-10-27', or in human language 'today' or 'yesterday'.
The FIGI of an instrument for which data is requested. Available starting with the Ultra plan.
Filter by international securities identification number (ISIN). ISIN access is activated in the Data add-ons section.
The asset class to which the instrument belongs.
The CUSIP of an instrument for which data is requested. CUSIP access is activated in the Data add-ons section.
Sorting order of the output.
Adjusting mode for prices.
The format of the response data.
Symbol ticker of the instrument (e.g., 'AAPL', 'EUR/USD', 'ETH/BTC'). At least one of symbol, isin, figi, or cusip must be provided.
The country where the instrument is traded, e.g., 'United States' or 'US'.
Returns quotes that include pre-market and post-market data. Only for Pro and above plans. Available at the 1min, 5min, 15min, and 30min intervals for US equities. Open, high, low, close values are supplied without volume.
Period for smoothing the %D line, which is a moving average of %K. Takes values in the range from 1 to 800.
The ending date and time for data selection, see start_date description for details.
Exchange where instrument is traded.
Interval between two consecutive points in time series.
Period for smoothing the %K line. Takes values in the range from 1 to 800.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone at which output datetime will be displayed. Supports: 'Exchange' for local exchange time, 'UTC' for datetime at universal UTC standard, or timezone name according to the IANA Time Zone Database (e.g., 'America/New_York', 'Asia/Singapore'). The IANA Timezone name is case-sensitive.
The separator used in the CSV response data.
Number of data points to retrieve. Supports values in the range from 1 to 5000. Default 30 when no date parameters are set, otherwise set to maximum.
Length of period for calculating the RSI component. Takes values in the range from 1 to 800.
Can be used separately and together with end_date. Format '2006-01-02' or '2006-01-02T15:04:05'. Both parameters take into account if timezone parameter is provided.
Price type for technical indicator calculation.
Specify if OHLC values should be added in the output.
Period length for computing the stochastic oscillator of the RSI. Takes values in the range from 1 to 800.
Type of moving average for smoothing the %D line.
Type of moving average for smoothing the %K line.
A boolean parameter to include the previous closing price in the time_series data. If true, adds previous bar close price value to the current object.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_SUMTool to calculate the cumulative total (Summation) of a specified data series over a defined time period. Returns numerical values representing the sum of financial data such as stock prices or trading volumes. Use when you need to track the aggregate value of a dataset for further analysis.
Input parameters
Specifies the number of decimal places for floating values. Should be in range \[0, 11\] inclusive. By default, the number of decimal places is automatically determined based on the values provided.
Specifies the exact date to get the data for. Could be the exact date, e.g. '2021-10-27', or in human language 'today' or 'yesterday'.
The FIGI of an instrument for which data is requested. This request parameter is available starting with the Ultra plan.
Filter by international securities identification number (ISIN). ISIN access is activated in the Data add-ons section.
Asset class to which the instrument belongs.
The CUSIP of an instrument for which data is requested. CUSIP access is activated in the Data add-ons section.
Sorting order of the output.
Adjusting mode for prices.
Format of the response data.
Symbol ticker of the instrument. E.g. 'AAPL', 'EUR/USD', 'ETH/BTC'. Either symbol, isin, figi, or cusip must be provided.
The country where the instrument is traded, e.g., 'United States' or 'US'.
Returns quotes that include pre-market and post-market data. Only for Pro and above plans. Available at the 1min, 5min, 15min, and 30min intervals for US equities. Open, high, low, close values are supplied without volume.
The ending date and time for data selection. Format '2006-01-02' or '2006-01-02T15:04:05'. Works together with start_date.
Exchange where instrument is traded.
Interval between two consecutive points in time series.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone at which output datetime will be displayed. Supports: 'Exchange' for local exchange time, 'UTC' for universal UTC standard, or timezone name according to IANA Time Zone Database (e.g., 'America/New_York', 'Asia/Singapore'). The IANA Timezone name is case-sensitive.
The separator used in the CSV response data. Default is ';'.
Number of data points to retrieve. Supports values in the range from 1 to 5000. Default 30 when no date parameters are set, otherwise set to maximum.
Can be used separately and together with end_date. Format '2006-01-02' or '2006-01-02T15:04:05'. If timezone is given, start_date will be used in the specified location. Returns all records starting from start_date up to current date or end_date if provided.
Price type on which technical indicator is calculated.
Number of periods to average over. Takes values in the range from 1 to 800. Default is 9.
Specify if OHLC values should be added in the output.
A boolean parameter to include the previous closing price in the time_series data. If true, adds previous bar close price value to the current object.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_TECHNICAL_INDICATORS_LISTTool to retrieve a comprehensive list of available technical indicators. Use when you need to discover which technical analysis tools are available.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_TEMATool to calculate the Triple Exponential Moving Average (TEMA) for a financial instrument. TEMA applies three layers of exponential smoothing to price data, providing a smoother trend line with reduced lag compared to simple moving averages. Use when you need to identify trends with minimal delay for trading signals.
Input parameters
Number of decimal places for floating values (range: 0-11).
Exact date to get data for. Format: '2021-10-27', 'today', or 'yesterday'.
The FIGI of an instrument. Available starting with the Ultra plan.
International securities identification number (ISIN). Requires Data add-ons subscription.
Asset class types.
The CUSIP of an instrument. Requires Data add-ons subscription.
Sorting order for output.
Price adjustment mode.
Response format options.
Symbol ticker of the instrument (e.g., 'AAPL', 'EUR/USD', 'ETH/BTC'). Either symbol, isin, figi, or cusip must be provided.
The country where the instrument is traded (e.g., 'United States' or 'US').
Include pre-market and post-market data. Only for Pro+ plans at 1min, 5min, 15min, 30min intervals for US equities.
Ending date for data selection. See start_date description for format details.
Exchange where instrument is traded.
Interval between two consecutive points in time series.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone for output datetime. Options: 'Exchange' (local), 'UTC', or IANA timezone name (e.g., 'America/New_York').
The separator used in CSV response data.
Number of data points to retrieve (range: 1-5000). Default 30 when no date parameters are set.
Starting date for data selection. Format: '2006-01-02' or '2006-01-02T15:04:05'. Can be used with or without end_date.
Price type for technical indicator calculation.
The time period used for calculation in the indicator. Default is 9.
Specify if OHLC values should be added in the output.
Include the previous closing price in time_series data.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_VARTool to calculate the statistical variance of a financial data series. Use when you need to measure the volatility or dispersion of security prices over a specified period to assess risk.
Input parameters
Specifies the number of decimal places for floating values. Should be in range \[0, 11\] inclusive. By default (when -1), the number of decimal places is automatically determined based on the values provided.
Specifies the exact date to get the data for. Could be the exact date, e.g. '2021-10-27', or in human language 'today' or 'yesterday'.
The FIGI of an instrument for which data is requested. Available starting with the Ultra plan.
Filter by international securities identification number (ISIN). ISIN access is activated in the Data add-ons section.
The asset class to which the instrument belongs.
The CUSIP of an instrument for which data is requested. CUSIP access is activated in the Data add-ons section.
Sorting order of the output.
Adjusting mode for prices.
The format of the response data.
Symbol ticker of the instrument (e.g., 'AAPL', 'EUR/USD', 'ETH/BTC'). Either symbol, isin, figi, or cusip must be provided.
The country where the instrument is traded, e.g., 'United States' or 'US'.
Returns quotes that include pre-market and post-market data. Only for Pro and above plans. Available at the 1min, 5min, 15min, and 30min intervals for US equities. Open, high, low, close values are supplied without volume.
The ending date and time for data selection, see start_date description for details.
Exchange where instrument is traded.
Interval between two consecutive points in time series.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone at which output datetime will be displayed. Supports: 'Exchange' for local exchange time, 'UTC' for datetime at universal UTC standard, or timezone name according to the IANA Time Zone Database (e.g., 'America/New_York', 'Asia/Singapore'). The IANA Timezone name is case-sensitive.
The separator used in the CSV response data.
Number of data points to retrieve. Supports values in the range from 1 to 5000. Default 30 when no date parameters are set, otherwise set to maximum.
Can be used separately and together with end_date. Format '2006-01-02' or '2006-01-02T15:04:05'. Both parameters take into account if timezone parameter is provided.
Price type on which technical indicator is calculated.
Number of periods to average over. Takes values in the range from 1 to 800. Default is 9.
Specify if OHLC values should be added in the output.
A boolean parameter to include the previous closing price in the time_series data. If true, adds previous bar close price value to the current object.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_WCLPRICETool to calculate and retrieve the Weighted Close Price (WCLPRICE) for a security. WCLPRICE gives additional weight to the closing price using the formula (High + Low + Close * 2) / 4. Use when you need to analyze price trends with emphasis on closing values.
Input parameters
Number of decimal places for floating values. Range \[0, 11\]. Default is automatically determined.
Specifies exact date for data retrieval. Can be exact date like '2021-10-27', or human language like 'today' or 'yesterday'.
Financial Instrument Global Identifier (FIGI) of the instrument. Available with Ultra plan or higher.
International Securities Identification Number (ISIN) of the instrument. ISIN access requires activation in Data add-ons.
Asset class types supported by Twelve Data API.
CUSIP identifier of the instrument. CUSIP access requires activation in Data add-ons.
Sorting order for output data.
Price adjustment modes.
Response format options.
Symbol ticker of the instrument. At least one of symbol, isin, figi, or cusip must be provided. E.g. 'AAPL', 'EUR/USD', 'ETH/BTC'.
Country where the instrument is traded, e.g., 'United States' or 'US'.
Include pre-market and post-market data. Only for Pro and above plans. Available at 1min, 5min, 15min, and 30min intervals for US equities.
End date for data selection. Format and behavior same as start_date.
Exchange where the instrument is traded.
Time interval between consecutive data points. Required parameter.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone for output datetime. Supports 'Exchange' for local exchange time, 'UTC' for UTC standard, or IANA timezone names like 'America/New_York'. Default is 'Exchange'.
Separator used in CSV response data. Default is ';'.
Number of data points to retrieve. Supports values from 1 to 5000. Default is 30 when no date parameters are set.
Start date for data selection in format '2006-01-02' or '2006-01-02T15:04:05'. Can be used separately or with end_date. Timezone-aware based on the timezone parameter.
Specify if OHLC (Open, High, Low, Close) values should be added in the output.
Include previous closing price in the time series data. If true, adds previous bar close price to current object.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_GET_WMATool to calculate and retrieve the Weighted Moving Average (WMA) for a security over a specified period. Use when you need to analyze short-term price trends with recent prices having higher influence.
Input parameters
Number of decimal places for floating values. Range: 0-11. By default, automatically determined.
Specifies exact date to get data for. Can be exact date (e.g., '2021-10-27') or human language ('today' or 'yesterday').
Financial Instrument Global Identifier (FIGI). Available starting with Ultra plan.
International Securities Identification Number (ISIN). Requires activation in Data add-ons.
The asset class to which the instrument belongs.
CUSIP identifier. Requires activation in Data add-ons.
Sorting order of the output. Default is 'desc'.
Adjusting mode for prices. Default is 'splits'.
The format of the response data. Default is 'JSON'.
Symbol ticker of the instrument. E.g. 'AAPL', 'EUR/USD', 'ETH/BTC'. At least one of symbol, isin, figi, or cusip must be provided.
The country where the instrument is traded, e.g., 'United States' or 'US'.
Include pre-market and post-market data. Only for Pro+ plans at 1min/5min/15min/30min intervals for US equities.
End date for data selection. Format: 'YYYY-MM-DD' or 'YYYY-MM-DDTHH:MM:SS'. See start_date description for details.
Exchange where instrument is traded.
Interval between two consecutive points in time series.
Market Identifier Code (MIC) under ISO 10383 standard.
Timezone for output datetime. Supports 'Exchange', 'UTC', or IANA timezone name (e.g., 'America/New_York'). Default is 'Exchange'.
The separator used in CSV response data. Default is ';'.
Number of data points to retrieve. Range: 1-5000. Default is 30 when no date parameters are set.
Start date for data selection. Format: 'YYYY-MM-DD' or 'YYYY-MM-DDTHH:MM:SS'. Can be used with or without end_date.
Price type on which technical indicator is calculated. Default is 'close'.
Number of periods to average over. Range: 1-800. Default is 9.
Specify if OHLC values should be added in the output. Default is false.
Include previous closing price in time_series data. If true, adds previous bar close price to current object.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_INDICESTool to retrieve a list of market indices. Use when you need to fetch available indices filtered by country.
Input parameters
Response format. Only 'json' is supported.
Filter indices by 2-letter ISO country code, e.g., 'US', 'GB'
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_INSTITUTIONAL_HOLDERSTool to retrieve institutional holders positions for a company. Use when you need summary ownership metrics and top institutions.
Input parameters
Filter by FIGI (e.g., 'BBG01293F5X4'). Required if other identifiers are not provided.
Filter by ISIN (e.g., 'US0378331005'). Required if other identifiers are not provided.
Filter by CUSIP (e.g., '594918104'). Required if other identifiers are not provided.
Ticker of the instrument (e.g., 'AAPL'). Required if other identifiers are not provided.
Country name or two-letter code (e.g., 'US').
Exchange where the instrument is traded (e.g., 'NASDAQ').
Market Identifier Code (e.g., 'XNAS').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_MUTUAL_FUNDS_FAMILYTool to list all available mutual fund families. Use when you need a comprehensive list of mutual fund families managed by investment companies after obtaining a valid API key.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_MUTUAL_FUNDS_LISTTool to retrieve a daily updated list of mutual funds sorted by total assets. Use when you need to enumerate available mutual funds for analysis.
Input parameters
Filter mutual funds by type (e.g., 'Open Ended').
Output format: 'json' or 'csv'. Default is 'json'.
Filter mutual funds by country (e.g., 'US').
Filter mutual funds by exchange (e.g., 'NASDAQ').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_MUTUAL_FUNDS_WORLD_COMPOSITIONTool to fetch global mutual fund portfolio composition including sectors, asset allocation, top holdings, and bond metrics. Use after selecting a mutual fund to analyze its composition.
Input parameters
Number of decimal places for floating values; range \[0-11\]; defaults to 5.
Financial Instrument Global Identifier. One of symbol, figi, isin, or cusip is required.
International Securities Identification Number. One of symbol, figi, isin, or cusip is required.
CUSIP identifier. One of symbol, figi, isin, or cusip is required.
Symbol ticker of the mutual fund. One of symbol, figi, isin, or cusip is required.
Filter by country name or alpha code (e.g., 'United States' or 'US').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_OPTIONS_CHAIN_ACTIONTool to retrieve the options chain for a given symbol and optional expiration date. Use when you need detailed option contract data and Greeks. Omitting date returns all expirations.
Input parameters
Expiration date in YYYY-MM-DD format. Omit to retrieve all available expiration dates.
Ticker symbol for the option's underlying asset.
Whether to include Greeks data (delta, gamma, etc.). Default is false.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_OPTIONS_EXPIRATIONTool to retrieve available option expiration dates. Use when exploring available expiration dates for a given options symbol.
Input parameters
Ticker symbol of the underlying security for options expiration lookup.
Exchange code where the security is listed.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_QUOTETool to retrieve the latest market data for a specified symbol. Use when you need a quick real-time quote after selecting a symbol.
Input parameters
Response format: 'JSON' or 'CSV'. Default is JSON.
Optional data source override, e.g., 'docs'.
Ticker symbol to query (e.g., 'AAPL', 'MSFT', 'BTC/USD').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_STOCKS_LISTTool to retrieve a list of stocks. Use when you need to fetch securities with optional filtering by exchange, country, type, or symbol.
Input parameters
Type of security to filter (e.g., 'Common Stock').
Response format: 'json' or 'csv'.
Specific stock symbol to filter by (e.g., 'AAPL').
Country code to filter by (e.g., 'United States').
Exchange code to filter results (e.g., 'NYSE').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_SYMBOL_SEARCHTool to search for financial instruments by symbol or company name. Use when you need to discover available symbols before making further data requests.
Input parameters
Symbol or company name to search for, supports partial matches.
Exchange code to filter results (optional).
Maximum number of results to return (1-10000).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_TECHNICAL_INDICATORSTool to fetch time-series data for a specific technical indicator. Use when you have a symbol, interval, and indicator name.
Input parameters
Symbol to compute the indicator for (e.g., 'AAPL', 'BTC/USD').
Time interval for the data.
Name of the technical indicator (e.g., 'sma', 'ema', 'rsi').
Number of data points to return, between 1 and 5000.
Additional indicator-specific parameters (e.g., period, series_type).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TWELVE_DATA_TIME_SERIESTool to retrieve historical and real-time time series data for a specified symbol. Use when you need to fetch price data over a time range after selecting a symbol. Response data points are not guaranteed to be in chronological or reverse-chronological order; always sort by timestamp before indexing.
Input parameters
Response format: 'JSON' or 'CSV'.
Ticker symbol to query (e.g., 'AAPL').
Inclusive end date for the data, in YYYY-MM-DD or ISO 8601 format.
Time interval between data points.
Timezone for the timestamps, e.g., 'UTC' or 'America/New_York'.
Maximum number of data points to return (default 30, maximum 5000).
Inclusive start date for the data, in YYYY-MM-DD or ISO 8601 format.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
No publicly available marketplace agent is found using this tool yet. There are 40 agents privately built on Nagent that already use Twelve Data.
Build on Nagent
Connect Twelve Data to any Nagent agent in minutes — no API key management, no boilerplate. Just configure and deploy.
The five questions agent builders ask before adopting a new integration.
Open the External Integrations panel inside Nagent (app.nagent.ai/externalIntegration), find Twelve Data, and click "Connect Now." You'll authenticate with an API key — Nagent handles credential storage and refresh automatically. Once connected, Twelve Data is available to any agent in your workspace.
No. Nagent provides no-code integration for every tool. Once Twelve Data is connected, you configure its 97 actions directly in the agent builder UI — no API calls, no boilerplate, no schema management.
Helix — Nagent's agentic agent builder — lets you drop Twelve Data steps into any workflow visually. Pick an action (e.g., one of those listed above), fill in the inputs (Helix knows the required vs. optional schema for each parameter), and connect it to upstream/downstream steps. Triggers run as the entry point of an agent, so when a Twelve Data event fires, the agent kicks off automatically.
Every Twelve Data action and trigger ships with a fully-typed schema — input parameters with name, type, required flag, and description, plus the output payload shape. The schemas are documented in the sections above. Helix uses these schemas to validate your configuration at build time and to type-check the data flowing between steps.
Yes. While Twelve Data ships with 97 pre-built analytics actions, you can layer custom logic around them inside Helix — pre/post-processing steps, conditional branches, retries, or stitching Twelve Data together with other connected tools. For deeper customization, talk to our team about Nagent's Agentic AI Lab — forward-deployed engineers who build Twelve Data-based workflows tailored to your business.