twelwdata
Twelwdata
Type:
twelwdata
• Category:flow
Description
Twelve Data provides access to over 100,000 financial symbols from various markets, including stocks, forex, cryptocurrencies, ETFs, and commodities. This allows you to obtain data from more than 250 exchanges worldwide.
Parameters
Name | Type | Description | Required | Default |
---|---|---|---|---|
symbol | string | Example NVDA | no | |
date_from | date | Example date | no | "2025-01-01" |
date_to | date | Example date | no | "2099-01-01" |
interval | string | Interval | no | "1h" |
type | string | Type of the data to fetch | no | "price" |
exchange | string | Exchange, Example NASDAQ | no | |
country | string | Country, Example USA | no | |
period | string | Period for financial data | no | "annual" |
outputsize | number | Output size | no | 100 |
expiration_date | date | Expiration date for options | no | |
option_id | string | Option ID | no | |
side | string | Option side | no |
Help
Overview
This worker retrieves a wide range of financial data from Twelve Data based on the parameters supplied at runtime. It dynamically builds the request, selects the appropriate API endpoint (price series, company profile, dividends, earnings, etc.), and returns the raw JSON response. The design allows callers to request only the data they need while keeping the implementation concise and adaptable.
Input Parameters
Name | Type | Default | Required | Description |
---|---|---|---|---|
symbol | string | – | Yes | Ticker symbol to query (e.g., NVDA ). |
date_from | date | 2025-01-01 | No | Start date for time‑series or period‑based queries. |
date_to | date | 2099-01-01 | No | End date for time‑series or period‑based queries. |
interval | string | 1h | No | Granularity of the time‑series data (e.g., 1h , 1d ). |
type | string | price | No | Category of data to fetch (price , profile , dividends , splits , earnings , earnings_calendar , ipo_calendar , statistics , insider_transactions , income_statement , balance_sheet , cash_flow , options_expiration , …). |
exchange | string | – | No | Exchange where the symbol is listed (e.g., NASDAQ ). |
country | string | – | No | Country of the exchange (e.g., USA ). |
period | string | annual | No | Reporting period for financial statements (annual , quarterly ). |
outputsize | number | 100 | No | Maximum number of records to return for list‑type endpoints. |
expiration_date | date | – | No | Expiration date for option‑related queries. |
option_id | string | – | No | Identifier of a specific option contract. |
side | string | – | No | Option side (call or put ). |