FCS Stock API
Powered by 80+ premium data sources, the FCS Stock API delivers real-time stock market data for 30+ countries and over 25,000 stocks. Access live prices, historical data, technical indicators, and comprehensive financial metrics including income statements, cash flow, earnings reports, and balance sheets. Our stock API provides institutional-grade data with updates every 1-2 minutes via REST API and real-time streaming via WebSocket. Perfect for trading platforms, portfolio management, market analysis, and financial applications.
API Request Credit UsageAll API endpoints count 1 credit per URL request, except the Latest API which counts 1 credit per 100 records returned. With the Basic Plan, users can make up to 10,000 API requests per month.
Start with our Quick Start Guide to get up and running in minutes.
- Only the Latest Price API counts 1 credit per 100 records returned.
- Credits are only counted when the response code is 200 and data is returned.
- API requests that return errors or empty responses do not count towards your usage.
- Log in to your dashboard to monitor your API usage.
- Credits reset each month on your billing date.
- Use bulk requests (multiple symbols) to optimize credit usage.
- Cache responses for non-critical applications to reduce API calls.
- Handle rate limits gracefully with exponential backoff.
- Always check the status field before processing data.
- Send API requests using the POST method for better security.
Get Started
The FCS Stock API is designed for fast and easy integration with any programming language. Make HTTP requests to our API endpoints and receive responses in standard JSON format. Compatible with JavaScript (Ajax/Fetch), PHP (cURL or file_get_contents), Python (requests), Java/Android (HttpURLConnection), C# (HttpClient), Node.js (axios), and command-line tools like cURL.
Get up and running with the FCS Stock API in just 3 simple steps. Our API provides real-time and historical stock data for 25,000+ stocks from 30+ countries.
Step 1: Get Your API Key
Sign up for a free account and get your API key instantly. No credit card required for testing - start with 500 free requests per month.
Step 2: Make Your First Request
Test the API with a simple GET request to fetch the latest Apple stock price:
Step 3: Integrate & Build
Use the response data in your application. All responses are in JSON format with consistent structure across all endpoints.
After registration, find your API key in the dashboard under "API Keys" section. Keep it secure and never expose it in client-side code.
Parameters List
| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY |
| This is a required parameter for all API requests. It's your unique access key used to authenticate and authorize your request. You can find your API key in your dashboard after registration. Alternative Authentication: If you have a static IP address, you can whitelist it in your Account → Profile → IP Whitelist section to make requests without the access_key parameter. | ||
| symboloptional | string | Stock ticker symbols (comma-separated for multiple) |
| Specify which stock symbols you want data for. You can request single or multiple symbols in one API call. Formats Supported: • Standard: AAPL, MSFT, TSLA • Multiple symbols: AAPL,MSFT,TSLA Finding Valid Symbols: Use our Stock List API to get all available symbols for your data. | ||
| typeoptional | string | Data type filter: stock,index,fund,structured,dr |
| Filter results by specific asset type. When you want data for a specific type of financial instrument, use this parameter to narrow down results. Default: stock Valid Values: stock, index, fund, structured, dr Example: If you set type=stock, the API will only return stock symbols. If type=index, only index symbols will be returned. Use Case: Perfect for applications that focus on specific markets or when you want to avoid mixing different asset types in your results. | ||
| sub_typeoptional | string | Default:spot, Filter: spot, main, cfd, common, preferred |
| This parameter allows you to filter stock listings by their sub-type, such as common or preferred shares. It's useful when you want to focus on a specific class of stock. Default: null (returns all sub-types) Valid Values: spot, main, cfd, common, preferred Example: Setting sub_type=common will return only common stocks, while sub_type=preferred will return only preferred stocks. Use Case: Ideal for investors or analysts who want to analyze performance or characteristics of a specific stock class without interference from other types. | ||
| countryoptional | string | Filter by country name |
| This parameter is required when using the "All Stocks list" API. It determines which country's stock market data you want to retrieve. The API supports 30+ different countries worldwide. Default: none Valid values: brazil, canada, china, denmark, finland, france, germany, hong-kong, india, indonesia, ireland, japan, malaysia, mexico, netherlands, pakistan, philippines, russia, saudi-arabia, singapore, south-africa, south-korea, spain, sweden, switzerland, thailand, turkey, united-arab-emirates, united-kingdom, united-states Note: You can set 1 or more country names by comma-separated (e.g., "united-states,canada,japan") | ||
| indicesoptional | string | Filter by stock market index IDs |
| Use this parameter when you need all stocks or components from a specific stock market index (like S&P 500, FTSE 100, etc.). Instead of retrieving stocks by country, you can get all stocks that are part of a particular index. Default: none Valid values: any valid indices id as shown in "Indices" API Note: You can set 1 or more indices id by comma-separated (e.g., "1,14,32"). If "Country" parameter exists, "indices" will be ignored. | ||
| sectoroptional | string | Filter by market sector |
| This parameter allows you to filter stock listings by specific market sectors (such as Technology, Healthcare, Finance, etc.). This helps when you want to analyze or compare stocks within the same industry sector. Available sectors values are provided with "stock list API" response and can be retrieved from those endpoints. | ||
| exchangeoptional | string | Filter by exchange |
| This parameter lets you filter your results by specific stock exchanges (like NYSE, NASDAQ, LSE, etc.). Useful when you want to focus on stocks from particular trading venues. Available exchanges values are provided with "stock list API" response and can be found in that endpoint's data. | ||
| periodoptional | string | Default:1h, Time Period for charts and analysis |
| This crucial parameter defines the time frame or interval for price data, charts, and technical indicators. It determines whether you want minute-by-minute data, hourly data, daily data, etc. Default: 1h Valid Values: 1m, 5m, 15m, 30m, 1h, 2h, 4h, 5h, 1d, 1w, month Alternate values: 1, 5, 15, 30, 60, 120, 240, 300, 1440, 10080, 43200 Data Availability: Shorter timeframes have limited historical depth, while daily and higher timeframes go back several years. | ||
| fromoptional | string | Start date/time for historical data |
| This parameter sets the start date for historical data queries. When you need historical price data or other time-series information, use this to define the beginning of your date range. Default: none Valid format 1: YYYY-MM-DD E.g: 2018-01-01 Valid format 2: Unix timestamp format E.g: 1661990400 Valid format 3: YYYY-MM-DDTHour:Min E.g: 2018-01-01T12:30 Note: When you do not set FROM and TO parameters, the system will return the latest 300 candles by default. | ||
| tooptional | string | End date/time for historical data |
| This parameter sets the end date for historical data queries. It works in conjunction with the "from" parameter to define the complete time range for which you want historical data. Same format options as "from" parameter Note: When you do not set FROM and TO parameters, the system will return the latest results by default. | ||
| durationoptional | string | Default: Both, (annual/interim/both) Financial reporting period type |
| This parameter specifies the reporting period type for financial data. It determines whether you want annual financial reports or interim (quarterly) financial reports. Default: both Valid values: annual, interim, both | ||
| get_profileoptional | boolean | 0|1 (return symbols extra details) |
| Controls whether to include detailed profile information about each financial instrument in the API response. Default: 0 Valid Values: 0, 1 Profile Information Includes: • Full instrument name • Country/region information • Asset type classification • Trading specifications • Decimal precision Performance Tip: Set to false if you only need price data to reduce response size and improve speed, especially for bulk requests. | ||
| filtersoptional | json | Advanced filtering using JSON object |
| Advanced JSON object for range-based filtering. Format: {"column_operator": value}. Operators:
{"active.c_gt":100,"active.chp_between":"5,10"} → Stocks with price > 100 and change % between 5–10 {"profile.country_eq":"US"} → Only U.S. stocks Response also includes "filters" → {"applied": {...}, "ignored": [...]} for debugging. | ||
| sort_byoptional | string | Sort results by specific field or metric |
| Defines how the returned results should be ordered. Use this parameter to sort by price, market cap, volume, change percentage, or other available numeric fields. Default: symbol (alphabetical) Valid values: symbol, name, price, change, market_cap, volume, country Order modifier: append _desc or _asc to control direction. Examples: sort_by=price_desc → Sorts results by highest price first sort_by=market_cap_asc → Sorts by smallest market cap first Use Case: Ideal when building leaderboards, performance tables, or ranked lists of stocks and indices. | ||
| mergeoptional | string | Comma-separated list of APIs to merge into one response |
| Comma-separated list of APIs to merge into one response. Supported: latest, perf, tech, profile, meta, earnings. Example: merge=latest,perf,tech merges three APIs for full stock overview. Each merge adds +1 credit per 200 records. | ||
| pageoptional | number | Pagination page number |
| Pagination page number (default: 1) | ||
| per_pageoptional | number | Number of records per page |
| Number of records per page. Default: 200 | Max: 5000 | ||
| searchoptional | string | Search within company names or symbols |
| Search within company names or symbols. Accepts partial matches. Note: Use either `search` OR `symbol`, not both. | ||
| outputoptional | string | Response format type |
| Specifies the format of the API response. Choose the format that best fits your application's needs. Default: json Available Formats: • json - Standard JSON format (recommended) • jsonp - JSON with padding for cross-domain requests • xml - XML format for legacy systems • csv - Comma-separated values for data analysis • array - PHP serialized array | ||
| filteroptional | string | Filter response fields by comma-separated keys |
| This parameter allows you to limit which fields are returned in the API response. It’s helpful when you only need specific fields, improving performance and reducing data size. Default: none (returns all fields) Valid values: any valid response field (e.g., price, volume, name, exchange) Example: filter=symbol,name,price,changeThis will return only those four fields for each record. Performance Tip: Use filters when working with large datasets to minimize bandwidth usage and parsing time. | ||
Exchange Coverage & Data Sources
Our Stock API aggregates market data from 50+ global exchanges across 30+ countries, providing access to over 130,000 listed stocks and 500+ market indices. View real-time coverage statistics and exchange details to choose the best data sources for your trading or analytics applications.
Green dot (●) indicates exchanges with real-time streaming support. Use the filters to find exchanges that match your requirements.
• Total Symbols: Number of symbols we support for that specific exchange.
• Is Primary: Number of symbols with primary data source.
• JSON API: Number of symbols available in the HTTP JSON API.
Parameters
Advance API Builder| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY more |
| typeoptional | string | Data type filter: stock,index,fund,structured,drmore |
| sub_typeoptional | string | Default:spot, Filter: spot, main, cfd, common, preferredmore |
| outputoptional | string | Response format type more |
Exchange Report Examples
Response Format
Response Fields
by_type- Summary statistics by data typeby_exchange- Detailed breakdown per exchangetotal_symbols- Total number of symbols availablesocket_support_yes- Symbols with WebSocket+JSON supportsocket_support_no- Standard symbols use in JSON APIno_of_exchanges- Total number of exchanges
- Real-time Data: WebSocket-supported exchanges provide instant price updates.
- Global Coverage: 50+ exchanges across different regions and time zones.
- Quality Assurance: All data sources are institutional-grade providers.
- Redundancy: Multiple data sources ensure high availability.
- Specialized Markets: Regional exchanges offer unique stock listings and market access.
Stock Index List
Retrieve a complete list of supported stock market indices for any country. Use the returned index IDs with the Stock List API to get all stocks within a specific index. Simply provide a country name to get all available indices for that market.
Access a comprehensive list of market indices from major economies. Use the returned index IDs to filter stocks belonging to specific indices like S&P 500, NASDAQ 100, FTSE 100, Nikkei 225, and more.
Parameters
Advance API Builder| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY more |
| country*required | string | Country name to get indices from more |
| exchangeoptional | string | Filter by exchange more |
| outputoptional | string | Response format type more |
API EXAMPLE
Response Format
Response Fields
update_mode- Data update mode (e.g., streaming or 900 means 15minutes delayed)fractional- Indicates if fractional trading is supportedcurr_logo- URL to the country logomarket- Market region(e.g:america, japan)currency_desc- Description of the currencyminmov- Minimum price movement unit (e.g., 1 means price changes in whole units)pricescale- Price scale factor 100 means 2 decimal placesbase_currency- Base currency (if any)base_id- Base index IDexc_logo- URL to the exchange logocountry- Country code (e.g., US)
Mini Sample Response
{
"update_mode": "streaming",
"fractional": "false",
"curr_logo": "link",
"market": "america",
"currency_desc": "U.S. dollar",
"minmov": 1,
"pricescale": 100,
"base_currency": null,
"base_id": "nasdaq-100",
"exc_logo": "logo link",
"country": "US"
}All Supported Stocks List
Get all supported stocks meta information for your selected country, sector, or index. The response provides market meta details, sector, region, currency, price scale, and index memberships. Use this list to find valid stocks for other API endpoints.
Access comprehensive stock listings from 30+ countries and major exchanges worldwide. Use various filters to find exactly the stocks you need for your application.
Parameters
Advance API Builder| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY more |
| countryoptional | string | Filter by country name more |
| indicesoptional | string | Filter by stock market index IDs more |
| sectoroptional | string | Filter by market sector more |
| exchangeoptional | string | Filter by exchange more |
| outputoptional | string | Response format type more |
API EXAMPLE
Response Format
Response Fields
update_mode- Data update mode (e.g., delayed_streaming_900)fractional- Fractional trading supported (true/false)curr_logo- Country logo URLsector- Market sectorregion- Region namemarket- Market regioncurrency_desc- Currency descriptionminmov- Minimum price movementpricescale- Price scale factorindexes- Array of index memberships, means this stock is part/listed in these indices
Mini Sample Response
{
"update_mode": "delayed_streaming_900",
"fractional": "false",
"curr_logo": "https:fcsapi.com/assets/logos/country/US.svg",
"sector": "Electronic Technology",
"region": "United States",
"market": "america",
"currency_desc": "U.S. dollar",
"minmov": 1,
"pricescale": 100,
"indexes": [
{
"name": "S&P 500",
"proname": "SP:SPX"
},
{
"name": "NASDAQ 100",
"proname": "NASDAQ:NDX"
},
{
"name": "Dow Jones Industrial Average",
"proname": "DJ:DJI"
}
]
}Stock Profile Details
Retrieve detailed company profile information for one or more stocks using their symbol or ID. The response includes key details such as sector, industry, employee count, ISIN codes, headquarters location, and more. This data is essential for fundamental analysis and due diligence.
Access comprehensive company profiles for thousands of stocks. Get insights into business descriptions, industry classifications, employee counts, founding years, and headquarters locations to inform your investment decisions.
Parameters
Advance API Builder| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY more |
| symboloptional | string | Stock ticker symbols (comma-separated for multiple) more |
| outputoptional | string | Response format type more |
API EXAMPLE
Response Format
Response Fields
description- Company descriptioncountry_code- Country code (e.g., US)isin- International Securities Numbertimezone- Exchange timezonetotal_employees- Total number of employeesfounded- Year foundedheadquarters- Headquarters locationregion- Region namesector- Market sectorindustry- Industry typetrading_hours- Object containing trading hours for regular and extended sessionsspecial_days- special market time in specific dates (e.g., holidays, half-days)
Mini Sample Response
{
"description": "Apple Inc. engages in ...",
"country_code": "US",
"isin": "US0378331005",
"timezone": "America/New_York",
"total_employees": 164000,
"founded": 1976,
"headquarters": "Cupertino",
"region": "CA",
"sector": "Electronic Technology",
"industry": "Telecommunications Equipment",
"trading_hours": {
"regular": {
"description": "Regular Trading Hours"
},
"extended": {
"description": "Extended Trading Hours"
}
}
}Stock Latest Price API
Access real-time and delayed stock price data for global markets with the FCS Stock API. Receive the latest open, high, low, close, volume, and percentage change for one or multiple stocks. JSON API updates every 1-2 minutes, while socket API delivers live streaming prices. For select stocks, price updates may be delayed up to 15 minutes due to exchange regulations. Ideal for financial dashboards, portfolio management, and market analysis applications.
Get stock prices updated every 1-2 minutes via JSON API and instantly with socket API. Some exchanges enforce up to 15-minute delays for specific stocks. Ensure your application delivers accurate, timely market data for users and search engines.
Parameters
Advance API Builder| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY more |
| symboloptional | string | Stock ticker symbols (comma-separated for multiple) more |
| indicesoptional | string | Filter by stock market index IDs more |
| countryoptional | string | Filter by country name more |
| sectoroptional | string | Filter by market sector more |
| exchangeoptional | string | Filter by exchange more |
| get_profileoptional | boolean | 0|1 (return symbols extra details) more |
| outputoptional | string | Response format type more |
API EXAMPLE
If you specify exchange with symbol (e.g: NASDAQ:AAPL), system will search in that exchange only and return the best match.
Response Format
Response Fields
active/pervious- candle nameo- Market open priceh- Market high pricel- Market low pricec- Market close/current pricev- Market volumet- Last update time (Unix timestamp)vw- Volume weighted average pricetm- Last update time (human readable)ch- Change amountchp- Change percentagesymbol- Stock ticker symbolexchange- Stock exchange namecurrency- Trading currencyname- Company full nametype- Type of security (stock, index, etc.)sub_type- Subtype (common, preferred, etc.)curr_logo- Country logo pathexc_logo- Exchange logo path
Mini Sample Response
{
"active": {
"o": 256.805,
"h": 257.4,
"l": 255.43,
"c": 256.48,
"v": 31955689,
"t": 1759843800,
"vw": 256.437,
"tm": "2025-10-07 13:30:00",
"ch": -0.325,
"chp": -0.127
},
"profile": {
"symbol": "AAPL",
"exchange": "NASDAQ",
"currency": "USD",
"name": "Apple Inc.",
"type": "stock",
"sub_type": "common",
"curr_logo": "country/US",
"exc_logo": "exchange/nasdaq"
}
}- Use bulk requests for multiple stocks to optimize API usage
- Cache latest prices for non-critical applications
- Handle market hours and weekends appropriately
- Monitor rate limits during high-frequency requests
Stock Market Indices Prices
Access the latest prices for global stock market indices with the FCS Stock API. Instantly retrieve real-time and delayed index values, including open, high, low, close, volume, and percentage change. Easily monitor major indices such as S&P 500, NASDAQ, Dow Jones, FTSE 100, and more. Our API supports bulk requests for multiple indices, enabling seamless integration into financial dashboards, trading platforms, and market analysis tools. Simply provide one or more index IDs in your API request to get comprehensive, up-to-date market data.
Get instant and delayed price updates for leading stock market indices worldwide. The FCS Stock API delivers accurate index values, change indicators, and performance metrics for S&P 500, NASDAQ, Dow Jones, FTSE 100, and more.
Parameters
Advance API Builder| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY more |
| idoptional | string | Indices IDs |
| countryoptional | string | Filter by country name more |
| outputoptional | string | Response format type more |
API EXAMPLE
Response Format
Response Fields
active/previous- candle nameo- Market open priceh- Market high pricel- Market low pricec- Market close/current pricev- Market volumet- Last update time (Unix timestamp)vw- Volume weighted average pricetm- Last update time (human readable)ch- Change amountchp- Change percentagesymbol- Stock ticker symbolexchange- Stock exchange namecurrency- Trading currencyname- Company full nametype- Type of security (stock, index, etc.)sub_type- Subtype (main,common, preferred, etc.)curr_logo- Currency logo pathexc_logo- Exchange logo pathself_logo- Self logo path
Mini Sample Response
{
"ticker": "NASDAQ:OFIN",
"update": 1759778092,
"updateTime": "2025-10-06 19:14:52",
"active": {
"o": 14952.42,
"h": 14952.84,
"l": 14719.61,
"c": 14765.46,
"v": null,
"t": 1759757400,
"vw": 14812.64,
"tm": "2025-10-06 13:30:00",
"ch": -186.96,
"chp": -1.25
},
"profile": {
"symbol": "OFIN",
"exchange": "NASDAQ",
"currency": "USD",
"name": "Nasdaq Real Estate and Other Financial Services",
"type": "index",
"sub_type": "main",
"curr_logo": "country/US",
"exc_logo": "exchange/nasdaq",
"self_logo": "index/NASDAQ:OFIN"
}
}Historical Price API
Access comprehensive historical price data for both stocks and market indices with the FCS Stock API. Easily compare current and past prices, analyze market trends, and backtest strategies using years of historical data. The same API endpoint supports both stocks and indices, allowing you to retrieve OHLCV data for any supported symbol or index. Data is available from 1995 for most assets, with flexible timeframes including intraday, daily, weekly, and monthly intervals.
Get reliable historical price data for thousands of stocks and major market indices worldwide. The FCS Stock API provides OHLCV data, flexible timeframes, and easy integration for both stocks and indices in one request.
Parameters
Advance API Builder| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY more |
| symbol*required | string | Single symbol only,(exchange_name:Symbol) E.g: NZDJPY or FCM:EURUSD more |
| periodoptional | string | Default:1h, Time Period for charts and analysis more |
| fromoptional | string | Start date/time for historical data more |
| tooptional | string | End date/time for historical data more |
| lengthoptional | number | default: 300, 1-10000, If set 500, Will return 500 candles |
| pageoptional | number | Design to use in live chart when scroll more candles on chart more |
| is_chartoptional | int | Mostly JS chart support candle data in this format, [1756893600,1.16, 1.17,1.13,1.16,0] To get similar response, set is_chart=1 |
API EXAMPLE
symbol=NASDAQ:AAPL
&from=2025-12-01
&to=2026-01-05
&period=1D
&access_key=API_KEY
symbol=NASDAQ:AAPL
&length=300&page=1
&access_key=API_KEY
Response Format
Response Fields
o- Opening priceh- Highest pricel- Lowest pricec- Closing pricev- Volumevw- Volume weighted average pricet- Unix timestamptm- Human readable time
Mini Sample Response
{
"1722519000": {
"o": 224.37,
"h": 224.48,
"l": 217.02,
"c": 218.36,
"v": 62500996,
"vw": 219.953,
"t": 1722519000,
"tm": "2024-08-01 13:30:00"
}
}- Use appropriate time periods for your use case.
- Limit date ranges to avoid large responses and slow loading times.
- Cache historical data since it does not change.
- Use the length parameter to retrieve more data in a single request.
Stock Earnings Data
Get comprehensive earnings data including EPS (Earnings Per Share) and revenue figures for stocks. Data includes both historical actuals and future estimates, organized by fiscal year (FY) and fiscal quarter (FQ).
Access detailed earnings reports with actual vs estimated EPS and revenue data. Includes quarterly and annual financial results with historical data and future projections.
Parameters
Advance API Builder| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY more |
| symboloptional | string | Stock ticker symbols (comma-separated for multiple) more |
| durationoptional | string | Default: Both, (annual/interim/both) Financial reporting period type more |
| outputoptional | string | Response format type more |
API EXAMPLE
Response Format
Response Fields
ticker- Stock ticker symbol with exchange prefixearnings- Earnings data containerearnings.fy- Fiscal year earnings dataearnings.fq- Fiscal quarter earnings dataEPS- Earnings Per Share dataRevenue- Revenue datadata- Array of earnings data pointsActual- Actual reported value (null for future estimates)Estimate- Estimated/forecasted valueFiscalPeriod- Fiscal period identifier (e.g., "2024-Q1", "2024")IsReported- Whether the data has been officially reportedType- Data type indicator (22=historical, 12=recent estimate, 10=future estimate)
- Data includes both historical actuals and analyst estimates
- EPS and Revenue data available for both quarterly and annual periods
- Use duration parameter to filter between annual, interim, or both
- Future estimates are clearly marked with IsReported:false
- Type field indicates data source (22=reported, 12=recent estimate, 10=future estimate)
- Multiple symbols can be requested in single API call
Stock Revenue Segmentation Data
Get detailed revenue breakdown by business segments and geographic regions. Includes historical data showing how revenue is distributed across different product lines and markets.
Access comprehensive revenue data segmented by business units (iPhone, Services, Mac, etc.) and geographic regions (US, Europe, China, etc.) with multi-year historical data. Response fields can be different depend on symbol
Parameters
Advance API Builder| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY more |
| symboloptional | string | Stock ticker symbols (comma-separated for multiple) more |
| outputoptional | string | Response format type more |
API EXAMPLE
Response Format
Response Fields
ticker- Stock ticker symbol with exchange prefixrevenue- Revenue data containerrevenue_seg_by_business_h- Revenue segmented by business/product linesrevenue_seg_by_region_h- Revenue segmented by geographic regionsid- Data identifiername- Data category namegroup- Data grouping (usually empty)data- Array of revenue data by yeardate- Fiscal yearsegments- Array of revenue segmentslabel- Segment name (e.g., "iPhone", "Services", "United States")value- Revenue amount in the segment (in reporting currency, usually USD)
- Data includes revenue breakdown by business segments and geographic regions
- Historical data available for multiple years
- Business segments vary by company (iPhone, Services, Mac, etc. for Apple)
- Regional data includes major markets like US, Europe, China, Japan
- Values are in the company's reporting currency (typically USD)
- Multiple symbols can be requested in single API call
Stock Forecast
Get price target forecasts and aggregated analyst estimates for a given stock. This endpoint returns high, average, median and low price targets computed from available analyst reports and internal models.
Forecasts are derived from a combination of analyst price targets and internal forecasting models. Use them for guidance only — not financial advice.
Parameters
Advance API Builder| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY more |
| symboloptional | string | Stock ticker symbols (comma-separated for multiple) more |
| outputoptional | string | Response format type more |
API EXAMPLE
Response Format
Response Fields
ticker- Full ticker with exchange prefixforecast.price_target_high- Highest price target (number)forecast.price_target_average- Average price target (number)forecast.price_target_median- Median price target (number)forecast.price_target_low- Lowest price target (number)
Mini Sample Response
{
"NASDAQ:AAPL": {
"ticker": "NASDAQ:AAPL",
"forecast": {
"price_target_high": [
{
"id": "price_target_high",
"name": "Price target high",
"group": "",
"data": 310
}
],
"price_target_average": [
{
"id": "price_target_average",
"name": "Price target average",
"group": "",
"data": 251.242927
}
],
"price_target_median": [
{
"id": "price_target_median",
"name": "Price target median",
"group": "",
"data": 250
}
],
"price_target_low": [
{
"id": "price_target_low",
"name": "Price target low",
"group": "",
"data": 180
}
]
}
}
}Stock Dividends & Yields
Retrieve current and historical dividend information — payment dates, amounts, yield percentages, and frequency — for a given stock by ID or symbol.
This endpoint returns detailed dividend payout history including ex-dividend dates, record dates, payment dates, dividend per share, dividend type, and computed yields. Use it for income analysis, dividend screening, and historical yield calculations.
Parameters
Advance API Builder| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY more |
| symboloptional | string | Stock ticker symbols (comma-separated for multiple) more |
| formatoptional | string | default plain, (plain/inherit), Plain return all data in plain array, format=inherit - return all data in nested array |
| outputoptional | string | Response format type more |
API EXAMPLE
Response Format
Response Fields
id- Stock identifiersymbol- Stock symboldata- Historical dividend datadividend_date- Ex-dividend datedividend- Dividend amount per sharetype- Dividend frequency (Quarterly, Annual, etc.)payment_date- Actual payment dateyield- Dividend yield percentagetype_short- Short frequency code (3M, 1Y, etc.)
Mini Sample Response
{
"ticker": "NASDAQ:AAPL",
"dividends": {
"dividend_payout": [
{
"ex-date": 1754913540,
"record-date": 1754913540,
"payment-date": 1755172740,
"amount": 0.26,
"type": "quarterly"
}
]
},
"fq": {
"2025-06-30": {
"dps_common_stock_prim_issue": 0.26,
"dividend_payout_ratio": 16.5848057664094
}
},
"fy": {
"2024-09-30": {
"dps_common_stock_prim_issue": 0.98,
"dividends_yield": 0.430220817419553
}
}
}- Supports multiple symbols in a single request.
- Returned fields include ex-date, payment-date, amount, type, and yield.
- Yields are calculated when both dividend and price data are available.
- Historical availability varies by exchange and security type.
Stock Balance Sheet Data
Retrieve current and historical balance sheet statements for a given stock. Supports both annual and interim (quarterly) periods.
Access assets, liabilities, and equity breakdowns from balance sheet statements. Use duration parameter to switch between annual and interim data.
Parameters
Advance API Builder| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY more |
| symboloptional | string | Stock ticker symbols (comma-separated for multiple) more |
| durationoptional | string | Default: Both, (annual/interim/both) Financial reporting period type more |
| formatoptional | string | default plain, (plain/inherit), Plain return all data in plain array, format=inherit - return all data in nested array |
| outputoptional | string | Response format type more |
API EXAMPLE
- Use duration parameter for annual or interim (quarterly) statements
- Data availability varies by reporting frequency
- Fields include assets, liabilities, equity and subtotals
- Output parameter controls compact or expanded response format
Stock Income Statement Data
Fetch income statement data including revenues, costs, and net income for annual and interim periods.
Access revenue, cost of goods sold, gross profit, operating expenses, and net income metrics. Duration parameter selects annual or quarterly data.
Parameters
Advance API Builder| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY more |
| symboloptional | string | Stock ticker symbols (comma-separated for multiple) more |
| durationoptional | string | Default: Both, (annual/interim/both) Financial reporting period type more |
| formatoptional | string | default plain, (plain/inherit), Plain return all data in plain array, format=inherit - return all data in nested array |
| outputoptional | string | Response format type more |
API EXAMPLE
- Revenue and expense line items provided for analysis
- Use duration to filter between annual and quarterly results
- Net income and EPS values included in response
- Output parameter controls response verbosity
Stock Statistics API
Get key stock statistics and financial ratios useful for valuation and comparative analysis. Returns valuation metrics, profitability ratios, liquidity and leverage ratios as well as efficiency and margin indicators.
Includes market capitalization, P/E, P/S, P/CF, P/B, enterprise value metrics, margins (gross/operating/net), ROA/ROE/ROIC, current/quick ratios, turnover ratios and debt ratios. Useful when screening or comparing securities.
Parameters
Advance API Builder| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY more |
| symboloptional | string | Stock ticker symbols (comma-separated for multiple) more |
| durationoptional | string | Default: Both, (annual/interim/both) Financial reporting period type more |
| formatoptional | string | default plain, (plain/inherit), Plain return all data in plain array, format=inherit - return all data in nested array |
| outputoptional | string | Response format type more |
API EXAMPLE
- Supports multiple symbols per request.
- Duration controls period when applicable (annual vs interim).
- Some ratios are computed and require up-to-date price or share count data.
- Values may vary across exchanges because of reporting standards and currency conversions.
- Use the output/format parameters to control verbosity and nested vs plain responses.
Stock Cash Flow Statement Data
Access detailed cash flow statement data including operating, investing, and financing activities, along with derived cash flow metrics for annual and interim periods. The cash flow endpoint returns operating cash flow, funds from operations, investing activities, financing activities, depreciation & amortization, changes in working capital, and other cash flow line items. Use the duration parameter to switch between annual and quarterly reporting. The response may include derived metrics such as free cash flow when available.
Get operating cash flow, investing activities, financing activities, net cash flow and common derived metrics like funds from operations and free cash flow. Use duration parameter for annual or quarterly statements.
Parameters
Advance API Builder| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY more |
| symboloptional | string | Stock ticker symbols (comma-separated for multiple) more |
| durationoptional | string | Default: Both, (annual/interim/both) Financial reporting period type more |
| formatoptional | string | default plain, (plain/inherit), Plain return all data in plain array, format=inherit - return all data in nested array |
| outputoptional | string | Response format type more |
API EXAMPLE
- Includes operating, investing, and financing cash flows and common derived items like funds from operations and free cash flow.
- Use duration=annual or duration=interim (quarterly) to control the period.
- format=inherit returns nested arrays while plain/compact returns flattened arrays.
- Some fields are computed from other statements and may be missing if source data is incomplete.
- Currency and reporting differences may affect values across exchanges.
Combined Financials API
Fetch multiple financial endpoints in a single API call by passing comma-separated endpoint names in the data_column parameter. This reduces round-trips and is useful when you need several financial datasets for the same symbol at once.
Use the data_column parameter to request one or more of the supported financial endpoints (earning, revenue, profile, dividends, balance_sheet, income_statements, statistics, cash_flow). The response will include each requested endpoint as a top-level key containing that endpoint's usual response object.
Parameters
Advance API Builder| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY more |
| symboloptional | string | Stock ticker symbols (comma-separated for multiple) more |
| durationoptional | string | annual|interim - applies to endpoints that support duration (balance_sheet, income_statements, cash_flow, statistics) more |
| data_column*required | string | Comma-separated list of endpoints to include: earnings, revenue, profile, dividends, balance_sheet, income_statements, statistics, cash_flow |
| formatoptional | string | plain|inherit - controls nested vs flat response |
| outputoptional | string | Response format type more |
API EXAMPLE
- Supported data_column values: earnings, revenue, profile, dividends, balance_sheet, income_statements, statistics, cash_flow
- Requesting many columns in a single call may increase response size and processing time; prefer requesting only required datasets.
- format=inherit will keep each endpoint response in its native nested structure; plain flattens arrays for compact responses.
- Caching and rate-limit behavior may differ for combined responses; consider server-side caching of combined results.
- If a requested endpoint has no data for the symbol, its key will be present with an empty object or null value.
Advanced Stock Query API
(ALL IN ONE) The Advanced Stock Query API combines multiple stock data sources and offers flexible filtering, sorting, pagination and multi-API merging. Use it to retrieve real-time prices, company profiles, performance metrics and technical indicators in a single request — ideal for dashboards, scanners and research tools.
•Flexible column selection and filtering
•Multi-API data merging (latest, profile,meta, performance, technical indicators)
•Advanced search and symbol combination
•Pagination and sorting capabilities
•Dynamic exchange-symbol mapping, Sort and Filter
Parameters
Advance API Builder| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY more |
| columnsoptional | string | Comma-separated column names to return (empty = all columns) (case-sensitive) |
| keep_parent_colmoptional | string | 0|1 - Work with columns parameter. 0: flatten array, 1: keep nested structure |
| symboloptional | string | Stock ticker symbols (comma-separated for multiple) more |
| typeoptional | string | Data type filter: stock,index,fund,structured,drmore |
| sub_typeoptional | string | Default:spot, Filter: spot, main, cfd, common, preferredmore |
| periodoptional | string | Default:1h, Time Period for charts and analysis more |
| exchangeoptional | string | Filter by exchange more |
| filtersoptional | json | JSON/Array object for range filtering. Format: {"column_operator": value} more |
| sort_byoptional | string | Sort format: column_asc or column_desc, Colum name is case sensitive more |
| mergeoptional | string | Merge APIs: latest,perf, tech,profile, meta, earnings (comma-separated) more |
| pageoptional | number | Page number for pagination (default: 1) more |
| per_pageoptional | number | Records per page (default: 200, max: 5000) more |
| searchoptional | string | Search in company names/symbols. Use search OR symbol - not both. more |
| outputoptional | string | Response format type more |
API EXAMPLE
POST/RAW JSON both accepted
{
"symbol":"NASDAQ:AAPL,NYSE:TSLA", // EXCHANGE:SYMBOL
"exchange":"NASDAQ,NYSE", // return data from specific exchanges
"type":"stock", // stock,index
"sub_type":"spot", // spot,synthetic
"period":"1d", // 1m,5m, to 1month
"columns":"", // return specific columns/All
"keep_parent_colm":0, //(0|1) work with columns
"filters":{"c_gt":1}, // range filter
"sort_by":"c_desc", // columnname_asc /desc
"merge" :"latest,perf,tech,profile,meta", // merge other api
"page":1,
"per_page":"50", //
"search":"", // search and symbol will not work together
"access_key":"API_KEY"
} We have mention all support fileds, Just Copy N paste in raw methods or PostMan for quick testing. You can play with param values to see different results. - _gt: Greater than | _lt: Less than
- _gte: Greater than or equal | _lte: Less than or equal
- _eq: Equal to | _between: Between two values "min,max"
- Example: {"c_gte": 100, "chp_between": "1,50", "v_gt": 1000000} (close price, change %, volume)
To verify filters for the Stock API, check the
"filters" section in the response. It indicates which filters were applied successfully and which were skipped. Example:
"filters":{"applied":{"active.c_gt":"100"},"ignored":[]} means the filter close > 100 (stocks above 100 USD) was applied. The
"sort_by" field also appears in the response to confirm if sorting was active (e.g. "sort_by":"active.v_desc" for highest volume). Sorting API Guide (Top Gainers, Losers, Movers)
The Gainer/Loser API is built on our Advanced API framework, specifically optimized for identifying top-performing and worst-performing stocks. You can sort results easily using simple sorting parameters. This allows you to fetch Top Gainers, Losers, Most Active by Volume, or Highest by Market Price without needing a separate endpoint. Just append the column name with `_asc` or `_desc`.
Sort Parameter Guide:
Format: {column_name}_{direction} where direction is asc (ascending) or desc (descending).
• Column names are case-sensitive and must match exactly as they appear in the API response
• Only columns present in the response can be used for sorting
• Examples: chp_desc (top gainers), chp_asc (top losers), v_desc (highest volume), c_asc (lowest price)
Attach `sort_by` parameter with column name + `_asc` (ascending) or `_desc` (descending).
Example: `sort_by=chp_desc` will give you the highest gaining stocks first.
What is chp_desc?: In our latest price API we return the change percentage column name as "chp", so you need to use the column name "chp" in our case, and extend it with "_desc" → chp_desc.
Similarly, if you want to get high-priced stocks first use "?sort_by=c_desc" where "c" represents the closing price.
Parameters
Advance API Builder| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY more |
| typeoptional | string | Data type filter: stock,index,fund,structured,drmore |
| symboloptional | string | Stock ticker symbols (comma-separated for multiple) more |
| exchangeoptional | string | Filter by exchange more |
| sort_byoptional | string | column name with "_desc"/"_asc" to sort any column more |
| moreoptional | string | All stock/advance filters are supported. Combine `sort` with conditions like `limit=20` for best results. |
API EXAMPLE
Get top performing stocks from NASDAQ in the last hour, showing only active candles.
{
"type": "stock", // stock,index
"sub_type": "common", // common,preferred
"symbols": "",
"exchange": "NASDAQ",
"period": "1h",
"columns": "",
"keep_parent_colm": 0,
"sort_by": "active.chp_desc", // Sort by Change % DESC
"filters": {},
"merge": "latest,profile", // return latest prices and profile
"per_page": "20", // limit response to 20 results only.
"access_key": "YOUR_API_KEY"
}- Use `sort_by=active.chp_desc` for Top Gainers and `chp_asc` for Top Losers.
- Use `sort_by=active.v_desc` to get the most active traded stocks.
- Always pair sorting with `per_page` to optimize API usage.
To verify that sorting is applied correctly, check the
"sort_by" field in the Stock API response. It indicates which column was used for sorting and the direction (asc or desc). Example:
"sort_by":"chp_desc" means the results are sorted by stock price change percentage in descending order. Also, confirm that
"sort_result":"success" appears — this means the sorting was successfully applied. Moving Average API (EMA & SMA)
The Moving Average API provides calculated Exponential Moving Average (EMA) and Simple Moving Average (SMA) values for multiple time periods. This helps investors, analysts, and developers evaluate short-term and long-term stock trends using reliable market indicators. You can easily integrate these signals into dashboards, charting tools, or algorithmic trading systems.
• Provides both EMA (Exponential Moving Average) and SMA (Simple Moving Average) calculations.
• Supports multiple intervals: 10, 25, 100, 200 (default).
• Includes signal summary, strength score, and confidence level for each trend direction.
Parameters
Advance API Builder| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY more |
| symboloptional | string | Stock ticker symbols (comma-separated for multiple) more |
| periodoptional | string | Default:1h, Time Period for charts and analysis more |
| exchangeoptional | string | Filter by exchange more |
| outputoptional | string | Response format type more |
| moreoptional | string | Supports bulk stock queries, pagination, and advanced filters. Check our Advanced API. |
API EXAMPLE
{
"type": "stock",
"symbols": "AAPL,MSFT",
"exchange": "NASDAQ",
"period": "1d",
"access_key": "YOUR_API_KEY"
}Response Format
Response Fields
signal- Overall summary of stock trend directionsignal.summary- WEAK_BUY/STRONG_BUY/BUY or SELL variationssignal.score- Numeric trend score (-100 to 100)signal.trend- Trend intensity: WEAK, MODERATE, STRONGsignal.confidence- Confidence level: HIGH, MEDIUM, LOWma_avg- Contains all EMA & SMA values for given periodsema10.v- EMA valueema10.s- EMA signal type (Buy/Sell/Neutral)ema10.n- EMA name or labelema10.score- EMA signal strength score (-100 to 100)
Mini Sample Response
{
"signal": {
"summary": "STRONG_BUY",
"score": 68,
"confidence": "MEDIUM",
"trend": "STRONG",
"volatility": "LOW"
},
"ma_avg": {
"ema10": {
"v": 187.25,
"s": "Buy",
"n": "EMA 10",
"score": 40
},
"ema25": {
"v": 185.9,
"s": "Buy",
"n": "EMA 25",
"score": 50
}
}
}- Use longer periods (100, 200) for identifying long-term market direction, and shorter ones (10, 25) for entry/exit points.
- Combine EMA & SMA with RSI, MACD, or Volume data for more reliable trading signals.
- Cache results for commonly requested tickers to optimize API credit usage.
- Always check confidence & score values before executing automated trades.
Stock Technical Indicators API
The Stock Technical Indicators API provides detailed calculations of popular technical and oscillator indicators such as RSI, MACD, Stochastic, Bollinger Bands, and more. Analyze real-time market trends, volatility, and price momentum for individual stocks or multiple symbols.
• Real-time calculation of top stock indicators (RSI, MACD, Stochastic, ADX, ATR, Bollinger Bands, PSAR).
• Volatility and momentum insights including ATR % and Bollinger Band squeeze detection.
• Price structure metrics such as candle body/shadow ratios and bullish/bearish pattern detection.
• Unified signal summary with overall trend, confidence, and volatility level.
Parameters
Advance API Builder| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY more |
| symboloptional | string | Stock ticker symbols (comma-separated for multiple) more |
| periodoptional | string | Default:1h, Time Period for charts and analysis more |
| exchangeoptional | string | Filter by exchange more |
| outputoptional | string | Response format type more |
| moreoptional | string | Supports bulk symbol queries, pagination, and advanced filtering. See Advanced API. |
API EXAMPLE
{
"type": "stock",
"symbols": "AAPL,MSFT",
"exchange": "NASDAQ",
"period": "1d",
"access_key": "YOUR_API_KEY"
}Response Format
Response Fields
summary- Overall signal summary (BUY/SELL/STRONG_BUY etc.)score- Signal strength (-100 = Strong Sell, +100 = Strong Buy)confidence- Confidence level (HIGH / MEDIUM / LOW)trend- Market trend classification (Strong, Weak, Neutral)volatility- Volatility metrics and indicatorsvolatility.atr_per- ATR as % of pricevolatility.true_range- Average True Range valuevolatility.level- Volatility level (Low, Medium, High)bollinger- Bollinger Bands metricsbollinger.width_per- Band width % of pricebollinger.pos_per- Price position % within bandsbollinger.middle- Middle (SMA) line valuebollinger.squeeze- Bollinger squeeze detectionprice_action- Candlestick structure datap.body_size- Body size of last candlep.shadow_u- Upper shadow lengthp.shadow_l- Lower shadow lengthp.body_range_per- Body-to-range ratio %p.c_type- Candle type (Bullish/Bearish)p.pattern- Detected pattern (Normal, Doji, Engulfing etc.)oscillators.rsi- Relative Strength Index (RSI)rsi.v- RSI Valuersi.s- RSI Signal (Buy/Sell/Neutral)rsi.n- Indicator Namersi.score- Signal Strength Scoremore- Same for all supported oscillators
Mini Sample Response
{
"ticker": "NASDAQ:AAPL",
"signal": {
"summary": "BUY",
"score": 61.2,
"confidence": "MEDIUM",
"trend": "STRONG",
"volatility": "LOW"
},
"indicators": {
"volatility": {
"atr_per": 0.94,
"true_range": 2.34,
"level": "Low"
},
"bollinger": {
"width_per": 2.81,
"pos_per": 62.45,
"middle": 184.32,
"squeeze": "No Squeeze"
},
"price_action": {
"body_size": 2.15,
"shadow_u": 1.02,
"shadow_l": 0.98,
"body_range_per": 45.2,
"c_type": "Bullish",
"pattern": "Normal"
}
},
"oscillators": {
"rsi": {
"v": 56.7,
"s": "Buy",
"n": "RSI",
"score": 25
},
"stoch": {
"v": 64.5,
"s": "Neutral",
"n": "Stochastic",
"score": 0
},
"macd": {
"v": 1.42,
"s": "Buy",
"n": "MACD",
"score": 25
}
}
}- Combine multiple indicators (e.g., RSI + MACD + Bollinger) for confirmation signals.
- Avoid making trade decisions based on a single indicator alone.
- Cache or throttle repeated symbol requests to save credits.
- Review confidence and trend strength before using signals for automation.
Stock Pivot Points API
The Stock Pivot Points API provides precise support and resistance levels for individual stocks, calculated using multiple industry-standard pivot point formulas. These levels help traders identify intraday reversal zones, entry/exit levels, and overall market sentiment. Supported calculation methods include Classic, Fibonacci, Camarilla, Woodie, and Demark.
• Calculates all major pivot methods in a single API request.
• Returns support (S1, S2, S3) and resistance (R1, R2, R3) levels for each method.
• Includes Demark pivots (unique calculation approach).
• Ideal for day traders, analysts, and automated stock strategies.
Parameters
Advance API Builder| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY more |
| symboloptional | string | Stock ticker symbols (comma-separated for multiple) more |
| periodoptional | string | Default:1h, Time Period for charts and analysis more |
| exchangeoptional | string | Filter by exchange more |
| outputoptional | string | Response format type more |
| moreoptional | string | Supports multiple stock symbols, pagination, and advanced filtering. See Advanced API. |
API EXAMPLE
{
"type": "stock",
"symbols": "AAPL,MSFT",
"exchange": "NASDAQ",
"period": "1d",
"access_key": "YOUR_API_KEY"
}- Use pivot points to identify intraday support and resistance zones.
- Combine pivot levels with moving averages or oscillators for stronger confluence.
- Compare results across multiple methods (Classic + Fibonacci + Camarilla).
- Match the pivot timeframe (1h, 4h, 1D) with your trading strategy or chart interval.
Stock Performance API
Provides detailed stock performance metrics such as historical highs/lows, percentage returns over multiple timeframes, and volatility ratios. Useful for equity research, technical evaluation, and risk-based portfolio management.
•Historical Highs/Lows: 1M, 3M, 6M, 52W periods
•Return Analysis: 1W, 1M, 3M, 6M, YTD, 1Y, 5Y, All-time
•Volatility Ratios: Daily, Weekly, Monthly
•All-Time Records: Highest and lowest historical market prices
Parameters
Advance API Builder| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY more |
| symboloptional | string | Stock ticker symbols (comma-separated for multiple) more |
| exchangeoptional | string | Filter by exchange more |
| periodoptional | string | Default:1h, Time Period for charts and analysis more |
| outputoptional | string | Response format type more |
API EXAMPLE
Response Format
Response Fields
H1M/L1M- 1-month high / low pricesH3M/L3M- 3-month high / low pricesH6M/L6M- 6-month high / low pricesH52/L52- 52-week high / low pricesHIGHEST/LOWEST- All-time high/low stock pricePW- Performance - 1 week (%)P1M- Performance - 1 month (%)P3M- Performance - 3 months (%)P6M- Performance - 6 months (%)PY- Performance - year (%)PYTD- Performance - Year to date (%)P5Y- Performance - 5 years (%)PAll- Performance - All time (%)voltD- Daily volatility %voltW- Weekly volatility %voltM- Monthly volatility %
Mini Sample Response
{
"H1M": 189.44,
"L1M": 171.95,
"H3M": 199.12,
"L3M": 163.42,
"H6M": 206.89,
"L6M": 152.27,
"H52": 206.89,
"L52": 142.68,
"HIGHEST": 206.89,
"LOWEST": 0.51,
"PW": 2.13,
"P1M": 5.27,
"P3M": 7.84,
"P6M": 12.45,
"PYTD": 18.62,
"PY": 23.11,
"P5Y": 184.33,
"PAll": 1152.67,
"voltD": 1.38,
"voltW": 2.04,
"voltM": 2.98
}Search API
Search for any stock by company name, ticker symbol, or partial match. The search query checks both full company names and short ticker symbols. Returns up to 20 matching results.
Search by company name, ticker symbol, or partial matches. Filter by stock or index type, and use strict matching for precise results.
Parameters
Advance API Builder| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY more |
| search*required | string | Search term more |
| typeoptional | string | Data type filter: stock,index,fund,structured,drmore |
| outputoptional | string | Response format type more |
API EXAMPLE
Response Format
Response Fields
id- Unique identifiername- Company nameshort_name- Ticker symbolfull_name- Complete company nametype- Result type (stock/index)country- Country namelocality- City/locationexch- Exchange nameccy- Currency
Mini Sample Response
{
"id": 1287,
"name": "General Electric",
"short_name": "GE",
"full_name": "General Electric Company",
"type": "stock",
"country": "United States",
"locality": "Boston",
"exch": "NYSE",
"ccy": "USD"
}Country Report
Get a comprehensive market report showing stock distribution by country, exchange, and sector. Use this API to retrieve country names, exchange names, and see how many stocks are available in each category.
Get comprehensive statistics about stock coverage by country, exchange, and sector. Perfect for understanding market distribution and planning data strategies.
Parameters
Advance API Builder| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY more |
| outputoptional | string | Response format type more |
API EXAMPLE
Response Format
Response Fields
country- Stock count by countryexchanges- Stock count by exchangesectors- Stock count by sector (if included)
Mini Sample Response
{
"country": {
"united-states": 6
},
"exchanges": {
"NYSE": 3,
"NASDAQ": 2
}
}- Market coverage analysis
- Exchange comparison studies
- Sector distribution analysis
- Data planning and strategy
Multiple URL Requests
Execute multiple API endpoints in parallel to save time. Instead of calling APIs sequentially (10 APIs x 2 seconds = 20 seconds), this endpoint fetches all results simultaneously in just 2 seconds. Perfect for dashboards, portfolio tracking, and bulk data processing.
Execute multiple API calls in parallel instead of sequential requests. Significantly reduces total response time for multiple endpoint calls.
Parameters
Advance API Builder| Parameter | Type | Description |
|---|---|---|
| access_key*required | API_KEY | Authentication API KEY more |
| baseoptional | string | Common URL base |
| url[]*required | string | Array of API endpoints |
| outputoptional | string | Response format type more |
API EXAMPLE
?url[1]=stock/latest?symbol=AAPL
&url[2]=stock/history?symbol=AAPL
&url[3]=stock/indicators?symbol=AAPL
&access_key=API_KEY
?base=stock/
&url[1]=latest?symbol=AAPL
&url[2]=profile?symbol=AAPL
&access_key=API_KEY
Response Format
Response Fields
array_key- Response indexed by your provided array keysstatus- Individual API call statusresponse- Individual API response data
Mini Sample Response
{
"url1": [
{
"status": true,
"response": []
}
],
"url2": [
{
"status": true,
"response": []
}
]
}- Dashboard data loading (prices + history + indicators).
- Portfolio tracking (multiple stocks at once).
- Comparative analysis (same data from different stocks).
- Bulk data processing for applications.
Error Codes & Troubleshooting
Understanding API error responses and how to handle them properly. All errors include a status code, error message, and helpful details for debugging.
Common HTTP Status Codes
| Code | Message | Description |
|---|---|---|
200 | Success | Request completed successfully |
400 | Bad Request | Invalid parameters or malformed request |
401 | Unauthorized | Invalid or missing API key |
403 | Forbidden | API key doesn't have permission |
429 | Rate Limited | Too many requests, slow down |
500 | Server Error | Internal server error |
All errors return JSON with status:false, error code, descriptive message, and additional details when available.
- Check API key is valid and active
- Verify parameter names and values
- Ensure you're not exceeding rate limits
- Check stock symbols are correctly formatted
- Validate date formats in historical requests
- Verify country and exchange names are supported
Rate Limits & Usage
Understanding API usage limits, credit system, and best practices for efficient API usage. Different endpoints have different credit costs based on data complexity.
Plan Limits
| Plan | Monthly API requests | Requests per minute |
|---|---|---|
| Free | 500 | 3 |
| Starter | 15,000 | 15 |
| Professional | 40,000 | 40 |
| Enterprise | 500,000 | 150 |
| Corporate | 1,200,000 | 250 |
Most endpoints cost 1 credit per request. Latest API costs 1 credit per 100 records returned. Historical data costs 1 credit per 300 candles returned.
- Use bulk requests for multiple stocks when possible
- Cache static data like profiles and stock lists
- Implement exponential backoff for rate limit errors
- Monitor your usage in the dashboard
- Use webhooks for real-time data when available
- Consider using multi_url for parallel requests
Code Examples & SDKs
Ready-to-use code examples in popular programming languages. Copy and paste these examples to quickly integrate FCS API into your application.
Choose your preferred programming language and copy the example code to get started quickly.
Available Languages
- JavaScript: Fetch API, Axios, jQuery examples
- Python: Requests library, asyncio examples
- PHP: cURL, file_get_contents examples
- Java: HttpURLConnection, OkHttp examples
- C#: HttpClient examples
- Node.js: HTTP, Axios examples
Official SDKs available for Python, JavaScript/Node.js, and PHP. Download from our GitHub repository or install via package managers.
curl "https://api-v4.fcsapi.com/stock/latest?symbol=EURUSD&access_key=YOUR_API_KEY"- Always handle API errors gracefully
- Implement proper rate limiting in your code
- Cache responses when appropriate
- Use environment variables for API keys
- Validate API responses before processing
Disclaimer & Terms of Use
Important information about data usage, accuracy, and limitations of the FCS API service.
Data Accuracy & Usage
Prices, Market trends and signals are not designed for trading purposes. These signals are only for educational or non-commercial purpose use. Data contained in this application/website is not necessarily real-time nor accurate and so prices may not be accurate and may differ from the actual market price, meaning prices are indicative and not appropriate for trading purposes.
Trading Disclaimer
Therefore we don't bear any responsibility for any trading losses you might incur as a result of using this data. Latest price minimum refresh rate is 30 seconds.
Data Sources
Our data is sourced from multiple financial institutions and exchanges. While we strive for accuracy, we cannot guarantee 100% accuracy or completeness of the data.
This API is for informational and educational purposes only. Always consult with financial advisors before making investment decisions.
- Data is for informational purposes only
- Not suitable for high-frequency trading
- Prices may differ from real market prices
- No liability for trading losses
- Terms of service apply to all usage
