Fetches historical stock data for a specific company, including open, high, low, close, and volume information.
| Plan | Rate Limit |
|---|---|
| Hobby | 5 requests / day |
| Plus | 10 requests / minute |
GET /api/historicals/{company_symbol}
| Parameter | Description | Priority | Type |
|---|---|---|---|
| api_key | User Generated API Key. Generate Here | required | string |
| interval | Time interval for historical data Possible Values 1minute, 30minute, day, week, month Default day | optional | string |
| from_date | Start date for historical data Format YYYY-MM-DD | optional | string |
| to_date | End date for historical data Format YYYY-MM-DD | optional | string |
| Field | Description | Type |
|---|---|---|
| success | Indicates if the API call was successful or not | string |
| company | Name of the company | string |
| data | Contains detailed OHLC information | object |
| data.time | Timestamp of the OHLC data | string |
| data.open | Open price of the stock | decimal |
| data.high | High price of the stock | decimal |
| data.low | Low price of the stock | decimal |
| data.close | Close price of the stock | decimal |
| data.volume | Volume of the stock | decimal |
| data.open_interest | Open interest of the stock | decimal |
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 } ] }
Refund Policy