Twelve Data
twelve_dataTwelve Data provides a comprehensive financial data API offering real-time and historical market data for stocks, forex, cryptocurrencies, ETFs, and indices.
Acciones disponibles (22)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
List CommoditiesTWELVE_DATA_COMMODITIES_LISTAcciónTool to retrieve a list of supported commodities. use when you need all available commodities after obtaining a valid api key.
TWELVE_DATA_COMMODITIES_LISTAcciónTool to retrieve a list of supported commodities. use when you need all available commodities after obtaining a valid api key.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List CryptocurrenciesTWELVE_DATA_CRYPTOCURRENCIESAcciónTool to list all supported cryptocurrencies. use when you need the complete set of crypto symbols. use after obtaining a valid api key.
TWELVE_DATA_CRYPTOCURRENCIESAcciónTool to list all supported cryptocurrencies. use when you need the complete set of crypto symbols. use after obtaining a valid api key.
Parámetros de entrada
apikeystringObligatorioYour Twelve Data API key.
symbolstringComma-separated cryptocurrency symbol(s) to filter (e.g., 'BTC,ETH').
outputsizeintegerNumber of records to return, must be >= 1.
Parámetros de salida
dataobject[]ObligatorioList of supported cryptocurrencies.
errorstringError if any occurred during the execution of the action
statusstringObligatorioStatus of the request, 'ok' or 'error'.
messagestringError or informational message if applicable.
successfulbooleanObligatorioWhether or not the action execution was successful or not
Currency ConversionTWELVE_DATA_CURRENCY_CONVERSIONAcciónTool to convert an amount from one currency to another. use after confirming currency codes to retrieve real-time conversion.
TWELVE_DATA_CURRENCY_CONVERSIONAcciónTool to convert an amount from one currency to another. use after confirming currency codes to retrieve real-time conversion.
Parámetros de entrada
amountnumberObligatorioNon-negative amount in the source currency to convert.
to_currencystringObligatorioThree-letter ISO currency code for the target currency (e.g., 'EUR').
from_currencystringObligatorioThree-letter ISO currency code for the source currency (e.g., 'USD').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
DividendsTWELVE_DATA_DIVIDENDSAcciónTool to retrieve dividend payout history for a specified symbol. use when you need historical dividends over multiple years.
TWELVE_DATA_DIVIDENDSAcciónTool to retrieve dividend payout history for a specified symbol. use when you need historical dividends over multiple years.
Parámetros de entrada
formatstringenumResponse format: 'JSON' or 'CSV'.
JSONCSVsymbolstringObligatorioInstrument symbol (e.g., 'AAPL').
countrystringCountry code (e.g., 'United States').
end_datestringEnd date in YYYY-MM-DD format.
exchangestringExchange code (e.g., 'NASDAQ').
timezonestringOutput timezone for datetime (e.g., 'UTC'). Default is exchange timezone.
delimiterstringDelimiter for CSV output (only if format='CSV').
outputsizeintegerMaximum number of dividend records to return (default 30).
start_datestringStart date in YYYY-MM-DD format.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
EarningsTWELVE_DATA_EARNINGSAcciónTool to retrieve earnings data including eps estimates and actuals. use when you need detailed earnings history for a selected stock symbol.
TWELVE_DATA_EARNINGSAcciónTool to retrieve earnings data including eps estimates and actuals. use when you need detailed earnings history for a selected stock symbol.
Parámetros de entrada
typestringenumType of earnings report: 'annual' or 'quarterly'.
annualquarterlyformatstringenumResponse format: 'JSON' (default) or 'CSV'.
JSONCSVsourcestringOptional data source override.
symbolstringObligatorioTicker symbol of the equity, e.g., 'AAPL'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
EPS RevisionsTWELVE_DATA_EPS_REVISIONSAcciónTool to provide analysts’ revisions of a company’s future eps over the last week and month. use after confirming the stock symbol.
TWELVE_DATA_EPS_REVISIONSAcciónTool to provide analysts’ revisions of a company’s future eps over the last week and month. use after confirming the stock symbol.
Parámetros de entrada
dpintegerNumber of decimal places for numeric values.
formatstringenumResponse format: 'json' or 'csv'.
jsoncsvsymbolstringObligatorioStock symbol to request data for (e.g., 'AAPL').
exchangestringExchange code (e.g., 'NASDAQ'). Auto-detected from symbol if not provided.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
EPS TrendTWELVE_DATA_EPS_TREND_ACTIONAcciónTool to retrieve historical eps trends for a specified company. use after selecting a stock symbol to view estimated vs actual eps and surprise indicators. returns a breakdown of eps actuals, estimates, differences, and surprise percentages.
TWELVE_DATA_EPS_TREND_ACTIONAcciónTool to retrieve historical eps trends for a specified company. use after selecting a stock symbol to view estimated vs actual eps and surprise indicators. returns a breakdown of eps actuals, estimates, differences, and surprise percentages.
Parámetros de entrada
formatstringenumOutput format: 'JSON' or 'CSV'.
JSONCSVsymbolstringObligatorioThe symbol of the instrument (e.g., 'AAPL').
intervalstringData time interval to retrieve EPS trend.
timezonestringTimezone for response data, e.g., 'UTC' or 'America/New_York'.
outputsizeintegerNumber of results to return, must be at least 1.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
ETFS DirectoryTWELVE_DATA_ETFS_DIRECTORYAcciónTool 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.
TWELVE_DATA_ETFS_DIRECTORYAcciónTool 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.
Parámetros de entrada
formatstringenumResponse format: 'JSON' (default) or 'CSV'.
JSONCSVcountrystringFilter ETFs by country code (e.g., 'US').
exchangestringFilter ETFs by exchange code (e.g., 'NASDAQ').
Parámetros de salida
dataobject[]ObligatorioList of ETF details.
errorstringError if any occurred during the execution of the action
statusstringObligatorioAPI response status, e.g., 'ok' or 'error'.
messagestringError or informational message if applicable.
successfulbooleanObligatorioWhether or not the action execution was successful or not
ETFS FamilyTWELVE_DATA_ETFS_FAMILYAcciónTool to fetch a comprehensive list of etfs by family. use when you need to list etfs managed by a specific investment company.
TWELVE_DATA_ETFS_FAMILYAcciónTool to fetch a comprehensive list of etfs by family. use when you need to list etfs managed by a specific investment company.
Parámetros de entrada
familystringName of the ETF family to filter by (e.g., 'Vanguard').
Parámetros de salida
dataobject[]ObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ETF TypesTWELVE_DATA_ETFS_TYPEAcciónTool to retrieve etf categories by market, including types like 'equity precious metals'. use after confirming api key is set; no parameters are needed.
TWELVE_DATA_ETFS_TYPEAcciónTool to retrieve etf categories by market, including types like 'equity precious metals'. use after confirming api key is set; no parameters are needed.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobject[]ObligatorioA list of supported ETF types.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List supported exchangesTWELVE_DATA_EXCHANGESAcciónTool to retrieve a list of supported exchanges. use when you need all available stock and forex exchanges.
TWELVE_DATA_EXCHANGESAcciónTool to retrieve a list of supported exchanges. use when you need all available stock and forex exchanges.
Parámetros de entrada
formatstringenumResponse format; allowed values: json, csv
jsoncsvcountrystringFilter exchanges by 2-letter ISO country code, e.g., 'US', 'GB'
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List supported forex pairsTWELVE_DATA_FOREX_PAIRSAcciónTool to retrieve a list of all supported forex currency pairs. use when exploring available forex pairs before making other forex data requests.
TWELVE_DATA_FOREX_PAIRSAcciónTool to retrieve a list of all supported forex currency pairs. use when exploring available forex pairs before making other forex data requests.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List market indicesTWELVE_DATA_INDICESAcciónTool to retrieve a list of market indices. use when you need to fetch available indices filtered by country.
TWELVE_DATA_INDICESAcciónTool to retrieve a list of market indices. use when you need to fetch available indices filtered by country.
Parámetros de entrada
formatstringenumResponse format; allowed values: json, csv
jsoncsvcountrystringFilter indices by 2-letter ISO country code, e.g., 'US', 'GB'
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Mutual Funds FamilyTWELVE_DATA_MUTUAL_FUNDS_FAMILYAcciónTool 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.
TWELVE_DATA_MUTUAL_FUNDS_FAMILYAcciónTool 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.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobject[]ObligatorioList of mutual fund families.
errorstringError if any occurred during the execution of the action
statusstringObligatorioStatus of the request, 'ok' or 'error'.
messagestringError or informational message if applicable.
successfulbooleanObligatorioWhether or not the action execution was successful or not
Mutual Funds ListTWELVE_DATA_MUTUAL_FUNDS_LISTAcciónTool to retrieve a daily updated list of mutual funds sorted by total assets. use when you need to enumerate available mutual funds for analysis.
TWELVE_DATA_MUTUAL_FUNDS_LISTAcciónTool to retrieve a daily updated list of mutual funds sorted by total assets. use when you need to enumerate available mutual funds for analysis.
Parámetros de entrada
typestringFilter mutual funds by type (e.g., 'Open Ended').
formatstringenumOutput format: 'json' or 'csv'. Default is 'json'.
jsoncsvcountrystringFilter mutual funds by country (e.g., 'US').
exchangestringFilter mutual funds by exchange (e.g., 'NASDAQ').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Options ChainTWELVE_DATA_OPTIONS_CHAIN_ACTIONAcciónTool 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.
TWELVE_DATA_OPTIONS_CHAIN_ACTIONAcciónTool 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.
Parámetros de entrada
datestringExpiration date in YYYY-MM-DD format. Omit to retrieve all available expiration dates.
symbolstringObligatorioTicker symbol for the option's underlying asset.
includeGreeksbooleanWhether to include Greeks data (delta, gamma, etc.). Default is false.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Options ExpirationTWELVE_DATA_OPTIONS_EXPIRATIONAcciónTool to retrieve available option expiration dates. use when exploring available expiration dates for a given options symbol.
TWELVE_DATA_OPTIONS_EXPIRATIONAcciónTool to retrieve available option expiration dates. use when exploring available expiration dates for a given options symbol.
Parámetros de entrada
symbolstringObligatorioTicker symbol of the underlying security for options expiration lookup.
exchangestringExchange code where the security is listed.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
QuoteTWELVE_DATA_QUOTEAcciónTool to retrieve the latest market data for a specified symbol. use when you need a quick real-time quote after selecting a symbol.
TWELVE_DATA_QUOTEAcciónTool to retrieve the latest market data for a specified symbol. use when you need a quick real-time quote after selecting a symbol.
Parámetros de entrada
formatstringenumResponse format: 'JSON' or 'CSV'. Default is JSON.
JSONCSVsourcestringOptional data source override, e.g., 'docs'.
symbolstringObligatorioTicker symbol to query (e.g., 'AAPL', 'MSFT', 'BTC/USD').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List StocksTWELVE_DATA_STOCKS_LISTAcciónTool to retrieve a list of stocks. use when you need to fetch securities with optional filtering by exchange, country, type, or symbol.
TWELVE_DATA_STOCKS_LISTAcciónTool to retrieve a list of stocks. use when you need to fetch securities with optional filtering by exchange, country, type, or symbol.
Parámetros de entrada
typestringType of security to filter (e.g., 'Common Stock').
formatstringenumResponse format: 'json' or 'csv'.
jsoncsvsymbolstringSpecific stock symbol to filter by (e.g., 'AAPL').
countrystringCountry code to filter by (e.g., 'United States').
exchangestringExchange code to filter results (e.g., 'NYSE').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Symbol SearchTWELVE_DATA_SYMBOL_SEARCHAcciónTool to search for financial instruments by symbol or company name. use when you need to discover available symbols before making further data requests.
TWELVE_DATA_SYMBOL_SEARCHAcciónTool to search for financial instruments by symbol or company name. use when you need to discover available symbols before making further data requests.
Parámetros de entrada
symbolstringObligatorioSymbol or company name to search for, supports partial matches.
exchangestringExchange code to filter results (optional).
outputsizeintegerMaximum number of results to return (1-10000).
Parámetros de salida
dataobject[]ObligatorioList of matching symbol items.
errorstringError if any occurred during the execution of the action
statusstringObligatorioAPI response status, e.g., 'ok' or 'error'.
messagestringError or info message if applicable.
successfulbooleanObligatorioWhether or not the action execution was successful or not
Technical IndicatorsTWELVE_DATA_TECHNICAL_INDICATORSAcciónTool to fetch time-series data for a specific technical indicator. use when you have a symbol, interval, and indicator name.
TWELVE_DATA_TECHNICAL_INDICATORSAcciónTool to fetch time-series data for a specific technical indicator. use when you have a symbol, interval, and indicator name.
Parámetros de entrada
symbolstringObligatorioSymbol to compute the indicator for (e.g., 'AAPL', 'BTC/USD').
intervalstringObligatorioenumTime interval for the data.
1min5min15min30min1h2h4h1day1week1monthindicatorstringObligatorioName of the technical indicator (e.g., 'sma', 'ema', 'rsi').
outputsizeintegerNumber of data points to return, between 1 and 5000.
indicator_paramsobjectAdditional indicator-specific parameters (e.g., period, series_type).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Time SeriesTWELVE_DATA_TIME_SERIESAcciónTool 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.
TWELVE_DATA_TIME_SERIESAcciónTool 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.
Parámetros de entrada
formatstringenumResponse format: 'JSON' or 'CSV'.
JSONCSVsymbolstringObligatorioTicker symbol to query (e.g., 'AAPL').
end_datestringInclusive end date for the data, in YYYY-MM-DD or ISO 8601 format.
intervalstringObligatorioenumTime interval between data points.
1min5min15min30min1h4h1day1week1monthtimezonestringTimezone for the timestamps, e.g., 'UTC' or 'America/New_York'.
outputsizeintegerMaximum number of data points to return (default 30, maximum 5000).
start_datestringInclusive start date for the data, in YYYY-MM-DD or ISO 8601 format.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not