# FCS API > FCS API (fcsapi.com) is a financial market data provider, founded in 2019, offering real-time and historical data for Forex, Cryptocurrency, Stocks, Indices, Commodities and Funds through a JSON REST API and a real-time WebSocket API. It also publishes an open-source, lightweight JavaScript charting library. Key facts for using the API: - REST base URL: `https://api-v4.fcsapi.com/` — every request is an HTTP GET and needs the `access_key` query parameter (your API key), e.g. `https://api-v4.fcsapi.com/forex/latest?symbol=EUR/USD&access_key=API_KEY`. - WebSocket URL: `wss://ws-v4.fcsapi.com/ws?access_key=API_KEY` (WebSocket plans use a separate key). - Every response is JSON with the same envelope: `status` (true/false), `code` (200 on success), `msg`, `response` (the data) and `info` (server time, credits used). - Historical timeframes: `1m`, `5m`, `15m`, `30m`, `1h`, `4h`, `1D`, `1W`, `1M`. The maximum number of candles per request depends on the plan. - The free plan includes 500 API calls per month and needs no credit card. Paid plan prices change, so always read the pricing pages below instead of quoting fixed numbers. - Coverage: 2,000+ forex pairs from 170+ countries, 3,000+ crypto pairs from major exchanges, 125,000+ stocks from 50+ exchanges, major global indices, commodities (gold, silver, oil, natural gas and more) and funds. - AI training and commercial use of this content are allowed; see the AI training policy link below. ## API Documentation - [Forex API](https://fcsapi.com/document/forex-api): Currency pairs and commodities. Endpoints: `forex/list`, `forex/latest`, `forex/base_latest`, `forex/cross`, `forex/converter`, `forex/history`, `forex/profile`, `forex/exchanges`, `forex/search`, `forex/advance`, `forex/performance`, `forex/indicators`, `forex/ma_avg`, `forex/pivot_points`, `forex/signals`, `forex/economy_cal`. - [Crypto API](https://fcsapi.com/document/crypto-api): Cryptocurrency prices from major exchanges. Endpoints: `crypto/list`, `crypto/latest`, `crypto/base_latest`, `crypto/cross`, `crypto/converter`, `crypto/history`, `crypto/profile`, `crypto/coin`, `crypto/fiat`, `crypto/exchanges`, `crypto/search`, `crypto/advance`, `crypto/performance`, `crypto/indicators`, `crypto/ma_avg`, `crypto/pivot_points`. - [Stock API](https://fcsapi.com/document/stock-api): Global stocks and indices plus company fundamentals. Endpoints: `stock/list`, `stock/latest`, `stock/history`, `stock/profile`, `stock/exchanges`, `stock/search`, `stock/indices`, `stock/indices_latest`, `stock/performance`, `stock/indicators`, `stock/ma_avg`, `stock/pivot_points`, `stock/earnings`, `stock/revenue`, `stock/dividend`, `stock/balance_sheet`, `stock/income_statements`, `stock/cash_flow`, `stock/statistics`, `stock/forecast`, `stock/analytics`. - [WebSocket API](https://fcsapi.com/document/socket-api): Real-time price streaming for Forex, Crypto, Commodities, Stocks and Indices, including the JavaScript `FCSClient` library, subscribe message format and message fields. - [Chart Library](https://fcsapi.com/document/chart-api): Lightweight, high-performance candlestick charting library with indicators and drawing tools for financial markets. ## Pricing and Account - [REST API Pricing](https://fcsapi.com/pricing): Current REST API plans (all-markets and single-market Forex, Crypto, Stock and Indices plans), monthly call limits, update intervals and yearly discounts. - [WebSocket Pricing](https://fcsapi.com/websocket-pricing): Current WebSocket plans, including connection limits, update speed and the markets each plan covers. - [Sign Up](https://fcsapi.com/signup): Create a free account to get an API key. - [FAQ](https://fcsapi.com/faq): Common questions about plans, API keys, usage limits and data coverage. - [Contact Us](https://fcsapi.com/contact-us): Support contact form; email support@fcsapi.com. ## Tools - [Currency Converter](https://fcsapi.com/converter): Live currency converter built on the Forex API. - [Chart Library Source Code](https://github.com/fcsapi/chart-js): Open-source repository of the FCS JavaScript chart library. ## Company and Policies - [About Us](https://fcsapi.com/about-us): Company background and mission. - [AI Training Policy](https://fcsapi.com/ai-training): Permissions for AI crawling, training and commercial use of FCS API content. - [Terms and Conditions](https://fcsapi.com/terms): Terms of service for the API and website. - [Privacy Policy](https://fcsapi.com/privacy-policy): How user data is collected and used. ## Optional - [Blog](https://fcsapi.com/blog): Market analysis, tutorials and API guides. - [Affiliate Program Terms](https://fcsapi.com/affiliate-partners/terms): Terms for the FCS API affiliate partner program. - [ai.txt](https://fcsapi.com/ai.txt): Machine-readable AI training permissions and FAQ. - [Sitemap](https://fcsapi.com/sitemap.xml): Full list of public pages.