Login

Reference

Company Historicals


Company Historicals


Fetches historical stock data for a specific company, including open, high, low, close, and volume information.


Rate Limits


PlanRate Limit
Hobby5 requests / day
Plus10 requests / minute

Request


GET /api/historicals/{company_symbol}

ParameterDescriptionPriorityType
api_keyUser Generated API Key. Generate Hererequiredstring
intervalTime interval for historical data
Possible Values 1minute, 30minute, day, week, month
Default day
optionalstring
from_dateStart date for historical data
Format YYYY-MM-DD
optionalstring
to_dateEnd date for historical data
Format YYYY-MM-DD
optionalstring

Response


FieldDescriptionType
successIndicates if the API call was successful or notstring
companyName of the companystring
dataContains detailed OHLC informationobject
data.timeTimestamp of the OHLC datastring
data.openOpen price of the stockdecimal
data.highHigh price of the stockdecimal
data.lowLow price of the stockdecimal
data.closeClose price of the stockdecimal
data.volumeVolume of the stockdecimal
data.open_interestOpen interest of the stockdecimal

Example


curl -X GET \ -H "Content-Type: application/json" \ --url 'https://api.fincrux.org/api/historicals/RELIANCE?api_key={api_key}'
{ "success": "true", "company": "RELIANCE", "data": [ { "time": "2024-10-10", "open": 1380, "high": 1386, "low": 1369.4, "close": 1371.05, "volume": 22358646, "open_interest": 0 }, { "time": "2024-10-11", "open": 1370, "high": 1383.3, "low": 1368.8, "close": 1372.1, "volume": 7980122, "open_interest": 0 }, { "time": "2024-10-14", "open": 1379.45, "high": 1380.1, "low": 1368.25, "close": 1372.5, "volume": 12221432, "open_interest": 0 } ] }

Designed & Shipped by Harshit Bansal