Twelve data
Overview
SLUG: TWELVE_DATA
Description
Twelve Data provides a comprehensive financial data API offering real-time and historical market data for stocks, forex, cryptocurrencies, ETFs, and indices.
Authentication Details
API Key
Connecting to Twelve data
Create an auth config
Use the dashboard to create an auth config for the Twelve data toolkit. This allows you to connect multiple Twelve data accounts to Composio for agents to use.
Select App
Navigate to [Twelve data](https://platform.composio.dev?next_page=/marketplace/Twelve data).
Create and Get auth config ID
Click “Create Twelve data Auth Config”. After creation, copy the displayed ID starting with ac_. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using API Key
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the [Twelve data toolkit’s playground](https://app.composio.dev/app/Twelve data)
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
TWELVE_DATA_CASH_FLOW
Tool Name: Cash Flow
Description
Action Parameters
Action Response
TWELVE_DATA_CASH_FLOW_CONSOLIDATED
Tool Name: Consolidated Cash Flow
Description
Action Parameters
Action Response
TWELVE_DATA_COMMODITIES_LIST
Tool Name: List Commodities
Description
Action Parameters
Action Response
TWELVE_DATA_CORREL
Tool Name: Correlation Coefficient
Description
Action Parameters
Action Response
TWELVE_DATA_COUNTRIES_LIST
Tool Name: List Countries
Description
Action Parameters
Action Response
TWELVE_DATA_CROSS_LISTINGS
Tool Name: Cross Listings
Description
Action Parameters
Action Response
TWELVE_DATA_CRYPTOCURRENCIES
Tool Name: List Cryptocurrencies
Description
Action Parameters
Action Response
TWELVE_DATA_CRYPTOCURRENCY_EXCHANGES_LIST_GET
Tool Name: List Cryptocurrency Exchanges
Description
Action Parameters
Action Response
TWELVE_DATA_CURRENCY_CONVERSION
Tool Name: Currency Conversion
Description
Action Parameters
Action Response
TWELVE_DATA_DIVIDENDS
Tool Name: Dividends
Description
Action Parameters
Action Response
TWELVE_DATA_EARNINGS
Tool Name: Earnings
Description
Action Parameters
Action Response
TWELVE_DATA_EPS_REVISIONS
Tool Name: EPS Revisions
Description
Action Parameters
Action Response
TWELVE_DATA_EPS_TREND_ACTION
Tool Name: EPS Trend
Description
Action Parameters
Action Response
TWELVE_DATA_ETFS_DIRECTORY
Tool Name: ETFS Directory
Description
Action Parameters
Action Response
TWELVE_DATA_ETFS_FAMILY
Tool Name: ETFS Family
Description
Action Parameters
Action Response
TWELVE_DATA_ETFS_TYPE
Tool Name: Get ETF Types
Description
Action Parameters
Action Response
TWELVE_DATA_ETFS_WORLD
Tool Name: ETF World
Description
Action Parameters
Action Response
TWELVE_DATA_ETFS_WORLD_COMPOSITION
Tool Name: ETF World Composition
Description
Action Parameters
Action Response
TWELVE_DATA_ETFS_WORLD_RISK
Tool Name: ETF World Risk
Description
Action Parameters
Action Response
TWELVE_DATA_EXCHANGES
Tool Name: List supported exchanges
Description
Action Parameters
Action Response
TWELVE_DATA_FOREX_PAIRS
Tool Name: List supported forex pairs
Description
Action Parameters
Action Response
TWELVE_DATA_GET_ANALYST_RATING
Tool Name: Get Analyst Rating
Description
Action Parameters
Action Response
TWELVE_DATA_GET_API_USAGE
Tool Name: Get API Usage
Description
Action Parameters
Action Response
TWELVE_DATA_GET_BALANCE_SHEET
Tool Name: Balance Sheet
Description
Action Parameters
Action Response
TWELVE_DATA_GET_BALANCE_SHEET_CONSOLIDATED
Tool Name: Balance Sheet Consolidated
Description
Action Parameters
Action Response
TWELVE_DATA_GET_EARLIEST_TIMESTAMP
Tool Name: Get Earliest Timestamp
Description
Action Parameters
Action Response
TWELVE_DATA_GET_ETFS_WORLD_PERFORMANCE
Tool Name: Global ETF Performance
Description
Action Parameters
Action Response
TWELVE_DATA_GET_EXCHANGE_SCHEDULE
Tool Name: Get exchange schedule
Description
Action Parameters
Action Response
TWELVE_DATA_GET_INCOME_STATEMENT
Tool Name: Income Statement
Description
Action Parameters
Action Response
TWELVE_DATA_GET_INSIDER_TRANSACTIONS
Tool Name: Insider Transactions
Description
Action Parameters
Action Response
TWELVE_DATA_GET_KEY_EXECUTIVES
Tool Name: Key Executives
Description
Action Parameters
Action Response
TWELVE_DATA_GET_LAST_CHANGE
Tool Name: Get Last Change
Description
Action Parameters
Action Response
TWELVE_DATA_GET_LOGO
Tool Name: Get Logo
Description
Action Parameters
Action Response
TWELVE_DATA_GET_MARKET_MOVERS
Tool Name: Market Movers
Description
Action Parameters
Action Response
TWELVE_DATA_GET_MARKET_STATE
Tool Name: Get Market State
Description
Action Parameters
Action Response
TWELVE_DATA_GET_MUTUAL_FUNDS_WORLD_PERFORMANCE
Tool Name: Global Mutual Fund Performance
Description
Action Parameters
Action Response
TWELVE_DATA_GET_MUTUAL_FUNDS_WORLD_RISK
Tool Name: Mutual Funds World Risk
Description
Action Parameters
Action Response
TWELVE_DATA_GET_MUTUAL_FUNDS_WORLD_SUMMARY
Tool Name: Global Mutual Fund Summary
Description
Action Parameters
Action Response
TWELVE_DATA_GET_MUTUAL_FUNDS_WORLD_SUSTAINABILITY
Tool Name: Global Mutual Fund Sustainability
Description
Action Parameters
Action Response
TWELVE_DATA_GET_PRICE_TARGET
Tool Name: Price Target
Description
Action Parameters
Action Response
TWELVE_DATA_GET_PROFILE
Tool Name: Get Profile
Description
Action Parameters
Action Response
TWELVE_DATA_GET_RECOMMENDATIONS
Tool Name: Recommendations
Description
Action Parameters
Action Response
TWELVE_DATA_GET_SPLITS
Tool Name: Stock Splits
Description
Action Parameters
Action Response
TWELVE_DATA_GET_SPLITS_CALENDAR
Tool Name: Splits Calendar
Description
Action Parameters
Action Response
TWELVE_DATA_GET_STATISTICS
Tool Name: Get Statistics
Description
Action Parameters
Action Response
TWELVE_DATA_INDICES
Tool Name: List market indices
Description
Action Parameters
Action Response
TWELVE_DATA_INSTITUTIONAL_HOLDERS
Tool Name: Institutional Holders
Description
Action Parameters
Action Response
TWELVE_DATA_MUTUAL_FUNDS_FAMILY
Tool Name: Mutual Funds Family
Description
Action Parameters
Action Response
TWELVE_DATA_MUTUAL_FUNDS_LIST
Tool Name: Mutual Funds List
Description
Action Parameters
Action Response
TWELVE_DATA_MUTUAL_FUNDS_WORLD_COMPOSITION
Tool Name: Mutual Funds World Composition
Description
Action Parameters
Action Response
TWELVE_DATA_OPTIONS_CHAIN_ACTION
Tool Name: Options Chain
Description
Action Parameters
Action Response
TWELVE_DATA_OPTIONS_EXPIRATION
Tool Name: Options Expiration
Description
Action Parameters
Action Response
TWELVE_DATA_QUOTE
Tool Name: Quote
Description
Action Parameters
Action Response
TWELVE_DATA_STOCKS_LIST
Tool Name: List Stocks
Description
Action Parameters
Action Response
TWELVE_DATA_SYMBOL_SEARCH
Tool Name: Symbol Search
Description
Action Parameters
Action Response
TWELVE_DATA_TECHNICAL_INDICATORS
Tool Name: Technical Indicators
Description
Action Parameters
Action Response
TWELVE_DATA_TIME_SERIES
Tool Name: Time Series
Description
Action Parameters
Action Response