← Tools Reference

Twelve Data

Twelve Data integration (Finance, Data). Imported from open-connector.

API key12 toolshttps://api.twelvedata.com
GET
twelve_data_symbol_search
Search financial instruments by symbol or name and return the most relevant matches.

/symbol_search

3 parameters
ParamTypeRequiredDescription
symbolstringrequiredThe text to search, such as a symbol, ISIN, FIGI, or a partial instrument name.
outputSizeintegeroptionalThe maximum number of matches to return.
showPlanbooleanoptionalWhether to include plan availability metadata for each matching instrument.
GET
twelve_data_price
Fetch the latest available market price for a specific instrument.

/price

10 parameters
ParamTypeRequiredDescription
symbolstringoptionalThe symbol ticker of the instrument.
figistringoptionalThe Financial Instrument Global Identifier (FIGI) of the instrument.
isinstringoptionalThe International Securities Identification Number (ISIN) of the instrument.
cusipstringoptionalThe CUSIP identifier of the instrument to request.
exchangestringoptionalThe exchange where the instrument is traded.
micCodestringoptionalThe Market Identifier Code (MIC) under ISO 10383.
countrystringoptionalThe country where the instrument is traded, using a country name or alpha code.
typestringoptionalThe asset class of the instrument.
prepostbooleanoptionalWhether to include pre-market and post-market data when supported.
dpintegeroptionalThe number of decimal places for floating values.
GET
twelve_data_quote
Fetch a real-time quote snapshot with price, change, volume, and 52-week range fields.

/quote

15 parameters
ParamTypeRequiredDescription
symbolstringoptionalThe symbol ticker of the instrument.
figistringoptionalThe Financial Instrument Global Identifier (FIGI) of the instrument.
isinstringoptionalThe International Securities Identification Number (ISIN) of the instrument.
cusipstringoptionalThe CUSIP identifier of the instrument to request.
exchangestringoptionalThe exchange where the instrument is traded.
micCodestringoptionalThe Market Identifier Code (MIC) under ISO 10383.
countrystringoptionalThe country where the instrument is traded, using a country name or alpha code.
typestringoptionalThe asset class of the instrument.
intervalstringoptionalThe interval of the quote.
volumeTimePeriodintegeroptionalThe number of periods used to calculate the average volume.
prepostbooleanoptionalWhether to include pre-market and post-market data when supported.
eodbooleanoptionalWhether to return the quote for the closed day.
rollingPeriodintegeroptionalThe number of hours used to calculate rolling change.
dpintegeroptionalThe number of decimal places for floating values.
timezonestringoptionalThe output timezone, such as Exchange, UTC, or an IANA timezone name.
GET
twelve_data_eod
Fetch the end-of-day close price for a specific instrument.

/eod

10 parameters
ParamTypeRequiredDescription
symbolstringoptionalThe symbol ticker of the instrument.
figistringoptionalThe Financial Instrument Global Identifier (FIGI) of the instrument.
isinstringoptionalThe International Securities Identification Number (ISIN) of the instrument.
cusipstringoptionalThe CUSIP identifier of the instrument to request.
exchangestringoptionalThe exchange where the instrument is traded.
micCodestringoptionalThe Market Identifier Code (MIC) under ISO 10383.
countrystringoptionalThe country where the instrument is traded, using a country name or alpha code.
typestringoptionalThe asset class of the instrument.
prepostbooleanoptionalWhether to include pre-market and post-market data when supported.
dpintegeroptionalThe number of decimal places for floating values.
GET
twelve_data_time_series
Fetch historical OHLCV time-series data with metadata for a specific instrument and interval.

/time_series

19 parameters
ParamTypeRequiredDescription
symbolstringoptionalThe symbol ticker of the instrument.
figistringoptionalThe Financial Instrument Global Identifier (FIGI) of the instrument.
isinstringoptionalThe International Securities Identification Number (ISIN) of the instrument.
cusipstringoptionalThe CUSIP identifier of the instrument to request.
exchangestringoptionalThe exchange where the instrument is traded.
micCodestringoptionalThe Market Identifier Code (MIC) under ISO 10383.
countrystringoptionalThe country where the instrument is traded, using a country name or alpha code.
typestringoptionalThe asset class of the instrument.
intervalstringrequiredThe interval between two consecutive time-series points.
outputSizeintegeroptionalThe maximum number of time-series points to return.
prepostbooleanoptionalWhether to include pre-market and post-market data when supported.
dpintegeroptionalThe number of decimal places for floating values.
orderstringoptionalThe sorting order of the output.
timezonestringoptionalThe output timezone, such as Exchange, UTC, or an IANA timezone name.
datestringoptionalAn exact date or a human-readable value such as today or yesterday.
startDatestringoptionalThe starting date or datetime for the historical selection window.
endDatestringoptionalThe ending date or datetime for the historical selection window.
previousClosebooleanoptionalWhether to include the previous bar close price in each returned value.
adjuststringoptionalThe adjusting mode for prices.
GET
twelve_data_stocks
List stock symbols and metadata from the Twelve Data stock catalog with optional filters.

/stocks

11 parameters
ParamTypeRequiredDescription
symbolstringoptionalThe symbol ticker of the instrument.
figistringoptionalThe Financial Instrument Global Identifier (FIGI) of the instrument.
isinstringoptionalThe International Securities Identification Number (ISIN) of the instrument.
cusipstringoptionalThe CUSIP identifier of the instrument to request.
exchangestringoptionalThe exchange where the instrument is traded.
micCodestringoptionalThe Market Identifier Code (MIC) under ISO 10383.
countrystringoptionalThe country where the instrument is traded, using a country name or alpha code.
typestringoptionalThe asset class of the instrument.
cikstringoptionalThe CIK identifier of the instrument.
showPlanbooleanoptionalWhether to include plan availability metadata for each stock.
includeDelistedbooleanoptionalWhether to include delisted identifiers.
GET
twelve_data_forex_pairs
List available forex pairs with base and quote currency metadata.

/forex_pairs

3 parameters
ParamTypeRequiredDescription
symbolstringoptionalThe forex pair symbol to filter by.
currencyBasestringoptionalThe base currency code to filter by.
currencyQuotestringoptionalThe quote currency code to filter by.
GET
twelve_data_exchanges
List equity exchanges and their timezone and access metadata.

/exchanges

5 parameters
ParamTypeRequiredDescription
typestringoptionalThe asset class to filter exchanges by.
namestringoptionalThe exchange name to filter by.
codestringoptionalThe Market Identifier Code (MIC) to filter by.
countrystringoptionalThe country name or alpha code to filter exchanges by.
showPlanbooleanoptionalWhether to include plan availability metadata for each exchange.
GET
twelve_data_market_state
List the current open or closed state of exchanges together with timing data.

/market_state

3 parameters
ParamTypeRequiredDescription
exchangestringoptionalThe exchange name to filter by.
codestringoptionalThe Market Identifier Code (MIC) to filter by.
countrystringoptionalThe country name or alpha code to filter exchanges by.
GET
twelve_data_earliest_timestamp
Fetch the earliest available historical timestamp for an instrument at a given interval.

/earliest_timestamp

8 parameters
ParamTypeRequiredDescription
symbolstringoptionalThe symbol ticker of the instrument.
figistringoptionalThe Financial Instrument Global Identifier (FIGI) of the instrument.
isinstringoptionalThe International Securities Identification Number (ISIN) of the instrument.
cusipstringoptionalThe CUSIP identifier of the instrument to request.
intervalstringrequiredThe interval between two consecutive time-series points.
exchangestringoptionalThe exchange where the instrument is traded.
micCodestringoptionalThe Market Identifier Code (MIC) of the exchange.
timezonestringoptionalThe output timezone, such as Exchange, UTC, or an IANA timezone name.
GET
twelve_data_profile
Fetch the company profile for an instrument, including sector and contact fields.

/profile

7 parameters
ParamTypeRequiredDescription
symbolstringoptionalThe symbol ticker of the instrument.
figistringoptionalThe Financial Instrument Global Identifier (FIGI) of the instrument.
isinstringoptionalThe International Securities Identification Number (ISIN) of the instrument.
cusipstringoptionalThe CUSIP identifier of the instrument to request.
exchangestringoptionalThe exchange where the instrument is traded.
micCodestringoptionalThe Market Identifier Code (MIC) of the exchange.
countrystringoptionalThe country where the instrument is traded, using a country name or alpha code.
GET
twelve_data_market_movers
Fetch the top gaining or losing instruments for a market family such as stocks, forex, or crypto.

/market_movers/{market}

6 parameters
ParamTypeRequiredDescription
marketstringrequiredThe market family, such as stocks, forex, or crypto.
directionstringoptionalThe direction of the snapshot, such as gainers or losers.
outputSizeintegeroptionalThe number of market mover rows to return.
countrystringoptionalThe country name or alpha code, applicable to non-currency markets.
priceGreaterThannumberoptionalA minimum last price threshold for returned instruments.
dpintegeroptionalThe number of decimal places for floating values.