curl --request GET \
--url https://api.rangler.co/v1/companies/{company_ref}/chart \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.rangler.co/v1/companies/{company_ref}/chart"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.rangler.co/v1/companies/{company_ref}/chart', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"symbol": "<string>",
"company_name": "<string>",
"count": 123,
"statistics": {
"first_close": 123,
"last_close": 123,
"min_close": 123,
"max_close": 123,
"net_change": 123,
"percentage_change": 123,
"start_date": "2023-12-25",
"end_date": "2023-12-25"
},
"coverage": {
"available_points": 123,
"returned_points": 123,
"candle_ready_points": 123,
"incomplete_candle_points": 123,
"omitted_incomplete_candles": 123,
"corporate_action_adjusted": true,
"earliest_available_date": "2023-12-25",
"latest_available_date": "2023-12-25",
"earliest_candle_date": "2023-12-25",
"latest_candle_date": "2023-12-25",
"requested_start_date": "2023-12-25",
"requested_end_date": "2023-12-25",
"frequency": "daily",
"freshness": "end_of_day"
},
"data": [
{
"timestamp": "2023-11-07T05:31:56Z",
"date": "2023-12-25",
"close": 123,
"candle_ready": true,
"open": 123,
"high": 123,
"low": 123,
"volume": 123,
"value_traded": 123,
"vwap": 123,
"trade_count": 123,
"change": 123,
"percentage_change": 123
}
],
"asset_type": "company",
"exchange": "<string>",
"currency": "<string>",
"period": "1d",
"as_of_date": "2023-12-25",
"format": "detailed"
}{
"error": {
"type": "unauthorized",
"code": "unauthorized",
"message": "Authentication required.",
"request_id": "28fa6152-7081-492e-8a7e-00beb237b689"
}
}{
"error": {
"type": "forbidden",
"code": "forbidden",
"message": "Paid access is required.",
"request_id": "5c253b3e-778e-4a58-aaf8-07cb21e03563"
}
}{
"error": {
"type": "not_found",
"code": "not_found",
"message": "Company not found",
"request_id": "9f5237bc-7d8c-4a9d-9c1f-fbd4ef236cf9"
}
}{
"error": {
"type": "validation_error",
"code": "validation_error",
"message": "Request validation failed",
"request_id": "c5964dca-d290-4465-a3dc-f92d42aa9b17",
"details": [
{
"type": "missing",
"loc": [
"query",
"ticker"
],
"msg": "Field required",
"input": null
}
]
}
}{
"error": {
"type": "rate_limit_exceeded",
"code": "rate_limit_exceeded",
"message": "Rate limit exceeded",
"request_id": "cc4d369a-2c69-4ee2-909e-985ea35d14a9"
}
}{
"error": {
"type": "internal_server_error",
"code": "internal_server_error",
"message": "Internal Server Error",
"request_id": "70b63aba-b8a3-41c2-bb0c-fbe67d84d37d"
}
}Get an NGX company chart series
Return source-free market data for an NGX company ticker or UUID.
The 1d window returns intraday observations in detailed format. The 1w window remains daily unless interval=hourly is requested with detailed format. Longer windows are daily. OHLCV format omits incomplete candles and reports the omission count in the coverage block.
Requires paid access.
curl --request GET \
--url https://api.rangler.co/v1/companies/{company_ref}/chart \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.rangler.co/v1/companies/{company_ref}/chart"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.rangler.co/v1/companies/{company_ref}/chart', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"symbol": "<string>",
"company_name": "<string>",
"count": 123,
"statistics": {
"first_close": 123,
"last_close": 123,
"min_close": 123,
"max_close": 123,
"net_change": 123,
"percentage_change": 123,
"start_date": "2023-12-25",
"end_date": "2023-12-25"
},
"coverage": {
"available_points": 123,
"returned_points": 123,
"candle_ready_points": 123,
"incomplete_candle_points": 123,
"omitted_incomplete_candles": 123,
"corporate_action_adjusted": true,
"earliest_available_date": "2023-12-25",
"latest_available_date": "2023-12-25",
"earliest_candle_date": "2023-12-25",
"latest_candle_date": "2023-12-25",
"requested_start_date": "2023-12-25",
"requested_end_date": "2023-12-25",
"frequency": "daily",
"freshness": "end_of_day"
},
"data": [
{
"timestamp": "2023-11-07T05:31:56Z",
"date": "2023-12-25",
"close": 123,
"candle_ready": true,
"open": 123,
"high": 123,
"low": 123,
"volume": 123,
"value_traded": 123,
"vwap": 123,
"trade_count": 123,
"change": 123,
"percentage_change": 123
}
],
"asset_type": "company",
"exchange": "<string>",
"currency": "<string>",
"period": "1d",
"as_of_date": "2023-12-25",
"format": "detailed"
}{
"error": {
"type": "unauthorized",
"code": "unauthorized",
"message": "Authentication required.",
"request_id": "28fa6152-7081-492e-8a7e-00beb237b689"
}
}{
"error": {
"type": "forbidden",
"code": "forbidden",
"message": "Paid access is required.",
"request_id": "5c253b3e-778e-4a58-aaf8-07cb21e03563"
}
}{
"error": {
"type": "not_found",
"code": "not_found",
"message": "Company not found",
"request_id": "9f5237bc-7d8c-4a9d-9c1f-fbd4ef236cf9"
}
}{
"error": {
"type": "validation_error",
"code": "validation_error",
"message": "Request validation failed",
"request_id": "c5964dca-d290-4465-a3dc-f92d42aa9b17",
"details": [
{
"type": "missing",
"loc": [
"query",
"ticker"
],
"msg": "Field required",
"input": null
}
]
}
}{
"error": {
"type": "rate_limit_exceeded",
"code": "rate_limit_exceeded",
"message": "Rate limit exceeded",
"request_id": "cc4d369a-2c69-4ee2-909e-985ea35d14a9"
}
}{
"error": {
"type": "internal_server_error",
"code": "internal_server_error",
"message": "Internal Server Error",
"request_id": "70b63aba-b8a3-41c2-bb0c-fbe67d84d37d"
}
}Authorizations
Path Parameters
NGX ticker symbol or Rangler company UUID.
1 - 64Query Parameters
Primary lookback window used when from is omitted. Older period values remain accepted for existing integrations and are listed in the price-chart guide.
1d, 1w, 1m, 3m, ytd, 1y, all Inclusive start date. Overrides period when provided.
Inclusive end date.
Detailed objects, compact line points, or complete OHLCV candles.
detailed, line, ohlcv Optional observation interval. Use hourly with period=1w and format=detailed.
"hourly"Response
Successful Response
- CompanyChartDetailedResponse
- CompanyChartLineResponse
- CompanyChartOhlcvResponse
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
company, fund 1d, 1w, 1m, 3m, ytd, 1y, all, 7d, 30d, 90d, 6m, 5y, max "detailed"