# TwelveData API reference documentation ## API sections - [Introduction](https://twelvedata.com/docs/llms/introduction.md) - [Market data](https://twelvedata.com/docs/llms/market-data.md) Access real-time and historical market prices—time series and exchange rates—for equities, forex, cryptocurrencies, ETFs, and more. These endpoints form the foundation for any trading or data-driven application. - [Reference data](https://twelvedata.com/docs/llms/reference-data.md) Lookup static metadata—symbol lists, exchange details, currency information-to filter, validate, and contextualize your core data calls. Ideal for building dropdowns, mappings, and ensuring data consistency. - [Fundamentals](https://twelvedata.com/docs/llms/fundamentals.md) In-depth company and fund financials—income statements, balance sheets, cash flows, profiles, corporate events, and key ratios. Unlock comprehensive datasets for valuation, screening, and fundamental research. - [Currencies](https://twelvedata.com/docs/llms/currencies.md) - [ETFs](https://twelvedata.com/docs/llms/etfs.md) ETF-focused metadata and analytics: universe lists, family and type groupings, NAV snapshots, performance metrics, risk measures, and current fund composition. Tailored to the unique characteristics and reporting cadence of exchange-traded funds. - [Mutual funds](https://twelvedata.com/docs/llms/mutual-funds.md) Mutual-fund-specific listings and snapshots: fund directories, issuer families, fund types, NAV history, dividend records, key ratios, and portfolio holdings. Ideal for long-term performance analysis and portfolio attribution. - [Technical indicators](https://twelvedata.com/docs/llms/technical-indicators.md) On-demand calculation of popular indicators (SMA, EMA, RSI, MACD, Bollinger Bands, etc.) over any supported time series. Streamline chart overlays, signal generation, and backtesting without external libraries. - [Analysis](https://twelvedata.com/docs/llms/analysis.md) Forward-looking and consensus analytics—earnings and revenue estimates, EPS trends and revisions, growth projections, analyst recommendations and ratings, price targets, and other consensus metrics. Perfect for incorporating expert forecasts and sentiment into your models and dashboards. - [Regulatory](https://twelvedata.com/docs/llms/regulatory.md) Compliance and filings data: insider transactions, SEC reports, governance documents, and more. Critical for audit trails, due-diligence workflows, and risk-management integrations. - [Advanced](https://twelvedata.com/docs/llms/advanced.md) High-throughput and management endpoints for power users—submit and monitor batch jobs to pull large datasets asynchronously, track your API usage and quotas programmatically, and access other developer-focused tools for automating and scaling your data workflows. ## WebSocket WebSocket will automatically send the data to you once a new piece of data is available on the exchange. In the beginning, you need to establish a connection between the server and the client. Then all data is controlled by sending event messages to the server. WebSocket is opposed to the API, where the data has to be explicitly requested from the server. - [Overview](https://twelvedata.com/docs/llms/websocket/ws-overview.md) - [Real-time price](https://twelvedata.com/docs/llms/websocket/ws-real-time-price.md) ## Artificial Intelligence - [Data Assistant](https://twelvedata.com/docs/llms/ai/ai-data-assistant.md) - [MCP server](https://twelvedata.com/docs/llms/ai/ai-mcp-server.md)