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_COMMODITIES_LIST
Tool Name: List Commodities
Description
Action Parameters
Action Response
TWELVE_DATA_CRYPTOCURRENCIES
Tool Name: List Cryptocurrencies
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_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_INDICES
Tool Name: List market indices
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_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