Get History For Symbols
GET/history/keys/data
This service is used to get the historical data for the symbols specified by the request parameter keys and exchange specified by parameter source-id.
Request
Query Parameters
Default value: NSDQ
The sourceId of the exchange you want to request history data of. It will also be used for authorization.
Possible values: Value must match regular expression yyyyMMddHHmmss
The start date of the range for filtering records on TRANSACTION_DATE.
Possible values: Value must match regular expression yyyyMMddHHmmss
The end date of the range for filtering records on TRANSACTION_DATE.
The list of keys of which the data is requested of.
Example: NSDQ~IUSV
Possible values: Value must match regular expression yyyyMMddHHmmss
The optional parameter which supports retrieval of data in delta mode.
The optional parameter which specifies the fields required in the response.
Possible values: [json
, csv
, xml
]
Default value: json
The response format for example json, csv or xml. The default is json.
Possible values: <= 1000
Default value: 10
Number of records per page in the response.
Default value: 0
The index of the page requested.
Default value: TRANSACTION_DATE
Default value: false
Header Parameters
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- example
Schema
- Array [
- ]
response object
docs object[]
{
"response": {
"numFound": 0,
"start": 0,
"docs": [
{
"KEY": "string",
"TICKER_SERIAL": "string",
"TICKER_ID": "string",
"SOURCE_ID": "string",
"INSTRUMENT_TYPE_ID": "string",
"TRANSACTION_DATE": "string",
"OPEN": 0,
"HIGH": 0,
"LOW": 0,
"CLOSE": 0,
"VOLUME": 0,
"TURNOVER": 0,
"AVG_PRICE": 0,
"LAST_UPDATED_ON": "string",
"ADJUSTED_DATE": "string",
"INCREMENT_ID": 0,
"NUMBER_OF_TRADES": 0,
"CHANGE": 0,
"PCT_CHANGE": 0,
"PREV_CLOSED": 0,
"CF_IN_COUNT": 0,
"CF_IN_VOLUME": 0,
"CF_IN_TURNOVER": 0,
"CF_OUT_COUNT": 0,
"CF_OUT_VOLUME": 0,
"CF_OUT_TURNOVER": 0,
"MARKET_CAP": "string",
"LASTTRADEPRICE": 0,
"BESTBIDPRICE": 0,
"BESTASKPRICE": 0,
"TOTAL_BID_QTY": 0,
"TOTAL_ASK_QTY": 0,
"BEST_BID_QTY": 0,
"BEST_ASK_QTY": 0,
"CONTRIBUTOR": "string"
}
]
}
}
{
"response": {
"numFound": 2515,
"start": 0,
"docs": [
{
"KEY": "NSDQ~IUSV",
"TICKER_SERIAL": "651894",
"TICKER_ID": "IUSV",
"SOURCE_ID": "NSDQ",
"INSTRUMENT_TYPE_ID": "86",
"TRANSACTION_DATE": "2020-09-26T00:00:00Z",
"OPEN": 52.45,
"HIGH": 53.43,
"LOW": 52.3601,
"CLOSE": 53.26,
"VOLUME": 498512,
"TURNOVER": 26321433.6,
"AVG_PRICE": 52.8,
"LAST_UPDATED_ON": "2023-08-16T19:30:15Z",
"ADJUSTED_DATE": "2022-05-20T11:32:38Z",
"INCREMENT_ID": 43099621066
},
{
"KEY": "NSDQ~IUSV",
"TICKER_SERIAL": "651894",
"TICKER_ID": "IUSV",
"SOURCE_ID": "NSDQ",
"INSTRUMENT_TYPE_ID": "86",
"TRANSACTION_DATE": "2020-03-07T00:00:00Z",
"OPEN": 54.71,
"HIGH": 55.87,
"LOW": 54.44,
"CLOSE": 55.6,
"VOLUME": 1470793,
"TURNOVER": 81040694.3,
"AVG_PRICE": 55.1,
"LAST_UPDATED_ON": "2023-08-16T19:17:34Z",
"ADJUSTED_DATE": "2022-05-20T11:32:38Z",
"INCREMENT_ID": 43099621349
},
{
"KEY": "NSDQ~IUSV",
"TICKER_SERIAL": "651894",
"TICKER_ID": "IUSV",
"SOURCE_ID": "NSDQ",
"INSTRUMENT_TYPE_ID": "86",
"TRANSACTION_DATE": "2020-07-03T00:00:00Z",
"OPEN": 52.93,
"HIGH": 53.17,
"LOW": 52.28,
"CLOSE": 52.4,
"VOLUME": 398034,
"TURNOVER": 20976391.8,
"AVG_PRICE": 52.7,
"LAST_UPDATED_ON": "2023-08-16T19:23:29Z",
"ADJUSTED_DATE": "2022-05-20T11:32:38Z",
"INCREMENT_ID": 43099621184
},
{
"KEY": "NSDQ~IUSV",
"TICKER_SERIAL": "651894",
"TICKER_ID": "IUSV",
"SOURCE_ID": "NSDQ",
"INSTRUMENT_TYPE_ID": "86",
"TRANSACTION_DATE": "2019-12-25T00:00:00Z",
"OPEN": 63.04,
"HIGH": 63.04,
"LOW": 62.89,
"CLOSE": 62.9,
"VOLUME": 292008,
"TURNOVER": 18367303.2,
"AVG_PRICE": 62.9,
"LAST_UPDATED_ON": "2023-08-16T19:12:09Z",
"ADJUSTED_DATE": "2022-05-20T11:32:38Z",
"INCREMENT_ID": 43099621447
},
{
"KEY": "NSDQ~IUSV",
"TICKER_SERIAL": "651894",
"TICKER_ID": "IUSV",
"SOURCE_ID": "NSDQ",
"INSTRUMENT_TYPE_ID": "86",
"TRANSACTION_DATE": "2023-01-23T00:00:00Z",
"OPEN": 73.65,
"HIGH": 74.87,
"LOW": 73.6183,
"CLOSE": 74.38,
"VOLUME": 1536465,
"NUMBER_OF_TRADES": 3373,
"TURNOVER": 114403557.2445,
"AVG_PRICE": 74.4589,
"CHANGE": 0.75,
"PCT_CHANGE": 1.02,
"PREV_CLOSED": 73.63,
"CF_IN_COUNT": 1851,
"CF_IN_VOLUME": 883795,
"CF_IN_TURNOVER": 65718803.4613,
"CF_OUT_COUNT": 1522,
"CF_OUT_VOLUME": 1377759,
"CF_OUT_TURNOVER": 102492862.034,
"LAST_UPDATED_ON": "2023-08-16T21:09:04Z",
"ADJUSTED_DATE": "2023-01-23T22:06:08Z",
"MARKET_CAP": "0.0",
"LASTTRADEPRICE": 74.38,
"BESTBIDPRICE": 74.36,
"BESTASKPRICE": 74.39,
"TOTAL_BID_QTY": 0,
"TOTAL_ASK_QTY": 0,
"INCREMENT_ID": 41856712719,
"BEST_BID_QTY": 4,
"BEST_ASK_QTY": 7
},
{
"KEY": "NSDQ~IUSV",
"TICKER_SERIAL": "651894",
"TICKER_ID": "IUSV",
"SOURCE_ID": "NSDQ",
"INSTRUMENT_TYPE_ID": "86",
"TRANSACTION_DATE": "2023-02-06T00:00:00Z",
"OPEN": 76.28,
"HIGH": 76.42,
"LOW": 75.91,
"CLOSE": 76.19,
"VOLUME": 264905,
"NUMBER_OF_TRADES": 0,
"TURNOVER": 20195985.0085,
"AVG_PRICE": 76.2386,
"CHANGE": -0.6,
"PCT_CHANGE": -0.78,
"PREV_CLOSED": 76.79,
"CF_IN_COUNT": 549,
"CF_IN_VOLUME": 353150,
"CF_IN_TURNOVER": 26925527.5914,
"CF_OUT_COUNT": 426,
"CF_OUT_VOLUME": 195760,
"CF_OUT_TURNOVER": 14919826.6034,
"LAST_UPDATED_ON": "2023-08-16T21:09:04Z",
"ADJUSTED_DATE": "2023-02-06T22:04:09Z",
"MARKET_CAP": "0.0",
"LASTTRADEPRICE": 76.19,
"BESTBIDPRICE": 76.19,
"BESTASKPRICE": 76.21,
"TOTAL_BID_QTY": 0,
"TOTAL_ASK_QTY": 0,
"INCREMENT_ID": 42071407277,
"BEST_BID_QTY": 7,
"BEST_ASK_QTY": 14
},
{
"KEY": "NSDQ~IUSV",
"TICKER_SERIAL": "651894",
"TICKER_ID": "IUSV",
"SOURCE_ID": "NSDQ",
"INSTRUMENT_TYPE_ID": "86",
"TRANSACTION_DATE": "2018-05-10T00:00:00Z",
"OPEN": 53.89,
"HIGH": 54.24,
"LOW": 53.755,
"CLOSE": 54.16,
"VOLUME": 246772,
"TURNOVER": 13342962.04,
"AVG_PRICE": 54.07,
"LAST_UPDATED_ON": "2023-12-22T12:50:37Z",
"CONTRIBUTOR": "MS",
"ADJUSTED_DATE": "2022-05-20T11:32:38Z",
"INCREMENT_ID": 42544806837
},
{
"KEY": "NSDQ~IUSV",
"TICKER_SERIAL": "651894",
"TICKER_ID": "IUSV",
"SOURCE_ID": "NSDQ",
"INSTRUMENT_TYPE_ID": "86",
"TRANSACTION_DATE": "2018-05-11T00:00:00Z",
"OPEN": 54.28,
"HIGH": 54.44,
"LOW": 54.16,
"CLOSE": 54.31,
"VOLUME": 198072,
"TURNOVER": 10749367.44,
"AVG_PRICE": 54.27,
"LAST_UPDATED_ON": "2023-12-22T12:50:37Z",
"CONTRIBUTOR": "MS",
"ADJUSTED_DATE": "2022-05-20T11:32:38Z",
"INCREMENT_ID": 42544806835
},
{
"KEY": "NSDQ~IUSV",
"TICKER_SERIAL": "651894",
"TICKER_ID": "IUSV",
"SOURCE_ID": "NSDQ",
"INSTRUMENT_TYPE_ID": "86",
"TRANSACTION_DATE": "2018-05-14T00:00:00Z",
"OPEN": 54.51,
"HIGH": 54.56,
"LOW": 54.275,
"CLOSE": 54.34,
"VOLUME": 181946,
"TURNOVER": 9901501.32,
"AVG_PRICE": 54.42,
"LAST_UPDATED_ON": "2023-12-22T12:50:37Z",
"CONTRIBUTOR": "MS",
"ADJUSTED_DATE": "2022-05-20T11:32:38Z",
"INCREMENT_ID": 42544806833
},
{
"KEY": "NSDQ~IUSV",
"TICKER_SERIAL": "651894",
"TICKER_ID": "IUSV",
"SOURCE_ID": "NSDQ",
"INSTRUMENT_TYPE_ID": "86",
"TRANSACTION_DATE": "2018-06-15T00:00:00Z",
"OPEN": 54.59,
"HIGH": 54.78,
"LOW": 54.32,
"CLOSE": 54.73,
"VOLUME": 292470,
"TURNOVER": 15963012.6,
"AVG_PRICE": 54.58,
"LAST_UPDATED_ON": "2023-12-22T12:50:37Z",
"CONTRIBUTOR": "MS",
"ADJUSTED_DATE": "2022-05-20T11:32:38Z",
"INCREMENT_ID": 43099622215
}
]
}
}