Get History For Source Id
GET/history/source/data
This service is used to get the historical data for the source id specified by the request parameter 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.
The tickerId of the exchange you want to request history data of.
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.
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~NEWT",
"TICKER_SERIAL": "1333674",
"TICKER_ID": "NEWT",
"SOURCE_ID": "NSDQ",
"INSTRUMENT_TYPE_ID": "61",
"TRANSACTION_DATE": "2024-02-20T00:00:00Z",
"OPEN": 11.52,
"HIGH": 11.52,
"LOW": 11.3,
"CLOSE": 11.47,
"VOLUME": 109553,
"TURNOVER": 1247808.67,
"AVG_PRICE": 11.39,
"LAST_UPDATED_ON": "2024-03-21T12:38:25Z",
"CONTRIBUTOR": "MS",
"LASTTRADEPRICE": 11.47,
"INCREMENT_ID": 44081092970
},
{
"KEY": "NSDQ~NEWT",
"TICKER_SERIAL": "1333674",
"TICKER_ID": "NEWT",
"SOURCE_ID": "NSDQ",
"INSTRUMENT_TYPE_ID": "61",
"TRANSACTION_DATE": "2024-02-21T00:00:00Z",
"OPEN": 11.48,
"HIGH": 11.62,
"LOW": 11.3077,
"CLOSE": 11.39,
"VOLUME": 95476,
"TURNOVER": 1091290.68,
"AVG_PRICE": 11.43,
"LAST_UPDATED_ON": "2024-03-21T12:38:25Z",
"CONTRIBUTOR": "MS",
"LASTTRADEPRICE": 11.39,
"INCREMENT_ID": 44084469796
},
{
"KEY": "NSDQ~NEWT",
"TICKER_SERIAL": "1333674",
"TICKER_ID": "NEWT",
"SOURCE_ID": "NSDQ",
"INSTRUMENT_TYPE_ID": "61",
"TRANSACTION_DATE": "2024-03-15T00:00:00Z",
"OPEN": 10.79,
"HIGH": 11.0293,
"LOW": 10.76,
"CLOSE": 10.92,
"VOLUME": 234574,
"TURNOVER": 2554510.86,
"AVG_PRICE": 10.89,
"LAST_UPDATED_ON": "2024-03-21T12:38:25Z",
"CONTRIBUTOR": "MS",
"LASTTRADEPRICE": 10.92,
"INCREMENT_ID": 44159600456
},
{
"KEY": "NSDQ~NEWT",
"TICKER_SERIAL": "1333674",
"TICKER_ID": "NEWT",
"SOURCE_ID": "NSDQ",
"INSTRUMENT_TYPE_ID": "61",
"TRANSACTION_DATE": "2024-03-18T00:00:00Z",
"OPEN": 10.74,
"HIGH": 10.74,
"LOW": 10.11,
"CLOSE": 10.17,
"VOLUME": 421598,
"TURNOVER": 4300299.6,
"AVG_PRICE": 10.2,
"LAST_UPDATED_ON": "2024-03-21T12:38:25Z",
"CONTRIBUTOR": "MS",
"LASTTRADEPRICE": 10.17,
"INCREMENT_ID": 44169339834
},
{
"KEY": "NSDQ~NEWT",
"TICKER_SERIAL": "1333674",
"TICKER_ID": "NEWT",
"SOURCE_ID": "NSDQ",
"INSTRUMENT_TYPE_ID": "61",
"TRANSACTION_DATE": "2024-02-22T00:00:00Z",
"OPEN": 11.52,
"HIGH": 11.54,
"LOW": 11.13,
"CLOSE": 11.17,
"VOLUME": 149893,
"TURNOVER": 1702784.48,
"AVG_PRICE": 11.36,
"LAST_UPDATED_ON": "2024-03-21T12:38:25Z",
"CONTRIBUTOR": "MS",
"LASTTRADEPRICE": 11.17,
"INCREMENT_ID": 44087898455
},
{
"KEY": "NSDQ~NEWT",
"TICKER_SERIAL": "1333674",
"TICKER_ID": "NEWT",
"SOURCE_ID": "NSDQ",
"INSTRUMENT_TYPE_ID": "61",
"TRANSACTION_DATE": "2024-02-23T00:00:00Z",
"OPEN": 11.21,
"HIGH": 11.2699,
"LOW": 11.03,
"CLOSE": 11.11,
"VOLUME": 108723,
"TURNOVER": 1211174.22,
"AVG_PRICE": 11.14,
"LAST_UPDATED_ON": "2024-03-21T12:38:25Z",
"CONTRIBUTOR": "MS",
"LASTTRADEPRICE": 11.11,
"INCREMENT_ID": 44091573912
},
{
"KEY": "NSDQ~NEWT",
"TICKER_SERIAL": "1333674",
"TICKER_ID": "NEWT",
"SOURCE_ID": "NSDQ",
"INSTRUMENT_TYPE_ID": "61",
"TRANSACTION_DATE": "2024-02-26T00:00:00Z",
"OPEN": 11.03,
"HIGH": 11.125,
"LOW": 10.94,
"CLOSE": 10.95,
"VOLUME": 129692,
"TURNOVER": 1431799.68,
"AVG_PRICE": 11.04,
"LAST_UPDATED_ON": "2024-03-21T12:38:25Z",
"CONTRIBUTOR": "MS",
"LASTTRADEPRICE": 10.95,
"INCREMENT_ID": 44102624697
},
{
"KEY": "NSDQ~NEWT",
"TICKER_SERIAL": "1333674",
"TICKER_ID": "NEWT",
"SOURCE_ID": "NSDQ",
"INSTRUMENT_TYPE_ID": "61",
"TRANSACTION_DATE": "2024-02-13T00:00:00Z",
"OPEN": 11.47,
"HIGH": 11.53,
"LOW": 10.9595,
"CLOSE": 11.02,
"VOLUME": 158827,
"TURNOVER": 1767744.51,
"AVG_PRICE": 11.13,
"LAST_UPDATED_ON": "2024-03-21T12:38:25Z",
"CONTRIBUTOR": "MS",
"LASTTRADEPRICE": 11.02,
"INCREMENT_ID": 44060444492
},
{
"KEY": "NSDQ~NEWT",
"TICKER_SERIAL": "1333674",
"TICKER_ID": "NEWT",
"SOURCE_ID": "NSDQ",
"INSTRUMENT_TYPE_ID": "61",
"TRANSACTION_DATE": "2024-02-14T00:00:00Z",
"OPEN": 11.04,
"HIGH": 11.19,
"LOW": 10.91,
"CLOSE": 11.16,
"VOLUME": 106880,
"TURNOVER": 1183161.6,
"AVG_PRICE": 11.07,
"LAST_UPDATED_ON": "2024-03-21T12:38:25Z",
"CONTRIBUTOR": "MS",
"LASTTRADEPRICE": 11.16,
"INCREMENT_ID": 44063418560
},
{
"KEY": "NSDQ~NEWT",
"TICKER_SERIAL": "1333674",
"TICKER_ID": "NEWT",
"SOURCE_ID": "NSDQ",
"INSTRUMENT_TYPE_ID": "61",
"TRANSACTION_DATE": "2024-01-29T00:00:00Z",
"OPEN": 12.93,
"HIGH": 12.99,
"LOW": 12.75,
"CLOSE": 12.96,
"VOLUME": 67329,
"TURNOVER": 867197.52,
"AVG_PRICE": 12.88,
"LAST_UPDATED_ON": "2024-03-21T12:38:25Z",
"CONTRIBUTOR": "MS",
"LASTTRADEPRICE": 12.96,
"INCREMENT_ID": 44004846611
}
]
}
}