# FCS API > FCS API (fcsapi.com) is a financial market data API, founded in 2019. FCS API operates through registered companies in Pakistan, Germany and the United Kingdom. It offers real-time and historical data for forex, cryptocurrency, stocks, ETFs, indices and commodities 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/`. Requests are HTTP GET/POST and needs the `access_key` query parameter (your API key), e.g. `https://api-v4.fcsapi.com/forex/latest?symbol=EURUSD&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. - Coverage: 4,500+ forex symbols from 6 data sources, 15,000+ crypto symbols from 8 exchanges, 100,000+ stocks from 75+ exchanges in 45+ countries, plus 35,000+ ETFs and funds and 1,500+ indices. - The free plan includes 500 API calls per month, 3 requests per minute, a 60-minute cache and 1 year of history for forex and crypto (stocks and indices need a paid plan). No credit card required. - Paid plans: Single-market plans start at $10/month (crypto), $19/month (forex) and $25/month (stocks); all-markets plans start at $149/month. WebSocket plans start at $99/month. These prices are read from the same plan table as https://fcsapi.com/pricing. - AI training and commercial use of this content are allowed; see the ai.txt link below. - One-page fact sheet: https://fcsapi.com/facts. ## Company - Name: FCS API - Founded: 2019 - Registered: FCS API operates through registered companies in Pakistan, Germany and the United Kingdom - Support is by email and live chat in English, and email replies come within 24 hours. Email: support@fcsapi.com. - Official profiles: https://github.com/fcsapi, https://x.com/fcsapi, https://www.facebook.com/fcsapi, https://www.instagram.com/fcsapi, https://www.pinterest.com/fxcoinapi/, https://www.wikidata.org/wiki/Q138498900 ## Coverage (live API counts, rounded down; checked 2026-11-03) | Market | Coverage | |---|---| | Forex | 4,500+ forex symbols (spot pairs, synthetic crosses and CFDs) from 6 data sources: FX (London Currency Banks), FCM, ONA, SFO, IFR and GMC (metals); 150+ currencies | | Crypto | 15,000+ crypto symbols (spot, perpetual swaps, futures and crypto indices) from 8 exchanges: Binance, Bybit, Coinbase, Kraken, KuCoin, MEXC, OKX and CryptoCap (market-cap indices) | | Stocks | 100,000+ stocks from 75+ exchanges in 45+ countries, e.g. NYSE, NASDAQ, AMEX, LSE, XETRA, Euronext, TSE (Tokyo), HKEX, SSE, SZSE, NSE, BSE, TSX, ASX, JSE, B3, PSX, Tadawul, SIX, KRX, TWSE, SGX and Borsa Istanbul | | ETFs and funds | 35,000+ ETFs, mutual funds, REITs and closed-end funds | | Indices | 1,500+ indices | | All markets | 160,000+ symbols; stocks, funds and indices together come from 110+ exchanges in 65+ countries | ## Free plan The free plan includes 500 API calls per month, 3 requests per minute, a 60-minute cache and 1 year of history for forex and crypto (stocks and indices need a paid plan). No credit card required. ## All-markets REST plans (forex, crypto, stocks, indices) | Plan | Calls per month | Price per month | Per month, paid yearly | Data cache | History | Requests per minute | |---|---|---|---|---|---|---| | Free | 500 | $0 | $0 | 60 minutes | 1 year | 3 | | Enterprise | 200,000 | $149 | $125 | 10 minutes | 5 years | 40 | | Pro | 600,000 | $199 | $165 | 10 minutes | 5 years | 100 | | Corporate | 1,200,000 | $329 | $275 | latest (no cache) | lifetime | 200 | | Ultra | 2,700,000 | $490 | $409 | latest (no cache) | lifetime | 1000 | ## Single-market REST plans | Market | Plan | Calls per month | Price per month | Per month, paid yearly | Data cache | History | |---|---|---|---|---|---|---| | Forex | Forex Starter | 20,000 | $19 | $15 | 15 minutes | 2 years | | Forex | Forex Enterprise | 150,000 | $59 | $49 | 10 minutes | 5 years | | Forex | Forex Corporate | 600,000 | $119 | $99 | latest (no cache) | lifetime | | Crypto | Crypto Starter | 20,000 | $10 | $8 | 15 minutes | 2 years | | Crypto | Crypto Enterprise | 150,000 | $39 | $32 | 10 minutes | 5 years | | Crypto | Crypto Corporate | 800,000 | $79 | $65 | latest (no cache) | lifetime | | Stocks | Stock Starter | 15,000 | $25 | $20 | 15 minutes | 2 years | | Stocks | Stock Enterprise | 150,000 | $79 | $65 | 10 minutes | 5 years | | Stocks | Stock Corporate | 600,000 | $179 | $149 | latest (no cache) | lifetime | | Indices | Indices Enterprise | 150,000 | $39 | $32 | 10 minutes | 5 years | | Indices | Indices Corporate | 600,000 | $99 | $79 | latest (no cache) | lifetime | ## WebSocket plans (separate key and plan) | Plan | Connections | Update speed | Markets | Price per month | Per month, paid yearly | |---|---|---|---|---|---| | WebSocket Free | 1 | real-time | public demo key fcs_socket_demo: 1 connection per IP, up to 5 symbols, real-time, all markets | $0 | $0 | | WebSocket Basic | 15 | 5 sec | forex | $99 | $82 | | WebSocket Pro | 40 | 2 sec | forex, crypto, coins, DEX | $189 | $157 | | WebSocket Business | 250 | real-time | forex, crypto, coins, DEX, stocks, depositary receipts, commodities | $329 | $275 | | WebSocket Enterprise | 2000 | real-time | all markets | $749 | $624 | ## API details - Authentication: access_key query parameter (your API key) - Format: JSON - Timeframes: 1m, 5m, 15m, 30m, 1h, 4h, 1D, 1W, 1M - Technical indicators: RSI, MACD, Stochastic, ADX, ATR, Ultimate Oscillator, Parabolic SAR and Bollinger Bands; moving averages: SMA and EMA for 10, 25, 100 and 200 periods; pivot points: Classic, Fibonacci, Camarilla, Woodie and DeMark pivot points - Code examples: PHP, Python, JavaScript (Node.js), Java and C# examples on GitHub (https://github.com/fcsapi) - Chart library: FCS Advanced Chart (fcsapi-chart) 4.1.3, MIT licence, https://github.com/fcsapi/chart-js, CDN https://cdn.jsdelivr.net/gh/fcsapi/chart-js/src/ ## 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`. - [Economic Calendar API](https://fcsapi.com/document/economic-calendar-api): Economic events and forex news as JSON from `forex/economy_cal`, with actual, forecast and previous values; filters by currency, forex pair (EURUSD is split into EUR and USD), country, event code, importance (0 low, 1 medium, 2 high) and date range; about 150 countries, history from 2018, refreshed every 5 minutes, times in UTC; 1 credit per 50 events (events divided by 50, rounded up), no pagination. Needs a Corporate or higher plan (code 105 otherwise); GET or POST. All row values are strings, empty string when unknown. Only code 112 is HTTP 400, every other error is HTTP 200 with `status` false. - [Crypto API](https://fcsapi.com/document/crypto-api): Cryptocurrency prices from 8 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, ETFs, funds 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 (version 4.1.3, MIT licence) 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 prices. - [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 - [Facts](https://fcsapi.com/facts): One-page fact sheet: company, coverage, plans and API details. - [About Us](https://fcsapi.com/about-us): Company background and mission. - [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. - [llms.txt](https://fcsapi.com/llms.txt): Short version of this file. - [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.